Class Notification

java.lang.Object
com.example.breeze_seas.Notification

public class Notification extends Object
Stores notification details.
  • Constructor Details

  • Method Details

    • getNotificationId

      public String getNotificationId()
    • setNotificationId

      public void setNotificationId(String notificationId)
    • getType

      public NotificationType getType()
    • setType

      public void setType(NotificationType type)
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • getEventId

      public String getEventId()
    • setEventId

      public void setEventId(String eventId)
    • getSentAt

      public com.google.firebase.Timestamp getSentAt()
    • setSentAt

      public void setSentAt(com.google.firebase.Timestamp sentAt)
    • getEventName

      public String getEventName()
    • setEventName

      public void setEventName(String eventName)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • isSeen

      public boolean isSeen()
    • setSeen

      public void setSeen(boolean seen)
    • getDisplayMessage

      public String getDisplayMessage()
      Create the final form of the notification text for different types of notifications.