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:
java.io.Serializable
public class AlertStorageProfileRecord extends PersistentRecord
The AlertStorageProfileRecord defines the table structure all filters an AlertStorageProfile will use before storing an alert- 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 StringField
Description
static IdentityField
Id
static EnumField<AlertSeverity>
MaxSeverity
static RecordMeta<AlertStorageProfileRecord>
META
static EnumField<AlertSeverity>
MinSeverity
static StringField
Name
static StringField
Path
static IntField
Retention
static StringField
StateName
static StringField
System
static StringField
Type
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description AlertStorageProfileRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
long
getId()
AlertSeverity
getMaxSeverity()
RecordMeta<?>
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.AlertSeverity
getMinSeverity()
java.lang.String
getName()
java.lang.String
getPath()
java.lang.Integer
getRetention()
java.lang.String
getStateName()
java.lang.String
getSystem()
java.lang.String
getType()
void
setDescription(java.lang.String description)
void
setId(java.lang.Long id)
void
setMaxSeverity(AlertSeverity maxSeverity)
void
setMinSeverity(AlertSeverity minSeverity)
void
setName(java.lang.String name)
void
setPath(java.lang.String path)
void
setRetention(int retention)
void
setStateName(java.lang.String stateName)
void
setSystem(java.lang.String system)
void
setType(java.lang.String type)
-
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<AlertStorageProfileRecord> META
-
Id
public static final IdentityField Id
-
Name
public static final StringField Name
-
Description
public static final StringField Description
-
Type
public static final StringField Type
-
Retention
public static final IntField Retention
-
System
public static final StringField System
-
Path
public static final StringField Path
-
StateName
public static final StringField StateName
-
MinSeverity
public static final EnumField<AlertSeverity> MinSeverity
-
MaxSeverity
public static final EnumField<AlertSeverity> MaxSeverity
-
-
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
-
setId
public void setId(java.lang.Long id)
-
setName
public void setName(java.lang.String name)
-
setDescription
public void setDescription(java.lang.String description)
-
setSystem
public void setSystem(java.lang.String system)
-
setPath
public void setPath(java.lang.String path)
-
setStateName
public void setStateName(java.lang.String stateName)
-
setMinSeverity
public void setMinSeverity(AlertSeverity minSeverity)
-
setMaxSeverity
public void setMaxSeverity(AlertSeverity maxSeverity)
-
setRetention
public void setRetention(int retention)
-
setType
public void setType(java.lang.String type)
-
getId
public long getId()
-
getType
public java.lang.String getType()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getRetention
public java.lang.Integer getRetention()
-
getSystem
public java.lang.String getSystem()
-
getPath
public java.lang.String getPath()
-
getStateName
public java.lang.String getStateName()
-
getMinSeverity
public AlertSeverity getMinSeverity()
-
getMaxSeverity
public AlertSeverity getMaxSeverity()
-
-