|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.builtintypes.NodeReference
public class NodeReference
A reference to a node. The difference to NodeId and ExpandedNodeId is that this class is reference by it-self with out lookup from namespace table and server table. (Untested)
| Field Summary | |
|---|---|
static String |
OPCUA_NAMESPACE
Constant OPCUA_NAMESPACE="http://opcfoundation.org/UA/" |
| Constructor Summary | |
|---|---|
NodeReference(String serverUri,
String namespaceUri,
Object value)
Construct ExpandedNodeId using NamespaceIndex. |
|
| Method Summary | |
|---|---|
static NodeReference |
createFromNodeId(ExpandedNodeId nodeId,
NamespaceTable namespaceTable,
ServerTable serverTable)
Bind node id, namespace and server url |
static NodeReference |
createFromNodeId(NodeId nodeId,
NamespaceTable namespaceTable,
ServerTable serverTable)
Bind node id, namespace and server url |
boolean |
equals(Object obj)
|
IdType |
getIdType()
getIdType. |
String |
getNamespaceUri()
Getter for the field namespaceUri. |
String |
getServerUri()
Getter for the field serverUri. |
Object |
getValue()
Getter for the field value. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String OPCUA_NAMESPACE
OPCUA_NAMESPACE="http://opcfoundation.org/UA/"
| Constructor Detail |
|---|
public NodeReference(String serverUri,
String namespaceUri,
Object value)
serverUri - server urinamespaceUri - namespace urivalue - value (must be UnsignedInteger, String, UUID or ByteString)| Method Detail |
|---|
public static NodeReference createFromNodeId(NodeId nodeId,
NamespaceTable namespaceTable,
ServerTable serverTable)
nodeId - a NodeId object.namespaceTable - a NamespaceTable object.serverTable - a ServerTable object.
public static NodeReference createFromNodeId(ExpandedNodeId nodeId,
NamespaceTable namespaceTable,
ServerTable serverTable)
nodeId - a ExpandedNodeId object.namespaceTable - a NamespaceTable object.serverTable - a ServerTable object.
public IdType getIdType()
getIdType.
IdType object.public Object getValue()
Getter for the field value.
Object object.public String getNamespaceUri()
Getter for the field namespaceUri.
String object.public String getServerUri()
Getter for the field serverUri.
String object.public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||