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

public class TrustListTypeNode extends FileTypeNode implements TrustListType
  • Constructor Details

    • TrustListTypeNode

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

    • getLastUpdateTime

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

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

      Specified by:
      getLastUpdateTime in interface TrustListType
      Returns:
      the local value of the LastUpdateTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastUpdateTime Node.
    • setLastUpdateTime

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

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

      Specified by:
      setLastUpdateTime in interface TrustListType
      Parameters:
      value - the local value to set for the LastUpdateTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastUpdateTime Node.
    • readLastUpdateTime

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

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

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

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

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

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

      Specified by:
      getLastUpdateTimeNode in interface TrustListType
      Returns:
      the LastUpdateTime 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.
    • getLastUpdateTimeNodeAsync

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

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

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

      Specified by:
      getUpdateFrequency in interface TrustListType
      Returns:
      the local value of the UpdateFrequency Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UpdateFrequency Node.
    • setUpdateFrequency

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

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

      Specified by:
      setUpdateFrequency in interface TrustListType
      Parameters:
      value - the local value to set for the UpdateFrequency Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UpdateFrequency Node.
    • readUpdateFrequency

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

      public void writeUpdateFrequency(Double value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Write a new value for the UpdateFrequency Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeUpdateFrequency in interface TrustListType
      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.
    • readUpdateFrequencyAsync

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

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

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

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

      Specified by:
      getUpdateFrequencyNode in interface TrustListType
      Returns:
      the UpdateFrequency 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.
    • getUpdateFrequencyNodeAsync

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

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

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

      Specified by:
      getActivityTimeout in interface TrustListType
      Returns:
      the local value of the ActivityTimeout Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActivityTimeout Node.
    • setActivityTimeout

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

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

      Specified by:
      setActivityTimeout in interface TrustListType
      Parameters:
      value - the local value to set for the ActivityTimeout Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActivityTimeout Node.
    • readActivityTimeout

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

      public void writeActivityTimeout(Double value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Write a new value for the ActivityTimeout Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeActivityTimeout in interface TrustListType
      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.
    • readActivityTimeoutAsync

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

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

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

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

      Specified by:
      getActivityTimeoutNode in interface TrustListType
      Returns:
      the ActivityTimeout 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.
    • getActivityTimeoutNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions getDefaultValidationOptions() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Get the local value of the DefaultValidationOptions Node.

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

      Specified by:
      getDefaultValidationOptions in interface TrustListType
      Returns:
      the local value of the DefaultValidationOptions Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DefaultValidationOptions Node.
    • setDefaultValidationOptions

      public void setDefaultValidationOptions(org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Set the local value of the DefaultValidationOptions Node.

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

      Specified by:
      setDefaultValidationOptions in interface TrustListType
      Parameters:
      value - the local value to set for the DefaultValidationOptions Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DefaultValidationOptions Node.
    • readDefaultValidationOptions

      public org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions readDefaultValidationOptions() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Read the value of the DefaultValidationOptions Node from the server and update the local value if the operation succeeds.
      Specified by:
      readDefaultValidationOptions in interface TrustListType
      Returns:
      the TrustListValidationOptions value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeDefaultValidationOptions

      public void writeDefaultValidationOptions(org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TrustListType
      Write a new value for the DefaultValidationOptions Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeDefaultValidationOptions in interface TrustListType
      Parameters:
      value - the TrustListValidationOptions value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readDefaultValidationOptionsAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions> readDefaultValidationOptionsAsync()
      Description copied from interface: TrustListType
      An asynchronous implementation of TrustListType.readDefaultValidationOptions().
      Specified by:
      readDefaultValidationOptionsAsync in interface TrustListType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeDefaultValidationOptionsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDefaultValidationOptionsAsync(org.eclipse.milo.opcua.stack.core.types.structured.TrustListValidationOptions defaultValidationOptions)
      Description copied from interface: TrustListType
      Specified by:
      writeDefaultValidationOptionsAsync in interface TrustListType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getDefaultValidationOptionsNode

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

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

      Specified by:
      getDefaultValidationOptionsNode in interface TrustListType
      Returns:
      the DefaultValidationOptions 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.
    • getDefaultValidationOptionsNodeAsync

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