Package org.compiere.apps.form
Record Class TreeBOM.NewNodeArguments<T>
java.lang.Object
java.lang.Record
org.compiere.apps.form.TreeBOM.NewNodeArguments<T>
-
Constructor Summary
ConstructorsConstructorDescriptionNewNodeArguments(List<Object> dataLine, T parentNode, boolean isLeafNode) Creates an instance of aNewNodeArgumentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondataLine()Returns the value of thedataLinerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisLeafNoderecord component.Returns the value of theparentNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NewNodeArguments
Creates an instance of aNewNodeArgumentsrecord class.- Parameters:
dataLine- the value for thedataLinerecord componentparentNode- the value for theparentNoderecord componentisLeafNode- the value for theisLeafNoderecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
dataLine
Returns the value of thedataLinerecord component.- Returns:
- the value of the
dataLinerecord component
-
parentNode
Returns the value of theparentNoderecord component.- Returns:
- the value of the
parentNoderecord component
-
isLeafNode
public boolean isLeafNode()Returns the value of theisLeafNoderecord component.- Returns:
- the value of the
isLeafNoderecord component
-