Class Meeter

java.lang.Object
com.openmeet.shared.data.meeter.Meeter
All Implemented Interfaces:
IEntity

public class Meeter extends Object implements IEntity
  • Field Details

  • Constructor Details

    • Meeter

      public Meeter()
  • Method Details

    • toHashMap

      public HashMap<String,?> toHashMap()
      Returns the Meeter as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Returns:
      the Meeter as an hashMap.
      See Also:
    • toHashMap

      public HashMap<String,?> toHashMap(String... fields)
      Returns the Meeter as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Parameters:
      fields - the fields to be returned.
      Returns:
      the Meeter as an hashMap.
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public int getId()
      Returns the id of the Meeter.
      Returns:
      the id of the Meeter.
    • setId

      public void setId(int id)
      Sets the id of the Meeter.
      Parameters:
      id - the id of the Meeter.
    • getEmail

      public String getEmail()
      Returns the email of the Meeter.
      Returns:
      the email of the Meeter.
    • setEmail

      public void setEmail(String email)
      Sets the email of the Meeter.
      Parameters:
      email - the email of the Meeter.
    • getMeeterName

      public String getMeeterName()
      Returns the name of the Meeter.
      Returns:
      the name of the Meeter.
    • setMeeterName

      public void setMeeterName(String meeterName)
      Sets the name of the Meeter.
      Parameters:
      meeterName - the name of the Meeter.
    • getMeeterSurname

      public String getMeeterSurname()
      Returns the surname of the Meeter.
      Returns:
      the surname of the Meeter.
    • setMeeterSurname

      public void setMeeterSurname(String meeterSurname)
      Sets the surname of the Meeter.
      Parameters:
      meeterSurname - the surname of the Meeter.
    • getPwd

      public String getPwd()
      Returns the password of the Meeter.
      Returns:
      the password of the Meeter.
    • setPwd

      public void setPwd(String pwd, boolean encrypt)
      Sets the password of the Meeter using SHA1 encryption .
      Parameters:
      pwd - the password of the Meeter.
      encrypt - true if the password must be encrypted, false otherwise.
    • getGender

      public String getGender()
      Returns the gender of the Meeter.
      Returns:
      the gender of the Meeter.
    • setGender

      public void setGender(String gender)
      Sets the gender of the Meeter.
      Parameters:
      gender - the gender of the Meeter.
    • getSearchingGender

      public String getSearchingGender()
      Returns the searching gender of the Meeter.
      Returns:
      the searching gender of the Meeter.
    • setSearchingGender

      public void setSearchingGender(String searchingGender)
      Sets the searching gender of the Meeter.
      Parameters:
      searchingGender - the searching gender of the Meeter.
    • getCity

      public String getCity()
      Returns the city of the Meeter.
      Returns:
      the city of the Meeter.
    • setCity

      public void setCity(String city)
      Sets the city of the Meeter.
      Parameters:
      city - the city of the Meeter.
    • getBiography

      public String getBiography()
      Returns the biography of the Meeter.
      Returns:
      the biography of the Meeter.
    • setBiography

      public void setBiography(String biography)
      Sets the biography of the Meeter.
      Parameters:
      biography - the biography of the Meeter.
    • getBirthdate

      public Date getBirthdate()
      Returns the birthdate of the Meeter.
      Returns:
      the birthdate of the Meeter.
    • setBirthdate

      public void setBirthdate(Date birthdate)
      Sets the birthdate of the Meeter.
      Parameters:
      birthdate - the birthdate of the Meeter.
    • getPublicKey

      public String getPublicKey()
      Returns the age of the Meeter.
      Returns:
      the age of the Meeter.
    • setPublicKey

      public void setPublicKey(String publicKey)
      Sets the public key of the Meeter.
      Parameters:
      publicKey - the public key of the Meeter.