@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 |
COL_CLIENTID, mandant
COL_LOCKINGVERSION, lockingVersion
COL_ID, id
ATTR_DATEI, ATTR_FILE
IMPORT_ID, INVALID_ID
ATTR_BESCHREIBUNG
ATTR_UUID
ATTR_MANDANT
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() |
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) |
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 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
public void setUUID(String 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)
or #replaceTags(Collection)
. These methods take care
of keeping the template lists for the tags synced.tags
- public 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 © 2019 XIMA MEDIA GmbH. All rights reserved.