Class AuditWriteUpdateEventTypeNode

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

public class AuditWriteUpdateEventTypeNode extends AuditUpdateEventTypeNode implements AuditWriteUpdateEventType
  • Constructor Details

    • AuditWriteUpdateEventTypeNode

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

    • getAttributeId

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

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

      Specified by:
      getAttributeId in interface AuditWriteUpdateEventType
      Returns:
      the local value of the AttributeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AttributeId Node.
    • setAttributeId

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

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

      Specified by:
      setAttributeId in interface AuditWriteUpdateEventType
      Parameters:
      value - the local value to set for the AttributeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AttributeId Node.
    • readAttributeId

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

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

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

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

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

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

      Specified by:
      getAttributeIdNode in interface AuditWriteUpdateEventType
      Returns:
      the AttributeId 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.
    • getAttributeIdNodeAsync

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

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

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

      Specified by:
      getIndexRange in interface AuditWriteUpdateEventType
      Returns:
      the local value of the IndexRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the IndexRange Node.
    • setIndexRange

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

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

      Specified by:
      setIndexRange in interface AuditWriteUpdateEventType
      Parameters:
      value - the local value to set for the IndexRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the IndexRange Node.
    • readIndexRange

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

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

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

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

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

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

      Specified by:
      getIndexRangeNode in interface AuditWriteUpdateEventType
      Returns:
      the IndexRange 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.
    • getIndexRangeNodeAsync

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

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

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

      Specified by:
      getOldValue in interface AuditWriteUpdateEventType
      Returns:
      the local value of the OldValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OldValue Node.
    • setOldValue

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

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

      Specified by:
      setOldValue in interface AuditWriteUpdateEventType
      Parameters:
      value - the local value to set for the OldValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OldValue Node.
    • readOldValue

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

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

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

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

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

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

      Specified by:
      getOldValueNode in interface AuditWriteUpdateEventType
      Returns:
      the OldValue 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.
    • getOldValueNodeAsync

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

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

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

      Specified by:
      getNewValue in interface AuditWriteUpdateEventType
      Returns:
      the local value of the NewValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NewValue Node.
    • setNewValue

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

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

      Specified by:
      setNewValue in interface AuditWriteUpdateEventType
      Parameters:
      value - the local value to set for the NewValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NewValue Node.
    • readNewValue

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

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

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

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

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

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

      Specified by:
      getNewValueNode in interface AuditWriteUpdateEventType
      Returns:
      the NewValue 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.
    • getNewValueNodeAsync

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