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.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

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)
          Constructor for Notification.
 
Method Summary
 int getEventId()
          getEventId
 int getId()
          getId
 String getInterfaceId()
          getInterfaceId
 String getIpAddress()
          getIpAddress
 int getNodeId()
          getNodeId
 String getNumericMessage()
          getNumericMessage
 String getResponder()
          getResponder
 List<NoticeSentTo> getSentTo()
          getSentTo
 int getServiceId()
          getServiceId
 String getServiceName()
          getServiceName
 String getTextMessage()
          getTextMessage
 Date getTimeReplied()
          getTimeReplied
 Date getTimeSent()
          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)

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

getSentTo

public List<NoticeSentTo> getSentTo()

getSentTo

Returns:
a List object.

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.


Copyright © 2011. All Rights Reserved.