Class ReportingMappingDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.mapping.report.ReportingMappingDS
- All Implemented Interfaces:
IReportingDS
,IMappingDS
IMappingDS implementation that adds error reporting.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Field Summary
Fields inherited from interface com.aquima.interactions.mapping.ds.IMappingDS
CATEGORY
-
Constructor Summary
ConstructorsConstructorDescriptionReportingMappingDS
(IInitializationReport report, IMappingDS datasource) Constructs the wrapper with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
This method returns a unique name of the mapping.This method returns the name of the source module.This method returns the version of the source module.This method returns the name of the target module.This method returns the version of the target module.void
iterateMappings
(IEntityMappingVisitor visitor) This method should iterate over all the entity mappings and add a data source for each mapping that should be used.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
ReportingMappingDS
Constructs the wrapper with the required arguments.- Parameters:
report
- The report that should be used to add errors and warnings to.datasource
- The data source that should be wrapped.
-
-
Method Details
-
getName
Description copied from interface:IMappingDS
This method returns a unique name of the mapping.- Specified by:
getName
in interfaceIMappingDS
- Returns:
- The unique name, never null or empty.
-
iterateMappings
Description copied from interface:IMappingDS
This method should iterate over all the entity mappings and add a data source for each mapping that should be used.- Specified by:
iterateMappings
in interfaceIMappingDS
- Parameters:
visitor
- The visitor that should be used to add the entity mappings to.
-
getSourceName
Description copied from interface:IMappingDS
This method returns the name of the source module.- Specified by:
getSourceName
in interfaceIMappingDS
- Returns:
- The name of the source module.
-
getSourceVersion
Description copied from interface:IMappingDS
This method returns the version of the source module.- Specified by:
getSourceVersion
in interfaceIMappingDS
- Returns:
- the version of the source module.
-
getTargetName
Description copied from interface:IMappingDS
This method returns the name of the target module.- Specified by:
getTargetName
in interfaceIMappingDS
- Returns:
- The name of the target module.
-
getTargetVersion
Description copied from interface:IMappingDS
This method returns the version of the target module.- Specified by:
getTargetVersion
in interfaceIMappingDS
- Returns:
- the version of the target module.
-