@MappedSuperclass public abstract class AFileDataEntity<T extends IFileEntity<?,?>> extends ALockableEntity implements IFileDataEntity<T>
Modifier and Type | Field and Description |
---|---|
protected @NotNull byte[] |
data |
protected T |
fileEntity |
COL_LOCKINGVERSION, lockingVersion
COL_ID, id
ATTR_DATA, ATTR_FILE_ENTITY
IMPORT_ID, INVALID_ID
Constructor and Description |
---|
AFileDataEntity() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
T |
getFileEntity() |
void |
setData(byte[] data) |
void |
setFileEntity(T fileEntity) |
entityHasChanged, getLockingVersion, setLockingVersion, toString
asIntValue, isPersisted, setId, setId
compareTo, equals, getDBTableName, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
entityHasChanged, getLockingVersion, setLockingVersion
compareTo
@NotNull protected @NotNull byte[] data
protected T extends IFileEntity<?,?> fileEntity
public byte[] getData()
getData
in interface IAbstractDateiData
getData
in interface IFileDataEntity<T extends IFileEntity<?,?>>
public void setData(byte[] data)
setData
in interface IAbstractDateiData
setData
in interface IFileDataEntity<T extends IFileEntity<?,?>>
public T getFileEntity()
getFileEntity
in interface IFileDataEntity<T extends IFileEntity<?,?>>
public void setFileEntity(T fileEntity)
setFileEntity
in interface IFileDataEntity<T extends IFileEntity<?,?>>
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.