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