All Implemented Interfaces:
BaseDataVariableType, BaseVariableType, TransitionVariableType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
Direct Known Subclasses:
FiniteTransitionVariableTypeNode

public class TransitionVariableTypeNode extends BaseDataVariableTypeNode implements TransitionVariableType
  • Constructor Details

    • TransitionVariableTypeNode

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

    • getId

      public Object getId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Get the local value of the Id Node.

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

      Specified by:
      getId in interface TransitionVariableType
      Returns:
      the local value of the Id Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Id Node.
    • setId

      public void setId(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Set the local value of the Id Node.

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

      Specified by:
      setId in interface TransitionVariableType
      Parameters:
      value - the local value to set for the Id Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Id Node.
    • readId

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

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

      public CompletableFuture<?> readIdAsync()
      Description copied from interface: TransitionVariableType
      An asynchronous implementation of TransitionVariableType.readId().
      Specified by:
      readIdAsync in interface TransitionVariableType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeIdAsync

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

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

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

      Specified by:
      getIdNode in interface TransitionVariableType
      Returns:
      the Id 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.
    • getIdNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName getName() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Get the local value of the Name Node.

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

      Specified by:
      getName in interface TransitionVariableType
      Returns:
      the local value of the Name Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Name Node.
    • setName

      public void setName(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Set the local value of the Name Node.

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

      Specified by:
      setName in interface TransitionVariableType
      Parameters:
      value - the local value to set for the Name Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Name Node.
    • readName

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

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

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

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNameAsync(org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName name)
      Description copied from interface: TransitionVariableType
      Specified by:
      writeNameAsync in interface TransitionVariableType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNameNode

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

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

      Specified by:
      getNameNode in interface TransitionVariableType
      Returns:
      the Name 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.
    • getNameNodeAsync

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

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

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

      Specified by:
      getNumber in interface TransitionVariableType
      Returns:
      the local value of the Number Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Number Node.
    • setNumber

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

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

      Specified by:
      setNumber in interface TransitionVariableType
      Parameters:
      value - the local value to set for the Number Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Number Node.
    • readNumber

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

      public void writeNumber(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Write a new value for the Number Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeNumber in interface TransitionVariableType
      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.
    • readNumberAsync

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

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

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

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

      Specified by:
      getNumberNode in interface TransitionVariableType
      Returns:
      the Number 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.
    • getNumberNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getTransitionTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Get the local value of the TransitionTime Node.

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

      Specified by:
      getTransitionTime in interface TransitionVariableType
      Returns:
      the local value of the TransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TransitionTime Node.
    • setTransitionTime

      public void setTransitionTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Set the local value of the TransitionTime Node.

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

      Specified by:
      setTransitionTime in interface TransitionVariableType
      Parameters:
      value - the local value to set for the TransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TransitionTime Node.
    • readTransitionTime

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

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

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

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTransitionTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime transitionTime)
      Description copied from interface: TransitionVariableType
      Specified by:
      writeTransitionTimeAsync in interface TransitionVariableType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getTransitionTimeNode

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

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

      Specified by:
      getTransitionTimeNode in interface TransitionVariableType
      Returns:
      the TransitionTime 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.
    • getTransitionTimeNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getEffectiveTransitionTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Get the local value of the EffectiveTransitionTime Node.

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

      Specified by:
      getEffectiveTransitionTime in interface TransitionVariableType
      Returns:
      the local value of the EffectiveTransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EffectiveTransitionTime Node.
    • setEffectiveTransitionTime

      public void setEffectiveTransitionTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransitionVariableType
      Set the local value of the EffectiveTransitionTime Node.

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

      Specified by:
      setEffectiveTransitionTime in interface TransitionVariableType
      Parameters:
      value - the local value to set for the EffectiveTransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EffectiveTransitionTime Node.
    • readEffectiveTransitionTime

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

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

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

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEffectiveTransitionTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime effectiveTransitionTime)
      Description copied from interface: TransitionVariableType
      Specified by:
      writeEffectiveTransitionTimeAsync in interface TransitionVariableType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getEffectiveTransitionTimeNode

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

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

      Specified by:
      getEffectiveTransitionTimeNode in interface TransitionVariableType
      Returns:
      the EffectiveTransitionTime 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.
    • getEffectiveTransitionTimeNodeAsync

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