Class AuditHistoryValueUpdateEventNode

    • Constructor Detail

      • AuditHistoryValueUpdateEventNode

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

      • getUpdatedNode

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

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

        public com.plccom.opc.ua.core.PerformUpdateType getPerformInsertReplace()
                                                                         throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                                com.plccom.opc.ua.common.ServiceResultException
        Returns the attribute PERFORM_INSERT_REPLACE from cache or directly from connected ua server
        Returns:
        the PERFORM_INSERT_REPLACE attribute
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setPerformInsertReplace

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

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

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

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

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