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 SummaryConstructors Constructor Description AlteringModel(org.apache.wicket.model.IModel<F> model)
 - 
Method SummaryAll 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- 
modelprotected org.apache.wicket.model.IModel<F> model 
 
- 
 - 
Constructor Detail- 
AlteringModelpublic AlteringModel(org.apache.wicket.model.IModel<F> model) 
 
- 
 - 
Method Detail- 
getObjectpublic B getObject() - Specified by:
- getObjectin interface- org.apache.wicket.model.IModel<F>
 
 - 
setObjectpublic void setObject(B object) - Specified by:
- setObjectin interface- org.apache.wicket.model.IModel<F>
 
 - 
detachpublic void detach() - Specified by:
- detachin interface- org.apache.wicket.model.IDetachable
 
 - 
getChainedModelpublic org.apache.wicket.model.IModel<F> getChainedModel() - Specified by:
- getChainedModelin interface- org.apache.wicket.model.IChainingModel<F>
 
 - 
setChainedModelpublic void setChainedModel(org.apache.wicket.model.IModel<?> model) - Specified by:
- setChainedModelin interface- org.apache.wicket.model.IChainingModel<F>
 
 
- 
 
-