Class TaskStatusEventRecord
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.ignition.gateway.tasks.TaskStatusEventRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class TaskStatusEventRecord extends PersistentRecord
Created by colby.clegg on 9/28/2015.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
Fields Modifier and Type Field Description static StringFieldDetailstatic IdentityFieldIdstatic EnumField<TaskStatusEvent.Level>Levelstatic StringFieldMessagestatic RecordMeta<TaskStatusEventRecord>METAstatic StringFieldTargetstatic StringFieldTaskNamestatic StringFieldTaskTypestatic LongFieldTimestamp-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description TaskStatusEventRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskStatusEventgetEvent()RecordMeta<?>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.voidsetFrom(TaskStatusEvent event)-
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<TaskStatusEventRecord> META
-
Id
public static final IdentityField Id
-
TaskName
public static final StringField TaskName
-
Timestamp
public static final LongField Timestamp
-
Level
public static final EnumField<TaskStatusEvent.Level> Level
-
Target
public static final StringField Target
-
Message
public static final StringField Message
-
Detail
public static final StringField Detail
-
TaskType
public static final StringField TaskType
-
-
Method Detail
-
getMeta
public RecordMeta<?> getMeta()
Description copied from class:SRecordInstanceThis 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
metavariable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMetain classPersistentRecord
-
getEvent
public TaskStatusEvent getEvent()
-
setFrom
public void setFrom(TaskStatusEvent event)
-
-