T - The Model object typepublic abstract class AbstractWrapModel<T> extends Object implements IWrapModel<T>
IComponentAssignedModel or
IComponentInheritedModel so that you don't have to have empty methods like detach or
setObject() when not used in the wrapper.
The detach method calls the wrapped models detach.| Constructor and Description |
|---|
AbstractWrapModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
detach()
Calls getWrappedModel().detach();
|
T |
getObject()
Gets the model object.
|
void |
setObject(T object)
Sets the model object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWrappedModelpublic T getObject()
IModelgetObject in interface IModel<T>IModel.getObject()public void setObject(T object)
IModelsetObject in interface IModel<T>object - The model objectIModel.setObject(java.lang.Object)public void detach()
detach in interface IDetachableIDetachable.detach()Copyright © 2006–2014 Apache Software Foundation. All rights reserved.