Class MandantRessourceDatei
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<MandantRessource, MandantRessourceDateiData>
de.xima.fc.entities.MandantRessourceDatei
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, IAbstractDatei<MandantRessourceDateiData>, IFileEntity<MandantRessource, MandantRessourceDateiData>, IFileSizeProviding, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class MandantRessourceDatei
extends AFileEntity<MandantRessource, MandantRessourceDateiData>
implements IFileSizeProviding
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringDeprecated.static final StringFields inherited from class AFileEntity
aenderungsdatum, ATTR_NAME, benutzer_erstellt, benutzer_geaendert, COL_DATE_CREATED, COL_DATE_MODIFIED, COL_NAME, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIED, dataEntities, dateiname, erstellungsdatumFields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface IFileEntity
ATTR_AENDERUNGSDATUM, ATTR_BASE_ENTITY, ATTR_BENUTZER, ATTR_BENUTZER_GEAENDERT, ATTR_DATA_ENTITY, ATTR_DATEINAME, ATTR_DATEN, ATTR_ERSTELLUNGSDATUM, COL_BASE_ENTITYFields inherited from interface IFileSizeProviding
COL_SIZEFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()intgetSize()Gets the file size in bytes.voidsetBaseEntity(MandantRessource baseEntity) voidsetDataEntity(MandantRessourceDateiData dataEntity) voidsetNewData(byte[] daten) voidsetSize(int size) Sets the file size in bytes.voidSets the size of the file in bytes.Methods inherited from class AFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDataEntities, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDataEntities, setDateiname, setErstellungsdatumMethods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setIdMethods inherited from interface IFileEntity
getDateiDaten, setDateiDatenMethods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Field Details
-
ATTR_MANDANT_RESSOURCE
- See Also:
-
ATTR_PROJEKT_RESSOURCE
Deprecated.- See Also:
-
ATTR_SIZE
- See Also:
-
-
Constructor Details
-
MandantRessourceDatei
public MandantRessourceDatei()
-
-
Method Details
-
getId
-
setDataEntity
- Specified by:
setDataEntityin interfaceIFileEntity<MandantRessource, MandantRessourceDateiData>
-
getDataEntity
- Specified by:
getDataEntityin interfaceIFileEntity<MandantRessource, MandantRessourceDateiData>
-
setNewData
public void setNewData(byte[] daten) - Specified by:
setNewDatain interfaceIAbstractDatei<MandantRessourceDateiData>- Specified by:
setNewDatain interfaceIFileEntity<MandantRessource, MandantRessourceDateiData>
-
getSize
public int getSize()Description copied from interface:IFileSizeProvidingGets the file size in bytes.- Specified by:
getSizein interfaceIFileSizeProviding- Returns:
- The file size in bytes.
-
setSize
Sets the size of the file in bytes.- Parameters:
size- The size of the file in bytes.
-
setSize
public void setSize(int size) Description copied from interface:IFileSizeProvidingSets the file size in bytes.- Specified by:
setSizein interfaceIFileSizeProviding- Parameters:
size- The file size in bytes.
-
getBaseEntity
- Specified by:
getBaseEntityin interfaceIFileEntity<MandantRessource, MandantRessourceDateiData>
-
setBaseEntity
- Specified by:
setBaseEntityin interfaceIFileEntity<MandantRessource, MandantRessourceDateiData>
-
ATTR_MANDANT_RESSOURCE