Class CompositeComponentMapper<I extends CompositeComponent,O extends CompositeComponentBean>
java.lang.Object
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper<I,O>
ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.CompositeComponentMapper<I,O>
- All Implemented Interfaces:
ComponentMapper<I,
O>
- Direct Known Subclasses:
FormMapper
public class CompositeComponentMapper<I extends CompositeComponent,O extends CompositeComponentBean>
extends BaseComponentMapper<I,O>
Composite components may have children. Children are handled in the
ComponentBeanFactory
.
This mapper is still necessary because it converts the ComponentBean
to a
CompositeComponentBean
.-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.form.impl.beans.factories.componentmappers.BaseComponentMapper
textResources
-
Constructor Summary
-
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.BaseComponentMapper
getComponentType
-
Constructor Details
-
CompositeComponentMapper
-
-
Method Details
-
map
- Specified by:
map
in interfaceComponentMapper<I extends CompositeComponent,
O extends CompositeComponentBean> - Overrides:
map
in classBaseComponentMapper<I extends CompositeComponent,
O extends CompositeComponentBean>
-
getBeanClass
Description copied from class:BaseComponentMapper
Should be overridden in subclasses.- Overrides:
getBeanClass
in classBaseComponentMapper<I extends CompositeComponent,
O extends CompositeComponentBean> - Returns:
- the class of the bean the mapper returns.
-
getComponentClass
- Specified by:
getComponentClass
in interfaceComponentMapper<I extends CompositeComponent,
O extends CompositeComponentBean> - Overrides:
getComponentClass
in classBaseComponentMapper<I extends CompositeComponent,
O extends CompositeComponentBean>
-