Class SelectionListTypeNode
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.SelectionListTypeNode
- All Implemented Interfaces:
BaseDataVariableType,BaseVariableType,SelectionListType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.variables.SelectionListType
RESTRICT_TO_LIST, SELECTION_DESCRIPTIONS, SELECTIONS -
Constructor Summary
ConstructorsConstructorDescriptionSelectionListTypeNode(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 RestrictToList Node.Get the RestrictToListPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofSelectionListType.getRestrictToListNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]Get the local value of the SelectionDescriptions Node.Get the SelectionDescriptionsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofSelectionListType.getSelectionDescriptionsNode().Object[]Get the local value of the Selections Node.Get the SelectionsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofSelectionListType.getSelectionsNode().Read the value of the RestrictToList Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofSelectionListType.readRestrictToList().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]Read the value of the SelectionDescriptions Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]>An asynchronous implementation ofSelectionListType.readSelectionDescriptions().Object[]Read the value of the Selections Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Object[]>An asynchronous implementation ofSelectionListType.readSelections().voidsetRestrictToList(Boolean value) Set the local value of the RestrictToList Node.voidsetSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) Set the local value of the SelectionDescriptions Node.voidsetSelections(Object[] value) Set the local value of the Selections Node.voidwriteRestrictToList(Boolean value) Write a new value for the RestrictToList Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeRestrictToListAsync(Boolean restrictToList) An asynchronous implementation ofSelectionListType.writeRestrictToList(java.lang.Boolean).voidwriteSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) Write a new value for the SelectionDescriptions Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSelectionDescriptionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] selectionDescriptions) An asynchronous implementation ofSelectionListType.writeSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]).voidwriteSelections(Object[] value) Write a new value for the Selections Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSelectionsAsync(Object[] selections) An asynchronous implementation ofSelectionListType.writeSelections(java.lang.Object[]).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, readDataTypeVersionAsync, 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, writeDataTypeVersionAsync, 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
-
SelectionListTypeNode
public SelectionListTypeNode(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
-
getSelections
Description copied from interface:SelectionListTypeGet the local value of the Selections Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getSelectionsin interfaceSelectionListType- Returns:
- the local value of the Selections Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Selections Node.
-
setSelections
Description copied from interface:SelectionListTypeSet the local value of the Selections Node.The value is only updated locally; it is not written to the server.
- Specified by:
setSelectionsin interfaceSelectionListType- Parameters:
value- the local value to set for the Selections Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Selections Node.
-
readSelections
Description copied from interface:SelectionListTypeRead the value of the Selections Node from the server and update the local value if the operation succeeds.- Specified by:
readSelectionsin interfaceSelectionListType- Returns:
- the
Objectvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSelections
Description copied from interface:SelectionListTypeWrite a new value for the Selections Node to the server and update the local value if the operation succeeds.- Specified by:
writeSelectionsin interfaceSelectionListType- Parameters:
value- theObjectvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSelectionsAsync
Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.readSelections().- Specified by:
readSelectionsAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSelectionsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSelectionsAsync(Object[] selections) Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.writeSelections(java.lang.Object[]).- Specified by:
writeSelectionsAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSelectionsNode
Description copied from interface:SelectionListTypeGet the SelectionsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSelectionsNodein interfaceSelectionListType- Returns:
- the Selections
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSelectionsNodeAsync
Description copied from interface:SelectionListTypeAsynchronous implementation ofSelectionListType.getSelectionsNode().- Specified by:
getSelectionsNodeAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSelectionDescriptions
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] getSelectionDescriptions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:SelectionListTypeGet the local value of the SelectionDescriptions Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getSelectionDescriptionsin interfaceSelectionListType- Returns:
- the local value of the SelectionDescriptions Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SelectionDescriptions Node.
-
setSelectionDescriptions
public void setSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:SelectionListTypeSet the local value of the SelectionDescriptions Node.The value is only updated locally; it is not written to the server.
- Specified by:
setSelectionDescriptionsin interfaceSelectionListType- Parameters:
value- the local value to set for the SelectionDescriptions Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the SelectionDescriptions Node.
-
readSelectionDescriptions
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] readSelectionDescriptions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:SelectionListTypeRead the value of the SelectionDescriptions Node from the server and update the local value if the operation succeeds.- Specified by:
readSelectionDescriptionsin interfaceSelectionListType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSelectionDescriptions
public void writeSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:SelectionListTypeWrite a new value for the SelectionDescriptions Node to the server and update the local value if the operation succeeds.- Specified by:
writeSelectionDescriptionsin interfaceSelectionListType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSelectionDescriptionsAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> readSelectionDescriptionsAsync()Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.readSelectionDescriptions().- Specified by:
readSelectionDescriptionsAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSelectionDescriptionsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSelectionDescriptionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] selectionDescriptions) Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.writeSelectionDescriptions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]).- Specified by:
writeSelectionDescriptionsAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSelectionDescriptionsNode
public PropertyTypeNode getSelectionDescriptionsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:SelectionListTypeGet the SelectionDescriptionsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSelectionDescriptionsNodein interfaceSelectionListType- Returns:
- the SelectionDescriptions
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSelectionDescriptionsNodeAsync
Description copied from interface:SelectionListTypeAsynchronous implementation ofSelectionListType.getSelectionDescriptionsNode().- Specified by:
getSelectionDescriptionsNodeAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getRestrictToList
Description copied from interface:SelectionListTypeGet the local value of the RestrictToList Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getRestrictToListin interfaceSelectionListType- Returns:
- the local value of the RestrictToList Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RestrictToList Node.
-
setRestrictToList
Description copied from interface:SelectionListTypeSet the local value of the RestrictToList Node.The value is only updated locally; it is not written to the server.
- Specified by:
setRestrictToListin interfaceSelectionListType- Parameters:
value- the local value to set for the RestrictToList Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the RestrictToList Node.
-
readRestrictToList
Description copied from interface:SelectionListTypeRead the value of the RestrictToList Node from the server and update the local value if the operation succeeds.- Specified by:
readRestrictToListin interfaceSelectionListType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeRestrictToList
Description copied from interface:SelectionListTypeWrite a new value for the RestrictToList Node to the server and update the local value if the operation succeeds.- Specified by:
writeRestrictToListin interfaceSelectionListType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readRestrictToListAsync
Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.readRestrictToList().- Specified by:
readRestrictToListAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeRestrictToListAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeRestrictToListAsync(Boolean restrictToList) Description copied from interface:SelectionListTypeAn asynchronous implementation ofSelectionListType.writeRestrictToList(java.lang.Boolean).- Specified by:
writeRestrictToListAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getRestrictToListNode
public PropertyTypeNode getRestrictToListNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:SelectionListTypeGet the RestrictToListPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getRestrictToListNodein interfaceSelectionListType- Returns:
- the RestrictToList
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getRestrictToListNodeAsync
Description copied from interface:SelectionListTypeAsynchronous implementation ofSelectionListType.getRestrictToListNode().- Specified by:
getRestrictToListNodeAsyncin interfaceSelectionListType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-