public class DecisionRequirementsDefinitionEntity extends DmnDecisionRequirementsGraphImpl implements DecisionRequirementsDefinition, ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>, 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 |
previousDecisionRequirementsDefinitionId |
protected String |
resourceName |
protected int |
revision |
protected String |
tenantId |
protected int |
version |
decisions
Constructor and Description |
---|
DecisionRequirementsDefinitionEntity() |
Modifier and Type | Method and Description |
---|---|
protected void |
ensurePreviousDecisionRequirementsDefinitionIdInitialized() |
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 definition if exist
|
Integer |
getHistoryTimeToLive()
History time to live.
|
String |
getId()
unique identifier
|
String |
getKey()
The unique identifier of the diagram if exists.
|
String |
getName()
The human readable name of the diagram if exists.
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
String |
getPreviousDecisionRequirementsDefinitionId() |
ResourceDefinitionEntity |
getPreviousDefinition() |
String |
getResourceName()
name of
the resource of this definition |
int |
getRevision() |
int |
getRevisionNext() |
String |
getTenantId()
The id of the tenant this definition belongs to.
|
int |
getVersion()
version of this definition
|
protected DecisionRequirementsDefinitionEntity |
loadDecisionRequirementsDefinition(String decisionRequirementsDefinitionId)
Returns the cached version if exists; does not update the entity from the database in that case
|
protected void |
resetPreviousDecisionRequirementsDefinitionId() |
void |
setCategory(String category) |
void |
setDeploymentId(String deploymentId) |
void |
setDiagramResourceName(String diagramResourceName) |
void |
setHistoryTimeToLive(Integer historyTimeToLive) |
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 |
setTenantId(String tenantId) |
void |
setVersion(int version) |
String |
toString() |
void |
updateModifiableFieldsFromEntity(DecisionRequirementsDefinitionEntity updatingDefinition) |
addDecision, getDecision, getDecisionKeys, getDecisions, setDecisions
protected 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 String tenantId
protected boolean firstVersion
protected String previousDecisionRequirementsDefinitionId
public DecisionRequirementsDefinitionEntity()
public String getId()
ResourceDefinition
getId
in interface DbEntity
getId
in interface ResourceDefinition
public String getCategory()
ResourceDefinition
getCategory
in interface ResourceDefinition
public String getName()
DmnDecisionRequirementsGraph
getName
in interface DmnDecisionRequirementsGraph
getName
in interface ResourceDefinition
getName
in class DmnDecisionRequirementsGraphImpl
public String getKey()
DmnDecisionRequirementsGraph
getKey
in interface DmnDecisionRequirementsGraph
getKey
in interface ResourceDefinition
getKey
in class DmnDecisionRequirementsGraphImpl
public int getVersion()
ResourceDefinition
getVersion
in interface ResourceDefinition
public String getResourceName()
ResourceDefinition
the resource
of this definitiongetResourceName
in interface ResourceDefinition
public String getDeploymentId()
ResourceDefinition
getDeploymentId
in interface ResourceDefinition
public String getDiagramResourceName()
ResourceDefinition
getDiagramResourceName
in interface ResourceDefinition
public String getTenantId()
ResourceDefinition
null
if the definition belongs to no single tenant.getTenantId
in interface ResourceDefinition
public Integer getHistoryTimeToLive()
ResourceDefinition
getHistoryTimeToLive
in interface ResourceDefinition
public void setRevision(int revision)
setRevision
in interface HasDbRevision
public int getRevision()
getRevision
in interface HasDbRevision
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
public void setId(String id)
setId
in interface DbEntity
setId
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setCategory(String category)
setCategory
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setName(String name)
setName
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
setName
in class DmnDecisionRequirementsGraphImpl
public void setKey(String key)
setKey
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
setKey
in class DmnDecisionRequirementsGraphImpl
public void setVersion(int version)
setVersion
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setResourceName(String resourceName)
setResourceName
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setDeploymentId(String deploymentId)
setDeploymentId
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setDiagramResourceName(String diagramResourceName)
setDiagramResourceName
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void setTenantId(String tenantId)
setTenantId
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public ResourceDefinitionEntity getPreviousDefinition()
getPreviousDefinition
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public void updateModifiableFieldsFromEntity(DecisionRequirementsDefinitionEntity updatingDefinition)
updateModifiableFieldsFromEntity
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
protected DecisionRequirementsDefinitionEntity loadDecisionRequirementsDefinition(String decisionRequirementsDefinitionId)
public String getPreviousDecisionRequirementsDefinitionId()
public void setPreviousDecisionDefinitionId(String previousDecisionDefinitionId)
protected void resetPreviousDecisionRequirementsDefinitionId()
protected void ensurePreviousDecisionRequirementsDefinitionIdInitialized()
public void setHistoryTimeToLive(Integer historyTimeToLive)
setHistoryTimeToLive
in interface ResourceDefinitionEntity<DecisionRequirementsDefinitionEntity>
public String toString()
toString
in class DmnDecisionRequirementsGraphImpl
Copyright © 2019. All rights reserved.