Package nl.paston.apollon.model.person
Class Person
- java.lang.Object
-
- nl.paston.apollon.model.person.Person
-
- All Implemented Interfaces:
Serializable
@Entity public class Person extends Object implements Serializable
- Author:
- marti
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerson.Type
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)Personclone()booleanequals(Object o)intfindAge()Objectget(String key)AddressgetAddress()BooleangetBoolean(String key)LocalDategetDateOfBirth()DoublegetDouble(String key)StringgetHouseHold()LonggetId()IntegergetIncome()IntegergetInteger(String key)Map<String,String>getMap()StringgetString(String key)Person.TypegetType()inthashCode()Map<String,String>map()Stringput(String key, String value)voidputAll(Map<String,String> newMap)voidsetAddress(Address address)voidsetDateOfBirth(LocalDate dateOfBirth)voidsetHouseHold(String houseHold)voidsetId(Long id)voidsetIncome(Integer income)voidsetType(Person.Type type)StringtoString()
-
-
-
Method Detail
-
findAge
public int findAge()
-
getId
public Long getId()
-
getType
public Person.Type getType()
-
getAddress
public Address getAddress()
-
getDateOfBirth
public LocalDate getDateOfBirth()
-
getIncome
public Integer getIncome()
-
getHouseHold
public String getHouseHold()
-
setId
public void setId(Long id)
-
setType
public void setType(Person.Type type)
-
setAddress
public void setAddress(Address address)
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
setIncome
public void setIncome(Integer income)
-
setHouseHold
public void setHouseHold(String houseHold)
-
canEqual
protected boolean canEqual(Object other)
-
-