Package org.opennms.web.notification
Class NoticeSentTo
- java.lang.Object
-
- org.opennms.web.notification.NoticeSentTo
-
public class NoticeSentTo extends java.lang.ObjectNoticeSentTo 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.Stringm_contactInfoContact info.java.lang.Stringm_mediaThe type of notification mechanism.longm_timeTime the notice was sent to the user in milliseconds.java.lang.Stringm_userIdUser 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.StringgetContactInfo()getContactInfojava.lang.StringgetMedia()getMediajava.util.DategetTime()getTimejava.lang.StringgetUserId()getUserIdvoidsetContactInfo(java.lang.String contact)setContactInfovoidsetMedia(java.lang.String media)setMediavoidsetTime(long time)setTimevoidsetUserId(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- aStringobject.
-
getUserId
public java.lang.String getUserId()
getUserId
- Returns:
- a
Stringobject.
-
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- aStringobject.
-
getMedia
public java.lang.String getMedia()
getMedia
- Returns:
- a
Stringobject.
-
setContactInfo
public void setContactInfo(java.lang.String contact)
setContactInfo
- Parameters:
contact- aStringobject.
-
getContactInfo
public java.lang.String getContactInfo()
getContactInfo
- Returns:
- a
Stringobject.
-
-