Package de.xima.fc.entities
Class FormVersionBackup
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.AFileEntity<FormVersion,FormVersionBackupData>
-
- de.xima.fc.entities.FormVersionBackup
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,IAbstractDatei<FormVersionBackupData>
,IFileEntity<FormVersion,FormVersionBackupData>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class FormVersionBackup extends AFileEntity<FormVersion,FormVersionBackupData> implements IUUIDEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_FORMVERSION
static String
COL_UUID
-
Fields inherited from class de.xima.fc.entities.AFileEntity
aenderungsdatum, benutzer_erstellt, benutzer_geaendert, COL_DATE_CREATED, COL_DATE_MODIFIED, COL_NAME, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIED, dataEntities, dateiname, erstellungsdatum
-
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.IFileEntity
ATTR_AENDERUNGSDATUM, ATTR_BASE_ENTITY, ATTR_BENUTZER, ATTR_BENUTZER_GEAENDERT, ATTR_DATA_ENTITY, ATTR_DATEINAME, ATTR_DATEN, ATTR_ERSTELLUNGSDATUM
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Fields inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description FormVersionBackup()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FormVersion
getBaseEntity()
FormVersionBackupData
getDataEntity()
FormVersion
getFormVersion()
Deprecated.usegetBaseEntity()
Long
getId()
String
getUUID()
UUID
getUUIDObject()
void
setBaseEntity(FormVersion baseEntity)
void
setDataEntity(FormVersionBackupData dataEntity)
void
setFormVersion(FormVersion formVersion)
Deprecated.void
setId(Long id)
!!!void
setNewData(byte[] daten)
void
setUUID(String uuid)
void
setUUIDObject(UUID uuid)
-
Methods inherited from class de.xima.fc.entities.AFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDataEntities, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDataEntities, setDateiname, setErstellungsdatum
-
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
-
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
-
Methods inherited from interface de.xima.fc.entities.interfaces.IFileEntity
getDateiDaten, setDateiDaten
-
-
-
-
Field Detail
-
ATTR_FORMVERSION
public static final String ATTR_FORMVERSION
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(Long id)
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getUUID
public String getUUID()
- Specified by:
getUUID
in interfaceIUUIDEntity
- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a context,
e.g.
Mandant
,Projekt
, ...
-
setUUID
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
setDataEntity
public void setDataEntity(FormVersionBackupData dataEntity)
- Specified by:
setDataEntity
in interfaceIFileEntity<FormVersion,FormVersionBackupData>
-
getDataEntity
public FormVersionBackupData getDataEntity()
- Specified by:
getDataEntity
in interfaceIFileEntity<FormVersion,FormVersionBackupData>
-
setNewData
public void setNewData(byte[] daten)
- Specified by:
setNewData
in interfaceIAbstractDatei<FormVersionBackupData>
- Specified by:
setNewData
in interfaceIFileEntity<FormVersion,FormVersionBackupData>
-
getBaseEntity
public FormVersion getBaseEntity()
- Specified by:
getBaseEntity
in interfaceIFileEntity<FormVersion,FormVersionBackupData>
-
setBaseEntity
public void setBaseEntity(FormVersion baseEntity)
- Specified by:
setBaseEntity
in interfaceIFileEntity<FormVersion,FormVersionBackupData>
-
getFormVersion
@Deprecated public FormVersion getFormVersion()
Deprecated.usegetBaseEntity()
-
setFormVersion
@Deprecated public void setFormVersion(FormVersion formVersion)
Deprecated.- Parameters:
formVersion
- theFormVersion
to set
-
-