Class FormatFieldMapper
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<FormatField,FormatFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper<FormatField,FormatFieldBean>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FormatFieldMapper
- All Implemented Interfaces:
ComponentMapper<FormatField,
FormatFieldBean>
-
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
ConstructorsConstructorDescriptionFormatFieldMapper
(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<FormatFieldBean> Should be overridden in subclasses.map
(FormatField component, Component.Configuration configuration) Methods inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.FieldMapper
getComponentType
-
Constructor Details
-
FormatFieldMapper
public FormatFieldMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<FormatField,
FormatFieldBean> - Overrides:
map
in classFieldMapper<FormatField,
FormatFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classFieldMapper<FormatField,
FormatFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<FormatField,
FormatFieldBean> - Overrides:
getComponentClass
in classFieldMapper<FormatField,
FormatFieldBean>
-