Record Class ModelRelationshipCycleValidator.Change
java.lang.Object
java.lang.Record
io.fluxzero.common.api.modeling.ModelRelationshipCycleValidator.Change
- Enclosing class:
ModelRelationshipCycleValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecheckForCyclerecord component.childId()Returns the value of thechildIdrecord 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 theparentIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Change
-
Change
Creates an instance of aChangerecord class.- Parameters:
childId- the value for thechildIdrecord componentparentIds- the value for theparentIdsrecord componentcheckForCycle- the value for thecheckForCyclerecord 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. -
childId
Returns the value of thechildIdrecord component.- Returns:
- the value of the
childIdrecord component
-
parentIds
-
checkForCycle
public boolean checkForCycle()Returns the value of thecheckForCyclerecord component.- Returns:
- the value of the
checkForCyclerecord component
-