public class DecisionDefinitionEntity extends DmnDecisionTableImpl implements DecisionDefinition, ResourceDefinitionEntity, DbEntity, HasDbRevision, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
category |
protected String |
deploymentId |
protected String |
diagramResourceName |
protected boolean |
firstVersion |
protected String |
id |
protected String |
key |
protected String |
name |
protected String |
previousDecisionDefinitionId |
protected String |
resourceName |
protected int |
revision |
protected int |
version |
hitPolicyHandler, inputs, outputs, rules| Constructor and Description |
|---|
DecisionDefinitionEntity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensurePreviousDecisionDefinitionIdInitialized() |
String |
getCategory()
category name which is derived from the targetNamespace attribute in the definitions element
|
String |
getDeploymentId()
The deployment in which this definition is contained.
|
String |
getDiagramResourceName()
The diagram resource name for this decision if exist
|
String |
getId()
unique identifier
|
String |
getKey()
The unique identifier of the element if exists.
|
String |
getName()
The human readable name of the element if exists.
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getPreviousDecisionDefinitionId() |
DecisionDefinitionEntity |
getPreviousDefinition() |
String |
getResourceName()
name of
the resource of this definition |
int |
getRevision() |
int |
getRevisionNext() |
int |
getVersion()
version of this definition
|
protected DecisionDefinitionEntity |
loadDecisionDefinition(String decisionDefinitionId)
Returns the cached version if exists; does not update the entity from the database in that case
|
protected void |
resetPreviousDecisionDefinitionId() |
void |
setCategory(String category) |
void |
setDeploymentId(String deploymentId) |
void |
setDiagramResourceName(String diagramResourceName) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setPreviousDecisionDefinitionId(String previousDecisionDefinitionId) |
void |
setResourceName(String resourceName) |
void |
setRevision(int revision) |
void |
setVersion(int version) |
String |
toString() |
getHitPolicyHandler, getInputs, getOutputs, getRules, isDecisionTable, setHitPolicyHandler, setInputs, setOutputs, setRulesprotected String id
protected int revision
protected String name
protected String category
protected String key
protected int version
protected String deploymentId
protected String resourceName
protected String diagramResourceName
protected boolean firstVersion
protected String previousDecisionDefinitionId
public String getId()
ResourceDefinitiongetId in interface DbEntitygetId in interface ResourceDefinitionpublic void setId(String id)
setId in interface DbEntitysetId in interface ResourceDefinitionEntitypublic int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionpublic int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic String getName()
DmnDecisiongetName in interface DmnDecisiongetName in interface ResourceDefinitiongetName in class DmnDecisionTableImplpublic void setName(String name)
setName in interface ResourceDefinitionEntitysetName in class DmnDecisionTableImplpublic String getCategory()
ResourceDefinitiongetCategory in interface ResourceDefinitionpublic void setCategory(String category)
setCategory in interface ResourceDefinitionEntitypublic String getKey()
DmnDecisiongetKey in interface DmnDecisiongetKey in interface ResourceDefinitiongetKey in class DmnDecisionTableImplpublic void setKey(String key)
setKey in interface ResourceDefinitionEntitysetKey in class DmnDecisionTableImplpublic int getVersion()
ResourceDefinitiongetVersion in interface ResourceDefinitionpublic void setVersion(int version)
setVersion in interface ResourceDefinitionEntitypublic String getDeploymentId()
ResourceDefinitiongetDeploymentId in interface ResourceDefinitionpublic void setDeploymentId(String deploymentId)
setDeploymentId in interface ResourceDefinitionEntitypublic String getResourceName()
ResourceDefinitionthe resource of this definitiongetResourceName in interface ResourceDefinitionpublic void setResourceName(String resourceName)
setResourceName in interface ResourceDefinitionEntitypublic String getDiagramResourceName()
ResourceDefinitiongetDiagramResourceName in interface ResourceDefinitionpublic void setDiagramResourceName(String diagramResourceName)
setDiagramResourceName in interface ResourceDefinitionEntitypublic Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitypublic DecisionDefinitionEntity getPreviousDefinition()
getPreviousDefinition in interface ResourceDefinitionEntityprotected DecisionDefinitionEntity loadDecisionDefinition(String decisionDefinitionId)
public String getPreviousDecisionDefinitionId()
public void setPreviousDecisionDefinitionId(String previousDecisionDefinitionId)
protected void resetPreviousDecisionDefinitionId()
protected void ensurePreviousDecisionDefinitionIdInitialized()
public String toString()
toString in class DmnDecisionTableImplCopyright © 2018. All rights reserved.