Package com.aquima.interactions.mapping
Interface IMappingFactory
- All Known Implementing Classes:
MappingFactory
public interface IMappingFactory
Interface for factories capable of creating mapping instances.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(IMappingDS datasource, IMetaModel sourceModel, IMetaModel targetModel, IExpressionParser sourceExpressionParser, IExpressionParser targetExpressionParser) This method creates a new profile mapper using the specified data source, parsers and models.
-
Method Details
-
create
IMapping create(IMappingDS datasource, IMetaModel sourceModel, IMetaModel targetModel, IExpressionParser sourceExpressionParser, IExpressionParser targetExpressionParser) This method creates a new profile mapper using the specified data source, parsers and models.- Parameters:
datasource
- The datasource providing the mapping definitions.sourceModel
- The metamodel of the source.targetModel
- The metamodel of the target.sourceExpressionParser
- The expression parser to evaluate expression from the source model.targetExpressionParser
- The expression parser to evaluate expression from the source model.- Returns:
- The profile mapper, never null.
- Throws:
InitializationException
- This exception is thrown when the mapper could not be initialised due to a fatal error.
-