Class Person
java.lang.Object
com.datengaertnerei.test.dataservice.person.Person
Person entity class for persistence inspired by
person schema.
- Author:
- Jens Dibbern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
int
getTaxId()
int
void
setAddress
(PostalAddress address) void
setBirthName
(String birthName) void
setComment
(String comment) void
setProfession
(String profession) void
-
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 valuefamilyName
- family name attribute valuegender
- gender attribute valuebirthDate
- date of birth attribute valueheight
- height attribute valueeyecolor
- eyecolor attribute valueemail
- email address attribute valuetaxId
- taxId attribute value
-
-
Method Details
-
getGivenName
- Returns:
- getter
-
getFamilyName
- Returns:
- getter
-
getBirthName
- Returns:
- getter
-
setBirthName
- Parameters:
birthName
- setter
-
getGender
- Returns:
- getter
-
getBirthDate
- Returns:
- getter
-
getHeight
public int getHeight()- Returns:
- getter
-
getEyecolor
- Returns:
- getter
-
getEmail
- Returns:
- getter
-
getAddress
- Returns:
- getter
-
setAddress
- Parameters:
address
- setter
-
getTaxId
- Returns:
- getter
-
setTaxId
- Parameters:
taxId
- setter
-
getComment
- Returns:
- getter
-
setComment
- Parameters:
comment
- setter
-
getWeight
public int getWeight()- Returns:
- getter
-
getProfession
- Returns:
- getter
-
setProfession
- Parameters:
profession
- setter
-