org.opennms.web.notification
Class Notification

java.lang.Object
  extended by org.opennms.web.notification.Notification

public class Notification
extends Object

Notify Bean, containing data from the notifications table.


Field Summary
 int m_eventId
           
 String m_interfaceID
           
 int m_nodeID
           
 int m_notifyID
           
 String m_numMsg
           
 String m_responder
           
 List<NoticeSentTo> m_sentTo
           
 int m_serviceId
           
 String m_serviceName
           
 long m_timeReply
           
 long m_timeSent
           
 String m_txtMsg
           
 
Constructor Summary
Notification()
          Default Constructor
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)
           
 
Method Summary
 int getEventId()
           
 int getId()
           
 String getInterfaceId()
           
 String getIpAddress()
           
 int getNodeId()
           
 String getNumericMessage()
           
 String getResponder()
           
 List<NoticeSentTo> getSentTo()
           
 int getServiceId()
           
 String getServiceName()
           
 String getTextMessage()
           
 Date getTimeReplied()
           
 Date getTimeSent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_sentTo

public List<NoticeSentTo> m_sentTo

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)
Method Detail

getSentTo

public List<NoticeSentTo> getSentTo()

getTextMessage

public String getTextMessage()

getNumericMessage

public String getNumericMessage()

getId

public int getId()

getTimeSent

public Date getTimeSent()

getTimeReplied

public Date getTimeReplied()

getResponder

public String getResponder()

getNodeId

public int getNodeId()

getInterfaceId

public String getInterfaceId()

getIpAddress

public String getIpAddress()

getServiceName

public String getServiceName()

getServiceId

public int getServiceId()

getEventId

public int getEventId()


Copyright © 2009. All Rights Reserved.