Class DataTypeDictionaryTypeNode
java.lang.Object
org.eclipse.milo.opcua.sdk.client.nodes.UaNode
org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
org.eclipse.milo.opcua.sdk.client.model.variables.BaseVariableTypeNode
org.eclipse.milo.opcua.sdk.client.model.variables.BaseDataVariableTypeNode
org.eclipse.milo.opcua.sdk.client.model.variables.DataTypeDictionaryTypeNode
- All Implemented Interfaces:
BaseDataVariableType,BaseVariableType,DataTypeDictionaryType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
public class DataTypeDictionaryTypeNode
extends BaseDataVariableTypeNode
implements DataTypeDictionaryType
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.variables.DataTypeDictionaryType
DATA_TYPE_VERSION, DEPRECATED, NAMESPACE_URI -
Constructor Summary
ConstructorsConstructorDescriptionDataTypeDictionaryTypeNode(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.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx) -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the DataTypeVersion Node.Get the DataTypeVersionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofDataTypeDictionaryType.getDataTypeVersionNode().Get the local value of the Deprecated Node.Get the DeprecatedPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofDataTypeDictionaryType.getDeprecatedNode().Get the local value of the NamespaceUri Node.Get the NamespaceUriPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofDataTypeDictionaryType.getNamespaceUriNode().Read the value of the DataTypeVersion Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>Get the value of theVariableNodeProperties.DataTypeVersionProperty, if it exists.Read the value of the Deprecated Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofDataTypeDictionaryType.readDeprecated().Read the value of the NamespaceUri Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofDataTypeDictionaryType.readNamespaceUri().voidsetDataTypeVersion(String value) Set the local value of the DataTypeVersion Node.voidsetDeprecated(Boolean value) Set the local value of the Deprecated Node.voidsetNamespaceUri(String value) Set the local value of the NamespaceUri Node.voidwriteDataTypeVersion(String value) Write a new value for the DataTypeVersion Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDataTypeVersionAsync(String dataTypeVersion) Set the value of theVariableNodeProperties.DataTypeVersionProperty, if it exists.voidwriteDeprecated(Boolean value) Write a new value for the Deprecated Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDeprecatedAsync(Boolean deprecated) An asynchronous implementation ofDataTypeDictionaryType.writeDeprecated(java.lang.Boolean).voidwriteNamespaceUri(String value) Write a new value for the NamespaceUri Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeNamespaceUriAsync(String namespaceUri) An asynchronous implementation ofDataTypeDictionaryType.writeNamespaceUri(java.lang.String).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getAttributeValue, getDataType, getHistorizing, getMinimumSamplingInterval, getTypeDefinition, getTypeDefinitionAsync, getUserAccessLevel, getValue, getValueRank, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readAccessLevel, readAccessLevelEx, readAllowNullsAsync, readArrayDimensions, readDataType, readDictionaryFragmentAsync, readEngineeringUnitsAsync, readHistorizing, readLocalTimeAsync, readMaxArrayLengthAsync, readMaxStringLengthAsync, readMinimumSamplingInterval, readNodeVersionAsync, readUserAccessLevel, readValue, readValueAsTextAsync, readValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setAttributeValue, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, writeAccessLevel, writeAccessLevelEx, writeAllowNullsAsync, writeArrayDimensions, writeDataType, writeDictionaryFragmentAsync, writeEngineeringUnitsAsync, writeHistorizing, writeLocalTimeAsync, writeMaxArrayLengthAsync, writeMaxStringLengthAsync, writeMinimumSamplingInterval, writeNodeVersionAsync, writeUserAccessLevel, writeValue, writeValue, writeValueAsTextAsync, writeValueRankMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaNode
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getAccessRestrictions, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, invalidate, readAccessRestrictions, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readRolePermissions, readUserRolePermissions, readUserWriteMask, readWriteMask, refresh, refreshAsync, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAccessRestrictions, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeRolePermissions, writeUserRolePermissions, writeUserWriteMask, writeWriteMaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRank
-
Constructor Details
-
DataTypeDictionaryTypeNode
public DataTypeDictionaryTypeNode(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.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
-
-
Method Details
-
getDataTypeVersion
Description copied from interface:DataTypeDictionaryTypeGet the local value of the DataTypeVersion Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getDataTypeVersionin interfaceDataTypeDictionaryType- Returns:
- the local value of the DataTypeVersion Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DataTypeVersion Node.
-
setDataTypeVersion
Description copied from interface:DataTypeDictionaryTypeSet the local value of the DataTypeVersion Node.The value is only updated locally; it is not written to the server.
- Specified by:
setDataTypeVersionin interfaceDataTypeDictionaryType- Parameters:
value- the local value to set for the DataTypeVersion Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DataTypeVersion Node.
-
readDataTypeVersion
Description copied from interface:DataTypeDictionaryTypeRead the value of the DataTypeVersion Node from the server and update the local value if the operation succeeds.- Specified by:
readDataTypeVersionin interfaceDataTypeDictionaryType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDataTypeVersion
Description copied from interface:DataTypeDictionaryTypeWrite a new value for the DataTypeVersion Node to the server and update the local value if the operation succeeds.- Specified by:
writeDataTypeVersionin interfaceDataTypeDictionaryType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDataTypeVersionAsync
Description copied from class:UaVariableNodeGet the value of theVariableNodeProperties.DataTypeVersionProperty, if it exists.- Specified by:
readDataTypeVersionAsyncin interfaceDataTypeDictionaryType- Overrides:
readDataTypeVersionAsyncin classUaVariableNode- Returns:
- the value of the DataTypeVersion Property, if it exists.
- See Also:
-
VariableNodeProperties
-
writeDataTypeVersionAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDataTypeVersionAsync(String dataTypeVersion) Description copied from class:UaVariableNodeSet the value of theVariableNodeProperties.DataTypeVersionProperty, if it exists.- Specified by:
writeDataTypeVersionAsyncin interfaceDataTypeDictionaryType- Overrides:
writeDataTypeVersionAsyncin classUaVariableNode- Parameters:
dataTypeVersion- the value to set.- Returns:
- a
CompletableFuturethat completes with theStatusCodeof the write operation. - See Also:
-
VariableNodeProperties
-
getDataTypeVersionNode
public PropertyTypeNode getDataTypeVersionNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:DataTypeDictionaryTypeGet the DataTypeVersionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getDataTypeVersionNodein interfaceDataTypeDictionaryType- Returns:
- the DataTypeVersion
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDataTypeVersionNodeAsync
Description copied from interface:DataTypeDictionaryTypeAsynchronous implementation ofDataTypeDictionaryType.getDataTypeVersionNode().- Specified by:
getDataTypeVersionNodeAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getNamespaceUri
Description copied from interface:DataTypeDictionaryTypeGet the local value of the NamespaceUri Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getNamespaceUriin interfaceDataTypeDictionaryType- Returns:
- the local value of the NamespaceUri Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the NamespaceUri Node.
-
setNamespaceUri
Description copied from interface:DataTypeDictionaryTypeSet the local value of the NamespaceUri Node.The value is only updated locally; it is not written to the server.
- Specified by:
setNamespaceUriin interfaceDataTypeDictionaryType- Parameters:
value- the local value to set for the NamespaceUri Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the NamespaceUri Node.
-
readNamespaceUri
Description copied from interface:DataTypeDictionaryTypeRead the value of the NamespaceUri Node from the server and update the local value if the operation succeeds.- Specified by:
readNamespaceUriin interfaceDataTypeDictionaryType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeNamespaceUri
Description copied from interface:DataTypeDictionaryTypeWrite a new value for the NamespaceUri Node to the server and update the local value if the operation succeeds.- Specified by:
writeNamespaceUriin interfaceDataTypeDictionaryType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readNamespaceUriAsync
Description copied from interface:DataTypeDictionaryTypeAn asynchronous implementation ofDataTypeDictionaryType.readNamespaceUri().- Specified by:
readNamespaceUriAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeNamespaceUriAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNamespaceUriAsync(String namespaceUri) Description copied from interface:DataTypeDictionaryTypeAn asynchronous implementation ofDataTypeDictionaryType.writeNamespaceUri(java.lang.String).- Specified by:
writeNamespaceUriAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getNamespaceUriNode
Description copied from interface:DataTypeDictionaryTypeGet the NamespaceUriPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getNamespaceUriNodein interfaceDataTypeDictionaryType- Returns:
- the NamespaceUri
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getNamespaceUriNodeAsync
Description copied from interface:DataTypeDictionaryTypeAsynchronous implementation ofDataTypeDictionaryType.getNamespaceUriNode().- Specified by:
getNamespaceUriNodeAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDeprecated
Description copied from interface:DataTypeDictionaryTypeGet the local value of the Deprecated Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getDeprecatedin interfaceDataTypeDictionaryType- Returns:
- the local value of the Deprecated Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Deprecated Node.
-
setDeprecated
Description copied from interface:DataTypeDictionaryTypeSet the local value of the Deprecated Node.The value is only updated locally; it is not written to the server.
- Specified by:
setDeprecatedin interfaceDataTypeDictionaryType- Parameters:
value- the local value to set for the Deprecated Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Deprecated Node.
-
readDeprecated
Description copied from interface:DataTypeDictionaryTypeRead the value of the Deprecated Node from the server and update the local value if the operation succeeds.- Specified by:
readDeprecatedin interfaceDataTypeDictionaryType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDeprecated
Description copied from interface:DataTypeDictionaryTypeWrite a new value for the Deprecated Node to the server and update the local value if the operation succeeds.- Specified by:
writeDeprecatedin interfaceDataTypeDictionaryType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDeprecatedAsync
Description copied from interface:DataTypeDictionaryTypeAn asynchronous implementation ofDataTypeDictionaryType.readDeprecated().- Specified by:
readDeprecatedAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDeprecatedAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDeprecatedAsync(Boolean deprecated) Description copied from interface:DataTypeDictionaryTypeAn asynchronous implementation ofDataTypeDictionaryType.writeDeprecated(java.lang.Boolean).- Specified by:
writeDeprecatedAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDeprecatedNode
Description copied from interface:DataTypeDictionaryTypeGet the DeprecatedPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getDeprecatedNodein interfaceDataTypeDictionaryType- Returns:
- the Deprecated
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDeprecatedNodeAsync
Description copied from interface:DataTypeDictionaryTypeAsynchronous implementation ofDataTypeDictionaryType.getDeprecatedNode().- Specified by:
getDeprecatedNodeAsyncin interfaceDataTypeDictionaryType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-