Class PersonalInformation

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

public class PersonalInformation extends Object
Represent's a user's personal information
  • Constructor Details

    • PersonalInformation

      public PersonalInformation(String name, String email, String phoneNumber)
      Constructor for the user's PersonalInformation.
    • PersonalInformation

      public PersonalInformation()
      No-arg constructor for PersonalInformation. Required by Firestore.
  • Method Details

    • getName

      public String getName()
      Gets the name of user
      Returns:
      The name
    • setName

      public void setName(String name)
      Sets the name of the user
      Parameters:
      name - The name
    • getEmail

      public String getEmail()
      Gets the email of the user
      Returns:
      The email
    • setEmail

      public void setEmail(String email)
      Sets the email of the user
      Parameters:
      email - The email
    • getPhoneNumber

      public String getPhoneNumber()
      Gets the phone number of the user
      Returns:
      The phone number
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
      Sets the phone number of the user
      Parameters:
      phoneNumber - The phone number
    • isFullyFilled

      public boolean isFullyFilled()
      Checks if the personal information is fully filled
      Returns:
      True if it is fully filled. False otherwise.