public class DriverPropertyRecord extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException| Modifier and Type | Field and Description |
|---|---|
static BooleanField |
Converted
Added in 7.6, used to mark this field as converted from legacy driver settings format to new format.
|
static ReferenceField<DeviceRecord> |
Device |
static LongField |
DeviceId |
static IdentityField |
Id |
static RecordMeta<DriverPropertyRecord> |
META |
static StringField |
PropertyKey |
static EnumField<DriverPropertyType> |
PropertyType |
static StringField |
PropertyValue |
static BlobField |
PropertyValueBlob |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE| Constructor and Description |
|---|
DriverPropertyRecord() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getPropertyKey() |
DriverPropertyType |
getPropertyType() |
java.lang.String |
getPropertyValue() |
byte[] |
getPropertyValueBlob() |
void |
setConverted(boolean converted) |
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesallFields, 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, wasInCachepublic static final RecordMeta<DriverPropertyRecord> META
public static final IdentityField Id
public static final LongField DeviceId
public static final ReferenceField<DeviceRecord> Device
public static final StringField PropertyKey
public static final StringField PropertyValue
public static final BlobField PropertyValueBlob
public static final EnumField<DriverPropertyType> PropertyType
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 PersistentRecordpublic java.lang.String getPropertyKey()
public java.lang.String getPropertyValue()
public byte[] getPropertyValueBlob()
public DriverPropertyType getPropertyType()
public void setConverted(boolean converted)