Class XmlMappingDS
- java.lang.Object
-
- com.aquima.interactions.foundation.report.ReportingDS
-
- com.aquima.interactions.mapping.ds.xml.r8.parsing.XmlMappingDS
-
- All Implemented Interfaces:
IReportingDS
,IMappingDS
public class XmlMappingDS extends ReportingDS implements IMappingDS
Implementation of the IMappingDS interface using a mapping definition from an r8 XML.- Since:
- 7.2
- Author:
- Jon van Leuven
-
-
Field Summary
-
Fields inherited from interface com.aquima.interactions.mapping.ds.IMappingDS
CATEGORY
-
-
Constructor Summary
Constructors Constructor Description XmlMappingDS(IInitializationReport report, IXmlNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
This method returns a unique name of the mapping.String
getSourceName()
This method returns the name of the source module.Version
getSourceVersion()
This method returns the version of the source module.String
getTargetName()
This method returns the name of the target module.Version
getTargetVersion()
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 Detail
-
XmlMappingDS
public XmlMappingDS(IInitializationReport report, IXmlNode node)
-
-
Method Detail
-
getName
public String 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.
-
getSourceName
public String 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
public Version 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
public String 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
public Version 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.
-
iterateMappings
public void iterateMappings(IEntityMappingVisitor visitor)
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.
-
-