All Implemented Interfaces:
BaseEventType, BaseObjectType, ConditionType, DialogConditionType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class DialogConditionTypeNode extends ConditionTypeNode implements DialogConditionType
  • Constructor Details

    • DialogConditionTypeNode

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

    • getPrompt

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getPrompt() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the Prompt Node.

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

      Specified by:
      getPrompt in interface DialogConditionType
      Returns:
      the local value of the Prompt Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Prompt Node.
    • setPrompt

      public void setPrompt(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the Prompt Node.

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

      Specified by:
      setPrompt in interface DialogConditionType
      Parameters:
      value - the local value to set for the Prompt Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Prompt Node.
    • readPrompt

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

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

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

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

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

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

      Specified by:
      getPromptNode in interface DialogConditionType
      Returns:
      the Prompt 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.
    • getPromptNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] getResponseOptionSet() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the ResponseOptionSet Node.

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

      Specified by:
      getResponseOptionSet in interface DialogConditionType
      Returns:
      the local value of the ResponseOptionSet Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ResponseOptionSet Node.
    • setResponseOptionSet

      public void setResponseOptionSet(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the ResponseOptionSet Node.

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

      Specified by:
      setResponseOptionSet in interface DialogConditionType
      Parameters:
      value - the local value to set for the ResponseOptionSet Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ResponseOptionSet Node.
    • readResponseOptionSet

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] readResponseOptionSet() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Read the value of the ResponseOptionSet Node from the server and update the local value if the operation succeeds.
      Specified by:
      readResponseOptionSet in interface DialogConditionType
      Returns:
      the LocalizedText value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeResponseOptionSet

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

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

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

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

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

      Specified by:
      getResponseOptionSetNode in interface DialogConditionType
      Returns:
      the ResponseOptionSet 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.
    • getResponseOptionSetNodeAsync

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

      public Integer getDefaultResponse() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the DefaultResponse Node.

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

      Specified by:
      getDefaultResponse in interface DialogConditionType
      Returns:
      the local value of the DefaultResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DefaultResponse Node.
    • setDefaultResponse

      public void setDefaultResponse(Integer value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the DefaultResponse Node.

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

      Specified by:
      setDefaultResponse in interface DialogConditionType
      Parameters:
      value - the local value to set for the DefaultResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DefaultResponse Node.
    • readDefaultResponse

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

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

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

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

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

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

      Specified by:
      getDefaultResponseNode in interface DialogConditionType
      Returns:
      the DefaultResponse 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.
    • getDefaultResponseNodeAsync

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

      public Integer getOkResponse() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the OkResponse Node.

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

      Specified by:
      getOkResponse in interface DialogConditionType
      Returns:
      the local value of the OkResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OkResponse Node.
    • setOkResponse

      public void setOkResponse(Integer value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the OkResponse Node.

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

      Specified by:
      setOkResponse in interface DialogConditionType
      Parameters:
      value - the local value to set for the OkResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OkResponse Node.
    • readOkResponse

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

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

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

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

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

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

      Specified by:
      getOkResponseNode in interface DialogConditionType
      Returns:
      the OkResponse 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.
    • getOkResponseNodeAsync

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

      public Integer getCancelResponse() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the CancelResponse Node.

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

      Specified by:
      getCancelResponse in interface DialogConditionType
      Returns:
      the local value of the CancelResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CancelResponse Node.
    • setCancelResponse

      public void setCancelResponse(Integer value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the CancelResponse Node.

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

      Specified by:
      setCancelResponse in interface DialogConditionType
      Parameters:
      value - the local value to set for the CancelResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CancelResponse Node.
    • readCancelResponse

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

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

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

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

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

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

      Specified by:
      getCancelResponseNode in interface DialogConditionType
      Returns:
      the CancelResponse 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.
    • getCancelResponseNodeAsync

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

      public Integer getLastResponse() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the LastResponse Node.

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

      Specified by:
      getLastResponse in interface DialogConditionType
      Returns:
      the local value of the LastResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastResponse Node.
    • setLastResponse

      public void setLastResponse(Integer value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the LastResponse Node.

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

      Specified by:
      setLastResponse in interface DialogConditionType
      Parameters:
      value - the local value to set for the LastResponse Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastResponse Node.
    • readLastResponse

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

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

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

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

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

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

      Specified by:
      getLastResponseNode in interface DialogConditionType
      Returns:
      the LastResponse 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.
    • getLastResponseNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getEnabledState() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ConditionType
      Get the local value of the EnabledState Node.

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

      Specified by:
      getEnabledState in interface ConditionType
      Specified by:
      getEnabledState in interface DialogConditionType
      Overrides:
      getEnabledState in class ConditionTypeNode
      Returns:
      the local value of the EnabledState Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EnabledState Node.
    • setEnabledState

      public void setEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ConditionType
      Set the local value of the EnabledState Node.

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

      Specified by:
      setEnabledState in interface ConditionType
      Specified by:
      setEnabledState in interface DialogConditionType
      Overrides:
      setEnabledState in class ConditionTypeNode
      Parameters:
      value - the local value to set for the EnabledState Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EnabledState Node.
    • readEnabledState

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readEnabledState() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ConditionType
      Read the value of the EnabledState Node from the server and update the local value if the operation succeeds.
      Specified by:
      readEnabledState in interface ConditionType
      Specified by:
      readEnabledState in interface DialogConditionType
      Overrides:
      readEnabledState in class ConditionTypeNode
      Returns:
      the LocalizedText value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeEnabledState

      public void writeEnabledState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ConditionType
      Write a new value for the EnabledState Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeEnabledState in interface ConditionType
      Specified by:
      writeEnabledState in interface DialogConditionType
      Overrides:
      writeEnabledState in class ConditionTypeNode
      Parameters:
      value - the LocalizedText value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readEnabledStateAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readEnabledStateAsync()
      Description copied from interface: ConditionType
      An asynchronous implementation of ConditionType.readEnabledState().
      Specified by:
      readEnabledStateAsync in interface ConditionType
      Specified by:
      readEnabledStateAsync in interface DialogConditionType
      Overrides:
      readEnabledStateAsync in class ConditionTypeNode
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeEnabledStateAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEnabledStateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText enabledState)
      Description copied from interface: ConditionType
      Specified by:
      writeEnabledStateAsync in interface ConditionType
      Specified by:
      writeEnabledStateAsync in interface DialogConditionType
      Overrides:
      writeEnabledStateAsync in class ConditionTypeNode
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getEnabledStateNode

      public TwoStateVariableTypeNode getEnabledStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ConditionType
      Get the EnabledState TwoStateVariableType Node, or null if it does not exist.

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

      Specified by:
      getEnabledStateNode in interface ConditionType
      Specified by:
      getEnabledStateNode in interface DialogConditionType
      Overrides:
      getEnabledStateNode in class ConditionTypeNode
      Returns:
      the EnabledState TwoStateVariableType 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.
    • getEnabledStateNodeAsync

      public CompletableFuture<? extends TwoStateVariableTypeNode> getEnabledStateNodeAsync()
      Description copied from interface: ConditionType
      Asynchronous implementation of ConditionType.getEnabledStateNode().
      Specified by:
      getEnabledStateNodeAsync in interface ConditionType
      Specified by:
      getEnabledStateNodeAsync in interface DialogConditionType
      Overrides:
      getEnabledStateNodeAsync in class ConditionTypeNode
      Returns:
      a CompletableFuture that completes successfully with the TwoStateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getDialogState

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getDialogState() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the local value of the DialogState Node.

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

      Specified by:
      getDialogState in interface DialogConditionType
      Returns:
      the local value of the DialogState Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DialogState Node.
    • setDialogState

      public void setDialogState(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Set the local value of the DialogState Node.

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

      Specified by:
      setDialogState in interface DialogConditionType
      Parameters:
      value - the local value to set for the DialogState Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DialogState Node.
    • readDialogState

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

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

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

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

      public TwoStateVariableTypeNode getDialogStateNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: DialogConditionType
      Get the DialogState TwoStateVariableType Node, or null if it does not exist.

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

      Specified by:
      getDialogStateNode in interface DialogConditionType
      Returns:
      the DialogState TwoStateVariableType 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.
    • getDialogStateNodeAsync

      public CompletableFuture<? extends TwoStateVariableTypeNode> getDialogStateNodeAsync()
      Description copied from interface: DialogConditionType
      Asynchronous implementation of DialogConditionType.getDialogStateNode().
      Specified by:
      getDialogStateNodeAsync in interface DialogConditionType
      Returns:
      a CompletableFuture that completes successfully with the TwoStateVariableType Node or completes exceptionally if an error occurs creating or getting the Node.