|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.builtintypes.ExpandedNodeId
public final class ExpandedNodeId
A NodeId that allows the NamespaceUri to be specified explicitly instead of NamespaceIndex. ExpandedNodeId may still use NamespaceIndex.
Instances of ExpandedNodeId are equals comparable only within server context.
ExpandedNodeIds are equals comparable with NodeIds if they are constructed with NamespaceIndex and no ServerIndex.
Id with NamespaceIndex and not ServerIndex,
For converting ExpandedNodeIds to NodeIds| Field Summary | |
|---|---|
static NodeId |
ID
Identifier of "NodeId" in UA AddressSpace |
static ExpandedNodeId |
NULL
Constant NULL |
static ExpandedNodeId |
NULL_GUID
Constant NULL_GUID |
static ExpandedNodeId |
NULL_NUMERIC
Considered null node id |
static ExpandedNodeId |
NULL_OPAQUE
Constant NULL_OPAQUE |
static ExpandedNodeId |
NULL_STRING
Constant NULL_STRING |
| Constructor Summary | |
|---|---|
ExpandedNodeId(NodeId nodeId)
Convenience constructor that creates ExpandedNodeId from NamespaceIndex and Identifier of an nodeId. |
|
ExpandedNodeId(String namespaceUri,
Object value)
Convenience constructor that creates ExpandedNodeId from namespaceUri and value. |
|
ExpandedNodeId(UnsignedInteger serverIndex,
int namespaceIndex,
Object value)
Construct ExpandedNodeId using NamespaceIndex. |
|
ExpandedNodeId(UnsignedInteger serverIndex,
NodeId nodeId)
Convenience constructor that creates ExpandedNodeId from NamespaceIndex and Identifier of an nodeId. |
|
ExpandedNodeId(UnsignedInteger serverIndex,
String namespaceUri,
Object value)
Construct ExpandedNodeId using NamespaceUri. |
|
| Method Summary | |
|---|---|
int |
compareTo(ExpandedNodeId other)
|
boolean |
equals(Object obj)
|
IdType |
getIdType()
getIdType. |
int |
getNamespaceIndex()
Get NamespaceIndex if this ExpandedNodeId was constructed with one. |
String |
getNamespaceUri()
Get NamespaceUri if this ExpandedNodeId was constructed with one. |
UnsignedInteger |
getServerIndex()
Getter for the field serverIndex. |
Object |
getValue()
Getter for the field value. |
int |
hashCode()
|
boolean |
isAbsolute()
isAbsolute. |
boolean |
isLocal()
Check if the nodeId refers to a local node, i.e. a node that is in the server's own namespace. |
static boolean |
isNull(ExpandedNodeId nodeId)
Check if nodeId is null or a NullNodeId. |
boolean |
isNullNodeId()
Tests whether this node is null node |
static ExpandedNodeId |
parseExpandedNodeId(String s)
parseExpandedNodeId. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ExpandedNodeId NULL_NUMERIC
public static final ExpandedNodeId NULL_STRING
NULL_STRING
public static final ExpandedNodeId NULL_GUID
NULL_GUID
public static final ExpandedNodeId NULL_OPAQUE
NULL_OPAQUE
public static final ExpandedNodeId NULL
NULL
public static final NodeId ID
| Constructor Detail |
|---|
public ExpandedNodeId(NodeId nodeId)
nodeId - nodeId
public ExpandedNodeId(String namespaceUri,
Object value)
namespaceUri - a String object.value - a Object object.
public ExpandedNodeId(UnsignedInteger serverIndex,
int namespaceIndex,
Object value)
serverIndex - Server Index (optional)namespaceIndex - namespace indexvalue - value (must be UnsignedInteger, String, UUID, ByteString or null)
public ExpandedNodeId(UnsignedInteger serverIndex,
NodeId nodeId)
serverIndex - Server Index (optional)nodeId - nodeId
public ExpandedNodeId(UnsignedInteger serverIndex,
String namespaceUri,
Object value)
serverIndex - Server Index (optional)namespaceUri - a String object.value - value (must be UnsignedInteger, String, UUID or ByteString)| Method Detail |
|---|
public static boolean isNull(ExpandedNodeId nodeId)
nodeId - a ExpandedNodeId object.
public static ExpandedNodeId parseExpandedNodeId(String s)
parseExpandedNodeId.
s - a String object.
ExpandedNodeId object.public int compareTo(ExpandedNodeId other)
compareTo in interface Comparable<ExpandedNodeId>public boolean equals(Object obj)
equals in class Objectpublic IdType getIdType()
getIdType.
IdType object.public int getNamespaceIndex()
public String getNamespaceUri()
public UnsignedInteger getServerIndex()
Getter for the field serverIndex.
UnsignedInteger object.public Object getValue()
Getter for the field value.
Object object.public int hashCode()
hashCode in class Objectpublic boolean isAbsolute()
isAbsolute.
public boolean isLocal()
public boolean isNullNodeId()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||