Class Event


  • public class Event
    extends Object
    NotificationEvent class, object to log events as delivery success or failure.
    • Constructor Detail

      • Event

        public Event()
    • Method Detail

      • getId

        public int getId()
        Gives the notification id
        Returns:
        the notification id
      • setId

        public void setId​(int nId)
        Sets the notification id
        Parameters:
        nId - the id to set
      • getEventDate

        public Long getEventDate()
        Returns the Notification Event Date.
        Returns:
        The NotificationDate
      • setEventDate

        public void setEventDate​(Long lEventDate)
        Sets the NotificationDate.
        Parameters:
        lEventDate -
      • getType

        public String getType()
        get type of event
        Returns:
        the type
      • setType

        public void setType​(String _strType)
        set type
        Parameters:
        _strType -
      • getStatus

        public String getStatus()
        get the status
        Returns:
        the status
      • setStatus

        public void setStatus​(String _strStatus)
        set the status
        Parameters:
        _strStatus -
      • getReason

        public String getReason()
        get the reason
        Returns:
        the reason
      • setReason

        public void setReason​(String _strReason)
        set the reason
        Parameters:
        _strReason -
      • getMessage

        public String getMessage()
        get the message
        Returns:
        the message
      • setMessage

        public void setMessage​(String _strMessage)
        set the message
        Parameters:
        _strMessage -
      • getRedelivry

        public int getRedelivry()
        get the nb of times that the message has been redelivred
        Returns:
        the redelivry number
      • setRedelivry

        public void setRedelivry​(int nRedelivry)
        set redelivry nb
        Parameters:
        nRedelivry -