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,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 contained.description of this definitionThe resource name in the deployment of the diagram image (if any).getKey()unique name for all versions this definitiongetName()label used for display purposesReturns a representation of the object, as would be stored in the database.name ofthe resourceof this definition.The 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.dmn.api.DmnDecision
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
-
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:DmnDecisionunique name for all versions this definition- Specified by:
getKeyin interfaceDmnDecision
-
setKey
- Specified by:
setKeyin interfaceDecisionEntity
-
getName
Description copied from interface:DmnDecisionlabel used for display purposes- Specified by:
getNamein interfaceDmnDecision
-
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:DmnDecisionThe deployment in which this definition is contained.- Specified by:
getDeploymentIdin interfaceDmnDecision
-
setDeploymentId
- Specified by:
setDeploymentIdin interfaceDecisionEntity
-
getVersion
public int getVersion()Description copied from interface:DmnDecisionversion of this definition- Specified by:
getVersionin interfaceDmnDecision
-
setVersion
public void setVersion(int version) - Specified by:
setVersionin interfaceDecisionEntity
-
getResourceName
Description copied from interface:DmnDecisionname ofthe resourceof this definition.- Specified by:
getResourceNamein interfaceDmnDecision
-
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:DmnDecisionThe tenant identifier of this definition- Specified by:
getTenantIdin interfaceDmnDecision
-
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
-