public class ZipCodeTestBean extends AbstractCompositeComponentTestBean implements Serializable
Constructor and Description |
---|
ZipCodeTestBean() |
Modifier and Type | Method and Description |
---|---|
String |
getBelgiumZipCode()
Gets the Belgium zip code.
|
List<javax.faces.model.SelectItem> |
getCountries()
Gets all the countries.
|
Iso3166Country |
getCountry()
Gets the country.
|
String |
getCuracaoZipCode()
Gets the Curacao zip code.
|
String |
getDutchZipCode()
Gets the Dutch zip code.
|
String |
getUnitedKingdomZipCode()
Gets the United Kingdom zip code.
|
String |
getZipCode()
Gets the zip code.
|
void |
init()
Initializes this ZipCodeTestBean by getting all countries and sorting them by name.
|
void |
setBelgiumZipCode(String belgiumZipCode)
Sets the Belgium zip code.
|
void |
setCountry(Iso3166Country country)
Sets the country.
|
void |
setCuracaoZipCode(String curacaoZipCode)
Sets the Curacao zip code.
|
void |
setDutchZipCode(String dutchZipCode)
Sets the Dutch zip code.
|
void |
setUnitedKingdomZipCode(String unitedKingdomZipCode)
Sets the United Kingdom zip code.
|
void |
setZipCode(String zipCode)
Sets the zip code.
|
getLocale, getUserSettingsBean, setUserSettingsBean
@PostConstruct public void init()
public String getBelgiumZipCode()
public void setBelgiumZipCode(String belgiumZipCode)
belgiumZipCode
- The Belgium zip code.public String getDutchZipCode()
public void setDutchZipCode(String dutchZipCode)
dutchZipCode
- The Dutch zip code.public String getUnitedKingdomZipCode()
public void setUnitedKingdomZipCode(String unitedKingdomZipCode)
unitedKingdomZipCode
- The United Kingdom zip code.public String getCuracaoZipCode()
public void setCuracaoZipCode(String curacaoZipCode)
curacaoZipCode
- The Curacao zip code.public Iso3166Country getCountry()
public void setCountry(Iso3166Country country)
country
- The country.public List<javax.faces.model.SelectItem> getCountries()
Iso3166Country
and the SelectItem's
label is the localized description of the Iso3166Country
.public String getZipCode()
public void setZipCode(String zipCode)
zipCode
- The zip code.Copyright © 2008–2018. All rights reserved.