Class Address
- java.lang.Object
-
- org.apache.wicket.examples.compref.Address
-
- All Implemented Interfaces:
Serializable,IClusterable
public class Address extends Object implements IClusterable
An address.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Address()Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Gets the address.StringgetCity()Gets the city.StringgetCountry()Gets the country.StringgetPostcode()Gets the postcode.voidsetAddress(String address)Sets the address.voidsetCity(String city)Sets the city.voidsetCountry(String country)Sets the country.voidsetPostcode(String postcode)Sets the postcode.StringtoString()
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the address.- Returns:
- address
-
setAddress
public void setAddress(String address)
Sets the address.- Parameters:
address- address
-
getCity
public String getCity()
Gets the city.- Returns:
- city
-
setCity
public void setCity(String city)
Sets the city.- Parameters:
city- city
-
getCountry
public String getCountry()
Gets the country.- Returns:
- country
-
setCountry
public void setCountry(String country)
Sets the country.- Parameters:
country- country
-
getPostcode
public String getPostcode()
Gets the postcode.- Returns:
- postcode
-
setPostcode
public void setPostcode(String postcode)
Sets the postcode.- Parameters:
postcode- postcode
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-