Class AlteringModel<F,B>
java.lang.Object
com.inductiveautomation.ignition.gateway.web.models.AlteringModel<F,B>
- All Implemented Interfaces:
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 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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
model
-
-
Constructor Details
-
AlteringModel
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<F>
-
alter
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<F>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
getChainedModel
- Specified by:
getChainedModel
in interfaceorg.apache.wicket.model.IChainingModel<F>
-
setChainedModel
public void setChainedModel(org.apache.wicket.model.IModel<?> model) - Specified by:
setChainedModel
in interfaceorg.apache.wicket.model.IChainingModel<F>
-