Class SelectBoxComponentMapper<I extends SelectBox,O extends SelectBoxBean>
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<I,O>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper<I,O>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.SelectBoxComponentMapper<I,O>
- All Implemented Interfaces:
ComponentMapper<I,
O>
@Component
public class SelectBoxComponentMapper<I extends SelectBox,O extends SelectBoxBean>
extends FieldMapper<I,O>
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
formComponentDefaultValueResolver
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
ConstructorDescriptionSelectBoxComponentMapper
(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService) -
Method Summary
Modifier and TypeMethodDescriptionShould be overridden in subclasses.map
(I component, Component.Configuration configuration) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
getComponentType
-
Constructor Details
-
SelectBoxComponentMapper
public SelectBoxComponentMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<I extends SelectBox,
O extends SelectBoxBean> - Overrides:
map
in classFieldMapper<I extends SelectBox,
O extends SelectBoxBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classFieldMapper<I extends SelectBox,
O extends SelectBoxBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<I extends SelectBox,
O extends SelectBoxBean> - Overrides:
getComponentClass
in classFieldMapper<I extends SelectBox,
O extends SelectBoxBean>
-