Record Class QualificationTreeTraverser.InputNodeTreeContext
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.api.services.QualificationTreeTraverser.InputNodeTreeContext
- Enclosing class:
QualificationTreeTraverser
public static record QualificationTreeTraverser.InputNodeTreeContext(int level, PrimaryKey parent, PrimaryKey relationship)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInputNodeTreeContext(int level, PrimaryKey parent, PrimaryKey relationship) Creates an instance of aInputNodeTreeContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlevel()Returns the value of thelevelrecord component.parent()Returns the value of theparentrecord component.Returns the value of therelationshiprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InputNodeTreeContext
Creates an instance of aInputNodeTreeContextrecord class.- Parameters:
level- the value for thelevelrecord componentparent- the value for theparentrecord componentrelationship- the value for therelationshiprecord 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. -
level
public int level()Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
parent
Returns the value of theparentrecord component.- Returns:
- the value of the
parentrecord component
-
relationship
Returns the value of therelationshiprecord component.- Returns:
- the value of the
relationshiprecord component
-