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 String
getAutoNotify()
getAutoNotifyString
getContactInfo()
getContactInfoInteger
getId()
getIdString
getMedia()
getMediaOnmsNotification
getNotification()
getNotificationDate
getNotifyTime()
getNotifyTimeString
getUserId()
getUserIdvoid
setAutoNotify(String autoNotify)
setAutoNotifyvoid
setContactInfo(String contactInfo)
setContactInfovoid
setId(Integer id)
setIdvoid
setMedia(String media)
setMediavoid
setNotification(OnmsNotification notification)
setNotificationvoid
setNotifyTime(Date notifyTime)
setNotifyTimevoid
setUserId(String userId)
setUserIdString
toString()
toString
-
-
-
Method Detail
-
setNotifyTime
public void setNotifyTime(Date notifyTime)
setNotifyTime
- Parameters:
notifyTime
- aDate
object.
-
setContactInfo
public void setContactInfo(String contactInfo)
setContactInfo
- Parameters:
contactInfo
- aString
object.
-
setAutoNotify
public void setAutoNotify(String autoNotify)
setAutoNotify
- Parameters:
autoNotify
- aString
object.
-
getNotification
public OnmsNotification getNotification()
getNotification
- Returns:
- a
OnmsNotification
object.
-
setNotification
public void setNotification(OnmsNotification notification)
setNotification
- Parameters:
notification
- aOnmsNotification
object.
-
-