Class OnmsUserNotification

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class OnmsUserNotification
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • 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 - 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 java.lang.Integer getId()

        getId

        Returns:
        a Integer object.
      • setId

        public void setId​(java.lang.Integer id)

        setId

        Parameters:
        id - a Integer object.
      • getUserId

        public java.lang.String getUserId()

        getUserId

        Returns:
        a String object.
      • setUserId

        public void setUserId​(java.lang.String userId)

        setUserId

        Parameters:
        userId - a String object.
      • getNotifyTime

        public java.util.Date getNotifyTime()

        getNotifyTime

        Returns:
        a Date object.
      • setNotifyTime

        public void setNotifyTime​(java.util.Date notifyTime)

        setNotifyTime

        Parameters:
        notifyTime - a Date object.
      • getMedia

        public java.lang.String getMedia()

        getMedia

        Returns:
        a String object.
      • setMedia

        public void setMedia​(java.lang.String media)

        setMedia

        Parameters:
        media - a String object.
      • getContactInfo

        public java.lang.String getContactInfo()

        getContactInfo

        Returns:
        a String object.
      • setContactInfo

        public void setContactInfo​(java.lang.String contactInfo)

        setContactInfo

        Parameters:
        contactInfo - a String object.
      • getAutoNotify

        public java.lang.String getAutoNotify()

        getAutoNotify

        Returns:
        a String object.
      • setAutoNotify

        public void setAutoNotify​(java.lang.String autoNotify)

        setAutoNotify

        Parameters:
        autoNotify - a String object.
      • toString

        public java.lang.String toString()

        toString

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