Record Class QualificationTreeTraverser.EvaluationNodeTreeContext
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.api.services.QualificationTreeTraverser.EvaluationNodeTreeContext
- Enclosing class:
QualificationTreeTraverser
public static record QualificationTreeTraverser.EvaluationNodeTreeContext(int level, PrimaryKey parent)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationNodeTreeContext(int level, PrimaryKey parent) Creates an instance of aEvaluationNodeTreeContextrecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluationNodeTreeContext
Creates an instance of aEvaluationNodeTreeContextrecord class.- Parameters:
level- the value for thelevelrecord componentparent- the value for theparentrecord 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
-