Package de.xima.fc.entities
Class AFileDataEntity<T extends IFileEntity<?,?>>
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ALockableEntity
-
- de.xima.fc.entities.AFileDataEntity<T>
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAbstractDateiData
,IFileDataEntity<T>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
FormTemplateFileData
,FormTemplatePreview
,FormTemplateThumbnail
,FormVersionBackupData
,FormVersionDateiData
,ProjectPreviewFileData
@MappedSuperclass public abstract class AFileDataEntity<T extends IFileEntity<?,?>> extends ALockableEntity implements IFileDataEntity<T>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected @javax.validation.constraints.NotNull byte[]
data
protected T
fileEntity
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.IFileDataEntity
ATTR_DATA, ATTR_FILE_ENTITY
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description AFileDataEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData()
T
getFileEntity()
void
setData(byte[] data)
void
setFileEntity(T fileEntity)
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
data
@NotNull protected @javax.validation.constraints.NotNull byte[] data
-
fileEntity
protected T extends IFileEntity<?,?> fileEntity
-
-
Method Detail
-
getData
public byte[] getData()
- Specified by:
getData
in interfaceIAbstractDateiData
- Specified by:
getData
in interfaceIFileDataEntity<T extends IFileEntity<?,?>>
-
setData
public void setData(byte[] data)
- Specified by:
setData
in interfaceIAbstractDateiData
- Specified by:
setData
in interfaceIFileDataEntity<T extends IFileEntity<?,?>>
-
getFileEntity
public T getFileEntity()
- Specified by:
getFileEntity
in interfaceIFileDataEntity<T extends IFileEntity<?,?>>
-
setFileEntity
public void setFileEntity(T fileEntity)
- Specified by:
setFileEntity
in interfaceIFileDataEntity<T extends IFileEntity<?,?>>
-
-