Class AlertNotificationProfileRecord
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.ignition.gateway.alert.notification.AlertNotificationProfileRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class AlertNotificationProfileRecord extends PersistentRecord
The AlertNotificationProfileRecord defines the table structure all filters an AlertNotificationProfile will use before any notification- 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 BooleanField
Enabled
static IdentityField
Id
static EnumField<AlertSeverity>
MaxSeverity
static RecordMeta<AlertNotificationProfileRecord>
META
static EnumField<AlertSeverity>
MinSeverity
static StringField
Name
static StringField
Path
static StringField
StateName
Alert filter criteria for this profilestatic 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 AlertNotificationProfileRecord()
-
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.String
getStateName()
java.lang.String
getSystem()
java.lang.String
getType()
boolean
isEnabled()
-
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<AlertNotificationProfileRecord> META
-
Id
public static final IdentityField Id
-
Name
public static final StringField Name
-
Description
public static final StringField Description
-
Enabled
public static final BooleanField Enabled
-
Type
public static final StringField Type
-
System
public static final StringField System
-
Path
public static final StringField Path
-
StateName
public static final StringField StateName
Alert filter criteria for this profile
-
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
-
getId
public long getId()
-
getType
public java.lang.String getType()
-
getName
public java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
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()
-
isEnabled
public boolean isEnabled()
-
-