Package io.camunda.service.entities
Record Class OperationEntity
java.lang.Object
java.lang.Record
io.camunda.service.entities.OperationEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebatchOperationIdrecord component.Returns the value of thecompletedDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
OperationEntity
public OperationEntity(String id, String batchOperationId, String type, String state, String errorMessage, String completedDate) Creates an instance of aOperationEntityrecord class.- Parameters:
id- the value for theidrecord componentbatchOperationId- the value for thebatchOperationIdrecord componenttype- the value for thetyperecord componentstate- the value for thestaterecord componenterrorMessage- the value for theerrorMessagerecord componentcompletedDate- the value for thecompletedDaterecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
batchOperationId
Returns the value of thebatchOperationIdrecord component.- Returns:
- the value of the
batchOperationIdrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
completedDate
Returns the value of thecompletedDaterecord component.- Returns:
- the value of the
completedDaterecord component
-