java.lang.Object
com.datengaertnerei.test.dataservice.person.Person

public class Person extends Object
Person entity class for persistence inspired by person schema.
Author:
Jens Dibbern
  • Constructor Details

    • Person

      public Person(String givenName, String familyName, String gender, LocalDate birthDate, int height, String eyecolor, String email, String taxId)
      Ctor with values.
      Parameters:
      givenName - given name attribute value
      familyName - family name attribute value
      gender - gender attribute value
      birthDate - date of birth attribute value
      height - height attribute value
      eyecolor - eyecolor attribute value
      email - email address attribute value
      taxId - taxId attribute value
  • Method Details

    • getGivenName

      public String getGivenName()
      Returns:
      getter
    • getFamilyName

      public String getFamilyName()
      Returns:
      getter
    • getBirthName

      public String getBirthName()
      Returns:
      getter
    • setBirthName

      public void setBirthName(String birthName)
      Parameters:
      birthName - setter
    • getGender

      public String getGender()
      Returns:
      getter
    • getBirthDate

      public LocalDate getBirthDate()
      Returns:
      getter
    • getHeight

      public int getHeight()
      Returns:
      getter
    • getEyecolor

      public String getEyecolor()
      Returns:
      getter
    • getEmail

      public String getEmail()
      Returns:
      getter
    • getAddress

      public PostalAddress getAddress()
      Returns:
      getter
    • setAddress

      public void setAddress(PostalAddress address)
      Parameters:
      address - setter
    • getTaxId

      public String getTaxId()
      Returns:
      getter
    • setTaxId

      public void setTaxId(String taxId)
      Parameters:
      taxId - setter
    • getComment

      public String getComment()
      Returns:
      getter
    • setComment

      public void setComment(String comment)
      Parameters:
      comment - setter
    • getWeight

      public int getWeight()
      Returns:
      getter
    • getProfession

      public String getProfession()
      Returns:
      getter
    • setProfession

      public void setProfession(String profession)
      Parameters:
      profession - setter