Class ProcessDefinitionEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntity
-
- org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,HasRevision,Entity,ProcessDefinitionEntity,ProcessDefinition
public class ProcessDefinitionEntityImpl extends AbstractEntity implements ProcessDefinitionEntity, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.IntegerappVersionprotected java.lang.Stringcategoryprotected java.util.List<IdentityLinkEntity>definitionIdentityLinkEntitiesprotected java.lang.StringdeploymentIdprotected java.lang.Stringdescriptionprotected java.lang.StringdiagramResourceNameprotected java.lang.StringengineVersionprotected booleanhasStartFormKeyprotected java.lang.IntegerhistoryLevelprotected IOSpecificationioSpecificationprotected booleanisGraphicalNotationDefinedprotected booleanisIdentityLinksInitializedprotected java.lang.Stringkeyprotected java.lang.Stringnameprotected java.lang.StringresourceNameprotected intsuspensionStateprotected java.lang.StringtenantIdprotected java.util.Map<java.lang.String,java.lang.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 java.lang.IntegergetAppVersion()java.lang.StringgetCategory()category name which is derived from the targetNamespace attribute in the definitions elementjava.lang.StringgetDeploymentId()The deployment in which this process definition is contained.java.lang.StringgetDescription()description of this processjava.lang.StringgetDiagramResourceName()The resource name in the deployment of the diagram image (if any).java.lang.StringgetEngineVersion()The engine version for this process definition (5 or 6)booleangetHasStartFormKey()java.lang.IntegergetHistoryLevel()java.util.List<IdentityLinkEntity>getIdentityLinks()IOSpecificationgetIoSpecification()java.lang.StringgetKey()unique name for all versions this process definitionsjava.lang.StringgetName()label used for display purposesjava.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.lang.StringgetResourceName()name ofthe resourceof this process definition.intgetSuspensionState()java.lang.StringgetTenantId()The tenant identifier of this process definitionjava.util.Map<java.lang.String,java.lang.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(java.lang.Integer appVersion)voidsetCategory(java.lang.String category)voidsetDeploymentId(java.lang.String deploymentId)voidsetDescription(java.lang.String description)voidsetDiagramResourceName(java.lang.String diagramResourceName)voidsetEngineVersion(java.lang.String engineVersion)voidsetGraphicalNotationDefined(boolean isGraphicalNotationDefined)voidsetHasStartFormKey(boolean hasStartFormKey)voidsetHistoryLevel(java.lang.Integer historyLevel)voidsetIoSpecification(IOSpecification ioSpecification)voidsetKey(java.lang.String key)voidsetName(java.lang.String name)voidsetResourceName(java.lang.String resourceName)voidsetStartFormKey(boolean hasStartFormKey)voidsetSuspensionState(int suspensionState)voidsetTenantId(java.lang.String tenantId)voidsetVariables(java.util.Map<java.lang.String,java.lang.Object> variables)voidsetVersion(int version)java.lang.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 java.lang.String name
-
description
protected java.lang.String description
-
key
protected java.lang.String key
-
version
protected int version
-
category
protected java.lang.String category
-
deploymentId
protected java.lang.String deploymentId
-
resourceName
protected java.lang.String resourceName
-
tenantId
protected java.lang.String tenantId
-
historyLevel
protected java.lang.Integer historyLevel
-
diagramResourceName
protected java.lang.String diagramResourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined
-
variables
protected java.util.Map<java.lang.String,java.lang.Object> variables
-
hasStartFormKey
protected boolean hasStartFormKey
-
suspensionState
protected int suspensionState
-
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized
-
definitionIdentityLinkEntities
protected java.util.List<IdentityLinkEntity> definitionIdentityLinkEntities
-
ioSpecification
protected IOSpecification ioSpecification
-
appVersion
protected java.lang.Integer appVersion
-
engineVersion
protected java.lang.String engineVersion
-
-
Method Detail
-
getPersistentState
public java.lang.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 java.util.List<IdentityLinkEntity> getIdentityLinks()
- Specified by:
getIdentityLinksin interfaceProcessDefinitionEntity
-
getKey
public java.lang.String getKey()
Description copied from interface:ProcessDefinitionunique name for all versions this process definitions- Specified by:
getKeyin interfaceProcessDefinition
-
setKey
public void setKey(java.lang.String key)
- Specified by:
setKeyin interfaceProcessDefinitionEntity
-
getName
public java.lang.String getName()
Description copied from interface:ProcessDefinitionlabel used for display purposes- Specified by:
getNamein interfaceProcessDefinition
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceProcessDefinitionEntity
-
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescriptionin interfaceProcessDefinitionEntity
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
getDeploymentId
public java.lang.String getDeploymentId()
Description copied from interface:ProcessDefinitionThe deployment in which this process definition is contained.- Specified by:
getDeploymentIdin interfaceProcessDefinition
-
setDeploymentId
public void setDeploymentId(java.lang.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 java.lang.String getResourceName()
Description copied from interface:ProcessDefinitionname ofthe resourceof this process definition.- Specified by:
getResourceNamein interfaceProcessDefinition
-
setResourceName
public void setResourceName(java.lang.String resourceName)
- Specified by:
setResourceNamein interfaceProcessDefinitionEntity
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:ProcessDefinitionThe tenant identifier of this process definition- Specified by:
getTenantIdin interfaceProcessDefinition
-
setTenantId
public void setTenantId(java.lang.String tenantId)
- Specified by:
setTenantIdin interfaceProcessDefinitionEntity
-
getHistoryLevel
public java.lang.Integer getHistoryLevel()
- Specified by:
getHistoryLevelin interfaceProcessDefinitionEntity
-
setHistoryLevel
public void setHistoryLevel(java.lang.Integer historyLevel)
- Specified by:
setHistoryLevelin interfaceProcessDefinitionEntity
-
getVariables
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
-
setVariables
public void setVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
-
getCategory
public java.lang.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(java.lang.String category)
- Specified by:
setCategoryin interfaceProcessDefinitionEntity
-
getDiagramResourceName
public java.lang.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(java.lang.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 java.lang.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(java.lang.String engineVersion)
- Specified by:
setEngineVersionin interfaceProcessDefinitionEntity
-
getIoSpecification
public IOSpecification getIoSpecification()
-
setIoSpecification
public void setIoSpecification(IOSpecification ioSpecification)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setAppVersion
public void setAppVersion(java.lang.Integer appVersion)
- Specified by:
setAppVersionin interfaceProcessDefinition
-
getAppVersion
public java.lang.Integer getAppVersion()
- Specified by:
getAppVersionin interfaceProcessDefinition
-
-