@Entity public class OnmsUserNotification extends Object implements Serializable
Constructor and Description |
---|
OnmsUserNotification()
default constructor
|
OnmsUserNotification(String userId,
Date notifyTime,
String media,
String contactInfo,
String autoNotify,
OnmsNotification notification,
Integer id)
full constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAutoNotify()
getAutoNotify
|
String |
getContactInfo()
getContactInfo
|
Integer |
getId()
getId
|
String |
getMedia()
getMedia
|
OnmsNotification |
getNotification()
getNotification
|
Date |
getNotifyTime()
getNotifyTime
|
String |
getUserId()
getUserId
|
void |
setAutoNotify(String autoNotify)
setAutoNotify
|
void |
setContactInfo(String contactInfo)
setContactInfo
|
void |
setId(Integer id)
setId
|
void |
setMedia(String media)
setMedia
|
void |
setNotification(OnmsNotification notification)
setNotification
|
void |
setNotifyTime(Date notifyTime)
setNotifyTime
|
void |
setUserId(String userId)
setUserId
|
String |
toString()
toString
|
public OnmsUserNotification(String userId, Date notifyTime, String media, String contactInfo, String autoNotify, OnmsNotification notification, Integer id)
public OnmsUserNotification()
public void setNotifyTime(Date notifyTime)
setNotifyTime
notifyTime
- a Date
object.public void setContactInfo(String contactInfo)
setContactInfo
contactInfo
- a String
object.public void setAutoNotify(String autoNotify)
setAutoNotify
autoNotify
- a String
object.public OnmsNotification getNotification()
getNotification
OnmsNotification
object.public void setNotification(OnmsNotification notification)
setNotification
notification
- a OnmsNotification
object.Copyright © 2021. All rights reserved.