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 SummaryConstructors Constructor Description DirectRecordCollectionModel()Do not call - for ExternalizableDirectRecordCollectionModel(java.util.Collection<R> records)
 - 
Method SummaryAll 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- 
DirectRecordCollectionModelpublic DirectRecordCollectionModel() Do not call - for Externalizable
 - 
DirectRecordCollectionModelpublic DirectRecordCollectionModel(java.util.Collection<R> records) 
 
- 
 - 
Method Detail- 
getObjectpublic java.util.Collection<R> getObject() - Specified by:
- getObjectin interface- org.apache.wicket.model.IModel<R extends SRecordInstance>
 
 - 
setObjectpublic void setObject(java.util.Collection<R> object) - Specified by:
- setObjectin interface- org.apache.wicket.model.IModel<R extends SRecordInstance>
 
 - 
detachpublic void detach() - Specified by:
- detachin interface- org.apache.wicket.model.IDetachable
 
 - 
readExternalpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
- readExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
- java.lang.ClassNotFoundException
 
 - 
writeExternalpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
- writeExternalin interface- java.io.Externalizable
- Throws:
- java.io.IOException
 
 
- 
 
-