Class IncomingConnection
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.ignition.gateway.gan.IncomingConnection
-
- All Implemented Interfaces:
java.io.Serializable
public class IncomingConnection extends PersistentRecord
Created by mattg on 7/27/15.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IncomingConnection.SecurityStatus
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
Fields Modifier and Type Field Description static StringField
ConnectionId
static IdentityField
Id
static RecordMeta<IncomingConnection>
META
static EnumField<IncomingConnection.SecurityStatus>
SecurityStatusFld
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description IncomingConnection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.inductiveautomation.metro.api.RemoteSystemId
getConnectionId()
long
getId()
RecordMeta<?>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.IncomingConnection.SecurityStatus
getSecurityStatus()
void
setConnectionId(com.inductiveautomation.metro.api.RemoteSystemId connectionId)
void
setSecurityStatus(IncomingConnection.SecurityStatus newStatus)
-
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
-
Methods inherited from class simpleorm.dataset.SRecordInstance
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
-
-
-
-
Field Detail
-
META
public static final RecordMeta<IncomingConnection> META
-
Id
public static final IdentityField Id
-
ConnectionId
public static final StringField ConnectionId
-
SecurityStatusFld
public static final EnumField<IncomingConnection.SecurityStatus> SecurityStatusFld
-
-
Method Detail
-
getMeta
public RecordMeta<?> getMeta()
Description copied from class:SRecordInstance
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };
The actual
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in classPersistentRecord
-
getId
public long getId()
-
getConnectionId
public com.inductiveautomation.metro.api.RemoteSystemId getConnectionId()
-
setConnectionId
public void setConnectionId(com.inductiveautomation.metro.api.RemoteSystemId connectionId)
-
getSecurityStatus
public IncomingConnection.SecurityStatus getSecurityStatus()
-
setSecurityStatus
public void setSecurityStatus(IncomingConnection.SecurityStatus newStatus)
-
-