org.opennms.web.notification
Class NoticeSentTo

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

public class NoticeSentTo
extends Object

NoticeSentTo Bean, containing data from the usersNotified table for a single user/notice pair.

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

Field Summary
 String m_contactInfo
          Contact info.
 String m_media
          The type of notification mechanism.
 long m_time
          Time the notice was sent to the user in milliseconds.
 String m_userId
          User this notice was sent to
 
Constructor Summary
NoticeSentTo()
          Default Constructor
 
Method Summary
 String getContactInfo()
          getContactInfo
 String getMedia()
          getMedia
 Date getTime()
          getTime
 String getUserId()
          getUserId
 void setContactInfo(String contact)
          setContactInfo
 void setMedia(String media)
          setMedia
 void setTime(long time)
          setTime
 void setUserId(String userid)
          setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_userId

public String m_userId
User this notice was sent to


m_time

public long m_time
Time the notice was sent to the user in milliseconds.


m_contactInfo

public String m_contactInfo
Contact info.


m_media

public String m_media
The type of notification mechanism.

Constructor Detail

NoticeSentTo

public NoticeSentTo()
Default Constructor

Method Detail

setUserId

public void setUserId(String userid)

setUserId

Parameters:
userid - a String object.

getUserId

public String getUserId()

getUserId

Returns:
a String object.

setTime

public void setTime(long time)

setTime

Parameters:
time - a long.

getTime

public Date getTime()

getTime

Returns:
a java$util$Date object.

setMedia

public void setMedia(String media)

setMedia

Parameters:
media - a String object.

getMedia

public String getMedia()

getMedia

Returns:
a String object.

setContactInfo

public void setContactInfo(String contact)

setContactInfo

Parameters:
contact - a String object.

getContactInfo

public String getContactInfo()

getContactInfo

Returns:
a String object.


Copyright © 2011. All Rights Reserved.