T - The Model object typepublic class ChainingModel<T> extends Object implements de.alpharogroup.model.api.ChainableModel<T>
AbstractPropertyModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ChainingModel(Object modelObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
void |
detach()
Unsets this property model's instance variables and detaches the model.
|
de.alpharogroup.model.api.Model<?> |
getChainedModel() |
T |
getObject() |
protected Object |
getTarget() |
void |
setChainedModel(de.alpharogroup.model.api.Model<?> model) |
void |
setObject(T object) |
protected ChainingModel<T> |
setTarget(Object modelObject)
Sets a new target - object or model.
|
String |
toString() |
public ChainingModel(Object modelObject)
public void detach()
detach in interface de.alpharogroup.model.api.Detachablepublic void attach()
attach in interface de.alpharogroup.model.api.Attachablepublic void setObject(T object)
setObject in interface de.alpharogroup.model.api.Model<T>public T getObject()
getObject in interface de.alpharogroup.model.api.Model<T>public de.alpharogroup.model.api.Model<?> getChainedModel()
getChainedModel in interface de.alpharogroup.model.api.ChainableModel<T>public void setChainedModel(de.alpharogroup.model.api.Model<?> model)
setChainedModel in interface de.alpharogroup.model.api.ChainableModel<T>protected final Object getTarget()
protected final ChainingModel<T> setTarget(Object modelObject)
modelObject - the model objectCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.