All Implemented Interfaces:
BaseObjectType, OrderedListType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class OrderedListTypeNode extends BaseObjectTypeNode implements OrderedListType
  • Constructor Details

    • OrderedListTypeNode

      public OrderedListTypeNode(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.unsigned.UByte eventNotifier)
  • Method Details

    • getNodeVersion

      public String getNodeVersion() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: OrderedListType
      Get the local value of the NodeVersion Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getNodeVersion in interface OrderedListType
      Returns:
      the local value of the NodeVersion Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodeVersion Node.
    • setNodeVersion

      public void setNodeVersion(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: OrderedListType
      Set the local value of the NodeVersion Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setNodeVersion in interface OrderedListType
      Parameters:
      value - the local value to set for the NodeVersion Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodeVersion Node.
    • readNodeVersion

      public String readNodeVersion() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: OrderedListType
      Read the value of the NodeVersion Node from the server and update the local value if the operation succeeds.
      Specified by:
      readNodeVersion in interface OrderedListType
      Returns:
      the String value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNodeVersion

      public void writeNodeVersion(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: OrderedListType
      Write a new value for the NodeVersion Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeNodeVersion in interface OrderedListType
      Parameters:
      value - the String value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readNodeVersionAsync

      public CompletableFuture<? extends String> readNodeVersionAsync()
      Description copied from interface: OrderedListType
      An asynchronous implementation of OrderedListType.readNodeVersion().
      Specified by:
      readNodeVersionAsync in interface OrderedListType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeNodeVersionAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNodeVersionAsync(String nodeVersion)
      Description copied from interface: OrderedListType
      An asynchronous implementation of OrderedListType.writeNodeVersion(java.lang.String).
      Specified by:
      writeNodeVersionAsync in interface OrderedListType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNodeVersionNode

      public PropertyTypeNode getNodeVersionNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: OrderedListType
      Get the NodeVersion PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getNodeVersionNode in interface OrderedListType
      Returns:
      the NodeVersion PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getNodeVersionNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getNodeVersionNodeAsync()
      Description copied from interface: OrderedListType
      Asynchronous implementation of OrderedListType.getNodeVersionNode().
      Specified by:
      getNodeVersionNodeAsync in interface OrderedListType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.