Record Class QualificationTreeTraverser.LoadParentNodeSettings
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.api.services.QualificationTreeTraverser.LoadParentNodeSettings
- Enclosing class:
QualificationTreeTraverser
public static record QualificationTreeTraverser.LoadParentNodeSettings(boolean allowMultipleParents)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionLoadParentNodeSettings(boolean allowMultipleParents) Creates an instance of aLoadParentNodeSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowMultipleParentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
LoadParentNodeSettings
public LoadParentNodeSettings(boolean allowMultipleParents) Creates an instance of aLoadParentNodeSettingsrecord class.- Parameters:
allowMultipleParents- the value for theallowMultipleParentsrecord component
-
-
Method Details
-
withMultipleParents
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
allowMultipleParents
public boolean allowMultipleParents()Returns the value of theallowMultipleParentsrecord component.- Returns:
- the value of the
allowMultipleParentsrecord component
-