All Implemented Interfaces:
AuditAddNodesEventType, AuditEventType, AuditNodeManagementEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class AuditAddNodesEventTypeNode extends AuditNodeManagementEventTypeNode implements AuditAddNodesEventType
  • Constructor Details

    • AuditAddNodesEventTypeNode

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

    • getNodesToAdd

      public org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] getNodesToAdd() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditAddNodesEventType
      Get the local value of the NodesToAdd Node.

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

      Specified by:
      getNodesToAdd in interface AuditAddNodesEventType
      Returns:
      the local value of the NodesToAdd Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodesToAdd Node.
    • setNodesToAdd

      public void setNodesToAdd(org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditAddNodesEventType
      Set the local value of the NodesToAdd Node.

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

      Specified by:
      setNodesToAdd in interface AuditAddNodesEventType
      Parameters:
      value - the local value to set for the NodesToAdd Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodesToAdd Node.
    • readNodesToAdd

      public org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] readNodesToAdd() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditAddNodesEventType
      Read the value of the NodesToAdd Node from the server and update the local value if the operation succeeds.
      Specified by:
      readNodesToAdd in interface AuditAddNodesEventType
      Returns:
      the AddNodesItem value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNodesToAdd

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

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

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNodesToAddAsync(org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] nodesToAdd)
      Description copied from interface: AuditAddNodesEventType
      Specified by:
      writeNodesToAddAsync in interface AuditAddNodesEventType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNodesToAddNode

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

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

      Specified by:
      getNodesToAddNode in interface AuditAddNodesEventType
      Returns:
      the NodesToAdd 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.
    • getNodesToAddNodeAsync

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