Class AlertStorageProfileRecord
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.alert.storage.AlertStorageProfileRecord
- All Implemented Interfaces:
Serializable
The AlertStorageProfileRecord defines the table structure all filters an AlertStorageProfile will
use before storing an alert
- 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 IdentityField
static final EnumField<AlertSeverity>
static final RecordMeta<AlertStorageProfileRecord>
static final EnumField<AlertSeverity>
static final StringField
static final StringField
static final IntField
static final StringField
static final StringField
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 TypeMethodDescriptionlong
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.getName()
getPath()
getType()
void
setDescription
(String description) void
void
setMaxSeverity
(AlertSeverity maxSeverity) void
setMinSeverity
(AlertSeverity minSeverity) void
void
void
setRetention
(int retention) void
setStateName
(String stateName) void
void
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
-
Name
-
Description
-
Type
-
Retention
-
System
-
Path
-
StateName
-
MinSeverity
-
MaxSeverity
-
-
Constructor Details
-
AlertStorageProfileRecord
public AlertStorageProfileRecord()
-
-
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
-
setId
-
setName
-
setDescription
-
setSystem
-
setPath
-
setStateName
-
setMinSeverity
-
setMaxSeverity
-
setRetention
public void setRetention(int retention) -
setType
-
getId
public long getId() -
getType
-
getName
-
getDescription
-
getRetention
-
getSystem
-
getPath
-
getStateName
-
getMinSeverity
-
getMaxSeverity
-