public class Address extends Object implements IClusterable
| Constructor and Description |
|---|
Address()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Gets the address.
|
String |
getCity()
Gets the city.
|
String |
getCountry()
Gets the country.
|
String |
getPostcode()
Gets the postcode.
|
void |
setAddress(String address)
Sets the address.
|
void |
setCity(String city)
Sets the city.
|
void |
setCountry(String country)
Sets the country.
|
void |
setPostcode(String postcode)
Sets the postcode.
|
String |
toString() |
public String getAddress()
public void setAddress(String address)
address - addresspublic String getCity()
public void setCity(String city)
city - citypublic String getCountry()
public void setCountry(String country)
country - countrypublic String getPostcode()
public void setPostcode(String postcode)
postcode - postcodepublic String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.