Class DirectRecordCollectionModel<R extends SRecordInstance>
java.lang.Object
com.inductiveautomation.ignition.gateway.web.models.DirectRecordCollectionModel<R>
- All Implemented Interfaces:
Externalizable
,Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<Collection<R>>
,org.apache.wicket.util.io.IClusterable
public class DirectRecordCollectionModel<R extends SRecordInstance>
extends Object
implements org.apache.wicket.model.IModel<Collection<R>>, Externalizable
A Model that directly holds a list of SRecordInstance objects, ensuring that they are serialized safely.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDo not call - for ExternalizableDirectRecordCollectionModel
(Collection<R> records) -
Method Summary
-
Constructor Details
-
DirectRecordCollectionModel
public DirectRecordCollectionModel()Do not call - for Externalizable -
DirectRecordCollectionModel
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<R extends SRecordInstance>
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<R extends SRecordInstance>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-