Package org.opennms.netmgt.model
Class OnmsUserNotification
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsUserNotification
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public class OnmsUserNotification extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnmsUserNotification()
default constructorOnmsUserNotification(java.lang.String userId, java.util.Date notifyTime, java.lang.String media, java.lang.String contactInfo, java.lang.String autoNotify, OnmsNotification notification, java.lang.Integer id)
full constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAutoNotify()
getAutoNotifyjava.lang.String
getContactInfo()
getContactInfojava.lang.Integer
getId()
getIdjava.lang.String
getMedia()
getMediaOnmsNotification
getNotification()
getNotificationjava.util.Date
getNotifyTime()
getNotifyTimejava.lang.String
getUserId()
getUserIdvoid
setAutoNotify(java.lang.String autoNotify)
setAutoNotifyvoid
setContactInfo(java.lang.String contactInfo)
setContactInfovoid
setId(java.lang.Integer id)
setIdvoid
setMedia(java.lang.String media)
setMediavoid
setNotification(OnmsNotification notification)
setNotificationvoid
setNotifyTime(java.util.Date notifyTime)
setNotifyTimevoid
setUserId(java.lang.String userId)
setUserIdjava.lang.String
toString()
toString
-
-
-
Constructor Detail
-
OnmsUserNotification
public OnmsUserNotification(java.lang.String userId, java.util.Date notifyTime, java.lang.String media, java.lang.String contactInfo, java.lang.String autoNotify, OnmsNotification notification, java.lang.Integer id)
full constructor- Parameters:
userId
- aString
object.notifyTime
- aDate
object.media
- aString
object.contactInfo
- aString
object.autoNotify
- aString
object.notification
- aOnmsNotification
object.id
- aInteger
object.
-
OnmsUserNotification
public OnmsUserNotification()
default constructor
-
-
Method Detail
-
getId
public java.lang.Integer getId()
getId
- Returns:
- a
Integer
object.
-
setId
public void setId(java.lang.Integer id)
setId
- Parameters:
id
- aInteger
object.
-
getUserId
public java.lang.String getUserId()
getUserId
- Returns:
- a
String
object.
-
setUserId
public void setUserId(java.lang.String userId)
setUserId
- Parameters:
userId
- aString
object.
-
getNotifyTime
public java.util.Date getNotifyTime()
getNotifyTime
- Returns:
- a
Date
object.
-
setNotifyTime
public void setNotifyTime(java.util.Date notifyTime)
setNotifyTime
- Parameters:
notifyTime
- aDate
object.
-
getMedia
public java.lang.String getMedia()
getMedia
- Returns:
- a
String
object.
-
setMedia
public void setMedia(java.lang.String media)
setMedia
- Parameters:
media
- aString
object.
-
getContactInfo
public java.lang.String getContactInfo()
getContactInfo
- Returns:
- a
String
object.
-
setContactInfo
public void setContactInfo(java.lang.String contactInfo)
setContactInfo
- Parameters:
contactInfo
- aString
object.
-
getAutoNotify
public java.lang.String getAutoNotify()
getAutoNotify
- Returns:
- a
String
object.
-
setAutoNotify
public void setAutoNotify(java.lang.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.
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
-