Class DecisionEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.dmn.engine.impl.persistence.entity.AbstractDmnEngineNoRevisionEntity
org.flowable.dmn.engine.impl.persistence.entity.DecisionEntityImpl
- All Implemented Interfaces:
Serializable,FlowableDefinition,Entity,DmnDecision,DecisionEntity
public class DecisionEntityImpl
extends AbstractDmnEngineNoRevisionEntity
implements DecisionEntity, Serializable
- Author:
- Joram Barrez, Tijs Rademakers, Yvo Swillens
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected intFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory name of this definitionThe decision type of this definitionthe deployment in which this definition is containeddescription of this definitionThe resource name in the deployment of the diagram image (if any).getKey()unique key, stable across all versions of this definitiongetName()label used for display purposesReturns a representation of the object, as would be stored in the database.name of the resource of this definition within its deploymentthe tenant identifier of this definitionintversion of this definitionbooleanDoes this decision have a graphical notation defined (such that a diagram can be generated)?booleanvoidsetCategory(String category) voidsetDecisionType(String decisionType) voidsetDeploymentId(String deploymentId) voidsetDescription(String description) voidsetDiagramResourceName(String diagramResourceName) voidsetHasGraphicalNotation(boolean hasGraphicalNotation) voidvoidvoidsetResourceName(String resourceName) voidsetTenantId(String tenantId) voidsetVersion(int version) toString()Methods inherited from class org.flowable.dmn.engine.impl.persistence.entity.AbstractDmnEngineNoRevisionEntity
getIdPrefixMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedMethods inherited from interface org.flowable.common.engine.api.repository.FlowableDefinition
getId
-
Field Details
-
name
-
description
-
key
-
version
protected int version -
category
-
deploymentId
-
resourceName
-
isGraphicalNotationDefined
protected boolean isGraphicalNotationDefined -
diagramResourceName
-
tenantId
-
decisionType
-
-
Constructor Details
-
DecisionEntityImpl
public DecisionEntityImpl()
-
-
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
-
getKey
Description copied from interface:FlowableDefinitionunique key, stable across all versions of this definition- Specified by:
getKeyin interfaceFlowableDefinition
-
setKey
- Specified by:
setKeyin interfaceDecisionEntity
-
getName
Description copied from interface:FlowableDefinitionlabel used for display purposes- Specified by:
getNamein interfaceFlowableDefinition
-
setName
- Specified by:
setNamein interfaceDecisionEntity
-
setDescription
- Specified by:
setDescriptionin interfaceDecisionEntity
-
getDescription
Description copied from interface:DmnDecisiondescription of this definition- Specified by:
getDescriptionin interfaceDmnDecision
-
getDeploymentId
Description copied from interface:FlowableDefinitionthe deployment in which this definition is contained- Specified by:
getDeploymentIdin interfaceFlowableDefinition
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceDecisionEntity
-
getVersion
public int getVersion()Description copied from interface:FlowableDefinitionversion of this definition- Specified by:
getVersionin interfaceFlowableDefinition
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceDecisionEntity
-
getResourceName
Description copied from interface:FlowableDefinitionname of the resource of this definition within its deployment- Specified by:
getResourceNamein interfaceFlowableDefinition
-
setResourceName
- Specified by:
setResourceNamein interfaceDecisionEntity
-
hasGraphicalNotation
public boolean hasGraphicalNotation()Description copied from interface:DmnDecisionDoes this decision have a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotationin interfaceDmnDecision
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined() -
setHasGraphicalNotation
public void setHasGraphicalNotation(boolean hasGraphicalNotation) - Specified by:
setHasGraphicalNotationin interfaceDecisionEntity
-
getDiagramResourceName
Description copied from interface:DmnDecisionThe resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceNamein interfaceDmnDecision
-
setDiagramResourceName
- Specified by:
setDiagramResourceNamein interfaceDecisionEntity
-
getTenantId
Description copied from interface:FlowableDefinitionthe tenant identifier of this definition- Specified by:
getTenantIdin interfaceFlowableDefinition
-
setTenantId
- Specified by:
setTenantIdin interfaceDecisionEntity
-
getCategory
Description copied from interface:DmnDecisioncategory name of this definition- Specified by:
getCategoryin interfaceDmnDecision
-
setCategory
- Specified by:
setCategoryin interfaceDecisionEntity
-
getDecisionType
Description copied from interface:DmnDecisionThe decision type of this definition- Specified by:
getDecisionTypein interfaceDmnDecision
-
setDecisionType
- Specified by:
setDecisionTypein interfaceDecisionEntity
-
toString
-