Package org.opennms.web.notification
Class NoticeSentTo
- java.lang.Object
-
- org.opennms.web.notification.NoticeSentTo
-
public class NoticeSentTo extends java.lang.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
Fields Modifier and Type Field Description java.lang.String
m_contactInfo
Contact info.java.lang.String
m_media
The type of notification mechanism.long
m_time
Time the notice was sent to the user in milliseconds.java.lang.String
m_userId
User this notice was sent to
-
Constructor Summary
Constructors Constructor Description NoticeSentTo()
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContactInfo()
getContactInfojava.lang.String
getMedia()
getMediajava.util.Date
getTime()
getTimejava.lang.String
getUserId()
getUserIdvoid
setContactInfo(java.lang.String contact)
setContactInfovoid
setMedia(java.lang.String media)
setMediavoid
setTime(long time)
setTimevoid
setUserId(java.lang.String userid)
setUserId
-
-
-
Field Detail
-
m_userId
public java.lang.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 java.lang.String m_contactInfo
Contact info.
-
m_media
public java.lang.String m_media
The type of notification mechanism.
-
-
Method Detail
-
setUserId
public void setUserId(java.lang.String userid)
setUserId
- Parameters:
userid
- aString
object.
-
getUserId
public java.lang.String getUserId()
getUserId
- Returns:
- a
String
object.
-
setTime
public void setTime(long time)
setTime
- Parameters:
time
- a long.
-
getTime
public java.util.Date getTime()
getTime
- Returns:
- a java$util$Date object.
-
setMedia
public void setMedia(java.lang.String media)
setMedia
- Parameters:
media
- aString
object.
-
getMedia
public java.lang.String getMedia()
getMedia
- Returns:
- a
String
object.
-
setContactInfo
public void setContactInfo(java.lang.String contact)
setContactInfo
- Parameters:
contact
- aString
object.
-
getContactInfo
public java.lang.String getContactInfo()
getContactInfo
- Returns:
- a
String
object.
-
-