public class UaObjectNode extends UaNode implements ObjectNode
| Constructor and Description |
|---|
UaObjectNode(OpcUaClient client,
org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId,
org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass,
org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName,
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask,
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] |
callMethod(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
Call the method named
methodName on this Object, if it exists, using inputs
as the input argument values. |
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] |
callMethod(String methodName,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
Call the method named
methodName on this Object, if it exists, using inputs
as the input argument values. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.Variant[]> |
callMethodAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
Call the method named
methodName on this Object, if it exists, using inputs
as the input argument values. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.Variant[]> |
callMethodAsync(String methodName,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
Call the method named
methodName on this Object, if it exists, using inputs
as the input argument values. |
protected org.eclipse.milo.opcua.stack.core.types.builtin.DataValue |
getAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId) |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte |
getEventNotifier() |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> |
getIcon()
Get the value of the
ObjectNodeProperties.Icon Property, if it exists. |
UaMethod |
getMethod(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName)
Get the method named
methodName on this Object, if it exists. |
UaMethod |
getMethod(String methodName)
Get the method named
methodName on this Object, if it exists. |
CompletableFuture<UaMethod> |
getMethodAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName)
Get the method named
methodName on this Object, if it exists. |
CompletableFuture<UaMethod> |
getMethodAsync(String methodName)
Get the method named
methodName on this Object, if it exists. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.enumerated.NamingRuleType> |
getNamingRuleAsync()
Get the value of the
ObjectNodeProperties.NamingRule Property, if it exists. |
CompletableFuture<String> |
getNodeVersion()
Get the value of the
ObjectNodeProperties.NodeVersion Property, if it exists. |
UaObjectNode |
getObjectComponent(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
Get the
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
UaObjectNode |
getObjectComponent(String name)
Get the
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
UaObjectNode |
getObjectComponent(String namespaceUri,
String name)
Get the
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
CompletableFuture<? extends UaObjectNode> |
getObjectComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) |
CompletableFuture<? extends UaObjectNode> |
getObjectComponentAsync(String name) |
CompletableFuture<? extends UaObjectNode> |
getObjectComponentAsync(String namespaceUri,
String name) |
UaObjectTypeNode |
getTypeDefinition() |
CompletableFuture<? extends UaObjectTypeNode> |
getTypeDefinitionAsync() |
UaVariableNode |
getVariableComponent(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
Get the
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
UaVariableNode |
getVariableComponent(String name)
Get the
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
UaVariableNode |
getVariableComponent(String namespaceUri,
String name)
Get the
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists. |
CompletableFuture<? extends UaVariableNode> |
getVariableComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) |
CompletableFuture<? extends UaVariableNode> |
getVariableComponentAsync(String name) |
CompletableFuture<? extends UaVariableNode> |
getVariableComponentAsync(String namespaceUri,
String name) |
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte |
readEventNotifier()
Read the EventNotifier attribute for this Node from the server and update the local
attribute if the operation succeeds.
|
protected void |
setAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value) |
void |
setEventNotifier(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier) |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
setIcon(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString icon)
Set the value of the
ObjectNodeProperties.Icon Property, if it exists. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
setNamingRuleAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.NamingRuleType namingRule)
Set the value of the
ObjectNodeProperties.NamingRule Property, if it exists. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
setNodeVersion(String nodeVersion)
Set the value of the
ObjectNodeProperties.NodeVersion Property, if it exists. |
void |
writeEventNotifier(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
Write a new EventNotifier attribute for this Node to the server and update the
local attribute if the operation succeeds.
|
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getUserWriteMask, getWriteMask, invalidate, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readUserWriteMask, readWriteMask, refresh, refreshAsync, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeUserWriteMask, writeWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskpublic UaObjectNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte getEventNotifier()
The returned attribute is the most recently seen value; it is not read live from the server.
getEventNotifier in interface ObjectNodereadEventNotifier()public void setEventNotifier(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
The attribute is only updated locally; it is not written to the server.
setEventNotifier in interface ObjectNodewriteEventNotifier(UByte)public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte readEventNotifier()
throws org.eclipse.milo.opcua.stack.core.UaException
UByte read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.spublic void writeEventNotifier(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
throws org.eclipse.milo.opcua.stack.core.UaException
eventNotifier - the UByte to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] callMethod(String methodName, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs) throws org.eclipse.milo.opcua.stack.core.UaException
methodName on this Object, if it exists, using inputs
as the input argument values.methodName - the name of the method to call.inputs - the input argument values.org.eclipse.milo.opcua.stack.core.UaException - if an operation- or service-level error occurs or if a method named
methodName could not be found.public org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] callMethod(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName,
org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
throws org.eclipse.milo.opcua.stack.core.UaException
methodName on this Object, if it exists, using inputs
as the input argument values.methodName - the name of the method to call.inputs - the input argument values.org.eclipse.milo.opcua.stack.core.UaException - if an operation- or service-level error occurs or if a method named
methodName could not be found.public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.Variant[]> callMethodAsync(String methodName, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
methodName on this Object, if it exists, using inputs
as the input argument values.
This call completes asynchronously.
methodName - the name of the method to call.inputs - the input argument values.CompletableFuture that completes successfully with the method's output
argument values if the call was successful, or completes exceptionally if an operation- or
service-level error occurs or if a method named methodName could not be found.public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.Variant[]> callMethodAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputs)
methodName on this Object, if it exists, using inputs
as the input argument values.
This call completes asynchronously.
methodName - the name of the method to call.inputs - the input argument values.CompletableFuture that completes successfully with the method's output
argument values if the call was successful, or completes exceptionally if an operation- or
service-level error occurs or if a method named methodName could not be found.public UaMethod getMethod(String methodName) throws org.eclipse.milo.opcua.stack.core.UaException
methodName on this Object, if it exists.methodName - the name of the method.UaMethod for the method named methodName.org.eclipse.milo.opcua.stack.core.UaException - if an operation- or service-level error occurs or a method named
methodName could not be found.public UaMethod getMethod(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName) throws org.eclipse.milo.opcua.stack.core.UaException
methodName on this Object, if it exists.methodName - the name of the method.UaMethod for the method named methodName.org.eclipse.milo.opcua.stack.core.UaException - if an operation- or service-level error occurs or a method named
methodName could not be found.public CompletableFuture<UaMethod> getMethodAsync(String methodName)
methodName on this Object, if it exists.
This call completes asynchronously.
methodName - the name of the method.CompletableFuture that completes successfully with a UaMethod or
completes exceptionally if an operation- or service-level error occurs or if a method named
methodName could not be found.public CompletableFuture<UaMethod> getMethodAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName methodName)
methodName on this Object, if it exists.
This call completes asynchronously.
methodName - the name of the method.CompletableFuture that completes successfully with a UaMethod or
completes exceptionally if an operation- or service-level error occurs or if a method named
methodName could not be found.public UaObjectNode getObjectComponent(String name) throws org.eclipse.milo.opcua.stack.core.UaException
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists.name - the browse name of the UaObjectNode component.UaObjectNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public UaObjectNode getObjectComponent(String namespaceUri, String name) throws org.eclipse.milo.opcua.stack.core.UaException
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists.namespaceUri - the namespace URI the browse name belongs to.name - the browse name of the UaObjectNode component.UaObjectNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public UaObjectNode getObjectComponent(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) throws org.eclipse.milo.opcua.stack.core.UaException
UaObjectNode referenced by a HasComponent reference type with a browse name
of name, if it exists.browseName - the browse name of the UaObjectNode component.UaObjectNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public CompletableFuture<? extends UaObjectNode> getObjectComponentAsync(String name)
public CompletableFuture<? extends UaObjectNode> getObjectComponentAsync(String namespaceUri, String name)
public CompletableFuture<? extends UaObjectNode> getObjectComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
public UaVariableNode getVariableComponent(String name) throws org.eclipse.milo.opcua.stack.core.UaException
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists.name - the browse name of the UaVariableNode component.UaVariableNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public UaVariableNode getVariableComponent(String namespaceUri, String name) throws org.eclipse.milo.opcua.stack.core.UaException
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists.namespaceUri - the namespace URI the browse name belongs to.name - the browse name of the UaVariableNode component.UaVariableNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public UaVariableNode getVariableComponent(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName) throws org.eclipse.milo.opcua.stack.core.UaException
UaVariableNode referenced by a HasComponent reference type with a browse name
of name, if it exists.browseName - the browse name of the UaVariableNode component.UaVariableNode component, if it exists.org.eclipse.milo.opcua.stack.core.UaException - if the node could not be found or an operation- or service-level error
occurs.public CompletableFuture<? extends UaVariableNode> getVariableComponentAsync(String name)
public CompletableFuture<? extends UaVariableNode> getVariableComponentAsync(String namespaceUri, String name)
public CompletableFuture<? extends UaVariableNode> getVariableComponentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName)
public UaObjectTypeNode getTypeDefinition() throws org.eclipse.milo.opcua.stack.core.UaException
org.eclipse.milo.opcua.stack.core.UaExceptionpublic CompletableFuture<? extends UaObjectTypeNode> getTypeDefinitionAsync()
public CompletableFuture<String> getNodeVersion()
ObjectNodeProperties.NodeVersion Property, if it exists.ObjectNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> getIcon()
ObjectNodeProperties.Icon Property, if it exists.ObjectNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.enumerated.NamingRuleType> getNamingRuleAsync()
ObjectNodeProperties.NamingRule Property, if it exists.ObjectNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> setNodeVersion(String nodeVersion)
ObjectNodeProperties.NodeVersion Property, if it exists.nodeVersion - the value to set.CompletableFuture that completes with the StatusCode of the write operation.ObjectNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> setIcon(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString icon)
ObjectNodeProperties.Icon Property, if it exists.icon - the value to set.CompletableFuture that completes with the StatusCode of the write operation.ObjectNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> setNamingRuleAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.NamingRuleType namingRule)
ObjectNodeProperties.NamingRule Property, if it exists.namingRule - the value to set.CompletableFuture that completes with the StatusCode of the write operation.ObjectNodePropertiesprotected org.eclipse.milo.opcua.stack.core.types.builtin.DataValue getAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId)
getAttributeValue in class UaNodeprotected void setAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value)
setAttributeValue in class UaNodeCopyright © 2021. All rights reserved.