public interface Person
This is the Person entity. We save each person in a database.
| Modifier and Type | Method and Description |
|---|---|
void |
addAddresses(Address address) |
Integer |
calculateAge()
Calculate the age of this person.
|
void |
changeLastAddress(Address address,
Boolean isLastOne) |
Collection<Address> |
getAddresses() |
Company |
getCompany() |
String |
getName()
Name of the person.
|
Boolean |
isInRetirement() |
Date[] |
run(byte[] content) |
void |
setCompany(Company company) |
void |
setName(String name)
Name of the person.
|
Integer calculateAge()
Boolean isInRetirement()
Date[] run(byte[] content)
String getName()
Name of the person.
void setName(String name)
Name of the person.
Collection<Address> getAddresses()
void addAddresses(Address address)
Company getCompany()
void setCompany(Company company)
Copyright © 2012-2013. All Rights Reserved.