Class CaseDefinitionEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntity
org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineEntity
org.flowable.cmmn.engine.impl.persistence.entity.CaseDefinitionEntityImpl
- All Implemented Interfaces:
CaseDefinition
,CaseDefinitionEntity
,HasRevision
,Entity
public class CaseDefinitionEntityImpl
extends AbstractCmmnEngineEntity
implements CaseDefinitionEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected List<IdentityLinkEntity>
protected String
protected String
protected String
protected boolean
protected boolean
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected int
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, 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 case definition is contained.description of this case definitionThe resource name in the deployment of the diagram image (if any).getKey()
unique name for all versions of this case definitiongetName()
label used for display purposesReturns a representation of the object, as would be stored in the database.name ofthe resource
of this case definition.The tenant identifier of this case definitionint
version of this case definitionboolean
Does this case definition have a graphical notation defined (such that a diagram can be generated)?boolean
Does this case definition have a start form key}.boolean
void
setCategory
(String category) void
setDeploymentId
(String deploymentId) void
setDescription
(String description) void
setDiagramResourceName
(String diagramResourceName) void
setHasGraphicalNotation
(boolean hasGraphicalNotation) void
setHasStartFormKey
(boolean hasStartFormKey) void
void
setLocalizedDescription
(String localizedDescription) Sets an optional localized description for the case definitionvoid
setLocalizedName
(String localizedName) Sets an optional localized name for the case definition.void
void
setResourceName
(String resourceName) void
setTenantId
(String tenantId) void
setVersion
(int version) Methods inherited from class org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.cmmn.api.repository.CaseDefinition
getId
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
category
-
name
-
key
-
description
-
version
protected int version -
resourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined -
diagramResourceName
-
deploymentId
-
hasStartFormKey
protected boolean hasStartFormKey -
tenantId
-
isIdentityLinksInitialized
protected boolean isIdentityLinksInitialized -
definitionIdentityLinkEntities
-
localizedName
-
localizedDescription
-
-
Constructor Details
-
CaseDefinitionEntityImpl
public CaseDefinitionEntityImpl()
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
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 interfaceEntity
-
getCategory
Description copied from interface:CaseDefinition
category name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategory
in interfaceCaseDefinition
-
setName
- Specified by:
setName
in interfaceCaseDefinitionEntity
-
getName
Description copied from interface:CaseDefinition
label used for display purposes- Specified by:
getName
in interfaceCaseDefinition
-
getKey
Description copied from interface:CaseDefinition
unique name for all versions of this case definition- Specified by:
getKey
in interfaceCaseDefinition
-
getDescription
Description copied from interface:CaseDefinition
description of this case definition- Specified by:
getDescription
in interfaceCaseDefinition
-
getVersion
public int getVersion()Description copied from interface:CaseDefinition
version of this case definition- Specified by:
getVersion
in interfaceCaseDefinition
-
getResourceName
Description copied from interface:CaseDefinition
name ofthe resource
of this case definition.- Specified by:
getResourceName
in interfaceCaseDefinition
-
getDeploymentId
Description copied from interface:CaseDefinition
The deployment in which this case definition is contained.- Specified by:
getDeploymentId
in interfaceCaseDefinition
-
hasGraphicalNotation
public boolean hasGraphicalNotation()Description copied from interface:CaseDefinition
Does this case definition have a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotation
in interfaceCaseDefinition
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined() -
getDiagramResourceName
Description copied from interface:CaseDefinition
The resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceName
in interfaceCaseDefinition
-
hasStartFormKey
public boolean hasStartFormKey()Description copied from interface:CaseDefinition
Does this case definition have a start form key}.- Specified by:
hasStartFormKey
in interfaceCaseDefinition
-
getTenantId
Description copied from interface:CaseDefinition
The tenant identifier of this case definition- Specified by:
getTenantId
in interfaceCaseDefinition
-
setDescription
- Specified by:
setDescription
in interfaceCaseDefinitionEntity
-
setCategory
- Specified by:
setCategory
in interfaceCaseDefinitionEntity
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfaceCaseDefinitionEntity
-
setKey
- Specified by:
setKey
in interfaceCaseDefinitionEntity
-
setResourceName
- Specified by:
setResourceName
in interfaceCaseDefinitionEntity
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceCaseDefinitionEntity
-
setHasGraphicalNotation
public void setHasGraphicalNotation(boolean hasGraphicalNotation) - Specified by:
setHasGraphicalNotation
in interfaceCaseDefinitionEntity
-
setDiagramResourceName
- Specified by:
setDiagramResourceName
in interfaceCaseDefinitionEntity
-
setHasStartFormKey
public void setHasStartFormKey(boolean hasStartFormKey) - Specified by:
setHasStartFormKey
in interfaceCaseDefinitionEntity
-
setTenantId
- Specified by:
setTenantId
in interfaceCaseDefinitionEntity
-
getIdentityLinks
- Specified by:
getIdentityLinks
in interfaceCaseDefinitionEntity
-
getLocalizedName
-
setLocalizedName
Description copied from interface:CaseDefinition
Sets an optional localized name for the case definition.- Specified by:
setLocalizedName
in interfaceCaseDefinition
-
getLocalizedDescription
-
setLocalizedDescription
Description copied from interface:CaseDefinition
Sets an optional localized description for the case definition- Specified by:
setLocalizedDescription
in interfaceCaseDefinition
-