Package com.axelor.workflow.plan
Record Class WorkflowPlan.Callee.Inline
java.lang.Object
java.lang.Record
com.axelor.workflow.plan.WorkflowPlan.Callee.Inline
- All Implemented Interfaces:
WorkflowPlan.Callee
- Enclosing interface:
WorkflowPlan.Callee
public static record WorkflowPlan.Callee.Inline(WorkflowPlan body, String model, String jsonModel)
extends Record
implements WorkflowPlan.Callee
model/jsonModel are what the body declared, or null for unchecked elements.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.axelor.workflow.plan.WorkflowPlan.Callee
WorkflowPlan.Callee.Inline, WorkflowPlan.Callee.Ref -
Constructor Summary
ConstructorsConstructorDescriptionInline(WorkflowPlan body, String model, String jsonModel) Creates an instance of aInlinerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejsonModelrecord component.model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Inline
Creates an instance of aInlinerecord class.- Parameters:
body- the value for thebodyrecord componentmodel- the value for themodelrecord componentjsonModel- the value for thejsonModelrecord 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). -
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
jsonModel
Returns the value of thejsonModelrecord component.- Returns:
- the value of the
jsonModelrecord component
-