Class AuditWriteUpdateEventNode

    • Constructor Detail

      • AuditWriteUpdateEventNode

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

      • getAttributeId

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

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

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

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

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

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

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

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