Class User

java.lang.Object
com.example.rocket_launch.User

public class User extends Object
Defines a new user class containing all user information
  • Constructor Details

    • User

      public User()
  • Method Details

    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • getUserEmail

      public String getUserEmail()
    • setUserEmail

      public void setUserEmail(String userEmail)
    • getUserPhoneNumber

      public String getUserPhoneNumber()
    • setUserPhoneNumber

      public void setUserPhoneNumber(String userPhoneNumber)
    • getProfilePhoto

      public android.media.Image getProfilePhoto()
    • setProfilePhoto

      public void setProfilePhoto(android.media.Image profilePhoto)
    • getUserFacility

      public String getUserFacility()
    • setUserFacility

      public void setUserFacility(String userFacility)
    • getUserFacilityAddress

      public String getUserFacilityAddress()
    • setUserFacilityAddress

      public void setUserFacilityAddress(String userFacilityAddress)
    • getAndroidId

      public String getAndroidId()
    • setAndroidId

      public void setAndroidId(String androidId)
    • getRoles

      public Roles getRoles()
    • setRoles

      public void setRoles(Roles roles)
    • getNotifications

      public List<Notification> getNotifications()
    • setNotifications

      public void setNotifications(List<Notification> notifications)
    • addNotification

      public void addNotification(Notification notification)
    • getNotificationPreferences

      public Boolean getNotificationPreferences()
    • setNotificationPreferences

      public void setNotificationPreferences(Boolean notificationPreferences)
    • optInNotifications

      public void optInNotifications()
    • optOutNotifications

      public void optOutNotifications()
    • getEventsRegistered

      public List<String> getEventsRegistered()
    • setEventsRegistered

      public void setEventsRegistered(List<String> eventsRegistered)
    • addJoinedEvent

      public void addJoinedEvent(String id)
    • removeJoinedEvent

      public void removeJoinedEvent(String id)
    • getEventsCreated

      public List<String> getEventsCreated()
    • setEventsCreated

      public void setEventsCreated(List<String> eventsCreated)
    • addCreatedEvent

      public void addCreatedEvent(String id)
    • removeCreatedEvent

      public void removeCreatedEvent(String id)
    • getEventsWaitlisted

      public List<String> getEventsWaitlisted()
    • setEventsWaitlisted

      public void setEventsWaitlisted(List<String> eventsWaitlisted)
    • addWaitlistEvent

      public void addWaitlistEvent(String id)
      adds event to waitlist
      Parameters:
      id - id of event to add to
    • removeWaitlistEvent

      public void removeWaitlistEvent(String id)
      removes event from waitlist
      Parameters:
      id - id of event to remove
    • getProfilePhotoPath

      public String getProfilePhotoPath()
    • setProfilePhotoPath

      public void setProfilePhotoPath(String profilePhotoPath)