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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integerprotected Stringprotected List<IdentityLinkEntity>protected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Integerprotected IOSpecificationprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected intprotected Stringprotected intFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, revision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory name which is derived from the targetNamespace attribute in the definitions elementThe deployment in which this process definition is contained.description of this processThe resource name in the deployment of the diagram image (if any).The engine version for this process definition (5 or 6)booleangetKey()unique name for all versions this process definitionsgetName()label used for display purposesReturns a representation of the object, as would be stored in the database.name ofthe resourceof this process definition.intThe tenant identifier of this process definitionintversion of this process definitionbooleanDoes this process definition has a graphical notation defined (such that a diagram can be generated)?booleanDoes this process definition has astart form key.booleanbooleanReturns 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) voidvoidvoidsetResourceName(String resourceName) voidsetStartFormKey(boolean hasStartFormKey) voidsetSuspensionState(int suspensionState) voidsetTenantId(String tenantId) voidsetVariables(Map<String, Object> variables) voidsetVersion(int version) toString()Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntity
getId, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.impl.db.HasRevision
getRevision, getRevisionNext, setRevisionMethods inherited from interface org.activiti.engine.repository.ProcessDefinition
getId
-
Field Details
-
name
-
description
-
key
-
version
protected int version -
category
-
deploymentId
-
resourceName
-
tenantId
-
historyLevel
-
diagramResourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined -
variables
-
hasStartFormKey
protected boolean hasStartFormKey -
suspensionState
protected int suspensionState -
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized -
definitionIdentityLinkEntities
-
ioSpecification
-
appVersion
-
engineVersion
-
-
Constructor Details
-
ProcessDefinitionEntityImpl
public ProcessDefinitionEntityImpl()
-
-
Method Details
-
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
- Specified by:
getIdentityLinksin interfaceProcessDefinitionEntity
-
getKey
Description copied from interface:ProcessDefinitionunique name for all versions this process definitions- Specified by:
getKeyin interfaceProcessDefinition
-
setKey
- Specified by:
setKeyin interfaceProcessDefinitionEntity
-
getName
Description copied from interface:ProcessDefinitionlabel used for display purposes- Specified by:
getNamein interfaceProcessDefinition
-
setName
- Specified by:
setNamein interfaceProcessDefinitionEntity
-
setDescription
- Specified by:
setDescriptionin interfaceProcessDefinitionEntity
-
getDescription
Description copied from interface:ProcessDefinitiondescription of this process- Specified by:
getDescriptionin interfaceProcessDefinition
-
getDeploymentId
Description copied from interface:ProcessDefinitionThe deployment in which this process definition is contained.- Specified by:
getDeploymentIdin interfaceProcessDefinition
-
setDeploymentId
- 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
Description copied from interface:ProcessDefinitionname ofthe resourceof this process definition.- Specified by:
getResourceNamein interfaceProcessDefinition
-
setResourceName
- Specified by:
setResourceNamein interfaceProcessDefinitionEntity
-
getTenantId
Description copied from interface:ProcessDefinitionThe tenant identifier of this process definition- Specified by:
getTenantIdin interfaceProcessDefinition
-
setTenantId
- Specified by:
setTenantIdin interfaceProcessDefinitionEntity
-
getHistoryLevel
- Specified by:
getHistoryLevelin interfaceProcessDefinitionEntity
-
setHistoryLevel
- Specified by:
setHistoryLevelin interfaceProcessDefinitionEntity
-
getVariables
-
setVariables
-
getCategory
Description copied from interface:ProcessDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceProcessDefinition
-
setCategory
- Specified by:
setCategoryin interfaceProcessDefinitionEntity
-
getDiagramResourceName
Description copied from interface:ProcessDefinitionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceProcessDefinition
-
setDiagramResourceName
- 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
Description copied from interface:ProcessDefinitionThe engine version for this process definition (5 or 6)- Specified by:
getEngineVersionin interfaceProcessDefinition- Specified by:
getEngineVersionin interfaceProcessDefinitionEntity
-
setEngineVersion
- Specified by:
setEngineVersionin interfaceProcessDefinitionEntity
-
getIoSpecification
-
setIoSpecification
-
toString
-
setAppVersion
- Specified by:
setAppVersionin interfaceProcessDefinition
-
getAppVersion
- Specified by:
getAppVersionin interfaceProcessDefinition
-