Class AuditConditionCommentEventNode

    • Constructor Detail

      • AuditConditionCommentEventNode

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

      • getEventId

        public com.plccom.opc.ua.builtintypes.ByteString getEventId()
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute EVENT_ID from cache or directly from connected ua server
        Overrides:
        getEventId in class BaseEventNode
        Returns:
        the EVENT_ID attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setEventId

        public com.plccom.opc.ua.builtintypes.StatusCode setEventId​(com.plccom.opc.ua.builtintypes.ByteString value)
                                                             throws com.plccom.opc.ua.common.ServiceResultException
        Sets the attribute EVENT_ID of this node at connected ua server and refreshing the nodecache
        Overrides:
        setEventId in class BaseEventNode
        Parameters:
        value - the EVENT_ID attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getComment

        public com.plccom.opc.ua.builtintypes.LocalizedText getComment()
                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute COMMENT from cache or directly from connected ua server
        Returns:
        the COMMENT attribute
        Throws:
        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.ServiceResultException
        Sets the attribute COMMENT of this node at connected ua server and refreshing the nodecache
        Parameters:
        value - the COMMENT attribute
        Returns:
        a StatusCode object with result of actual operation
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error