Class NotificationSettings

java.lang.Object
com.example.skeddly.business.user.NotificationSettings

public class NotificationSettings extends Object
Represent's a user's notification settings
  • Constructor Details

    • NotificationSettings

      public NotificationSettings()
      No arg Constructor for the NotificationSettings
  • Method Details

    • getLotteryStatus

      public boolean getLotteryStatus()
      Gets whether the user has lottery status notification enabled
      Returns:
      True if the notifications are enabled. False otherwise.
    • setLotteryStatus

      public void setLotteryStatus(boolean lotteryStatus)
      Sets whether the user has lottery status notification enabled
      Parameters:
      lotteryStatus - True if the notifications are enabled. False otherwise.
    • getEventUpdate

      public boolean getEventUpdate()
      Gets whether the user has event update notification enabled
      Returns:
      True if the notifications are enabled. False otherwise.
    • setEventUpdate

      public void setEventUpdate(boolean eventUpdate)
      Sets whether the user has event update notification enabled
      Parameters:
      eventUpdate - True if the notifications are enabled. False otherwise.
    • getAdministrative

      public boolean getAdministrative()
      Gets whether the user has administrative notification enabled
      Returns:
      True if the notifications are enabled. False otherwise.
    • setAdministrative

      public void setAdministrative(boolean administrative)
      Sets whether the user has administrative notification enabled
      Parameters:
      administrative - True if the notifications are enabled. False otherwise.