Class LegacySettingsRecord
- java.lang.Object
-
- simpleorm.dataset.SRecordInstance
-
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
-
- com.inductiveautomation.gateway.tags.history.config.LegacySettingsRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class LegacySettingsRecord extends PersistentRecord
Created by colby.clegg on 8/4/2015.- 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 BooleanField
Enabled
static IdentityField
Id
static RecordMeta<LegacySettingsRecord>
META
static StringField
Name
static BooleanField
OptimizedPartitionsEnabled
static IntField
OptimizedWindowSizeSec
static BooleanField
PartitioningEnabled
static IntField
PartitionSize
static EnumField<TimeUnits>
PartitionSizeUnits
static IntField
PruneAge
static EnumField<TimeUnits>
PruneAgeUnits
static BooleanField
PruningEnabled
static IntField
StaleMultiplier
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 LegacySettingsRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
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.java.lang.String
getName()
int
getPartitionSize()
TimeUnits
getPartitionSizeUnits()
int
getProcessingWindowSeconds()
int
getPruneAge()
TimeUnits
getPruneAgeUnits()
int
getStaleMultiplier()
boolean
isEnabled()
boolean
isPartitioningEnabled()
boolean
isProcessingEnabled()
boolean
isPruningEnabled()
void
setName(java.lang.String value)
void
setType(java.lang.String value)
-
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<LegacySettingsRecord> META
-
Id
public static final IdentityField Id
-
Name
public static final StringField Name
-
Type
public static final StringField Type
-
Enabled
public static final BooleanField Enabled
-
PartitioningEnabled
public static final BooleanField PartitioningEnabled
-
PartitionSize
public static final IntField PartitionSize
-
OptimizedPartitionsEnabled
public static final BooleanField OptimizedPartitionsEnabled
-
OptimizedWindowSizeSec
public static final IntField OptimizedWindowSizeSec
-
PruningEnabled
public static final BooleanField PruningEnabled
-
PruneAge
public static final IntField PruneAge
-
StaleMultiplier
public static final IntField StaleMultiplier
-
-
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 java.lang.Long getId()
-
isEnabled
public boolean isEnabled()
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String value)
-
setType
public void setType(java.lang.String value)
-
isPartitioningEnabled
public boolean isPartitioningEnabled()
-
getPartitionSize
public int getPartitionSize()
-
getPartitionSizeUnits
public TimeUnits getPartitionSizeUnits()
-
isProcessingEnabled
public boolean isProcessingEnabled()
-
getProcessingWindowSeconds
public int getProcessingWindowSeconds()
-
isPruningEnabled
public boolean isPruningEnabled()
-
getPruneAge
public int getPruneAge()
-
getPruneAgeUnits
public TimeUnits getPruneAgeUnits()
-
getStaleMultiplier
public int getStaleMultiplier()
-
-