Class AuditHistoryDeleteEventTypeNode

All Implemented Interfaces:
AuditEventType, AuditHistoryDeleteEventType, AuditHistoryUpdateEventType, AuditUpdateEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
AuditHistoryAtTimeDeleteEventTypeNode, AuditHistoryEventDeleteEventTypeNode, AuditHistoryRawModifyDeleteEventTypeNode

public class AuditHistoryDeleteEventTypeNode extends AuditHistoryUpdateEventTypeNode implements AuditHistoryDeleteEventType
  • Constructor Details

    • AuditHistoryDeleteEventTypeNode

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

    • getUpdatedNode

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getUpdatedNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditHistoryDeleteEventType
      Get the local value of the UpdatedNode Node.

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

      Specified by:
      getUpdatedNode in interface AuditHistoryDeleteEventType
      Returns:
      the local value of the UpdatedNode Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UpdatedNode Node.
    • setUpdatedNode

      public void setUpdatedNode(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditHistoryDeleteEventType
      Set the local value of the UpdatedNode Node.

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

      Specified by:
      setUpdatedNode in interface AuditHistoryDeleteEventType
      Parameters:
      value - the local value to set for the UpdatedNode Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UpdatedNode Node.
    • readUpdatedNode

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

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

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

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

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

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

      Specified by:
      getUpdatedNodeNode in interface AuditHistoryDeleteEventType
      Returns:
      the UpdatedNode 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.
    • getUpdatedNodeNodeAsync

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