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
ConstructorDescriptionNewNodeArguments
(List<Object> dataLine, T parentNode, boolean isLeafNode) Creates an instance of aNewNodeArguments
record class. -
Method Summary
Modifier and TypeMethodDescriptiondataLine()
Returns the value of thedataLine
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisLeafNode
record component.Returns the value of theparentNode
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
NewNodeArguments
Creates an instance of aNewNodeArguments
record class.- Parameters:
dataLine
- the value for thedataLine
record componentparentNode
- the value for theparentNode
record componentisLeafNode
- the value for theisLeafNode
record 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 thedataLine
record component.- Returns:
- the value of the
dataLine
record component
-
parentNode
Returns the value of theparentNode
record component.- Returns:
- the value of the
parentNode
record component
-
isLeafNode
public boolean isLeafNode()Returns the value of theisLeafNode
record component.- Returns:
- the value of the
isLeafNode
record component
-