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 String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class de.xima.fc.entities.AClientDependentEntity
COL_CLIENTID, mandant
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.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
Fields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.IMandantDependent
ATTR_MANDANT, COL_CLIENT_ID
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
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, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getUUID()
boolean
boolean
boolean
isSystem()
void
setBeschreibung
(String beschreibung) void
setDeletable
(boolean deletable) void
setDeprecated
(boolean deprecated) void
setI18nValues
(Map<String, String> i18nValues) void
!!!void
setKategorie
(ETextbausteinKategorie kategorie) void
setMsgCode
(ETextbausteinMsgCode msgCode) void
void
setSystem
(boolean system) void
setTextValue
(String textValue) void
void
setUUIDObject
(UUID uuid) Methods inherited from class de.xima.fc.entities.AClientDependentEntity
getMandant, setMandant
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.IDescriptionProviding
getDescription
Methods 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:
getId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
getUUID
- Specified by:
getUUID
in 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:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
-
setId
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getName
- Specified by:
getName
in 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:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
-
getI18nValues
-
setI18nValues
-