Class CamundaFormDefinitionEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.CamundaFormDefinitionEntity
-
- All Implemented Interfaces:
java.io.Serializable
,DbEntity
,HasDbRevision
,ResourceDefinitionEntity<CamundaFormDefinitionEntity>
,CamundaFormDefinition
,ResourceDefinition
public class CamundaFormDefinitionEntity extends java.lang.Object implements CamundaFormDefinition, ResourceDefinitionEntity<CamundaFormDefinitionEntity>, DbEntity, HasDbRevision, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
deploymentId
protected java.lang.String
id
protected java.lang.String
key
protected java.lang.String
resourceName
protected int
revision
protected java.lang.String
tenantId
protected int
version
-
Constructor Summary
Constructors Constructor Description CamundaFormDefinitionEntity(java.lang.String key, java.lang.String deploymentId, java.lang.String resourceName, java.lang.String tenantId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCategory()
category name which is derived from the targetNamespace attribute in the definitions elementjava.lang.String
getDeploymentId()
The deployment in which this definition is contained.java.lang.String
getDiagramResourceName()
The diagram resource name for this definition if existjava.lang.Integer
getHistoryTimeToLive()
History time to live.java.lang.String
getId()
unique identifierjava.lang.String
getKey()
unique name for all versions this definitionjava.lang.String
getName()
label used for display purposesjava.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.CamundaFormDefinitionEntity
getPreviousDefinition()
java.lang.String
getResourceName()
name ofthe resource
of this definitionint
getRevision()
int
getRevisionNext()
java.lang.String
getTenantId()
The id of the tenant this definition belongs to.int
getVersion()
version of this definitionvoid
setCategory(java.lang.String category)
void
setDeploymentId(java.lang.String deploymentId)
void
setDiagramResourceName(java.lang.String diagramResourceName)
void
setHistoryTimeToLive(java.lang.Integer historyTimeToLive)
void
setId(java.lang.String id)
void
setKey(java.lang.String key)
void
setName(java.lang.String name)
void
setResourceName(java.lang.String resourceName)
void
setRevision(int revision)
void
setTenantId(java.lang.String tenantId)
void
setVersion(int version)
void
updateModifiableFieldsFromEntity(CamundaFormDefinitionEntity updatingDefinition)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:ResourceDefinition
unique identifier- Specified by:
getId
in interfaceDbEntity
- Specified by:
getId
in interfaceResourceDefinition
-
setId
public void setId(java.lang.String id)
- Specified by:
setId
in interfaceDbEntity
- Specified by:
setId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getRevision
public int getRevision()
- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision)
- Specified by:
setRevision
in interfaceHasDbRevision
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getKey
public java.lang.String getKey()
Description copied from interface:ResourceDefinition
unique name for all versions this definition- Specified by:
getKey
in interfaceResourceDefinition
-
setKey
public void setKey(java.lang.String key)
- Specified by:
setKey
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getVersion
public int getVersion()
Description copied from interface:ResourceDefinition
version of this definition- Specified by:
getVersion
in interfaceResourceDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersion
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDeploymentId
public java.lang.String getDeploymentId()
Description copied from interface:ResourceDefinition
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceResourceDefinition
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
- Specified by:
setDeploymentId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getResourceName
public java.lang.String getResourceName()
Description copied from interface:ResourceDefinition
name ofthe resource
of this definition- Specified by:
getResourceName
in interfaceResourceDefinition
-
setResourceName
public void setResourceName(java.lang.String resourceName)
- Specified by:
setResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:ResourceDefinition
The id of the tenant this definition belongs to. Can benull
if the definition belongs to no single tenant.- Specified by:
getTenantId
in interfaceResourceDefinition
-
setTenantId
public void setTenantId(java.lang.String tenantId)
- Specified by:
setTenantId
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getCategory
public java.lang.String getCategory()
Description copied from interface:ResourceDefinition
category name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategory
in interfaceResourceDefinition
-
getPreviousDefinition
public CamundaFormDefinitionEntity getPreviousDefinition()
- Specified by:
getPreviousDefinition
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
setCategory
public void setCategory(java.lang.String category)
- Specified by:
setCategory
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getDiagramResourceName
public java.lang.String getDiagramResourceName()
Description copied from interface:ResourceDefinition
The diagram resource name for this definition if exist- Specified by:
getDiagramResourceName
in interfaceResourceDefinition
-
setDiagramResourceName
public void setDiagramResourceName(java.lang.String diagramResourceName)
- Specified by:
setDiagramResourceName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getHistoryTimeToLive
public java.lang.Integer getHistoryTimeToLive()
Description copied from interface:ResourceDefinition
History time to live. Is taken into account in history cleanup.- Specified by:
getHistoryTimeToLive
in interfaceResourceDefinition
-
setHistoryTimeToLive
public void setHistoryTimeToLive(java.lang.Integer historyTimeToLive)
- Specified by:
setHistoryTimeToLive
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceDbEntity
-
updateModifiableFieldsFromEntity
public void updateModifiableFieldsFromEntity(CamundaFormDefinitionEntity updatingDefinition)
- Specified by:
updateModifiableFieldsFromEntity
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
getName
public java.lang.String getName()
Description copied from interface:ResourceDefinition
label used for display purposes- Specified by:
getName
in interfaceResourceDefinition
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceResourceDefinitionEntity<CamundaFormDefinitionEntity>
-
-