All Implemented Interfaces:
BaseDataVariableType, BaseVariableType, OrientationType, ThreeDOrientationType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode

public class ThreeDOrientationTypeNode extends OrientationTypeNode implements ThreeDOrientationType
  • Constructor Details

    • ThreeDOrientationTypeNode

      public ThreeDOrientationTypeNode(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

    • getA

      public Double getA() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the local value of the A Node.

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

      Specified by:
      getA in interface ThreeDOrientationType
      Returns:
      the local value of the A Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the A Node.
    • setA

      public void setA(Double value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Set the local value of the A Node.

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

      Specified by:
      setA in interface ThreeDOrientationType
      Parameters:
      value - the local value to set for the A Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the A Node.
    • readA

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

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

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

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

      public BaseDataVariableTypeNode getANode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the A BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getANode in interface ThreeDOrientationType
      Returns:
      the A BaseDataVariableType 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.
    • getANodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getANodeAsync()
      Description copied from interface: ThreeDOrientationType
      Asynchronous implementation of ThreeDOrientationType.getANode().
      Specified by:
      getANodeAsync in interface ThreeDOrientationType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getB

      public Double getB() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the local value of the B Node.

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

      Specified by:
      getB in interface ThreeDOrientationType
      Returns:
      the local value of the B Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the B Node.
    • setB

      public void setB(Double value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Set the local value of the B Node.

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

      Specified by:
      setB in interface ThreeDOrientationType
      Parameters:
      value - the local value to set for the B Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the B Node.
    • readB

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

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

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

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

      public BaseDataVariableTypeNode getBNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the B BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getBNode in interface ThreeDOrientationType
      Returns:
      the B BaseDataVariableType 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.
    • getBNodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getBNodeAsync()
      Description copied from interface: ThreeDOrientationType
      Asynchronous implementation of ThreeDOrientationType.getBNode().
      Specified by:
      getBNodeAsync in interface ThreeDOrientationType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getC

      public Double getC() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the local value of the C Node.

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

      Specified by:
      getC in interface ThreeDOrientationType
      Returns:
      the local value of the C Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the C Node.
    • setC

      public void setC(Double value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Set the local value of the C Node.

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

      Specified by:
      setC in interface ThreeDOrientationType
      Parameters:
      value - the local value to set for the C Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the C Node.
    • readC

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

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

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

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

      public BaseDataVariableTypeNode getCNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ThreeDOrientationType
      Get the C BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getCNode in interface ThreeDOrientationType
      Returns:
      the C BaseDataVariableType 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.
    • getCNodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getCNodeAsync()
      Description copied from interface: ThreeDOrientationType
      Asynchronous implementation of ThreeDOrientationType.getCNode().
      Specified by:
      getCNodeAsync in interface ThreeDOrientationType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.