|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.UaQualifiedName
public class UaQualifiedName
A class similar to QualifiedName that uses NamespaceUri instead of index. Can be
converted to normal QualifiedName via toQualifiedName(NamespaceTable) in the
context of a NamespaceTable.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static UaQualifiedName |
from(org.opcfoundation.ua.builtintypes.QualifiedName qualifiedName,
org.opcfoundation.ua.common.NamespaceTable namespaceTable)
Converts a QualifiedName to UaQualifiedName in the context of a
NamespaceTable. |
static UaQualifiedName |
from(String namespaceUri,
String name)
Creates an UaQualifiedName with the given NamespaceUri and name parts. |
String |
getName()
Get the name part of this QualifiedName. |
String |
getNamespaceUri()
Get the namespace part of this QualifiedName. |
int |
hashCode()
|
static UaQualifiedName |
standard(String name)
Creates a new UaQualifiedName for a name in the OPC UA Standard namepsace. |
org.opcfoundation.ua.builtintypes.QualifiedName |
toQualifiedName(org.opcfoundation.ua.common.NamespaceTable namespaceTable)
Convert this to QualifiedName that can be used in ServiceRequests. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static UaQualifiedName from(org.opcfoundation.ua.builtintypes.QualifiedName qualifiedName,
org.opcfoundation.ua.common.NamespaceTable namespaceTable)
QualifiedName to UaQualifiedName in the context of a
NamespaceTable.
qualifiedName - name to convertnamespaceTable - context to convert
UaQualifiedName with the uri of the
QualifiedName.getNamespaceIndex()
IllegalArgumentException - if conversion cannot be done
public static UaQualifiedName from(String namespaceUri,
String name)
namespaceUri - the NamespaceUri partname - the name part
IllegalArgumentException - if either parameter is nullpublic static UaQualifiedName standard(String name)
UaQualifiedName.from(NamespaceTable.OPCUA_NAMESPACE, name)
name - the name
public boolean equals(Object obj)
equals in class Objectpublic String getName()
public String getNamespaceUri()
public int hashCode()
hashCode in class Objectpublic org.opcfoundation.ua.builtintypes.QualifiedName toQualifiedName(org.opcfoundation.ua.common.NamespaceTable namespaceTable)
QualifiedName that can be used in ServiceRequests.
namespaceTable - a NamespaceTable, must contain entry for getNamespaceUri()
QualifiedName that has getNamespaceUri() transformed to index
IllegalArgumentException - if the given namespacetable is null or does not contain entrypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||