Package org.opennms.netmgt.model
Class OnmsUserNotification
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsUserNotification
-
- All Implemented Interfaces:
Serializable
@Entity public class OnmsUserNotification extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnmsUserNotification()default constructorOnmsUserNotification(String userId, Date notifyTime, String media, String contactInfo, String autoNotify, OnmsNotification notification, Integer id)full constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoNotify()getAutoNotifyStringgetContactInfo()getContactInfoIntegergetId()getIdStringgetMedia()getMediaOnmsNotificationgetNotification()getNotificationDategetNotifyTime()getNotifyTimeStringgetUserId()getUserIdvoidsetAutoNotify(String autoNotify)setAutoNotifyvoidsetContactInfo(String contactInfo)setContactInfovoidsetId(Integer id)setIdvoidsetMedia(String media)setMediavoidsetNotification(OnmsNotification notification)setNotificationvoidsetNotifyTime(Date notifyTime)setNotifyTimevoidsetUserId(String userId)setUserIdStringtoString()toString
-
-
-
Method Detail
-
setNotifyTime
public void setNotifyTime(Date notifyTime)
setNotifyTime
- Parameters:
notifyTime- aDateobject.
-
setContactInfo
public void setContactInfo(String contactInfo)
setContactInfo
- Parameters:
contactInfo- aStringobject.
-
setAutoNotify
public void setAutoNotify(String autoNotify)
setAutoNotify
- Parameters:
autoNotify- aStringobject.
-
getNotification
public OnmsNotification getNotification()
getNotification
- Returns:
- a
OnmsNotificationobject.
-
setNotification
public void setNotification(OnmsNotification notification)
setNotification
- Parameters:
notification- aOnmsNotificationobject.
-
-