public class SelectOneTestBean extends AbstractTestComponentWithIntegerValuesBean implements Serializable
Constructor and Description |
---|
SelectOneTestBean() |
Modifier and Type | Method and Description |
---|---|
List<javax.faces.model.SelectItem> |
getCountries()
Gets all the countries.
|
Iso3166Country |
getCountry()
Gets the country.
|
javax.faces.model.SelectItem |
getDecember()
Gets the month December as a single SelectItem.
|
javax.faces.model.SelectItem[] |
getFirstQuarterMonths()
Gets the Months of the first quarter as SelectItems.
|
javax.faces.model.SelectItem[] |
getIntegerSelectItems()
Gets the Integer SelectItems.
|
CodeDescription |
getMonth()
Gets the Month as a CodeDescription.
|
PersistAction |
getPersistAction()
Gets the PersistAction.
|
PersistAction[] |
getPersistActions()
Gets all the PersistActions.
|
List<javax.faces.model.SelectItem> |
getPersistActionSelectItems()
Gets the PersistAction SelectItems.
|
Planet |
getPlanet()
Gets the Planet.
|
List<javax.faces.model.SelectItem> |
getPlanetSelectItems()
Gets the Planets as SelectItems.
|
List<javax.faces.model.SelectItem> |
getSecondQuarterMonths()
Gets the Months of the second quarter as SelectItems.
|
Map<String,CodeDescription> |
getThirdQuarterMonths()
Gets the Months of the third quarter as CodeDescriptions.
|
void |
setCountry(Iso3166Country country)
Sets the country.
|
void |
setMonth(CodeDescription month)
Sets the Month as a CodeDescription.
|
void |
setPersistAction(PersistAction persistAction)
Sets the PersistAction.
|
void |
setPlanet(Planet planet)
Sets the Planet.
|
getNormalValue, getReadonlyInputValue, getReadonlyOutputValue, getRequiredValue, setNormalValue, setRequiredValue
getLocale, getUserSettingsBean, setUserSettingsBean
public javax.faces.model.SelectItem[] getIntegerSelectItems()
public PersistAction[] getPersistActions()
public List<javax.faces.model.SelectItem> getPersistActionSelectItems()
public PersistAction getPersistAction()
public void setPersistAction(PersistAction persistAction)
persistAction
- The PersistAction.public List<javax.faces.model.SelectItem> getPlanetSelectItems()
public Planet getPlanet()
public void setPlanet(Planet planet)
planet
- The Planet.public List<javax.faces.model.SelectItem> getCountries()
Iso3166Country
and the SelectItem's label is the localized
description of the Iso3166Country
.public Iso3166Country getCountry()
public void setCountry(Iso3166Country country)
country
- The country.public javax.faces.model.SelectItem[] getFirstQuarterMonths()
public List<javax.faces.model.SelectItem> getSecondQuarterMonths()
public Map<String,CodeDescription> getThirdQuarterMonths()
public javax.faces.model.SelectItem getDecember()
public CodeDescription getMonth()
public void setMonth(CodeDescription month)
month
- The Month.Copyright © 2008–2018. All rights reserved.