Package de.xima.fc.entities
Class FormElement
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.ALockableEntity
-
- de.xima.fc.entities.FormElement
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>,de.xima.cmn.dao.interfaces.ILockableEntity<Long>,ILockingVersionProviding,ITransferable,ITransferableEntity,ITransferableLockableEntity,IUUIDEntity,Serializable,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class FormElement extends ALockableEntity implements IUUIDEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_ALIASstatic StringATTR_FIELDNAMEstatic StringATTR_FORMVERSIONstatic StringATTR_ISSYSTEMstatic StringATTR_MANDANTDeprecated.will be removed, usegetFormVersion()andFormVersion.getProjekt()andAbstractMandantDependentEntity.getMandant()static StringATTR_TYPstatic StringCOL_UUID-
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.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, NULLABLE_UUID_TYPE, TYPE_NAME_UUID
-
-
Constructor Summary
Constructors Constructor Description FormElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FormElementcloneBasics()StringgetAlias()StringgetFieldName()FormVersiongetFormVersion()LonggetId()BooleangetIsSystem()MandantgetMandant()Deprecated.will be removed, usegetFormVersion()andFormVersion.getProjekt()andAbstractMandantDependentEntity.getMandant()EFormElementTypgetTyp()StringgetUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.UUIDgetUUIDObject()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetAlias(String alias)voidsetFieldName(String fieldName)voidsetFormVersion(FormVersion formVersion)voidsetId(Long id)!!!WARNING: Currently values biggerInteger.MAX_VALUEor lower thenInteger.MIN_VALUEwill be altered to null!!!voidsetIsSystem(Boolean isSystem)voidsetMandant(Mandant mandant)Deprecated.voidsetTyp(EFormElementTyp typ)voidsetUUID(String uuid)Sets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid)-
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
-
-
-
-
Field Detail
-
ATTR_FIELDNAME
public static final String ATTR_FIELDNAME
- See Also:
- Constant Field Values
-
ATTR_ALIAS
public static final String ATTR_ALIAS
- See Also:
- Constant Field Values
-
ATTR_TYP
public static final String ATTR_TYP
- See Also:
- Constant Field Values
-
ATTR_FORMVERSION
public static final String ATTR_FORMVERSION
- See Also:
- Constant Field Values
-
ATTR_ISSYSTEM
public static final String ATTR_ISSYSTEM
- See Also:
- Constant Field Values
-
COL_UUID
public static final String COL_UUID
- See Also:
- Constant Field Values
-
ATTR_MANDANT
@Deprecated public static final String ATTR_MANDANT
Deprecated.will be removed, usegetFormVersion()andFormVersion.getProjekt()andAbstractMandantDependentEntity.getMandant()- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
public String getUUID()
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUID
public void setUUID(String uuid)
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
getUUIDObject
public UUID getUUIDObject()
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
setUUIDObject
public void setUUIDObject(UUID uuid)
-
setId
public void setId(Long id)
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
-
getFieldName
public String getFieldName()
-
setFieldName
public void setFieldName(String fieldName)
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
getTyp
public EFormElementTyp getTyp()
-
setTyp
public void setTyp(EFormElementTyp typ)
-
getFormVersion
public FormVersion getFormVersion()
-
setFormVersion
public void setFormVersion(FormVersion formVersion)
-
cloneBasics
public FormElement cloneBasics()
-
getIsSystem
public Boolean getIsSystem()
-
setIsSystem
public void setIsSystem(Boolean isSystem)
-
getMandant
@Deprecated public Mandant getMandant()
Deprecated.will be removed, usegetFormVersion()andFormVersion.getProjekt()andAbstractMandantDependentEntity.getMandant()- Returns:
- returns the client or null if not set
-
setMandant
@Deprecated public void setMandant(Mandant mandant)
Deprecated.Sets the client to which the form containing this element belongs.
-
-