| Constructor and Description |
|---|
PersonImpl() |
| 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.
|
public Integer calculateAge()
PersoncalculateAge in interface Personpublic Boolean isInRetirement()
isInRetirement in interface Personpublic Company getCompany()
getCompany in interface Personpublic void setName(String name)
PersonName of the person.
public void setCompany(Company company)
setCompany in interface Personpublic void addAddresses(Address address)
addAddresses in interface Personpublic Collection<Address> getAddresses()
getAddresses in interface Personpublic void changeLastAddress(Address address, Boolean isLastOne)
changeLastAddress in interface PersonCopyright © 2012-2013. All Rights Reserved.