Class Notification

java.lang.Object
com.example.oblong.Notification

public class Notification extends Object
The Notification class handles the notifications that the organizer sends to users Also retreives and stores the notification data within the Firebase using the evntID
  • Constructor Details

    • Notification

      public Notification(String eventID)
      The Notification method retrieves notification data belonging to an eventID
      Parameters:
      eventID -
  • Method Details

    • getLabel

      public String getLabel()
      The getLabel method returns the label of the notification
      Returns:
    • setLabel

      public void setLabel(String label)
      The setLabel method sets the label of the notification
      Parameters:
      label -
    • getContent

      public String getContent()
      The getContent method returns the content of the notification
      Returns:
    • setContent

      public void setContent(String content)
      The setContent method sets the content of the notification
      Parameters:
      content -
    • getTargets

      public String getTargets()
      The getTargets method returns the targets of the notification
      Returns:
    • setTargets

      public void setTargets(String targets)
      The setTargets method sets the targets of the notification
      Parameters:
      targets -
    • getEventID

      public String getEventID()
      The getEventID method returns the eventID of the notification
      Returns:
    • setEventID

      public void setEventID(String eventID)
      The setEventID method sets the eventID of the notification
      Parameters:
      eventID -