T
- Model object.public interface IModel<T> extends IDetachable
Model
.
IDetachable.detach()
, so that
interface implementers can detach transient information when a model is no longer being actively
used by the framework. This reduces memory use and reduces the expense of replicating the model
in a clustered server environment. To implement a detachable model, you should generally extend
LoadableDetachableModel
instead of implementing IModel directly.
getObject()
method
is called, the value returned will depend on the Component which is asking for the value.
Likewise, the setObject(Object)
method sets a different property depending on which
Component is doing the setting. For more information on CompoundPropertyModels and model
inheritance, see CompoundPropertyModel
and
Page
.
Component.sameInnermostModel(org.apache.wicket.Component)
,
Component.sameInnermostModel(IModel)
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.