Class ConditionNode

    • Constructor Detail

      • ConditionNode

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

      • getConditionClassId

        public com.plccom.opc.ua.builtintypes.NodeId getConditionClassId()
                                                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                         com.plccom.opc.ua.common.ServiceResultException
        returns the CONDITION_CLASS_ID of node
        Returns:
        the CONDITION_CLASS_ID
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setConditionClassId

        public com.plccom.opc.ua.builtintypes.StatusCode setConditionClassId​(com.plccom.opc.ua.builtintypes.NodeId value)
                                                                      throws com.plccom.opc.ua.common.ServiceResultException
        Sets the CONDITION_CLASS_ID
        Parameters:
        value - the CONDITION_CLASS_ID
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getConditionClassName

        public com.plccom.opc.ua.builtintypes.LocalizedText getConditionClassName()
                                                                           throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                  com.plccom.opc.ua.common.ServiceResultException
        returns the CONDITION_CLASS_NAME of node
        Returns:
        the CONDITION_CLASS_NAME
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setConditionClassName

        public com.plccom.opc.ua.builtintypes.StatusCode setConditionClassName​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                                        throws com.plccom.opc.ua.common.ServiceResultException
        Sets the CONDITION_CLASS_NAME
        Parameters:
        value - the CONDITION_CLASS_NAME
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getConditionName

        public String getConditionName()
                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                       com.plccom.opc.ua.common.ServiceResultException
        returns the CONDITION_NAME of node
        Returns:
        the CONDITION_NAME
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setConditionName

        public com.plccom.opc.ua.builtintypes.StatusCode setConditionName​(String value)
                                                                   throws com.plccom.opc.ua.common.ServiceResultException
        Sets the CONDITION_NAME
        Parameters:
        value - the CONDITION_NAME
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getBranchId

        public com.plccom.opc.ua.builtintypes.NodeId getBranchId()
                                                          throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                 com.plccom.opc.ua.common.ServiceResultException
        returns the BRANCH_ID of node
        Returns:
        the BRANCH_ID
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setBranchId

        public com.plccom.opc.ua.builtintypes.StatusCode setBranchId​(com.plccom.opc.ua.builtintypes.NodeId value)
                                                              throws com.plccom.opc.ua.common.ServiceResultException
        Sets the BRANCH_ID
        Parameters:
        value - the BRANCH_ID
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getRetain

        public Boolean getRetain()
                          throws com.plccom.opc.ua.common.ServiceFaultException,
                                 com.plccom.opc.ua.common.ServiceResultException
        returns the RETAIN of node
        Returns:
        the RETAIN
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setRetain

        public com.plccom.opc.ua.builtintypes.StatusCode setRetain​(Boolean value)
                                                            throws com.plccom.opc.ua.common.ServiceResultException
        Sets the RETAIN
        Parameters:
        value - the RETAIN
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getClientUserId

        public String getClientUserId()
                               throws com.plccom.opc.ua.common.ServiceFaultException,
                                      com.plccom.opc.ua.common.ServiceResultException
        returns the CLIENT_USER_ID of node
        Returns:
        the CLIENT_USER_ID
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setClientUserId

        public com.plccom.opc.ua.builtintypes.StatusCode setClientUserId​(String value)
                                                                  throws com.plccom.opc.ua.common.ServiceResultException
        Sets the CLIENT_USER_ID
        Parameters:
        value - the CLIENT_USER_ID
        Returns:
        a StatusCode object
        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 enabled state of node
        Returns:
        the enabled state
        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.ServiceResultException
        Sets the enabled state
        Parameters:
        value - the enabled state
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getQuality

        public com.plccom.opc.ua.builtintypes.StatusCode getQuality()
                                                             throws com.plccom.opc.ua.encoding.DecodingException,
                                                                    com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        returns the quality of node
        Returns:
        the quality
        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
      • setQuality

        public com.plccom.opc.ua.builtintypes.StatusCode setQuality​(com.plccom.opc.ua.builtintypes.StatusCode value)
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Sets the quality
        Parameters:
        value - the quality
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getLastSeverity

        public com.plccom.opc.ua.builtintypes.UnsignedShort getLastSeverity()
                                                                     throws com.plccom.opc.ua.encoding.DecodingException,
                                                                            com.plccom.opc.ua.common.ServiceFaultException,
                                                                            com.plccom.opc.ua.common.ServiceResultException
        returns the last severity of node
        Returns:
        the last severity
        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
      • setLastSeverity

        public com.plccom.opc.ua.builtintypes.StatusCode setLastSeverity​(com.plccom.opc.ua.builtintypes.UnsignedShort value)
                                                                  throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                         com.plccom.opc.ua.common.ServiceResultException
        Sets the last severity
        Parameters:
        value - the last severity
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getComment

        public com.plccom.opc.ua.builtintypes.LocalizedText getComment()
                                                                throws com.plccom.opc.ua.encoding.DecodingException,
                                                                       com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        returns the comment of node
        Returns:
        the comment
        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
      • setComment

        public com.plccom.opc.ua.builtintypes.StatusCode setComment​(com.plccom.opc.ua.builtintypes.LocalizedText value)
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Sets the comment of node
        Parameters:
        value - comment
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error