Class User

java.lang.Object
com.openclassrooms.tourguide.user.User

public class User extends Object
  • Constructor Details

  • Method Details

    • getUserId

      public UUID getUserId()
    • getUserName

      public String getUserName()
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
    • getPhoneNumber

      public String getPhoneNumber()
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • getEmailAddress

      public String getEmailAddress()
    • setLatestLocationTimestamp

      public void setLatestLocationTimestamp(Date latestLocationTimestamp)
    • getLatestLocationTimestamp

      public Date getLatestLocationTimestamp()
    • addToVisitedLocations

      public void addToVisitedLocations(gpsUtil.location.VisitedLocation visitedLocation)
    • getVisitedLocations

      public List<gpsUtil.location.VisitedLocation> getVisitedLocations()
    • clearVisitedLocations

      public void clearVisitedLocations()
    • addUserReward

      public void addUserReward(UserReward reward)
    • getUserRewards

      public List<UserReward> getUserRewards()
    • getUserPreferences

      public UserPreferences getUserPreferences()
    • setUserPreferences

      public void setUserPreferences(UserPreferences userPreferences)
    • getLastVisitedLocation

      public gpsUtil.location.VisitedLocation getLastVisitedLocation()
    • setTripDeals

      public void setTripDeals(List<tripPricer.Provider> tripDeals)
    • getTripDeals

      public List<tripPricer.Provider> getTripDeals()