Package de.xima.fc.entities
Class FormEingangDatei
- 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<FormEingang,FormEingangDateiData>
-
- de.xima.fc.entities.FormEingangDatei
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IAbstractDatei<FormEingangDateiData>,IFileEntity<FormEingang,FormEingangDateiData>,IFileSizeProviding,ILockingVersionProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class FormEingangDatei extends AFileEntity<FormEingang,FormEingangDateiData> implements IFileSizeProviding
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_FORMEINGANGstatic StringATTR_SIZE-
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
-
-
Constructor Summary
Constructors Constructor Description FormEingangDatei()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearWasDataUpdate()Clears theisWasDataUpdated()flag.FormEinganggetBaseEntity()FormEingangDateiDatagetDataEntity()LonggetId()intgetSize()The file size in bytes.booleanisWasDataUpdated()voidsetBaseEntity(FormEingang baseEntity)voidsetDataEntity(FormEingangDateiData dataEntity)voidsetId(Long id)!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!voidsetNewData(byte[] daten)voidsetNewFormData(String formData)voidsetSize(Integer size)-
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_FORMEINGANG
public static final String ATTR_FORMEINGANG
- See Also:
- Constant Field Values
-
ATTR_SIZE
public static final String ATTR_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(Long id)
Description copied from class:AbstractEntity!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!- Specified by:
setIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>- Overrides:
setIdin classAbstractEntity- Parameters:
id-Longthe database-id to set
-
setDataEntity
public void setDataEntity(FormEingangDateiData dataEntity)
- Specified by:
setDataEntityin interfaceIFileEntity<FormEingang,FormEingangDateiData>
-
getDataEntity
public FormEingangDateiData getDataEntity()
- Specified by:
getDataEntityin interfaceIFileEntity<FormEingang,FormEingangDateiData>
-
getBaseEntity
public FormEingang getBaseEntity()
- Specified by:
getBaseEntityin interfaceIFileEntity<FormEingang,FormEingangDateiData>
-
isWasDataUpdated
public boolean isWasDataUpdated()
- Returns:
- Whether a call to
setNewData(byte[])was made.
-
clearWasDataUpdate
public void clearWasDataUpdate()
Clears theisWasDataUpdated()flag.
-
setBaseEntity
public void setBaseEntity(FormEingang baseEntity)
- Specified by:
setBaseEntityin interfaceIFileEntity<FormEingang,FormEingangDateiData>
-
setNewData
public void setNewData(byte[] daten)
- Specified by:
setNewDatain interfaceIAbstractDatei<FormEingangDateiData>- Specified by:
setNewDatain interfaceIFileEntity<FormEingang,FormEingangDateiData>
-
setNewFormData
public void setNewFormData(String formData)
-
getSize
public int getSize()
Description copied from interface:IFileSizeProvidingThe file size in bytes.- Specified by:
getSizein interfaceIFileSizeProviding- Returns:
- The file size in bytes.
-
setSize
public void setSize(Integer size)
-
-