Record Class ProcessInstanceEntity

java.lang.Object
java.lang.Record
io.camunda.service.entities.ProcessInstanceEntity

public record ProcessInstanceEntity(Long key, String processName, Integer processVersion, String bpmnProcessId, Long parentProcessInstanceKey, Long parentFlowNodeInstanceKey, String startDate, String endDate, String state, Boolean incident, Boolean hasActiveOperation, Long processDefinitionKey, String tenantId, String rootInstanceId, List<OperationEntity> operations, List<ProcessInstanceReference> callHierarchy) extends Record
  • Constructor Details

    • ProcessInstanceEntity

      public ProcessInstanceEntity(Long key, String processName, Integer processVersion, String bpmnProcessId, Long parentProcessInstanceKey, Long parentFlowNodeInstanceKey, String startDate, String endDate, String state, Boolean incident, Boolean hasActiveOperation, Long processDefinitionKey, String tenantId, String rootInstanceId, List<OperationEntity> operations, List<ProcessInstanceReference> callHierarchy)
      Creates an instance of a ProcessInstanceEntity record class.
      Parameters:
      key - the value for the key record component
      processName - the value for the processName record component
      processVersion - the value for the processVersion record component
      bpmnProcessId - the value for the bpmnProcessId record component
      parentProcessInstanceKey - the value for the parentProcessInstanceKey record component
      parentFlowNodeInstanceKey - the value for the parentFlowNodeInstanceKey record component
      startDate - the value for the startDate record component
      endDate - the value for the endDate record component
      state - the value for the state record component
      incident - the value for the incident record component
      hasActiveOperation - the value for the hasActiveOperation record component
      processDefinitionKey - the value for the processDefinitionKey record component
      tenantId - the value for the tenantId record component
      rootInstanceId - the value for the rootInstanceId record component
      operations - the value for the operations record component
      callHierarchy - the value for the callHierarchy 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. All components in this record class are compared with Objects::equals(Object,Object).
      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
    • processName

      public String processName()
      Returns the value of the processName record component.
      Returns:
      the value of the processName record component
    • processVersion

      public Integer processVersion()
      Returns the value of the processVersion record component.
      Returns:
      the value of the processVersion record component
    • bpmnProcessId

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

      public Long parentProcessInstanceKey()
      Returns the value of the parentProcessInstanceKey record component.
      Returns:
      the value of the parentProcessInstanceKey record component
    • parentFlowNodeInstanceKey

      public Long parentFlowNodeInstanceKey()
      Returns the value of the parentFlowNodeInstanceKey record component.
      Returns:
      the value of the parentFlowNodeInstanceKey record component
    • startDate

      public String startDate()
      Returns the value of the startDate record component.
      Returns:
      the value of the startDate record component
    • endDate

      public String endDate()
      Returns the value of the endDate record component.
      Returns:
      the value of the endDate record component
    • state

      public String state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • incident

      public Boolean incident()
      Returns the value of the incident record component.
      Returns:
      the value of the incident record component
    • hasActiveOperation

      public Boolean hasActiveOperation()
      Returns the value of the hasActiveOperation record component.
      Returns:
      the value of the hasActiveOperation record component
    • processDefinitionKey

      public Long processDefinitionKey()
      Returns the value of the processDefinitionKey record component.
      Returns:
      the value of the processDefinitionKey record component
    • tenantId

      public String tenantId()
      Returns the value of the tenantId record component.
      Returns:
      the value of the tenantId record component
    • rootInstanceId

      public String rootInstanceId()
      Returns the value of the rootInstanceId record component.
      Returns:
      the value of the rootInstanceId record component
    • operations

      public List<OperationEntity> operations()
      Returns the value of the operations record component.
      Returns:
      the value of the operations record component
    • callHierarchy

      public List<ProcessInstanceReference> callHierarchy()
      Returns the value of the callHierarchy record component.
      Returns:
      the value of the callHierarchy record component