Class ALocalizedScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TData extends IFileDataEntity<?>>
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.common.file.AFileMetaEntity<TBase,TData>
-
- de.xima.fc.entities.common.file.AScopedFileMetaEntity<TBase,TData>
-
- de.xima.fc.entities.common.file.i18n.ALocalizedScopedFileMetaEntity<TBase,TData>
-
- Type Parameters:
TBase
- type of the base entity determines the type this file meta entity can be attached to.TData
- type of the data entity that stores the actual file data.
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILocalizedScopedFileMetaEntity<TBase,TData>
,IFileMetaEntity<TBase,TData>
,IScopedFileMetaEntity<TBase,TData>
,ILocalizedDatabaseObject
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,IUUIDEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
ClientPortalConfigFile
,ProjectFile
,UserPortalFile
@MappedSuperclass public abstract class ALocalizedScopedFileMetaEntity<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TData extends IFileDataEntity<?>> extends AScopedFileMetaEntity<TBase,TData> implements ILocalizedScopedFileMetaEntity<TBase,TData>
Abstract base class for localized file meta entities.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
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.file.IFileMetaEntity
ATTR_CREATED_TIMESTAMP, ATTR_ENTITY, ATTR_FILE_NAME, ATTR_FILE_SIZE, ATTR_MIME_TYPE, ATTR_MODIFIED_TIMESTAMP, ATTR_USER_NAME_CREATED, ATTR_USER_NAME_MODIFIED, COL_CREATED_TIMESTAMP, COL_ENTITY_ID, COL_FILE_NAME, COL_FILE_SIZE, COL_MIME_TYPE, COL_MODIFIED_TIMESTAMP, COL_USER_NAME_CREATED, COL_USER_NAME_MODIFIED
-
Fields inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizedDatabaseObject
ATTR_LANGUAGE_TAG, COL_LANGUAGE_TAG
-
Fields inherited from interface de.xima.fc.entities.interfaces.file.IScopedFileMetaEntity
ATTR_FILE_KEY, COL_FILE_KEY
-
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, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description ALocalizedScopedFileMetaEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copyBasics(ALocalizedScopedFileMetaEntity<TBase,TData> clone)
String
getLanguageTag()
Gets the language this database object is localized for in form of its language tag.void
setLanguageTag(String languageTag)
Sets the tag of the language this database object is localized for.-
Methods inherited from class de.xima.fc.entities.common.file.AScopedFileMetaEntity
copyBasics, getFileKey, setFileKey
-
Methods inherited from class de.xima.fc.entities.common.file.AFileMetaEntity
copyBasics, getBaseEntity, getCreatedInstant, getCreatorName, getDataEntities, getDataEntity, getFileName, getFileSize, getMimeType, getModifiedInstant, getModifierName, getUUID, getUUIDObject, newDataEntity, setBaseEntity, setCreatedInstant, setCreatorName, setData, setDataEntities, setFileName, setFileSize, setMimeType, setModifiedInstant, setModifierName, setUUID, setUUIDObject
-
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
-
Methods inherited from interface de.xima.fc.entities.interfaces.file.IFileMetaEntity
getBaseEntity, getCreatedInstant, getCreatorName, getDataEntity, getFileName, getFileSize, getMimeType, getModifiedInstant, getModifierName, setBaseEntity, setCreatedInstant, setCreatorName, setData, setFileName, setFileSize, setMimeType, setModifiedInstant, setModifierName
-
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizedDatabaseObject
getLocale, setLocale
-
Methods inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
entityHasChanged, getLockingVersion, setLockingVersion
-
Methods inherited from interface de.xima.fc.entities.interfaces.ILockingVersionProviding
getLockingVersion
-
Methods inherited from interface de.xima.fc.entities.interfaces.file.IScopedFileMetaEntity
getFileKey, setFileKey
-
Methods inherited from interface de.xima.fc.entities.interfaces.IUUIDEntity
getUUID, getUUIDObject, setUUID
-
-
-
-
Method Detail
-
getLanguageTag
public String getLanguageTag()
Description copied from interface:ILocalizedDatabaseObject
Gets the language this database object is localized for in form of its language tag.- Specified by:
getLanguageTag
in interfaceILocalizedDatabaseObject
- Returns:
- the language tag
-
setLanguageTag
public void setLanguageTag(String languageTag)
Description copied from interface:ILocalizedDatabaseObject
Sets the tag of the language this database object is localized for.- Specified by:
setLanguageTag
in interfaceILocalizedDatabaseObject
- Parameters:
languageTag
- the language tag to set
-
copyBasics
protected void copyBasics(ALocalizedScopedFileMetaEntity<TBase,TData> clone)
-
-