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 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
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 int
getEventId()
getEventIdint
getId()
getIdString
getInterfaceId()
getInterfaceIdString
getIpAddress()
getIpAddressint
getNodeId()
getNodeIdString
getNumericMessage()
getNumericMessageString
getResponder()
getResponderList<NoticeSentTo>
getSentTo()
getSentToint
getServiceId()
getServiceIdString
getServiceName()
getServiceNameString
getTextMessage()
getTextMessageDate
getTimeReplied()
getTimeRepliedDate
getTimeSent()
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
List
object.
-
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.
-
-