|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.server.BrowsePath
public final class BrowsePath
Immutable BrowsePath with toString, equals, hashCode and compareTo implemented.
| Field Summary | |
|---|---|
static BrowsePath |
EMPTY
|
| Method Summary | |
|---|---|
BrowsePath |
append(BrowsePath other)
|
BrowsePath |
append(int namespaceIndex,
String... nameparts)
Creates a new BrowsePath by appending one or more QualifiedNames to this
BrowsePath. |
BrowsePath |
append(org.opcfoundation.ua.builtintypes.QualifiedName... appendedBrowseNames)
Creates a new BrowsePath by appending one or more QualifiedNames to this
BrowsePath. |
int |
compareTo(BrowsePath other)
|
boolean |
equals(Object obj)
|
static BrowsePath |
from(int namespaceIndex,
String... nameparts)
Creates a BrowsePath from namespace index and a set of names. |
static BrowsePath |
from(org.opcfoundation.ua.builtintypes.QualifiedName... browseNames)
Creates BrowsePath from a set of QualifiedNames. |
org.opcfoundation.ua.builtintypes.QualifiedName |
getFirst()
Get first QualifiedName of the path, or QualifiedName.NULL if the path is empty. |
org.opcfoundation.ua.builtintypes.QualifiedName |
getLast()
Get the last QualifiedName of the path or QualifiedName.Null if the path is empty. |
int |
getSize()
|
int |
hashCode()
|
boolean |
isEmpty()
|
BrowsePath |
removeFirst()
Return a new BrowsePath that has it's first element removed |
BrowsePath |
removeLast()
|
org.opcfoundation.ua.builtintypes.QualifiedName[] |
toArray()
Returns the BrowsePath parts as an array. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BrowsePath EMPTY
| Method Detail |
|---|
public static BrowsePath from(int namespaceIndex,
String... nameparts)
namespaceIndex - index for the QualifiedNamesnameparts - name parts for the QualifiedNames
public static BrowsePath from(org.opcfoundation.ua.builtintypes.QualifiedName... browseNames)
BrowsePath from a set of QualifiedNames.
browseNames - set of QualifiedNames.
public BrowsePath append(BrowsePath other)
public BrowsePath append(int namespaceIndex,
String... nameparts)
BrowsePath by appending one or more QualifiedNames to this
BrowsePath.
namespaceIndex - index part of the QualifiedNamesnameparts - the name parts of the QualifiedNames
BrowsePath with the parts appended
IllegalArgumentException - if nameparts is null or emptypublic BrowsePath append(org.opcfoundation.ua.builtintypes.QualifiedName... appendedBrowseNames)
BrowsePath by appending one or more QualifiedNames to this
BrowsePath.
appendedBrowseNames - to append
BrowsePathpublic int compareTo(BrowsePath other)
compareTo in interface Comparable<BrowsePath>public boolean equals(Object obj)
equals in class Objectpublic org.opcfoundation.ua.builtintypes.QualifiedName getFirst()
public org.opcfoundation.ua.builtintypes.QualifiedName getLast()
public int getSize()
public int hashCode()
hashCode in class Objectpublic boolean isEmpty()
public BrowsePath removeFirst()
public BrowsePath removeLast()
public org.opcfoundation.ua.builtintypes.QualifiedName[] toArray()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||