Package io.camunda.service.entities
Record Class DecisionInstanceEntity
java.lang.Object
java.lang.Record
io.camunda.service.entities.DecisionInstanceEntity
public record DecisionInstanceEntity(long key, DecisionInstanceEntity.DecisionInstanceState state, String evaluationDate, String evaluationFailure, long processDefinitionKey, long processInstanceKey, String bpmnProcessId, String decisionId, String decisionDefinitionId, String decisionName, int decisionVersion, DecisionInstanceEntity.DecisionInstanceType decisionType, String result)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionDecisionInstanceEntity(long key, DecisionInstanceEntity.DecisionInstanceState state, String evaluationDate, String evaluationFailure, long processDefinitionKey, long processInstanceKey, String bpmnProcessId, String decisionId, String decisionDefinitionId, String decisionName, int decisionVersion, DecisionInstanceEntity.DecisionInstanceType decisionType, String result) Creates an instance of aDecisionInstanceEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebpmnProcessIdrecord component.Returns the value of thedecisionDefinitionIdrecord component.Returns the value of thedecisionIdrecord component.Returns the value of thedecisionNamerecord component.Returns the value of thedecisionTyperecord component.intReturns the value of thedecisionVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluationDaterecord component.Returns the value of theevaluationFailurerecord component.final inthashCode()Returns a hash code value for this object.longkey()Returns the value of thekeyrecord component.longReturns the value of theprocessDefinitionKeyrecord component.longReturns the value of theprocessInstanceKeyrecord component.result()Returns the value of theresultrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DecisionInstanceEntity
public DecisionInstanceEntity(long key, DecisionInstanceEntity.DecisionInstanceState state, String evaluationDate, String evaluationFailure, long processDefinitionKey, long processInstanceKey, String bpmnProcessId, String decisionId, String decisionDefinitionId, String decisionName, int decisionVersion, DecisionInstanceEntity.DecisionInstanceType decisionType, String result) Creates an instance of aDecisionInstanceEntityrecord class.- Parameters:
key- the value for thekeyrecord componentstate- the value for thestaterecord componentevaluationDate- the value for theevaluationDaterecord componentevaluationFailure- the value for theevaluationFailurerecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componentprocessInstanceKey- the value for theprocessInstanceKeyrecord componentbpmnProcessId- the value for thebpmnProcessIdrecord componentdecisionId- the value for thedecisionIdrecord componentdecisionDefinitionId- the value for thedecisionDefinitionIdrecord componentdecisionName- the value for thedecisionNamerecord componentdecisionVersion- the value for thedecisionVersionrecord componentdecisionType- the value for thedecisionTyperecord componentresult- the value for theresultrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
key
public long key()Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
evaluationDate
Returns the value of theevaluationDaterecord component.- Returns:
- the value of the
evaluationDaterecord component
-
evaluationFailure
Returns the value of theevaluationFailurerecord component.- Returns:
- the value of the
evaluationFailurerecord component
-
processDefinitionKey
public long processDefinitionKey()Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
processInstanceKey
public long processInstanceKey()Returns the value of theprocessInstanceKeyrecord component.- Returns:
- the value of the
processInstanceKeyrecord component
-
bpmnProcessId
Returns the value of thebpmnProcessIdrecord component.- Returns:
- the value of the
bpmnProcessIdrecord component
-
decisionId
Returns the value of thedecisionIdrecord component.- Returns:
- the value of the
decisionIdrecord component
-
decisionDefinitionId
Returns the value of thedecisionDefinitionIdrecord component.- Returns:
- the value of the
decisionDefinitionIdrecord component
-
decisionName
Returns the value of thedecisionNamerecord component.- Returns:
- the value of the
decisionNamerecord component
-
decisionVersion
public int decisionVersion()Returns the value of thedecisionVersionrecord component.- Returns:
- the value of the
decisionVersionrecord component
-
decisionType
Returns the value of thedecisionTyperecord component.- Returns:
- the value of the
decisionTyperecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-