Class DirectRecordCollectionModel<R extends SRecordInstance>
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.models.DirectRecordCollectionModel<R>
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,org.apache.wicket.model.IDetachable,org.apache.wicket.model.IModel<java.util.Collection<R>>,org.apache.wicket.util.io.IClusterable
public class DirectRecordCollectionModel<R extends SRecordInstance> extends java.lang.Object implements org.apache.wicket.model.IModel<java.util.Collection<R>>, java.io.ExternalizableA Model that directly holds a list of SRecordInstance objects, ensuring that they are serialized safely.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirectRecordCollectionModel()Do not call - for ExternalizableDirectRecordCollectionModel(java.util.Collection<R> records)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach()java.util.Collection<R>getObject()voidreadExternal(java.io.ObjectInput in)voidsetObject(java.util.Collection<R> object)voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Constructor Detail
-
DirectRecordCollectionModel
public DirectRecordCollectionModel()
Do not call - for Externalizable
-
DirectRecordCollectionModel
public DirectRecordCollectionModel(java.util.Collection<R> records)
-
-
Method Detail
-
getObject
public java.util.Collection<R> getObject()
- Specified by:
getObjectin interfaceorg.apache.wicket.model.IModel<R extends SRecordInstance>
-
setObject
public void setObject(java.util.Collection<R> object)
- Specified by:
setObjectin interfaceorg.apache.wicket.model.IModel<R extends SRecordInstance>
-
detach
public void detach()
- Specified by:
detachin interfaceorg.apache.wicket.model.IDetachable
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
-