Package org.opennms.web.notification
Class Notification
- java.lang.Object
-
- org.opennms.web.notification.Notification
-
public class Notification extends java.lang.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
java.lang.String
m_interfaceID
int
m_nodeID
int
m_notifyID
java.lang.String
m_numMsg
java.lang.String
m_responder
java.util.List<NoticeSentTo>
m_sentTo
int
m_serviceId
java.lang.String
m_serviceName
long
m_timeReply
long
m_timeSent
java.lang.String
m_txtMsg
-
Constructor Summary
Constructors Constructor Description Notification()
Default ConstructorNotification(java.util.List<NoticeSentTo> sentToList, int notifyId, java.lang.String txtMsg, java.lang.String numMsg, long timeSent, long timeReply, java.lang.String responder, int nodeid, java.lang.String interfaceID, int svcId, java.lang.String svcName, int eventid)
Constructor for Notification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEventId()
getEventIdint
getId()
getIdjava.lang.String
getInterfaceId()
getInterfaceIdjava.lang.String
getIpAddress()
getIpAddressint
getNodeId()
getNodeIdjava.lang.String
getNumericMessage()
getNumericMessagejava.lang.String
getResponder()
getResponderjava.util.List<NoticeSentTo>
getSentTo()
getSentToint
getServiceId()
getServiceIdjava.lang.String
getServiceName()
getServiceNamejava.lang.String
getTextMessage()
getTextMessagejava.util.Date
getTimeReplied()
getTimeRepliedjava.util.Date
getTimeSent()
getTimeSent
-
-
-
Field Detail
-
m_sentTo
public java.util.List<NoticeSentTo> m_sentTo
-
m_txtMsg
public java.lang.String m_txtMsg
-
m_numMsg
public java.lang.String m_numMsg
-
m_notifyID
public int m_notifyID
-
m_timeSent
public long m_timeSent
-
m_timeReply
public long m_timeReply
-
m_responder
public java.lang.String m_responder
-
m_nodeID
public int m_nodeID
-
m_interfaceID
public java.lang.String m_interfaceID
-
m_serviceName
public java.lang.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(java.util.List<NoticeSentTo> sentToList, int notifyId, java.lang.String txtMsg, java.lang.String numMsg, long timeSent, long timeReply, java.lang.String responder, int nodeid, java.lang.String interfaceID, int svcId, java.lang.String svcName, int eventid)
Constructor for Notification.
- Parameters:
sentToList
- aList
object.notifyId
- a int.txtMsg
- aString
object.numMsg
- aString
object.timeSent
- a long.timeReply
- a long.responder
- aString
object.nodeid
- a int.interfaceID
- aString
object.svcId
- a int.svcName
- aString
object.eventid
- a int.
-
-
Method Detail
-
getSentTo
public java.util.List<NoticeSentTo> getSentTo()
getSentTo
- Returns:
- a
List
object.
-
getTextMessage
public java.lang.String getTextMessage()
getTextMessage
- Returns:
- a
String
object.
-
getNumericMessage
public java.lang.String getNumericMessage()
getNumericMessage
- Returns:
- a
String
object.
-
getId
public int getId()
getId
- Returns:
- a int.
-
getTimeSent
public java.util.Date getTimeSent()
getTimeSent
- Returns:
- a
Date
object.
-
getTimeReplied
public java.util.Date getTimeReplied()
getTimeReplied
- Returns:
- a
Date
object.
-
getResponder
public java.lang.String getResponder()
getResponder
- Returns:
- a
String
object.
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- a int.
-
getInterfaceId
public java.lang.String getInterfaceId()
getInterfaceId
- Returns:
- a
String
object.
-
getIpAddress
public java.lang.String getIpAddress()
getIpAddress
- Returns:
- a
String
object.
-
getServiceName
public java.lang.String getServiceName()
getServiceName
- Returns:
- a
String
object.
-
getServiceId
public int getServiceId()
getServiceId
- Returns:
- a int.
-
getEventId
public int getEventId()
getEventId
- Returns:
- a int.
-
-