public class UaClientReference extends UaReference
UaReference implementation for the Client side nodes.| Constructor and Description |
|---|
UaClientReference(NodeId referenceTypeId,
ExpandedNodeId sourceId,
ExpandedNodeId targetId,
AddressSpace addressSpace)
Creates a new
UaClientReference. |
UaClientReference(NodeId referenceTypeId,
UaNode sourceNode,
UaNode targetNode,
AddressSpace addressSpace) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(Object obj) |
boolean |
getIsInverse(NodeId nodeId) |
boolean |
getIsInverse(UaNode node)
Whether the reference is a forward or inverse reference.
|
UaReferenceType |
getReferenceType()
Get the ReferenceType node, if defined.
|
NodeId |
getReferenceTypeId() |
ExpandedNodeId |
getSourceId()
NodeId of the SourceNode as assigned by the Server identified by the Server index.
|
UaNode |
getSourceNode() |
ExpandedNodeId |
getTargetId()
NodeId of the TargetNode as assigned by the Server identified by the Server index.
|
UaNode |
getTargetNode()
Reference to the target node object.
|
int |
hashCode() |
String |
toString() |
compareTo, getOppositeNode, getOppositeNodeId, isHasPropertypublic UaClientReference(NodeId referenceTypeId, ExpandedNodeId sourceId, ExpandedNodeId targetId, AddressSpace addressSpace)
UaClientReference.public UaClientReference(NodeId referenceTypeId, UaNode sourceNode, UaNode targetNode, AddressSpace addressSpace)
public void delete()
delete in class UaReferencepublic boolean getIsInverse(NodeId nodeId)
getIsInverse in class UaReferencepublic boolean getIsInverse(UaNode node)
UaReferencegetIsInverse in class UaReferencepublic UaReferenceType getReferenceType()
UaReference#setReferenceType(UaReferenceType) to define it.getReferenceType in class UaReferencepublic NodeId getReferenceTypeId()
getReferenceTypeId in class UaReferenceUaReference.getReferenceType()public ExpandedNodeId getSourceId()
UaReferenceIf the serverIndex indicates that the SourceNode is a remote Node, then the nodeId shall contain the absolute namespace URI. If the SourceNode is a local Node the nodeId shall contain the namespace index. If SourceNode is defined, this will be equal to the NodeId of that.
getSourceId in class UaReferencepublic UaNode getSourceNode()
getSourceNode in class UaReferencepublic ExpandedNodeId getTargetId()
UaReferenceIf the serverIndex indicates that the TargetNode is a remote Node, then the nodeId shall contain the absolute namespace URI. If the TargetNode is a local Node the nodeId shall contain the namespace index. If TargetNode is defined, this will be equal to the NodeId of that.
getTargetId in class UaReferencepublic UaNode getTargetNode()
UaReferencegetTargetNode in class UaReferencepublic String toString()
toString in class UaReferenceCopyright © 2026. All rights reserved.