public class DeviceRecord extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException
Modifier and Type | Field and Description |
---|---|
static IntField |
BrowseTimeout |
static BooleanField |
Converted
Added in 7.6, used to mark this field as converted from legacy driver settings format to new format.
|
static StringField |
DriverClassName |
static BooleanField |
Enabled |
static StringField |
GroupName |
static IdentityField |
Id |
static RecordMeta<DeviceRecord> |
META |
static StringField |
Name |
static IntField |
ReadTimeout |
static IntField |
WriteTimeout |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
DeviceRecord() |
Modifier and Type | Method and Description |
---|---|
int |
getBrowseTimeout() |
java.lang.String |
getDriverClassName() |
java.lang.String |
getGroup() |
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 |
getReadTimeout() |
int |
getWriteTimeout() |
boolean |
isEnabled() |
void |
setConverted(boolean converted) |
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
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
public static final RecordMeta<DeviceRecord> META
public static final IdentityField Id
public static final StringField Name
public static final StringField GroupName
public static final StringField DriverClassName
public static final IntField BrowseTimeout
public static final IntField ReadTimeout
public static final IntField WriteTimeout
public static final BooleanField Enabled
public static final BooleanField Converted
LegacyDeviceConfigConverter
will only operate on records that haven't been converted yet.public RecordMeta<?> getMeta()
SRecordInstance
SRecord getMeta() { return meta; };
The actual meta
variable is thus not Serialized, but it would not be anyway as it is usually static.
getMeta
in class PersistentRecord
public java.lang.Long getId()
public java.lang.String getName()
public java.lang.String getGroup()
public java.lang.String getDriverClassName()
public int getBrowseTimeout()
public int getReadTimeout()
public int getWriteTimeout()
public boolean isEnabled()
public void setConverted(boolean converted)