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
  • 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 a DecisionInstanceEntity record class.
      Parameters:
      key - the value for the key record component
      state - the value for the state record component
      evaluationDate - the value for the evaluationDate record component
      evaluationFailure - the value for the evaluationFailure record component
      processDefinitionKey - the value for the processDefinitionKey record component
      processInstanceKey - the value for the processInstanceKey record component
      bpmnProcessId - the value for the bpmnProcessId record component
      decisionId - the value for the decisionId record component
      decisionDefinitionId - the value for the decisionDefinitionId record component
      decisionName - the value for the decisionName record component
      decisionVersion - the value for the decisionVersion record component
      decisionType - the value for the decisionType record component
      result - the value for the result record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • key

      public long key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • state

      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • evaluationDate

      public String evaluationDate()
      Returns the value of the evaluationDate record component.
      Returns:
      the value of the evaluationDate record component
    • evaluationFailure

      public String evaluationFailure()
      Returns the value of the evaluationFailure record component.
      Returns:
      the value of the evaluationFailure record component
    • processDefinitionKey

      public long processDefinitionKey()
      Returns the value of the processDefinitionKey record component.
      Returns:
      the value of the processDefinitionKey record component
    • processInstanceKey

      public long processInstanceKey()
      Returns the value of the processInstanceKey record component.
      Returns:
      the value of the processInstanceKey record component
    • bpmnProcessId

      public String bpmnProcessId()
      Returns the value of the bpmnProcessId record component.
      Returns:
      the value of the bpmnProcessId record component
    • decisionId

      public String decisionId()
      Returns the value of the decisionId record component.
      Returns:
      the value of the decisionId record component
    • decisionDefinitionId

      public String decisionDefinitionId()
      Returns the value of the decisionDefinitionId record component.
      Returns:
      the value of the decisionDefinitionId record component
    • decisionName

      public String decisionName()
      Returns the value of the decisionName record component.
      Returns:
      the value of the decisionName record component
    • decisionVersion

      public int decisionVersion()
      Returns the value of the decisionVersion record component.
      Returns:
      the value of the decisionVersion record component
    • decisionType

      Returns the value of the decisionType record component.
      Returns:
      the value of the decisionType record component
    • result

      public String result()
      Returns the value of the result record component.
      Returns:
      the value of the result record component