@Entity public class DefaultAddress extends Object implements Address
| Constructor and Description |
|---|
DefaultAddress()
Empty constructor
|
DefaultAddress(Address address)
Copy constructor from an existing address.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCountry() |
String |
getFormatted() |
Long |
getId()
Get the system-specific ID of the Address object
|
String |
getLocality() |
String |
getPostalCode() |
String |
getRegion() |
String |
getStreetAddress() |
int |
hashCode() |
void |
setCountry(String country) |
void |
setFormatted(String formatted) |
void |
setId(Long id) |
void |
setLocality(String locality) |
void |
setPostalCode(String postalCode) |
void |
setRegion(String region) |
void |
setStreetAddress(String streetAddress) |
public DefaultAddress()
public DefaultAddress(Address address)
address - public String getFormatted()
getFormatted in interface Addresspublic void setFormatted(String formatted)
setFormatted in interface Addressformatted - the formatted address to setpublic String getStreetAddress()
getStreetAddress in interface Addresspublic void setStreetAddress(String streetAddress)
setStreetAddress in interface AddressstreetAddress - the streetAddress to setpublic String getLocality()
getLocality in interface Addresspublic void setLocality(String locality)
setLocality in interface Addresslocality - the locality to setpublic String getPostalCode()
getPostalCode in interface Addresspublic void setPostalCode(String postalCode)
setPostalCode in interface AddresspostalCode - the postalCode to setpublic String getCountry()
getCountry in interface Addresspublic void setCountry(String country)
setCountry in interface Addresscountry - the country to setpublic Long getId()
AddressCopyright © 2018. All rights reserved.