Class XmlEntityMappingDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.mapping.ds.xml.r17.parsing.XmlEntityMappingDS
- All Implemented Interfaces:
IReportingDS
,IEntityMappingDS
Implementation of the IEntityMappingDS interface using a mapping definition from XML.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlEntityMappingDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThe method returns the mapping action when a matching source and target instances is found.The method returns the mapping action when no matching source instance is found.The method returns the mapping action when no matching target instance is found.This method returns the optional precondition for this target mapping.String[]
This method returns the optional source expressions that can be used to activate instance(s) during value mapping evaluation.This method returns the source expression that results in instances in the source profile.This method returns the name of the entity the values should be mapped to.void
This method will be invoked by the mapping component to request the information of all attributes mappings that are defined for this source mapping.void
This method will be invoked by the mapping component to request the information of all match conditions that are defined for this source mapping.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
-
Method Details
-
getActionForMatch
Description copied from interface:IEntityMappingDS
The method returns the mapping action when a matching source and target instances is found.- Specified by:
getActionForMatch
in interfaceIEntityMappingDS
- Returns:
- The mapping action, never null.
-
getActionForNoMatchingSource
Description copied from interface:IEntityMappingDS
The method returns the mapping action when no matching source instance is found.- Specified by:
getActionForNoMatchingSource
in interfaceIEntityMappingDS
- Returns:
- The mapping action, never null.
-
getActionForNoMatchingTarget
Description copied from interface:IEntityMappingDS
The method returns the mapping action when no matching target instance is found.- Specified by:
getActionForNoMatchingTarget
in interfaceIEntityMappingDS
- Returns:
- The mapping action, never null.
-
getCondition
Description copied from interface:IEntityMappingDS
This method returns the optional precondition for this target mapping.- Specified by:
getCondition
in interfaceIEntityMappingDS
- Returns:
- The optional condition, may be null.
-
getSourceContextExpressions
Description copied from interface:IEntityMappingDS
This method returns the optional source expressions that can be used to activate instance(s) during value mapping evaluation.- Specified by:
getSourceContextExpressions
in interfaceIEntityMappingDS
- Returns:
- The source expression, never null, but can be an empty array.
-
getSourceEntityExpression
Description copied from interface:IEntityMappingDS
This method returns the source expression that results in instances in the source profile.- Specified by:
getSourceEntityExpression
in interfaceIEntityMappingDS
- Returns:
- The source entity expression, never null
-
getTargetEntityName
Description copied from interface:IEntityMappingDS
This method returns the name of the entity the values should be mapped to.- Specified by:
getTargetEntityName
in interfaceIEntityMappingDS
- Returns:
- the name of the entity the values should be mapped to.
-
iterateAttributeMappings
Description copied from interface:IEntityMappingDS
This method will be invoked by the mapping component to request the information of all attributes mappings that are defined for this source mapping.- Specified by:
iterateAttributeMappings
in interfaceIEntityMappingDS
- Parameters:
visitor
- The visitor that should be used to add the attribute mapping definitions to.
-
iterateMatchConditions
Description copied from interface:IEntityMappingDS
This method will be invoked by the mapping component to request the information of all match conditions that are defined for this source mapping.- Specified by:
iterateMatchConditions
in interfaceIEntityMappingDS
- Parameters:
visitor
- The visitor that should be used to add the match condition definitions to.
-