Class Event


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

      Constructors 
      Constructor Description
      Event()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long getEventDate()
      Returns the Notification Event Date.
      int getId()
      Gives the notification id
      java.lang.String getMessage()
      get the message
      java.lang.String getReason()
      get the reason
      int getRedelivry()
      get the nb of times that the message has been redelivred
      java.lang.String getStatus()
      get the status
      java.lang.String getType()
      get type of event
      void setEventDate​(java.lang.Long lEventDate)
      Sets the NotificationDate.
      void setId​(int nId)
      Sets the notification id
      void setMessage​(java.lang.String _strMessage)
      set the message
      void setReason​(java.lang.String _strReason)
      set the reason
      void setRedelivry​(int nRedelivry)
      set redelivry nb
      void setStatus​(java.lang.String _strStatus)
      set the status
      void setType​(java.lang.String _strType)
      set type
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.Long getEventDate()
        Returns the Notification Event Date.
        Returns:
        The NotificationDate
      • setEventDate

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

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

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

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

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

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

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

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

        public void setMessage​(java.lang.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 -