All Implemented Interfaces:
AuditEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
AuditClientEventTypeNode, AuditHistoryBulkInsertEventTypeNode, AuditHistoryConfigurationChangeEventTypeNode, AuditNodeManagementEventTypeNode, AuditSecurityEventTypeNode, AuditUpdateEventTypeNode, AuditUpdateMethodEventTypeNode

public class AuditEventTypeNode extends BaseEventTypeNode implements AuditEventType
  • Constructor Details

    • AuditEventTypeNode

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

    • getActionTimeStamp

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

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

      Specified by:
      getActionTimeStamp in interface AuditEventType
      Returns:
      the local value of the ActionTimeStamp Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActionTimeStamp Node.
    • setActionTimeStamp

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

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

      Specified by:
      setActionTimeStamp in interface AuditEventType
      Parameters:
      value - the local value to set for the ActionTimeStamp Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActionTimeStamp Node.
    • readActionTimeStamp

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

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

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

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

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

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

      Specified by:
      getActionTimeStampNode in interface AuditEventType
      Returns:
      the ActionTimeStamp 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.
    • getActionTimeStampNodeAsync

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

      public Boolean getStatus() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Get the local value of the Status Node.

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

      Specified by:
      getStatus in interface AuditEventType
      Returns:
      the local value of the Status Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Status Node.
    • setStatus

      public void setStatus(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Set the local value of the Status Node.

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

      Specified by:
      setStatus in interface AuditEventType
      Parameters:
      value - the local value to set for the Status Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Status Node.
    • readStatus

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

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

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

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

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

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

      Specified by:
      getStatusNode in interface AuditEventType
      Returns:
      the Status 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.
    • getStatusNodeAsync

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

      public String getServerId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Get the local value of the ServerId Node.

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

      Specified by:
      getServerId in interface AuditEventType
      Returns:
      the local value of the ServerId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ServerId Node.
    • setServerId

      public void setServerId(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Set the local value of the ServerId Node.

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

      Specified by:
      setServerId in interface AuditEventType
      Parameters:
      value - the local value to set for the ServerId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ServerId Node.
    • readServerId

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

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

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

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

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

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

      Specified by:
      getServerIdNode in interface AuditEventType
      Returns:
      the ServerId 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.
    • getServerIdNodeAsync

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

      public String getClientAuditEntryId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Get the local value of the ClientAuditEntryId Node.

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

      Specified by:
      getClientAuditEntryId in interface AuditEventType
      Returns:
      the local value of the ClientAuditEntryId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ClientAuditEntryId Node.
    • setClientAuditEntryId

      public void setClientAuditEntryId(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Set the local value of the ClientAuditEntryId Node.

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

      Specified by:
      setClientAuditEntryId in interface AuditEventType
      Parameters:
      value - the local value to set for the ClientAuditEntryId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ClientAuditEntryId Node.
    • readClientAuditEntryId

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

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

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

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

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

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

      Specified by:
      getClientAuditEntryIdNode in interface AuditEventType
      Returns:
      the ClientAuditEntryId 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.
    • getClientAuditEntryIdNodeAsync

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

      public String getClientUserId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Get the local value of the ClientUserId Node.

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

      Specified by:
      getClientUserId in interface AuditEventType
      Returns:
      the local value of the ClientUserId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ClientUserId Node.
    • setClientUserId

      public void setClientUserId(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditEventType
      Set the local value of the ClientUserId Node.

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

      Specified by:
      setClientUserId in interface AuditEventType
      Parameters:
      value - the local value to set for the ClientUserId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ClientUserId Node.
    • readClientUserId

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

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

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

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

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

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

      Specified by:
      getClientUserIdNode in interface AuditEventType
      Returns:
      the ClientUserId 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.
    • getClientUserIdNodeAsync

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