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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_DELETABLE
static String
ATTR_DEPRECATED
static String
ATTR_KATEGORIE
static String
ATTR_MSGCODE
static String
ATTR_SYSTEM
static String
ATTR_TEXT_VALUE
static String
COL_UUID
-
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.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 Constructor Description Textbaustein()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBeschreibung()
Map<String,String>
getI18nValues()
Long
getId()
ETextbausteinKategorie
getKategorie()
ETextbausteinMsgCode
getMsgCode()
String
getName()
String
getTextValue()
String
getUUID()
UUID
getUUIDObject()
boolean
isDeletable()
boolean
isDeprecated()
boolean
isSystem()
void
setBeschreibung(String beschreibung)
void
setDeletable(boolean deletable)
void
setDeprecated(boolean deprecated)
void
setI18nValues(Map<String,String> i18nValues)
void
setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!void
setKategorie(ETextbausteinKategorie kategorie)
void
setMsgCode(ETextbausteinMsgCode msgCode)
void
setName(String name)
void
setSystem(boolean system)
void
setTextValue(String textValue)
void
setUUID(String uuid)
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
-
-
-
-
Field Detail
-
ATTR_MSGCODE
public static final String ATTR_MSGCODE
- See Also:
- Constant Field Values
-
ATTR_KATEGORIE
public static final String ATTR_KATEGORIE
- See Also:
- Constant Field Values
-
ATTR_SYSTEM
public static final String ATTR_SYSTEM
- See Also:
- Constant Field Values
-
ATTR_DELETABLE
public static final String ATTR_DELETABLE
- See Also:
- Constant Field Values
-
ATTR_DEPRECATED
public static final String ATTR_DEPRECATED
- See Also:
- Constant Field Values
-
ATTR_TEXT_VALUE
public static final String ATTR_TEXT_VALUE
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
public String 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
public void setUUID(String uuid)
- Specified by:
setUUID
in interfaceIUUIDEntity
-
getUUIDObject
public UUID getUUIDObject()
- Specified by:
getUUIDObject
in interfaceIUUIDEntity
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
setId
public void setId(Long id)
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
public String getName()
- Specified by:
getName
in interfaceINameProviding
- Returns:
- The name of this object.
-
setName
public void setName(String name)
-
getTextValue
public String getTextValue()
-
setTextValue
public void setTextValue(String textValue)
-
getKategorie
public ETextbausteinKategorie getKategorie()
-
setKategorie
public void setKategorie(ETextbausteinKategorie kategorie)
-
isDeletable
public boolean isDeletable()
-
setDeletable
public void setDeletable(boolean deletable)
-
getMsgCode
public ETextbausteinMsgCode getMsgCode()
-
setMsgCode
public void setMsgCode(ETextbausteinMsgCode msgCode)
-
isSystem
public boolean isSystem()
-
setSystem
public void setSystem(boolean system)
-
isDeprecated
public boolean isDeprecated()
-
setDeprecated
public void setDeprecated(boolean deprecated)
-
getBeschreibung
public String getBeschreibung()
- Specified by:
getBeschreibung
in interfaceIDescriptionProviding
-
setBeschreibung
public void setBeschreibung(String beschreibung)
-
-