public class UaDataTypeNode extends UaNode implements DataTypeNode
| Constructor and Description |
|---|
UaDataTypeNode(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.LocalizedText[]> |
readEnumStringsAsync()
Get the value of the
DataTypeNodeProperties.EnumStrings Property, if it exists. |
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[]> |
readEnumValuesAsync()
Get the value of the
DataTypeNodeProperties.EnumValues 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
DataTypeNodeProperties.NodeVersion Property, if it exists. |
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> |
readOptionSetValuesAsync()
Get the value of the
DataTypeNodeProperties.OptionSetValues 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> |
writeEnumStringsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] enumStrings)
Set the value of the EnumStrings Property, if it exists.
|
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeEnumValuesAsync(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
Set the value of the
DataTypeNodeProperties.EnumValues 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
DataTypeNodeProperties.NodeVersion Property, if it exists. |
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> |
writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
Set the value of the
DataTypeNodeProperties.OptionSetValues 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 UaDataTypeNode(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 DataTypeNodereadIsAbstract()public void setIsAbstract(Boolean isAbstract)
The attribute is only updated locally; it is not written to the server.
setIsAbstract in interface DataTypeNodewriteIsAbstract(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()
DataTypeNodeProperties.NodeVersion Property, if it exists.DataTypeNodePropertiespublic CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> readEnumStringsAsync()
DataTypeNodeProperties.EnumStrings Property, if it exists.DataTypeNodePropertiespublic CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[]> readEnumValuesAsync()
DataTypeNodeProperties.EnumValues Property, if it exists.DataTypeNodePropertiespublic CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> readOptionSetValuesAsync()
DataTypeNodeProperties.OptionSetValues Property, if it exists.DataTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNodeVersionAsync(String nodeVersion)
DataTypeNodeProperties.NodeVersion Property, if it exists.nodeVersion - the value to set.CompletableFuture that completes with the StatusCode of the write operation.DataTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEnumStringsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] enumStrings)
enumStrings - the value to set.CompletableFuture that completes with the StatusCode of the write operation.DataTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEnumValuesAsync(org.eclipse.milo.opcua.stack.core.types.structured.EnumValueType[] enumValues)
DataTypeNodeProperties.EnumValues Property, if it exists.enumValues - the value to set.CompletableFuture that completes with the StatusCode of the write operation.DataTypeNodePropertiespublic CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] optionSetValues)
DataTypeNodeProperties.OptionSetValues Property, if it exists.optionSetValues - the value to set.CompletableFuture that completes with the StatusCode of the write operation.DataTypeNodePropertiesprotected 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.