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 String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected int
Fields 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 resource
of this definition.The tenant identifier of this definitionint
version of this definitionboolean
Does this decision have a graphical notation defined (such that a diagram can be generated)?boolean
void
setCategory
(String category) void
setDecisionType
(String decisionType) void
setDeploymentId
(String deploymentId) void
setDescription
(String description) void
setDiagramResourceName
(String diagramResourceName) void
setHasGraphicalNotation
(boolean hasGraphicalNotation) void
void
void
setResourceName
(String resourceName) void
setTenantId
(String tenantId) void
setVersion
(int version) toString()
Methods inherited from class org.flowable.dmn.engine.impl.persistence.entity.AbstractDmnEngineNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.dmn.api.DmnDecision
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
-
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: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
-
getKey
Description copied from interface:DmnDecision
unique name for all versions this definition- Specified by:
getKey
in interfaceDmnDecision
-
setKey
- Specified by:
setKey
in interfaceDecisionEntity
-
getName
Description copied from interface:DmnDecision
label used for display purposes- Specified by:
getName
in interfaceDmnDecision
-
setName
- Specified by:
setName
in interfaceDecisionEntity
-
setDescription
- Specified by:
setDescription
in interfaceDecisionEntity
-
getDescription
Description copied from interface:DmnDecision
description of this definition- Specified by:
getDescription
in interfaceDmnDecision
-
getDeploymentId
Description copied from interface:DmnDecision
The deployment in which this definition is contained.- Specified by:
getDeploymentId
in interfaceDmnDecision
-
setDeploymentId
- Specified by:
setDeploymentId
in interfaceDecisionEntity
-
getVersion
public int getVersion()Description copied from interface:DmnDecision
version of this definition- Specified by:
getVersion
in interfaceDmnDecision
-
setVersion
public void setVersion(int version) - Specified by:
setVersion
in interfaceDecisionEntity
-
getResourceName
Description copied from interface:DmnDecision
name ofthe resource
of this definition.- Specified by:
getResourceName
in interfaceDmnDecision
-
setResourceName
- Specified by:
setResourceName
in interfaceDecisionEntity
-
hasGraphicalNotation
public boolean hasGraphicalNotation()Description copied from interface:DmnDecision
Does this decision have a graphical notation defined (such that a diagram can be generated)?- Specified by:
hasGraphicalNotation
in interfaceDmnDecision
-
isGraphicalNotationDefined
public boolean isGraphicalNotationDefined() -
setHasGraphicalNotation
public void setHasGraphicalNotation(boolean hasGraphicalNotation) - Specified by:
setHasGraphicalNotation
in interfaceDecisionEntity
-
getDiagramResourceName
Description copied from interface:DmnDecision
The resource name in the deployment of the diagram image (if any).- Specified by:
getDiagramResourceName
in interfaceDmnDecision
-
setDiagramResourceName
- Specified by:
setDiagramResourceName
in interfaceDecisionEntity
-
getTenantId
Description copied from interface:DmnDecision
The tenant identifier of this definition- Specified by:
getTenantId
in interfaceDmnDecision
-
setTenantId
- Specified by:
setTenantId
in interfaceDecisionEntity
-
getCategory
Description copied from interface:DmnDecision
category name of this definition- Specified by:
getCategory
in interfaceDmnDecision
-
setCategory
- Specified by:
setCategory
in interfaceDecisionEntity
-
getDecisionType
Description copied from interface:DmnDecision
The decision type of this definition- Specified by:
getDecisionType
in interfaceDmnDecision
-
setDecisionType
- Specified by:
setDecisionType
in interfaceDecisionEntity
-
toString
-