Package org.cyclos.model.utils
Class LocalizationData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.LocalizationData
-
- All Implemented Interfaces:
Serializable
public class LocalizationData extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CountryVO,LocalizationData>COUNTRIESstatic BasicProperty<CountryVO,LocalizationData>SELECTED_COUNTRYstatic ListProperty<TimeZoneVO,LocalizationData>SELECTED_COUNTRY_TIME_ZONESstatic BasicProperty<TimeZoneVO,LocalizationData>SELECTED_TIME_ZONE
-
Constructor Summary
Constructors Constructor Description LocalizationData()LocalizationData(Property<T,? super LocalizationData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<CountryVO>getCountries()CountryVOgetSelectedCountry()List<TimeZoneVO>getSelectedCountryTimeZones()TimeZoneVOgetSelectedTimeZone()voidsetCountries(List<CountryVO> countries)voidsetSelectedCountry(CountryVO selectedCountry)voidsetSelectedCountryTimeZones(List<TimeZoneVO> selectedCountryTimeZones)voidsetSelectedTimeZone(TimeZoneVO selectedTimeZone)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
COUNTRIES
public static final ListProperty<CountryVO,LocalizationData> COUNTRIES
-
SELECTED_COUNTRY
public static final BasicProperty<CountryVO,LocalizationData> SELECTED_COUNTRY
-
SELECTED_COUNTRY_TIME_ZONES
public static final ListProperty<TimeZoneVO,LocalizationData> SELECTED_COUNTRY_TIME_ZONES
-
SELECTED_TIME_ZONE
public static final BasicProperty<TimeZoneVO,LocalizationData> SELECTED_TIME_ZONE
-
-
Constructor Detail
-
LocalizationData
public LocalizationData()
-
LocalizationData
public LocalizationData(Property<T,? super LocalizationData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getSelectedCountry
public CountryVO getSelectedCountry()
-
setSelectedCountry
public void setSelectedCountry(CountryVO selectedCountry)
-
getSelectedCountryTimeZones
public List<TimeZoneVO> getSelectedCountryTimeZones()
-
setSelectedCountryTimeZones
public void setSelectedCountryTimeZones(List<TimeZoneVO> selectedCountryTimeZones)
-
getSelectedTimeZone
public TimeZoneVO getSelectedTimeZone()
-
setSelectedTimeZone
public void setSelectedTimeZone(TimeZoneVO selectedTimeZone)
-
-