org.opennms.netmgt.model
Class OnmsUserNotification

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsUserNotification
All Implemented Interfaces:
Serializable

public class OnmsUserNotification
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
OnmsUserNotification()
          default constructor
OnmsUserNotification(String userId, Date notifyTime, String media, String contactInfo, String autoNotify, OnmsNotification notification, Integer id)
          full constructor
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnmsUserNotification

public OnmsUserNotification(String userId,
                            Date notifyTime,
                            String media,
                            String contactInfo,
                            String autoNotify,
                            OnmsNotification notification,
                            Integer id)
full constructor

Parameters:
userId - a String object.
notifyTime - a Date object.
media - a String object.
contactInfo - a String object.
autoNotify - a String object.
notification - a OnmsNotification object.
id - a Integer object.

OnmsUserNotification

public OnmsUserNotification()
default constructor

Method Detail

getId

public Integer getId()

getId

Returns:
a Integer object.

setId

public void setId(Integer id)

setId

Parameters:
id - a Integer object.

getUserId

public String getUserId()

getUserId

Returns:
a String object.

setUserId

public void setUserId(String userId)

setUserId

Parameters:
userId - a String object.

getNotifyTime

public Date getNotifyTime()

getNotifyTime

Returns:
a Date object.

setNotifyTime

public void setNotifyTime(Date notifyTime)

setNotifyTime

Parameters:
notifyTime - a Date object.

getMedia

public String getMedia()

getMedia

Returns:
a String object.

setMedia

public void setMedia(String media)

setMedia

Parameters:
media - a String object.

getContactInfo

public String getContactInfo()

getContactInfo

Returns:
a String object.

setContactInfo

public void setContactInfo(String contactInfo)

setContactInfo

Parameters:
contactInfo - a String object.

getAutoNotify

public String getAutoNotify()

getAutoNotify

Returns:
a String object.

setAutoNotify

public void setAutoNotify(String autoNotify)

setAutoNotify

Parameters:
autoNotify - a String object.

getNotification

public OnmsNotification getNotification()

getNotification

Returns:
a OnmsNotification object.

setNotification

public void setNotification(OnmsNotification notification)

setNotification

Parameters:
notification - a OnmsNotification object.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.