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

public class TransitionTypeNode extends BaseObjectTypeNode implements TransitionType
  • Constructor Details

    • TransitionTypeNode

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

    • getTransitionNumber

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTransitionNumber() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionType
      Get the local value of the TransitionNumber Node.

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

      Specified by:
      getTransitionNumber in interface TransitionType
      Returns:
      the local value of the TransitionNumber Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TransitionNumber Node.
    • setTransitionNumber

      public void setTransitionNumber(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionType
      Set the local value of the TransitionNumber Node.

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

      Specified by:
      setTransitionNumber in interface TransitionType
      Parameters:
      value - the local value to set for the TransitionNumber Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TransitionNumber Node.
    • readTransitionNumber

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readTransitionNumber() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionType
      Read the value of the TransitionNumber Node from the server and update the local value if the operation succeeds.
      Specified by:
      readTransitionNumber in interface TransitionType
      Returns:
      the UInteger value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeTransitionNumber

      public void writeTransitionNumber(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionType
      Write a new value for the TransitionNumber Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeTransitionNumber in interface TransitionType
      Parameters:
      value - the UInteger value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readTransitionNumberAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readTransitionNumberAsync()
      Description copied from interface: TransitionType
      An asynchronous implementation of TransitionType.readTransitionNumber().
      Specified by:
      readTransitionNumberAsync in interface TransitionType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeTransitionNumberAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTransitionNumberAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger transitionNumber)
      Description copied from interface: TransitionType
      Specified by:
      writeTransitionNumberAsync in interface TransitionType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getTransitionNumberNode

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

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

      Specified by:
      getTransitionNumberNode in interface TransitionType
      Returns:
      the TransitionNumber 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.
    • getTransitionNumberNodeAsync

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