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 Stringprotected List<IdentityLinkEntity>protected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intFields 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 resourceof this case definition.The tenant identifier of this case definitionintversion of this case definitionbooleanDoes this case definition have a graphical notation defined (such that a diagram can be generated)?booleanDoes this case definition have a start form key}.booleanvoidsetCategory(String category) voidsetDeploymentId(String deploymentId) voidsetDescription(String description) voidsetDiagramResourceName(String diagramResourceName) voidsetHasGraphicalNotation(boolean hasGraphicalNotation) voidsetHasStartFormKey(boolean hasStartFormKey) voidvoidsetLocalizedDescription(String localizedDescription) Sets an optional localized description for the case definitionvoidsetLocalizedName(String localizedName) Sets an optional localized name for the case definition.voidvoidsetResourceName(String resourceName) voidsetTenantId(String tenantId) voidsetVersion(int version) Methods inherited from class org.flowable.cmmn.engine.impl.persistence.entity.AbstractCmmnEngineEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntity
getId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.cmmn.api.repository.CaseDefinition
getIdMethods 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: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
-
getCategory
Description copied from interface:CaseDefinitioncategory name which is derived from the targetNamespace attribute in the definitions element- Specified by:
getCategoryin interfaceCaseDefinition
-
setName
- Specified by:
setNamein interfaceCaseDefinitionEntity
-
getName
Description copied from interface:CaseDefinitionlabel used for display purposes- Specified by:
getNamein interfaceCaseDefinition
-
getKey
Description copied from interface:CaseDefinitionunique name for all versions of this case definition- Specified by:
getKeyin interfaceCaseDefinition
-
getDescription
Description copied from interface:CaseDefinitiondescription of this case definition- Specified by:
getDescriptionin interfaceCaseDefinition
-
getVersion
public int getVersion()Description copied from interface:CaseDefinitionversion of this case definition- Specified by:
getVersionin interfaceCaseDefinition
-
getResourceName
Description copied from interface:CaseDefinitionname ofthe resourceof this case definition.- Specified by:
getResourceNamein interfaceCaseDefinition
-
getDeploymentId
Description copied from interface:CaseDefinitionThe deployment in which this case definition is contained.- Specified by:
getDeploymentIdin interfaceCaseDefinition
-
hasGraphicalNotation
public boolean hasGraphicalNotation()Description copied from interface:CaseDefinitionDoes this case definition have a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotationin interfaceCaseDefinition
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined() -
getDiagramResourceName
Description copied from interface:CaseDefinitionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceCaseDefinition
-
hasStartFormKey
public boolean hasStartFormKey()Description copied from interface:CaseDefinitionDoes this case definition have a start form key}.- Specified by:
hasStartFormKeyin interfaceCaseDefinition
-
getTenantId
Description copied from interface:CaseDefinitionThe tenant identifier of this case definition- Specified by:
getTenantIdin interfaceCaseDefinition
-
setDescription
- Specified by:
setDescriptionin interfaceCaseDefinitionEntity
-
setCategory
- Specified by:
setCategoryin interfaceCaseDefinitionEntity
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceCaseDefinitionEntity
-
setKey
- Specified by:
setKeyin interfaceCaseDefinitionEntity
-
setResourceName
- Specified by:
setResourceNamein interfaceCaseDefinitionEntity
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceCaseDefinitionEntity
-
setHasGraphicalNotation
public void setHasGraphicalNotation(boolean hasGraphicalNotation) - Specified by:
setHasGraphicalNotationin interfaceCaseDefinitionEntity
-
setDiagramResourceName
- Specified by:
setDiagramResourceNamein interfaceCaseDefinitionEntity
-
setHasStartFormKey
public void setHasStartFormKey(boolean hasStartFormKey) - Specified by:
setHasStartFormKeyin interfaceCaseDefinitionEntity
-
setTenantId
- Specified by:
setTenantIdin interfaceCaseDefinitionEntity
-
getIdentityLinks
- Specified by:
getIdentityLinksin interfaceCaseDefinitionEntity
-
getLocalizedName
-
setLocalizedName
Description copied from interface:CaseDefinitionSets an optional localized name for the case definition.- Specified by:
setLocalizedNamein interfaceCaseDefinition
-
getLocalizedDescription
-
setLocalizedDescription
Description copied from interface:CaseDefinitionSets an optional localized description for the case definition- Specified by:
setLocalizedDescriptionin interfaceCaseDefinition
-