Record Class PathInfo.NodeInfo
java.lang.Object
java.lang.Record
org.ehrbase.openehr.aqlengine.pathanalysis.PathInfo.NodeInfo
- Enclosing class:
PathInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.Returns the value of thedvOrderedTypesrecord 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 themultipleValuedrecord component.List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> Returns the value of thepathFromRootrecord component.rmTypes()Returns the value of thermTypesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NodeInfo
public NodeInfo(ANode.NodeCategory category, Set<String> rmTypes, List<org.ehrbase.openehr.sdk.aql.dto.path.AqlObjectPath.PathNode> pathFromRoot, boolean multipleValued, Set<String> dvOrderedTypes) Creates an instance of aNodeInforecord class.- Parameters:
category- the value for thecategoryrecord componentrmTypes- the value for thermTypesrecord componentpathFromRoot- the value for thepathFromRootrecord componentmultipleValued- the value for themultipleValuedrecord componentdvOrderedTypes- the value for thedvOrderedTypesrecord 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 '=='. -
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
rmTypes
Returns the value of thermTypesrecord component.- Returns:
- the value of the
rmTypesrecord component
-
pathFromRoot
Returns the value of thepathFromRootrecord component.- Returns:
- the value of the
pathFromRootrecord component
-
multipleValued
public boolean multipleValued()Returns the value of themultipleValuedrecord component.- Returns:
- the value of the
multipleValuedrecord component
-
dvOrderedTypes
Returns the value of thedvOrderedTypesrecord component.- Returns:
- the value of the
dvOrderedTypesrecord component
-