Record Class MutationPlan.AncestorDependency
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.MutationPlan.AncestorDependency
- Enclosing class:
MutationPlan
-
Constructor Summary
ConstructorsConstructorDescriptionAncestorDependency(Class<?> modelType, String association, String handler) AncestorDependency(Class<?> modelType, String association, String handler, boolean required) Creates an instance of aAncestorDependencyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociationrecord component.final booleanIndicates whether some other object is "equal to" this one.handler()Returns the value of thehandlerrecord component.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of themodelTyperecord component.booleanrequired()Returns the value of therequiredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AncestorDependency
-
AncestorDependency
Creates an instance of aAncestorDependencyrecord class.- Parameters:
modelType- the value for themodelTyperecord componentassociation- the value for theassociationrecord componenthandler- the value for thehandlerrecord componentrequired- the value for therequiredrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
modelType
Returns the value of themodelTyperecord component.- Returns:
- the value of the
modelTyperecord component
-
association
Returns the value of theassociationrecord component.- Returns:
- the value of the
associationrecord component
-
handler
Returns the value of thehandlerrecord component.- Returns:
- the value of the
handlerrecord component
-
required
public boolean required()Returns the value of therequiredrecord component.- Returns:
- the value of the
requiredrecord component
-