Class BaseEventNode

    • Constructor Detail

      • BaseEventNode

        public BaseEventNode​(UaClient client,
                             com.plccom.opc.ua.builtintypes.NodeId nodeId)
        Standard constructor for a BaseEventNode instances
        Parameters:
        client - a 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 event id
        Returns:
        the event id
        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 event id
        Parameters:
        value - the event id
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getEventType

        public com.plccom.opc.ua.builtintypes.NodeId getEventType()
                                                           throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                  com.plccom.opc.ua.common.ServiceResultException
        Returns the event type
        Returns:
        the event type
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setEventType

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

        public com.plccom.opc.ua.builtintypes.NodeId getSourceNode()
                                                            throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                   com.plccom.opc.ua.common.ServiceResultException
        Returns the source node
        Returns:
        the source node
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setSourceNode

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

        public String getSourceName()
                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                    com.plccom.opc.ua.common.ServiceResultException
        Returns the source name
        Returns:
        the source name
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setSourceName

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

        public com.plccom.opc.ua.builtintypes.DateTime getTime()
                                                        throws com.plccom.opc.ua.common.ServiceFaultException,
                                                               com.plccom.opc.ua.common.ServiceResultException
        Returns the time value
        Returns:
        the time value
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setTime

        public com.plccom.opc.ua.builtintypes.StatusCode setTime​(com.plccom.opc.ua.builtintypes.DateTime value)
                                                          throws com.plccom.opc.ua.common.ServiceResultException
        Sets the receive time value
        Parameters:
        value - the time value
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getReceiveTime

        public com.plccom.opc.ua.builtintypes.DateTime getReceiveTime()
                                                               throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                      com.plccom.opc.ua.common.ServiceResultException
        Returns the receive time value
        Returns:
        the receive time value
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setReceiveTime

        public com.plccom.opc.ua.builtintypes.StatusCode setReceiveTime​(com.plccom.opc.ua.builtintypes.DateTime value)
                                                                 throws com.plccom.opc.ua.common.ServiceResultException
        Sets the receive time value
        Parameters:
        value - the receive time value
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getLocalTime

        public com.plccom.opc.ua.core.TimeZoneDataType getLocalTime()
                                                             throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                    com.plccom.opc.ua.common.ServiceResultException
        Returns the local time value
        Returns:
        the local time value
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setLocalTime

        public com.plccom.opc.ua.builtintypes.StatusCode setLocalTime​(com.plccom.opc.ua.core.TimeZoneDataType value)
                                                               throws com.plccom.opc.ua.common.ServiceResultException
        Sets the local time value
        Parameters:
        value - the local time value
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • getMessage

        public com.plccom.opc.ua.builtintypes.LocalizedText getMessage()
                                                                throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                       com.plccom.opc.ua.common.ServiceResultException
        Returns the message value
        Returns:
        the message value
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setMessage

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

        public com.plccom.opc.ua.builtintypes.UnsignedShort getSeverity()
                                                                 throws com.plccom.opc.ua.common.ServiceFaultException,
                                                                        com.plccom.opc.ua.common.ServiceResultException
        Returns the severity
        Returns:
        the severity
        Throws:
        com.plccom.opc.ua.common.ServiceFaultException - on error while executing the operation
        com.plccom.opc.ua.common.ServiceResultException - on communication error
      • setSeverity

        public com.plccom.opc.ua.builtintypes.StatusCode setSeverity​(com.plccom.opc.ua.builtintypes.UnsignedShort value)
                                                              throws com.plccom.opc.ua.common.ServiceResultException
        Sets the severity
        Parameters:
        value - the severity
        Returns:
        a StatusCode object
        Throws:
        com.plccom.opc.ua.common.ServiceResultException - on communication error