Package de.xima.fc.entities
Class Textbaustein
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,IDescriptionProviding,ILockingVersionProviding,IMandantDependent,INameProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class Textbaustein
extends AClientDependentEntity
implements INameProviding, IDescriptionProviding, IUUIDEntity
Diese Entität ermöglicht eine Zuordnung zw. einem Schlüssselwort und einem dahinterliegenden Text. Zudem werden diese
in verschiedene Kategorien aufgeteilt, so dass bspw. in Mails oder Weiterleitung unterteilt werden kann.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandantFields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, idFields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTIONFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_IDFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAMEFields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_IDFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getUUID()booleanbooleanbooleanisSystem()voidsetBeschreibung(String beschreibung) voidsetDeletable(boolean deletable) voidsetDeprecated(boolean deprecated) voidsetI18nValues(Map<String, String> i18nValues) void!!!voidsetKategorie(ETextbausteinKategorie kategorie) voidsetMsgCode(ETextbausteinMsgCode msgCode) voidvoidsetSystem(boolean system) voidsetTextValue(String textValue) voidvoidsetUUIDObject(UUID uuid) Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandantMethods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getDescriptionMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted
-
Field Details
-
ATTR_MSGCODE
- See Also:
-
ATTR_KATEGORIE
- See Also:
-
ATTR_SYSTEM
- See Also:
-
ATTR_DELETABLE
- See Also:
-
ATTR_DEPRECATED
- See Also:
-
ATTR_TEXT_VALUE
- See Also:
-
COL_UUID
- See Also:
-
-
Constructor Details
-
Textbaustein
public Textbaustein()
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- UUID (Universal Unique Identifier) that identifies this type of entity. Usually is unique within a
context, e.g.
Mandant,Projekt, ...
-
setUUID
- Specified by:
setUUIDin interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObjectin interfaceIUUIDEntity
-
setUUIDObject
-
setId
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
-
getName
- Specified by:
getNamein interfaceINameProviding- Returns:
- The name of this object.
-
setName
-
getTextValue
-
setTextValue
-
getKategorie
-
setKategorie
-
isDeletable
public boolean isDeletable() -
setDeletable
public void setDeletable(boolean deletable) -
getMsgCode
-
setMsgCode
-
isSystem
public boolean isSystem() -
setSystem
public void setSystem(boolean system) -
isDeprecated
public boolean isDeprecated() -
setDeprecated
public void setDeprecated(boolean deprecated) -
getBeschreibung
- Specified by:
getBeschreibungin interfaceIDescriptionProviding
-
setBeschreibung
-
getI18nValues
-
setI18nValues
-