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 StringFieldstatic final LongFieldstatic final DateFieldstatic final StringFieldstatic final EnumField<ProjectEditType>static final IdentityFieldstatic final RecordMeta<ProjectChangeRecord>static final ReferenceField<ProjectRecord>static final LongFieldstatic final StringFieldFields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEditDetail(String detail) intSort order is edit count, edit date, edit type, user name.longRecordMeta<?>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.longMethods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesMethods 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: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
-
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:
compareToin interfaceComparable<ProjectChangeRecord>
-