Package org.opennms.web.notification
Class Notification
- java.lang.Object
-
- org.opennms.web.notification.Notification
-
public class Notification extends Object
Notify Bean, containing data from the notifications table.- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description intm_eventIdStringm_interfaceIDintm_nodeIDintm_notifyIDStringm_numMsgStringm_responderList<NoticeSentTo>m_sentTointm_serviceIdStringm_serviceNamelongm_timeReplylongm_timeSentStringm_txtMsg
-
Constructor Summary
Constructors Constructor Description Notification()Default ConstructorNotification(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEventId()getEventIdintgetId()getIdStringgetInterfaceId()getInterfaceIdStringgetIpAddress()getIpAddressintgetNodeId()getNodeIdStringgetNumericMessage()getNumericMessageStringgetResponder()getResponderList<NoticeSentTo>getSentTo()getSentTointgetServiceId()getServiceIdStringgetServiceName()getServiceNameStringgetTextMessage()getTextMessageDategetTimeReplied()getTimeRepliedDategetTimeSent()getTimeSent
-
-
-
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
-
-
Method Detail
-
getSentTo
public List<NoticeSentTo> getSentTo()
getSentTo
- Returns:
- a
Listobject.
-
getId
public int getId()
getId
- Returns:
- a int.
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- a int.
-
getServiceId
public int getServiceId()
getServiceId
- Returns:
- a int.
-
getEventId
public int getEventId()
getEventId
- Returns:
- a int.
-
-