| Constructor and Description |
|---|
AddressImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewPerson(Person newPerson) |
AddressSimpleType |
getAddressSimpleType() |
AddressType |
getAddressType() |
Collection<String> |
getNewAddresses() |
SortedSet<Person> |
getNewPersons() |
Address |
getOldAddress()
Get the old address of the current person.
|
Collection |
getOldAddresses() |
Person |
getPerson() |
String |
getStreet()
The street of this address.
|
boolean |
isOld() |
void |
setAddressSimpleType(AddressSimpleType addressSimpleType) |
void |
setAddressType(AddressType addressType) |
void |
setOld(boolean old) |
void |
setPerson(Person person) |
void |
setStreet(String street)
The street of this address.
|
String |
toString() |
public Address getOldAddress()
AddressgetOldAddress in interface Addresspublic String getStreet()
Addresspublic void setStreet(String street)
Addresspublic AddressType getAddressType()
getAddressType in interface Addresspublic void setAddressType(AddressType addressType)
setAddressType in interface Addresspublic Collection getOldAddresses()
getOldAddresses in interface Addresspublic Collection<String> getNewAddresses()
getNewAddresses in interface Addresspublic SortedSet<Person> getNewPersons()
getNewPersons in interface Addresspublic void addNewPerson(Person newPerson)
addNewPerson in interface Addresspublic AddressSimpleType getAddressSimpleType()
getAddressSimpleType in interface Addresspublic void setAddressSimpleType(AddressSimpleType addressSimpleType)
setAddressSimpleType in interface AddressCopyright © 2012-2014. All Rights Reserved.