Class GeosearchFieldMapper
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<GeosearchField,GeosearchFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.GeosearchFieldMapper
- All Implemented Interfaces:
ComponentMapper<GeosearchField,
GeosearchFieldBean>
@Component
public class GeosearchFieldMapper
extends BaseComponentMapper<GeosearchField,GeosearchFieldBean>
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<GeosearchFieldBean> Should be overridden in subclasses.map
(GeosearchField component, Component.Configuration configuration) void
setDefaultCountries
(String defaultCountries) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
getComponentType
-
Field Details
-
COUNTRY_SPLITTER
public static final com.google.common.base.Splitter COUNTRY_SPLITTER
-
-
Constructor Details
-
GeosearchFieldMapper
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<GeosearchField,
GeosearchFieldBean> - Overrides:
map
in classBaseComponentMapper<GeosearchField,
GeosearchFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classBaseComponentMapper<GeosearchField,
GeosearchFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<GeosearchField,
GeosearchFieldBean> - Overrides:
getComponentClass
in classBaseComponentMapper<GeosearchField,
GeosearchFieldBean>
-
setDefaultCountries
@Value("${nice2.default.locationFieldCountries}") public void setDefaultCountries(String defaultCountries)
-