java.lang.Object
org.eclipse.milo.opcua.sdk.core.Reference
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionReference(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId sourceNodeId, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId referenceTypeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId targetNodeId, boolean forward) Reference(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId sourceNodeId, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId referenceTypeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId targetNodeId, Reference.Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.eclipse.milo.opcua.stack.core.types.builtin.NodeIdorg.eclipse.milo.opcua.stack.core.types.builtin.NodeIdorg.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeIdinthashCode()invert(org.eclipse.milo.opcua.stack.core.NamespaceTable namespaceTable) Return an inverted instance of this Reference so long as the target NodeId resides within this server.booleanbooleanreindex(org.eclipse.milo.opcua.stack.core.NamespaceTable namespaceTable, String sourceNamespaceUri, String referenceNamespaceUri, String targetNamespaceUri) Re-index the source, target, and reference typeNodeIds in thisReferencefrom their current namespace index to the index fornamespaceUri.toString()
-
Field Details
-
HAS_COMPONENT_PREDICATE
-
HAS_ORDERED_COMPONENT_PREDICATE
-
COMPONENT_OF_PREDICATE
-
ORDERED_COMPONENT_OF_PREDICATE
-
HAS_PROPERTY_PREDICATE
-
HAS_TYPE_DEFINITION_PREDICATE
-
HAS_EVENT_SOURCE_PREDICATE
-
HAS_NOTIFIER_PREDICATE
-
ORGANIZES_PREDICATE
-
HAS_ENCODING_PREDICATE
-
HAS_DESCRIPTION_PREDICATE
-
HAS_MODELLING_RULE_PREDICATE
-
ALWAYS_GENERATES_EVENT_PREDICATE
-
HAS_SUBTYPE
-
SUBTYPE_OF
-
-
Constructor Details
-
Reference
public Reference(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId sourceNodeId, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId referenceTypeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId targetNodeId, boolean forward) -
Reference
public Reference(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId sourceNodeId, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId referenceTypeId, org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId targetNodeId, Reference.Direction direction)
-
-
Method Details
-
getSourceNodeId
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getSourceNodeId() -
getReferenceTypeId
public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getReferenceTypeId() -
getTargetNodeId
public org.eclipse.milo.opcua.stack.core.types.builtin.ExpandedNodeId getTargetNodeId() -
getDirection
-
isForward
public boolean isForward() -
isInverse
public boolean isInverse() -
invert
Return an inverted instance of this Reference so long as the target NodeId resides within this server.- Returns:
- an inverted instance of this Reference so long as the target NodeId resides within this server.
-
reindex
public Reference reindex(org.eclipse.milo.opcua.stack.core.NamespaceTable namespaceTable, String sourceNamespaceUri, String referenceNamespaceUri, String targetNamespaceUri) Re-index the source, target, and reference typeNodeIds in thisReferencefrom their current namespace index to the index fornamespaceUri.If the target namespace URI is not present in the namespace table this
Referenceis returned.- Parameters:
namespaceTable- theNamespaceTable.sourceNamespaceUri- the target namespace URI for the source NodeId.referenceNamespaceUri- the target namespace URI for the reference type NodeId.targetNamespaceUri- the target namespace URI for the target NodeId.- Returns:
- a new
NodeIdin the namespace index indicated bynamespaceUri.
-
equals
-
hashCode
public int hashCode() -
toString
-