Package io.camunda.service.entities
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 Summary
ConstructorsConstructorDescriptionProcessInstanceEntity(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 aProcessInstanceEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebpmnProcessIdrecord component.Returns the value of thecallHierarchyrecord component.endDate()Returns the value of theendDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thehasActiveOperationrecord component.final inthashCode()Returns a hash code value for this object.incident()Returns the value of theincidentrecord component.key()Returns the value of thekeyrecord component.Returns the value of theoperationsrecord component.Returns the value of theparentFlowNodeInstanceKeyrecord component.Returns the value of theparentProcessInstanceKeyrecord component.Returns the value of theprocessDefinitionKeyrecord component.Returns the value of theprocessNamerecord component.Returns the value of theprocessVersionrecord component.Returns the value of therootInstanceIdrecord component.Returns the value of thestartDaterecord component.state()Returns the value of thestaterecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aProcessInstanceEntityrecord class.- Parameters:
key- the value for thekeyrecord componentprocessName- the value for theprocessNamerecord componentprocessVersion- the value for theprocessVersionrecord componentbpmnProcessId- the value for thebpmnProcessIdrecord componentparentProcessInstanceKey- the value for theparentProcessInstanceKeyrecord componentparentFlowNodeInstanceKey- the value for theparentFlowNodeInstanceKeyrecord componentstartDate- the value for thestartDaterecord componentendDate- the value for theendDaterecord componentstate- the value for thestaterecord componentincident- the value for theincidentrecord componenthasActiveOperation- the value for thehasActiveOperationrecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componenttenantId- the value for thetenantIdrecord componentrootInstanceId- the value for therootInstanceIdrecord componentoperations- the value for theoperationsrecord componentcallHierarchy- the value for thecallHierarchyrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
processName
Returns the value of theprocessNamerecord component.- Returns:
- the value of the
processNamerecord component
-
processVersion
Returns the value of theprocessVersionrecord component.- Returns:
- the value of the
processVersionrecord component
-
bpmnProcessId
Returns the value of thebpmnProcessIdrecord component.- Returns:
- the value of the
bpmnProcessIdrecord component
-
parentProcessInstanceKey
Returns the value of theparentProcessInstanceKeyrecord component.- Returns:
- the value of the
parentProcessInstanceKeyrecord component
-
parentFlowNodeInstanceKey
Returns the value of theparentFlowNodeInstanceKeyrecord component.- Returns:
- the value of the
parentFlowNodeInstanceKeyrecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
endDate
Returns the value of theendDaterecord component.- Returns:
- the value of the
endDaterecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
incident
Returns the value of theincidentrecord component.- Returns:
- the value of the
incidentrecord component
-
hasActiveOperation
Returns the value of thehasActiveOperationrecord component.- Returns:
- the value of the
hasActiveOperationrecord component
-
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
rootInstanceId
Returns the value of therootInstanceIdrecord component.- Returns:
- the value of the
rootInstanceIdrecord component
-
operations
Returns the value of theoperationsrecord component.- Returns:
- the value of the
operationsrecord component
-
callHierarchy
Returns the value of thecallHierarchyrecord component.- Returns:
- the value of the
callHierarchyrecord component
-