Class DialogConditionNode

    • Constructor Detail

      • DialogConditionNode

        public DialogConditionNode​(UaClient client,
                                   com.plccom.opc.ua.builtintypes.NodeId nodeId)
        default constructor for DialogConditionNode instances
        Parameters:
        client - the client instance
        nodeId - the based nodeid
    • Method Detail

      • getPrompt

        public com.plccom.opc.ua.builtintypes.LocalizedText getPrompt()
                                                               throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                      com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute PROMPT from cache or directly from connected ua server
        Returns:
        the PROMPT attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setPrompt

        public com.plccom.opc.ua.builtintypes.StatusCode setPrompt​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                            throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute PROMPT of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the PROMPT attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getResponseOptionSet

        public com.plccom.opc.ua.builtintypes.LocalizedText[] getResponseOptionSet()
                                                                            throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                   com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute RESPONSE_OPTION_SET from cache or directly from connected ua server
        Returns:
        the RESPONSE_OPTION_SET attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setResponseOptionSet

        public com.plccom.opc.ua.builtintypes.StatusCode setResponseOptionSet​(com.plccom.opc.ua.builtintypes.LocalizedText[] value)
                                                                       throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute RESPONSE_OPTION_SET of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the RESPONSE_OPTION_SET attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getDefaultResponse

        public Integer getDefaultResponse()
                                   throws com.plccom.opc.ua.common.ServiceFaultException,
                                          com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute DEFAULT_RESPONSE from cache or directly from connected ua server
        Returns:
        the DEFAULT_RESPONSE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setDefaultResponse

        public com.plccom.opc.ua.builtintypes.StatusCode setDefaultResponse​(Integer value)
                                                                     throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute DEFAULT_RESPONSE of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the DEFAULT_RESPONSE attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getOkResponse

        public Integer getOkResponse()
                              throws com.plccom.opc.ua.common.ServiceFaultException,
                                     com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute OK_RESPONSE from cache or directly from connected ua server
        Returns:
        the OK_RESPONSE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setOkResponse

        public com.plccom.opc.ua.builtintypes.StatusCode setOkResponse​(Integer value)
                                                                throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute OK_RESPONSE of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the OK_RESPONSE attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getCancelResponse

        public Integer getCancelResponse()
                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                         com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute CANCEL_RESPONSE from cache or directly from connected ua server
        Returns:
        the CANCEL_RESPONSE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setCancelResponse

        public com.plccom.opc.ua.builtintypes.StatusCode setCancelResponse​(Integer value)
                                                                    throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute CANCEL_RESPONSE of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the CANCEL_RESPONSE attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getLastResponse

        public Integer getLastResponse()
                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute LAST_RESPONSE from cache or directly from connected ua server
        Returns:
        the LAST_RESPONSE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setLastResponse

        public com.plccom.opc.ua.builtintypes.StatusCode setLastResponse​(Integer value)
                                                                  throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute LAST_RESPONSE of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the LAST_RESPONSE attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getEnabledState

        public com.plccom.opc.ua.builtintypes.LocalizedText getEnabledState()
                                                                     throws com.plccom.opc.ua.encoding.DecodingException,
                                                                            com.plccom.opc.ua.common.ServiceFaultException,
                                                                            com.plccom.opc.ua.common.ServiceResultException
        Returns the EnabledState from cache or directly from connected ua server
        Overrides:
        getEnabledState in class ConditionNode
        Returns:
        the EnabledState
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setEnabledState

        public com.plccom.opc.ua.builtintypes.StatusCode setEnabledState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                         com.plccom.opc.ua.common.ServiceResultException
        Sets the EnabledState of this node at connected ua server and refreshing the nodecache
        Overrides:
        setEnabledState in class ConditionNode
        Parameters:
        value - the EnabledState
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getDialogState

        public com.plccom.opc.ua.builtintypes.LocalizedText getDialogState()
                                                                    throws com.plccom.opc.ua.encoding.DecodingException,
                                                                           com.plccom.opc.ua.common.ServiceFaultException,
                                                                           com.plccom.opc.ua.common.ServiceResultException
        Returns the DialogState from cache or directly from connected ua server
        Returns:
        the DialogState
        Throws:
        com.plccom.opc.ua.encoding.DecodingException - throws if internal cast operation throws errors
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setDialogState

        public com.plccom.opc.ua.builtintypes.StatusCode setDialogState​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                 throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                        com.plccom.opc.ua.common.ServiceResultException
        Sets the DialogState of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the DialogState
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error