Class HistoricDecisionOutputInstanceEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEvent
-
- org.camunda.bpm.engine.impl.history.event.HistoricDecisionOutputInstanceEntity
-
- All Implemented Interfaces:
java.io.Serializable
,HistoricDecisionOutputInstance
,DbEntity
,HistoricEntity
,Nameable
,ValueFields
public class HistoricDecisionOutputInstanceEntity extends HistoryEvent implements HistoricDecisionOutputInstance, ValueFields
- Author:
- Philipp Ossler
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ByteArrayField
byteArrayField
protected java.lang.String
clauseId
protected java.lang.String
clauseName
protected java.util.Date
createTime
protected java.lang.String
decisionInstanceId
protected java.lang.Double
doubleValue
protected java.lang.Long
longValue
protected java.lang.String
ruleId
protected java.lang.Integer
ruleOrder
protected java.lang.String
tenantId
protected java.lang.String
textValue
protected java.lang.String
textValue2
protected TypedValueField
typedValueField
protected java.lang.String
variableName
-
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
ACTIVITY_EVENT_TYPE_END, ACTIVITY_EVENT_TYPE_START, ACTIVITY_EVENT_TYPE_UPDATE, caseDefinitionId, caseDefinitionKey, caseDefinitionName, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, IDENTITY_LINK_ADD, IDENTITY_LINK_DELETE, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, removalTime, rootProcessInstanceId, sequenceCounter, TASK_EVENT_TYPE_COMPLETE, TASK_EVENT_TYPE_CREATE, TASK_EVENT_TYPE_DELETE, TASK_EVENT_TYPE_UPDATE, VARIABLE_EVENT_TYPE_CREATE, VARIABLE_EVENT_TYPE_DELETE, VARIABLE_EVENT_TYPE_UPDATE
-
-
Constructor Summary
Constructors Constructor Description HistoricDecisionOutputInstanceEntity()
HistoricDecisionOutputInstanceEntity(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
byte[]
getByteArrayValue()
java.lang.String
getByteArrayValueId()
java.lang.String
getClauseId()
The unique identifier of the clause that the value is assigned for.java.lang.String
getClauseName()
The name of the clause that the value is assigned for.java.util.Date
getCreateTime()
Returns time when the variable was created.java.lang.String
getDecisionInstanceId()
The unique identifier of the historic decision instance.java.lang.Double
getDoubleValue()
java.lang.String
getErrorMessage()
If the variable value could not be loaded, this returns the error message.java.lang.Long
getLongValue()
java.lang.String
getName()
java.lang.String
getRootProcessInstanceId()
Returns the root process instance id of the process instance on which the associated business rule task has been called.java.lang.String
getRuleId()
The unique identifier of the rule that is matched.java.lang.Integer
getRuleOrder()
The order of the rule that is matched.java.lang.String
getSerializerName()
java.lang.String
getTenantId()
java.lang.String
getTextValue()
java.lang.String
getTextValue2()
TypedValue
getTypedValue()
Returns theTypedValue
for this value.TypedValue
getTypedValue(boolean deserializeValue)
java.lang.String
getTypeName()
Returns the type name of the variablejava.lang.Object
getValue()
Returns the value of this variable instance.java.lang.String
getVariableName()
The name of the output variable.void
setByteArrayValue(byte[] bytes)
void
setByteArrayValueId(java.lang.String byteArrayId)
void
setClauseId(java.lang.String clauseId)
void
setClauseName(java.lang.String clauseName)
void
setCreateTime(java.util.Date createTime)
void
setDecisionInstanceId(java.lang.String decisionInstanceId)
void
setDoubleValue(java.lang.Double doubleValue)
void
setLongValue(java.lang.Long longValue)
void
setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
void
setRuleId(java.lang.String ruleId)
void
setRuleOrder(java.lang.Integer ruleOrder)
void
setSerializerName(java.lang.String serializerName)
void
setTenantId(java.lang.String tenantId)
void
setTextValue(java.lang.String textValue)
void
setTextValue2(java.lang.String textValue2)
void
setTypeName(java.lang.String typeName)
void
setValue(TypedValue typedValue)
void
setVariableName(java.lang.String variableName)
-
Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
getCaseDefinitionId, getCaseDefinitionKey, getCaseDefinitionName, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getPersistentState, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getRemovalTime, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setRemovalTime, setSequenceCounter, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.history.HistoricDecisionOutputInstance
getId, getRemovalTime
-
-
-
-
Field Detail
-
decisionInstanceId
protected java.lang.String decisionInstanceId
-
clauseId
protected java.lang.String clauseId
-
clauseName
protected java.lang.String clauseName
-
ruleId
protected java.lang.String ruleId
-
ruleOrder
protected java.lang.Integer ruleOrder
-
variableName
protected java.lang.String variableName
-
longValue
protected java.lang.Long longValue
-
doubleValue
protected java.lang.Double doubleValue
-
textValue
protected java.lang.String textValue
-
textValue2
protected java.lang.String textValue2
-
tenantId
protected java.lang.String tenantId
-
byteArrayField
protected ByteArrayField byteArrayField
-
typedValueField
protected TypedValueField typedValueField
-
createTime
protected java.util.Date createTime
-
-
Method Detail
-
getDecisionInstanceId
public java.lang.String getDecisionInstanceId()
Description copied from interface:HistoricDecisionOutputInstance
The unique identifier of the historic decision instance.- Specified by:
getDecisionInstanceId
in interfaceHistoricDecisionOutputInstance
-
getClauseId
public java.lang.String getClauseId()
Description copied from interface:HistoricDecisionOutputInstance
The unique identifier of the clause that the value is assigned for. Can benull
if the decision is not implemented as decision table.- Specified by:
getClauseId
in interfaceHistoricDecisionOutputInstance
-
getClauseName
public java.lang.String getClauseName()
Description copied from interface:HistoricDecisionOutputInstance
The name of the clause that the value is assigned for. Can benull
if the decision is not implemented as decision table.- Specified by:
getClauseName
in interfaceHistoricDecisionOutputInstance
-
getRuleId
public java.lang.String getRuleId()
Description copied from interface:HistoricDecisionOutputInstance
The unique identifier of the rule that is matched. Can benull
if the decision is not implemented as decision table.- Specified by:
getRuleId
in interfaceHistoricDecisionOutputInstance
-
getRuleOrder
public java.lang.Integer getRuleOrder()
Description copied from interface:HistoricDecisionOutputInstance
The order of the rule that is matched. Can benull
if the decision is not implemented as decision table.- Specified by:
getRuleOrder
in interfaceHistoricDecisionOutputInstance
-
setDecisionInstanceId
public void setDecisionInstanceId(java.lang.String decisionInstanceId)
-
setClauseId
public void setClauseId(java.lang.String clauseId)
-
setClauseName
public void setClauseName(java.lang.String clauseName)
-
setRuleId
public void setRuleId(java.lang.String ruleId)
-
setRuleOrder
public void setRuleOrder(java.lang.Integer ruleOrder)
-
getVariableName
public java.lang.String getVariableName()
Description copied from interface:HistoricDecisionOutputInstance
The name of the output variable.- Specified by:
getVariableName
in interfaceHistoricDecisionOutputInstance
-
setVariableName
public void setVariableName(java.lang.String variableName)
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:HistoricDecisionOutputInstance
Returns the type name of the variable- Specified by:
getTypeName
in interfaceHistoricDecisionOutputInstance
-
setTypeName
public void setTypeName(java.lang.String typeName)
-
getValue
public java.lang.Object getValue()
Description copied from interface:HistoricDecisionOutputInstance
Returns the value of this variable instance.- Specified by:
getValue
in interfaceHistoricDecisionOutputInstance
-
getTypedValue
public TypedValue getTypedValue()
Description copied from interface:HistoricDecisionOutputInstance
Returns theTypedValue
for this value.- Specified by:
getTypedValue
in interfaceHistoricDecisionOutputInstance
-
getTypedValue
public TypedValue getTypedValue(boolean deserializeValue)
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:HistoricDecisionOutputInstance
If the variable value could not be loaded, this returns the error message.- Specified by:
getErrorMessage
in interfaceHistoricDecisionOutputInstance
- Returns:
- an error message indicating why the variable value could not be loaded.
-
getTextValue
public java.lang.String getTextValue()
- Specified by:
getTextValue
in interfaceValueFields
-
setTextValue
public void setTextValue(java.lang.String textValue)
- Specified by:
setTextValue
in interfaceValueFields
-
getTextValue2
public java.lang.String getTextValue2()
- Specified by:
getTextValue2
in interfaceValueFields
-
setTextValue2
public void setTextValue2(java.lang.String textValue2)
- Specified by:
setTextValue2
in interfaceValueFields
-
getLongValue
public java.lang.Long getLongValue()
- Specified by:
getLongValue
in interfaceValueFields
-
setLongValue
public void setLongValue(java.lang.Long longValue)
- Specified by:
setLongValue
in interfaceValueFields
-
getDoubleValue
public java.lang.Double getDoubleValue()
- Specified by:
getDoubleValue
in interfaceValueFields
-
setDoubleValue
public void setDoubleValue(java.lang.Double doubleValue)
- Specified by:
setDoubleValue
in interfaceValueFields
-
getByteArrayValueId
public java.lang.String getByteArrayValueId()
-
setByteArrayValueId
public void setByteArrayValueId(java.lang.String byteArrayId)
-
getByteArrayValue
public byte[] getByteArrayValue()
- Specified by:
getByteArrayValue
in interfaceValueFields
-
setByteArrayValue
public void setByteArrayValue(byte[] bytes)
- Specified by:
setByteArrayValue
in interfaceValueFields
-
setValue
public void setValue(TypedValue typedValue)
-
getSerializerName
public java.lang.String getSerializerName()
-
setSerializerName
public void setSerializerName(java.lang.String serializerName)
-
getTenantId
public java.lang.String getTenantId()
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
getCreateTime
public java.util.Date getCreateTime()
Description copied from interface:HistoricDecisionOutputInstance
Returns time when the variable was created.- Specified by:
getCreateTime
in interfaceHistoricDecisionOutputInstance
-
setCreateTime
public void setCreateTime(java.util.Date createTime)
-
getRootProcessInstanceId
public java.lang.String getRootProcessInstanceId()
Description copied from interface:HistoricDecisionOutputInstance
Returns the root process instance id of the process instance on which the associated business rule task has been called.- Specified by:
getRootProcessInstanceId
in interfaceHistoricDecisionOutputInstance
- Overrides:
getRootProcessInstanceId
in classHistoryEvent
-
setRootProcessInstanceId
public void setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
- Overrides:
setRootProcessInstanceId
in classHistoryEvent
-
delete
public void delete()
-
-