Class Notification


  • public class Notification
    extends Object
    Notify Bean, containing data from the notifications table.
    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • m_txtMsg

        public String m_txtMsg
      • m_numMsg

        public String m_numMsg
      • m_notifyID

        public int m_notifyID
      • m_timeSent

        public long m_timeSent
      • m_timeReply

        public long m_timeReply
      • m_responder

        public String m_responder
      • m_nodeID

        public int m_nodeID
      • m_interfaceID

        public String m_interfaceID
      • m_serviceName

        public String m_serviceName
      • m_serviceId

        public int m_serviceId
      • m_eventId

        public int m_eventId
    • Constructor Detail

      • Notification

        public Notification()
        Default Constructor
      • Notification

        public Notification​(List<NoticeSentTo> sentToList,
                            int notifyId,
                            String txtMsg,
                            String numMsg,
                            long timeSent,
                            long timeReply,
                            String responder,
                            int nodeid,
                            String interfaceID,
                            int svcId,
                            String svcName,
                            int eventid)

        Constructor for Notification.

        Parameters:
        sentToList - a List object.
        notifyId - a int.
        txtMsg - a String object.
        numMsg - a String object.
        timeSent - a long.
        timeReply - a long.
        responder - a String object.
        nodeid - a int.
        interfaceID - a String object.
        svcId - a int.
        svcName - a String object.
        eventid - a int.
    • Method Detail

      • getTextMessage

        public String getTextMessage()

        getTextMessage

        Returns:
        a String object.
      • getNumericMessage

        public String getNumericMessage()

        getNumericMessage

        Returns:
        a String object.
      • getId

        public int getId()

        getId

        Returns:
        a int.
      • getTimeSent

        public Date getTimeSent()

        getTimeSent

        Returns:
        a Date object.
      • getTimeReplied

        public Date getTimeReplied()

        getTimeReplied

        Returns:
        a Date object.
      • getResponder

        public String getResponder()

        getResponder

        Returns:
        a String object.
      • getNodeId

        public int getNodeId()

        getNodeId

        Returns:
        a int.
      • getInterfaceId

        public String getInterfaceId()

        getInterfaceId

        Returns:
        a String object.
      • getIpAddress

        public String getIpAddress()

        getIpAddress

        Returns:
        a String object.
      • getServiceName

        public String getServiceName()

        getServiceName

        Returns:
        a String object.
      • getServiceId

        public int getServiceId()

        getServiceId

        Returns:
        a int.
      • getEventId

        public int getEventId()

        getEventId

        Returns:
        a int.