Class AlteringModel<F,B>
- java.lang.Object
 - 
- com.inductiveautomation.ignition.gateway.web.models.AlteringModel<F,B>
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,org.apache.wicket.model.IChainingModel<B>,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<B>,org.apache.wicket.util.io.IClusterable
public abstract class AlteringModel<F,B> extends java.lang.Object implements org.apache.wicket.model.IChainingModel<B>A basic model wrapper that will alter an IModel<Foo> into an IModel<Bar> via the implementation of the abstract alter method- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AlteringModel(org.apache.wicket.model.IModel<F> model) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Balter(F modelObject)voiddetach()org.apache.wicket.model.IModel<F>getChainedModel()BgetObject()voidsetChainedModel(org.apache.wicket.model.IModel<?> model)voidsetObject(B object) 
 - 
 
- 
- 
Field Detail
- 
model
protected org.apache.wicket.model.IModel<F> model
 
 - 
 
- 
Constructor Detail
- 
AlteringModel
public AlteringModel(org.apache.wicket.model.IModel<F> model)
 
 - 
 
- 
Method Detail
- 
getObject
public B getObject()
- Specified by:
 getObjectin interfaceorg.apache.wicket.model.IModel<F>
 
- 
setObject
public void setObject(B object)
- Specified by:
 setObjectin interfaceorg.apache.wicket.model.IModel<F>
 
- 
detach
public void detach()
- Specified by:
 detachin interfaceorg.apache.wicket.model.IDetachable
 
- 
getChainedModel
public org.apache.wicket.model.IModel<F> getChainedModel()
- Specified by:
 getChainedModelin interfaceorg.apache.wicket.model.IChainingModel<F>
 
- 
setChainedModel
public void setChainedModel(org.apache.wicket.model.IModel<?> model)
- Specified by:
 setChainedModelin interfaceorg.apache.wicket.model.IChainingModel<F>
 
 - 
 
 -