public class UaRelativeNamePath extends Object
UaRelativePath, where the path elements are just
QualifiedNames.| Modifier and Type | Field and Description |
|---|---|
List<UaQualifiedName> |
elements |
static UaRelativeNamePath |
EMPTY
An empty path having 0 elements.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static UaRelativeNamePath |
from(NamespaceTable namespaceTable,
QualifiedName... elements)
Creates a
UaRelativeNamePath by converting the given QualifiedName to
UaQualifiedName and using them as elements. |
static UaRelativeNamePath |
from(UaNamespace namespace,
String... elementNames)
Creates a
UaRelativeNamePath by making UaQualifiedNames using given namespace
for the given element names and using the result as elements. |
static UaRelativeNamePath |
from(UaQualifiedName... elements)
Create a
UaRelativeNamePath from the given UaQualifiedName elements. |
List<UaQualifiedName> |
getElements() |
int |
hashCode() |
static UaRelativeNamePath |
standard(String... elementNames)
Convenience method for
from(UaNamespace, String...) using the
standard namespace UaNamespace.STANDARD. |
RelativePath |
toRelativePath(NamespaceTable namespaceTable,
ExpandedNodeId referenceType,
boolean isInverse,
boolean includeSubTypes)
Converts this UaRelativeNamePath to
RelativePath. |
String |
toString() |
public static final UaRelativeNamePath EMPTY
public final List<UaQualifiedName> elements
public static UaRelativeNamePath from(NamespaceTable namespaceTable, QualifiedName... elements)
UaRelativeNamePath by converting the given QualifiedName to
UaQualifiedName and using them as elements.public static UaRelativeNamePath from(UaNamespace namespace, String... elementNames)
UaRelativeNamePath by making UaQualifiedNames using given namespace
for the given element names and using the result as elements.public static UaRelativeNamePath from(UaQualifiedName... elements)
UaRelativeNamePath from the given UaQualifiedName elements.public static UaRelativeNamePath standard(String... elementNames)
from(UaNamespace, String...) using the
standard namespace UaNamespace.STANDARD.public List<UaQualifiedName> getElements()
public RelativePath toRelativePath(NamespaceTable namespaceTable, ExpandedNodeId referenceType, boolean isInverse, boolean includeSubTypes)
RelativePath. The
RelativePathElement.getTargetName() are taken from the one given to this class. Other
parameters are passed as arguments.namespaceTable - table used to namespaceuri -> index conversionsreferenceType - the parameter for RelativePathElement.getReferenceTypeId()isInverse - the parameter for RelativePathElement.getIsInverse()includeSubTypes - the parameter for RelativePathElement.getIncludeSubtypes()RelativePath that uses the given parameters for path elementsIllegalArgumentException - if conversions from namespaceuri to index cannot be madeCopyright © 2026. All rights reserved.