Package de.xima.fc.entities
Class UserProfileFile
- 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<UserProfile,UserProfileFileData>
 - 
- de.xima.fc.entities.UserProfileFile
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IAbstractDatei<UserProfileFileData>,IFileEntity<UserProfile,UserProfileFileData>,IFileSizeProviding,IKeyDependentFileEntity<UserProfile,UserProfileFileData>,ILockingVersionProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class UserProfileFile extends AFileEntity<UserProfile,UserProfileFileData> implements IKeyDependentFileEntity<UserProfile,UserProfileFileData>, IFileSizeProviding
Entity representing files of a user profile- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringATTR_SIZEstatic StringCOL_FILE_SIZE- 
Fields inherited from class de.xima.fc.entities.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, 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, COL_BASE_ENTITY 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IFileSizeProviding
COL_SIZE 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.IKeyDependentFileEntity
ATTR_KEY, COL_KEY 
- 
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID 
 - 
 
- 
Constructor Summary
Constructors Constructor Description UserProfileFile() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserProfilegetBaseEntity()UserProfileFileDatagetDataEntity()LonggetId()StringgetKey()intgetSize()Gets the file size in bytes.voidsetBaseEntity(UserProfile baseEntity)voidsetDataEntity(UserProfileFileData dataEntity)voidsetKey(String key)voidsetNewData(byte[] daten)voidsetSize(int size)Sets the file size in bytes.StringtoString()- 
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 
- 
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 
- 
Methods inherited from interface de.xima.fc.entities.interfaces.IFileEntity
getAenderungsdatum, getBenutzer_erstellt, getBenutzer_geaendert, getDateiDaten, getDateiname, getDaten, getErstellungsdatum, setAenderungsdatum, setBenutzer_erstellt, setBenutzer_geaendert, setDateiDaten, setDateiname, setErstellungsdatum 
 - 
 
 - 
 
- 
- 
Field Detail
- 
COL_FILE_SIZE
public static final String COL_FILE_SIZE
- See Also:
 - Constant Field Values
 
 
- 
ATTR_SIZE
public static final String ATTR_SIZE
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getKey
public String getKey()
- Specified by:
 getKeyin interfaceIKeyDependentFileEntity<UserProfile,UserProfileFileData>
 
- 
setKey
public void setKey(String key)
- Specified by:
 setKeyin interfaceIKeyDependentFileEntity<UserProfile,UserProfileFileData>
 
- 
setDataEntity
public void setDataEntity(UserProfileFileData dataEntity)
- Specified by:
 setDataEntityin interfaceIFileEntity<UserProfile,UserProfileFileData>
 
- 
getDataEntity
public UserProfileFileData getDataEntity()
- Specified by:
 getDataEntityin interfaceIFileEntity<UserProfile,UserProfileFileData>
 
- 
setNewData
public void setNewData(byte[] daten)
- Specified by:
 setNewDatain interfaceIAbstractDatei<UserProfileFileData>- Specified by:
 setNewDatain interfaceIFileEntity<UserProfile,UserProfileFileData>
 
- 
getBaseEntity
public UserProfile getBaseEntity()
- Specified by:
 getBaseEntityin interfaceIFileEntity<UserProfile,UserProfileFileData>
 
- 
setBaseEntity
public void setBaseEntity(UserProfile baseEntity)
- Specified by:
 setBaseEntityin interfaceIFileEntity<UserProfile,UserProfileFileData>
 
- 
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
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.
 
- 
toString
public String toString()
- Overrides:
 toStringin classAbstractLockableEntity
 
 - 
 
 -