T- Model object.
public interface IModel<T> extends IDetachable
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
LoadableDetachableModelinstead 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
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.