Class ProjectChangeRecord
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.project.records.ProjectChangeRecord
- All Implemented Interfaces:
Serializable
,Comparable<ProjectChangeRecord>
public class ProjectChangeRecord
extends PersistentRecord
implements Comparable<ProjectChangeRecord>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringField
static final LongField
static final DateField
static final StringField
static final EnumField<ProjectEditType>
static final IdentityField
static final RecordMeta<ProjectChangeRecord>
static final ReferenceField<ProjectRecord>
static final LongField
static final StringField
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEditDetail
(String detail) int
Sort order is edit count, edit date, edit type, user name.long
RecordMeta<?>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.long
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 Details
-
META
-
Id
-
ProjectId
-
Project
-
EditCount
-
EditType
-
UserName
-
CommitMessage
-
EditDate
-
EditDetails
-
-
Constructor Details
-
ProjectChangeRecord
public ProjectChangeRecord()
-
-
Method Details
-
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
-
addEditDetail
-
getProjectID
public long getProjectID() -
getEditCount
public long getEditCount() -
getEditType
-
getUserName
-
getCommitMessage
-
getEditDate
-
getEditDetails
-
compareTo
Sort order is edit count, edit date, edit type, user name. Used in the rollback dialog.- Specified by:
compareTo
in interfaceComparable<ProjectChangeRecord>
-