public class UaObjectTypeNode extends UaNode implements ObjectTypeNode
| Constructor and Description |
|---|
UaObjectTypeNode(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,
Boolean isAbstract) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.milo.opcua.stack.core.types.builtin.DataValue |
getAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId) |
Boolean |
getIsAbstract() |
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> |
readIconAsync()
Get the value of the
ObjectTypeNodeProperties.Icon Property, if it exists. |
Boolean |
readIsAbstract()
Read the IsAbstract attribute for this Node from the server and update the local
attribute if the operation succeeds.
|
CompletableFuture<? extends String> |
readNodeVersionAsync()
Get the value of the
ObjectTypeNodeProperties.NodeVersion Property, if it exists. |
protected void |
setAttributeValue(org.eclipse.milo.opcua.stack.core.AttributeId attributeId,
org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value) |
void |
setIsAbstract(Boolean isAbstract) |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeIconAsync(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString icon)
Set the value of the
ObjectTypeNodeProperties.Icon Property, if it exists. |
void |
writeIsAbstract(Boolean isAbstract)
Write a new IsAbstract attribute for this Node to the server and update the local attribute
if the operation succeeds.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeNodeVersionAsync(String nodeVersion)
Set the value of the
ObjectTypeNodeProperties.NodeVersion Property, if it exists. |
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 UaObjectTypeNode(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, Boolean isAbstract)
public Boolean getIsAbstract()
The returned attribute is the most recently seen value; it is not read live from the server.
getIsAbstract in interface ObjectTypeNodereadIsAbstract()public void setIsAbstract(Boolean isAbstract)
The attribute is only updated locally; it is not written to the server.
setIsAbstract in interface ObjectTypeNodewriteIsAbstract(Boolean)public Boolean readIsAbstract() throws org.eclipse.milo.opcua.stack.core.UaException
Boolean read from the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.spublic void writeIsAbstract(Boolean isAbstract) throws org.eclipse.milo.opcua.stack.core.UaException
isAbstract - the Boolean to write to the server.org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.public CompletableFuture<? extends String> readNodeVersionAsync()
ObjectTypeNodeProperties.NodeVersion Property, if it exists.ObjectTypeNodePropertiespublic CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> readIconAsync()
ObjectTypeNodeProperties.Icon Property, if it exists.ObjectTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNodeVersionAsync(String nodeVersion)
ObjectTypeNodeProperties.NodeVersion Property, if it exists.nodeVersion - the value to set.CompletableFuture that completes with the StatusCode of the write operation.ObjectTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeIconAsync(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString icon)
ObjectTypeNodeProperties.Icon Property, if it exists.icon - the value to set.CompletableFuture that completes with the StatusCode of the write operation.ObjectTypeNodePropertiesprotected 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.