@Entity public class FormTemplate extends AClientDependentEntity implements IFileProviding<FormTemplateFile,FormTemplateFileData>, IDescriptionProviding, INameProviding, IUUIDEntity
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_CLASSNAME |
static String |
ATTR_DESCRIPTION |
static String |
ATTR_NAME |
static String |
ATTR_SCOPE |
static String |
ATTR_TAGS |
static String |
COL_UUID |
COL_CLIENTID, mandant
COL_LOCKINGVERSION, lockingVersion
COL_ID, id
ATTR_DATEI, ATTR_FILE
IMPORT_ID, INVALID_ID
ATTR_BESCHREIBUNG
COL_NAME
ATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUID
ATTR_MANDANT, COL_CLIENT_ID
Constructor and Description |
---|
FormTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
addTag(FormTemplateTag tag) |
String |
getBeschreibung() |
String |
getClassname() |
String |
getDescription() |
FormTemplateFile |
getFileEntity() |
Long |
getId() |
String |
getName() |
EFormTemplateScope |
getScope() |
List<FormTemplateTag> |
getTags() |
String |
getUUID() |
UUID |
getUUIDObject() |
void |
nowEdited(String editor)
Updates who changed this tag most recently and when they changed it.
|
void |
removeTag(FormTemplateTag tag) |
void |
setClassname(String classname) |
void |
setDescription(String description) |
void |
setFileEntity(FormTemplateFile fileEntity) |
void |
setId(Long id)
!!!
|
void |
setName(String name) |
void |
setScope(EFormTemplateScope scope) |
void |
setTags(List<FormTemplateTag> tags)
This method should only be used by Hibernate.
|
void |
setUUID(String uuid) |
void |
setUUIDObject(UUID uuid) |
getMandant, setMandant
entityHasChanged, getLockingVersion, setLockingVersion, toString
asIntValue, isPersisted, setId
compareTo, equals, getDBTableName, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDatei, setDatei
compareTo
public static final String ATTR_NAME
public static final String ATTR_DESCRIPTION
public static final String ATTR_TAGS
public static final String ATTR_CLASSNAME
public static final String ATTR_SCOPE
public static final String COL_UUID
public void setId(Long id)
AbstractEntity
Integer.MAX_VALUE
or lower then Integer.MIN_VALUE
will be
altered to null!!!setId
in interface de.xima.cmn.dao.interfaces.IEntity<Long>
setId
in class AbstractEntity
id
- Long
the database-id to setpublic String getUUID()
getUUID
in interface IUUIDEntity
Mandant
, Projekt
, ...public void setUUID(String uuid)
setUUID
in interface IUUIDEntity
public UUID getUUIDObject()
getUUIDObject
in interface IUUIDEntity
public void setUUIDObject(UUID uuid)
public String getClassname()
public void setClassname(String classname)
public String getDescription()
getDescription
in interface IDescriptionProviding
public void setDescription(String description)
public EFormTemplateScope getScope()
public void setScope(EFormTemplateScope scope)
public String getName()
getName
in interface INameProviding
public void setName(String name)
public List<FormTemplateTag> getTags()
public void setTags(List<FormTemplateTag> tags)
addTag(FormTemplateTag)
,
removeTag(FormTemplateTag)
. These methods take care of keeping the template lists for the tags synced.tags
- List of tags to setpublic FormTemplateFile getFileEntity()
getFileEntity
in interface IFileProviding<FormTemplateFile,FormTemplateFileData>
public void setFileEntity(FormTemplateFile fileEntity)
setFileEntity
in interface IFileProviding<FormTemplateFile,FormTemplateFileData>
public void addTag(FormTemplateTag tag)
tag
- Tag to be added to this template.public void removeTag(FormTemplateTag tag)
tag
- Tag to be removed to this template.public String getBeschreibung()
getBeschreibung
in interface IDescriptionProviding
public void nowEdited(String editor)
editor
- Name of the user who made the change.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.