Class ColumnModelServiceImpl
java.lang.Object
ch.tocco.nice2.entityoperation.impl.importer.ColumnModelServiceImpl
- All Implemented Interfaces:
ColumnModelService
-
Constructor Summary
ConstructorDescriptionColumnModelServiceImpl
(TextResources textResources, ImportConverterServiceProvider importConverterServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptioncreateColumnModel
(EntityModel mainEntityModel, String field, GenericImporterValidateResult validateResult) getConvertibleFieldType
(EntityModel entityModel, String fieldName)
-
Constructor Details
-
ColumnModelServiceImpl
public ColumnModelServiceImpl(TextResources textResources, ImportConverterServiceProvider importConverterServiceProvider)
-
-
Method Details
-
createColumnModel
public GenericImporterService.ColumnModel createColumnModel(EntityModel mainEntityModel, String field, GenericImporterValidateResult validateResult) - Specified by:
createColumnModel
in interfaceColumnModelService
- Returns:
- a
GenericImporterService.ColumnModel
for the given entity model and field
-
getConvertibleFieldType
- Specified by:
getConvertibleFieldType
in interfaceColumnModelService
- Returns:
- the type or base type of the provided field model that can be converted given the present converters
-