Class ProcessDefinitionEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntityImpl
-
- All Implemented Interfaces:
Serializable,HasRevision,Entity,ProcessDefinitionEntity,ProcessDefinition
public class ProcessDefinitionEntityImpl extends AbstractEntity implements ProcessDefinitionEntity, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerappVersionprotected Stringcategoryprotected List<IdentityLinkEntity>definitionIdentityLinkEntitiesprotected StringdeploymentIdprotected Stringdescriptionprotected StringdiagramResourceNameprotected StringengineVersionprotected booleanhasStartFormKeyprotected IntegerhistoryLevelprotected IOSpecificationioSpecificationprotected booleanisGraphicalNotationDefinedprotected booleanisIdentityLinksInitializedprotected Stringkeyprotected Stringnameprotected StringresourceNameprotected intsuspensionStateprotected StringtenantIdprotected Map<String,Object>variablesprotected intversion-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision
-
-
Constructor Summary
Constructors Constructor Description ProcessDefinitionEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAppVersion()StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementStringgetDeploymentId()The deployment in which this process definition is contained.StringgetDescription()description of this processStringgetDiagramResourceName()The resource name in the deployment of the diagram image (if any).StringgetEngineVersion()The engine version for this process definition (5 or 6)booleangetHasStartFormKey()IntegergetHistoryLevel()List<IdentityLinkEntity>getIdentityLinks()IOSpecificationgetIoSpecification()StringgetKey()unique name for all versions this process definitionsStringgetName()label used for display purposesObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.StringgetResourceName()name ofthe resourceof this process definition.intgetSuspensionState()StringgetTenantId()The tenant identifier of this process definitionMap<String,Object>getVariables()intgetVersion()version of this process definitionbooleanhasGraphicalNotation()Does this process definition has a graphical notation defined (such that a diagram can be generated)?booleanhasStartFormKey()Does this process definition has astart form key.booleanisGraphicalNotationDefined()booleanisSuspended()Returns true if the process definition is in suspended state.voidsetAppVersion(Integer appVersion)voidsetCategory(String category)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetDiagramResourceName(String diagramResourceName)voidsetEngineVersion(String engineVersion)voidsetGraphicalNotationDefined(boolean isGraphicalNotationDefined)voidsetHasStartFormKey(boolean hasStartFormKey)voidsetHistoryLevel(Integer historyLevel)voidsetIoSpecification(IOSpecification ioSpecification)voidsetKey(String key)voidsetName(String name)voidsetResourceName(String resourceName)voidsetStartFormKey(boolean hasStartFormKey)voidsetSuspensionState(int suspensionState)voidsetTenantId(String tenantId)voidsetVariables(Map<String,Object> variables)voidsetVersion(int version)StringtoString()-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevision
-
Methods inherited from interface org.activiti.engine.repository.ProcessDefinition
getId
-
-
-
-
Field Detail
-
name
protected String name
-
description
protected String description
-
key
protected String key
-
version
protected int version
-
category
protected String category
-
deploymentId
protected String deploymentId
-
resourceName
protected String resourceName
-
tenantId
protected String tenantId
-
historyLevel
protected Integer historyLevel
-
diagramResourceName
protected String diagramResourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined
-
hasStartFormKey
protected boolean hasStartFormKey
-
suspensionState
protected int suspensionState
-
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized
-
definitionIdentityLinkEntities
protected List<IdentityLinkEntity> definitionIdentityLinkEntities
-
ioSpecification
protected IOSpecification ioSpecification
-
appVersion
protected Integer appVersion
-
engineVersion
protected String engineVersion
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Description copied from interface:EntityReturns 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:
getPersistentStatein interfaceEntity
-
getIdentityLinks
public List<IdentityLinkEntity> getIdentityLinks()
- Specified by:
getIdentityLinksin interfaceProcessDefinitionEntity
-
getKey
public String getKey()
Description copied from interface:ProcessDefinitionunique name for all versions this process definitions- Specified by:
getKeyin interfaceProcessDefinition
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceProcessDefinitionEntity
-
getName
public String getName()
Description copied from interface:ProcessDefinitionlabel used for display purposes- Specified by:
getNamein interfaceProcessDefinition
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceProcessDefinitionEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceProcessDefinitionEntity
-
getDescription
public String getDescription()
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
getDeploymentId
public String getDeploymentId()
Description copied from interface:ProcessDefinitionThe deployment in which this process definition is contained.- Specified by:
getDeploymentIdin interfaceProcessDefinition
-
setDeploymentId
public void setDeploymentId(String deploymentId)
- Specified by:
setDeploymentIdin interfaceProcessDefinitionEntity
-
getVersion
public int getVersion()
Description copied from interface:ProcessDefinitionversion of this process definition- Specified by:
getVersionin interfaceProcessDefinition
-
setVersion
public void setVersion(int version)
- Specified by:
setVersionin interfaceProcessDefinitionEntity
-
getResourceName
public String getResourceName()
Description copied from interface:ProcessDefinitionname ofthe resourceof this process definition.- Specified by:
getResourceNamein interfaceProcessDefinition
-
setResourceName
public void setResourceName(String resourceName)
- Specified by:
setResourceNamein interfaceProcessDefinitionEntity
-
getTenantId
public String getTenantId()
Description copied from interface:ProcessDefinitionThe tenant identifier of this process definition- Specified by:
getTenantIdin interfaceProcessDefinition
-
setTenantId
public void setTenantId(String tenantId)
- Specified by:
setTenantIdin interfaceProcessDefinitionEntity
-
getHistoryLevel
public Integer getHistoryLevel()
- Specified by:
getHistoryLevelin interfaceProcessDefinitionEntity
-
setHistoryLevel
public void setHistoryLevel(Integer historyLevel)
- Specified by:
setHistoryLevelin interfaceProcessDefinitionEntity
-
getCategory
public String getCategory()
Description copied from interface:ProcessDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceProcessDefinition
-
setCategory
public void setCategory(String category)
- Specified by:
setCategoryin interfaceProcessDefinitionEntity
-
getDiagramResourceName
public String getDiagramResourceName()
Description copied from interface:ProcessDefinitionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceProcessDefinition
-
setDiagramResourceName
public void setDiagramResourceName(String diagramResourceName)
- Specified by:
setDiagramResourceNamein interfaceProcessDefinitionEntity
-
hasStartFormKey
public boolean hasStartFormKey()
Description copied from interface:ProcessDefinitionDoes this process definition has astart form key.- Specified by:
hasStartFormKeyin interfaceProcessDefinition
-
getHasStartFormKey
public boolean getHasStartFormKey()
- Specified by:
getHasStartFormKeyin interfaceProcessDefinitionEntity
-
setStartFormKey
public void setStartFormKey(boolean hasStartFormKey)
- Specified by:
setStartFormKeyin interfaceProcessDefinitionEntity
-
setHasStartFormKey
public void setHasStartFormKey(boolean hasStartFormKey)
- Specified by:
setHasStartFormKeyin interfaceProcessDefinitionEntity
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined()
- Specified by:
isGraphicalNotationDefinedin interfaceProcessDefinitionEntity
-
hasGraphicalNotation
public boolean hasGraphicalNotation()
Description copied from interface:ProcessDefinitionDoes this process definition has a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotationin interfaceProcessDefinition
-
setGraphicalNotationDefined
public void setGraphicalNotationDefined(boolean isGraphicalNotationDefined)
- Specified by:
setGraphicalNotationDefinedin interfaceProcessDefinitionEntity
-
getSuspensionState
public int getSuspensionState()
- Specified by:
getSuspensionStatein interfaceProcessDefinitionEntity
-
setSuspensionState
public void setSuspensionState(int suspensionState)
- Specified by:
setSuspensionStatein interfaceProcessDefinitionEntity
-
isSuspended
public boolean isSuspended()
Description copied from interface:ProcessDefinitionReturns true if the process definition is in suspended state.- Specified by:
isSuspendedin interfaceProcessDefinition
-
getEngineVersion
public String getEngineVersion()
Description copied from interface:ProcessDefinitionThe engine version for this process definition (5 or 6)- Specified by:
getEngineVersionin interfaceProcessDefinition- Specified by:
getEngineVersionin interfaceProcessDefinitionEntity
-
setEngineVersion
public void setEngineVersion(String engineVersion)
- Specified by:
setEngineVersionin interfaceProcessDefinitionEntity
-
getIoSpecification
public IOSpecification getIoSpecification()
-
setIoSpecification
public void setIoSpecification(IOSpecification ioSpecification)
-
setAppVersion
public void setAppVersion(Integer appVersion)
- Specified by:
setAppVersionin interfaceProcessDefinition
-
getAppVersion
public Integer getAppVersion()
- Specified by:
getAppVersionin interfaceProcessDefinition
-
-