Class AuditEventNode

    • Constructor Detail

      • AuditEventNode

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

      • getActionTimeStamp

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

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

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

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

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

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

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

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