public class ImageRecord extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException
Modifier and Type | Field and Description |
---|---|
static BlobField |
Data |
static StringField |
Description |
static IntField |
Height |
static RecordMeta<ImageRecord> |
META |
static StringField |
Parent |
static StringField |
Path |
static IntField |
Size |
static EnumField<ImageFormat> |
Type
Image type field - null means folder
|
static IntField |
Width |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
ImageRecord() |
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.
|
boolean |
isDirectory() |
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<ImageRecord> META
public static final StringField Path
public static final EnumField<ImageFormat> Type
public static final StringField Description
public static final StringField Parent
public static final BlobField Data
public static final IntField Width
public static final IntField Height
public static final IntField Size
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 boolean isDirectory()