Class RemoteFieldComponentMapper<I extends RemoteField,O extends RemoteFieldBean>
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.RemoteFieldComponentMapper<I,O>
- All Implemented Interfaces:
ComponentMapper<I,
O>
@Component
public class RemoteFieldComponentMapper<I extends RemoteField,O extends RemoteFieldBean>
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
ConstructorDescriptionRemoteFieldComponentMapper
(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
-
RemoteFieldComponentMapper
public RemoteFieldComponentMapper(TextResources textResources, FormComponentDefaultValueResolver formComponentDefaultValueResolver, EntityModelService entityModelService)
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<I extends RemoteField,
O extends RemoteFieldBean> - Overrides:
map
in classFieldMapper<I extends RemoteField,
O extends RemoteFieldBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classFieldMapper<I extends RemoteField,
O extends RemoteFieldBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<I extends RemoteField,
O extends RemoteFieldBean> - Overrides:
getComponentClass
in classFieldMapper<I extends RemoteField,
O extends RemoteFieldBean>
-