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

public class XmlEntityMappingDS extends ReportingDS implements IEntityMappingDS
Implementation of the IEntityMappingDS interface using a mapping definition from XML.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getActionForMatch

      public MappingAction 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 interface IEntityMappingDS
      Returns:
      The mapping action, never null.
    • getActionForNoMatchingSource

      public MappingAction getActionForNoMatchingSource()
      Description copied from interface: IEntityMappingDS
      The method returns the mapping action when no matching source instance is found.
      Specified by:
      getActionForNoMatchingSource in interface IEntityMappingDS
      Returns:
      The mapping action, never null.
    • getActionForNoMatchingTarget

      public MappingAction getActionForNoMatchingTarget()
      Description copied from interface: IEntityMappingDS
      The method returns the mapping action when no matching target instance is found.
      Specified by:
      getActionForNoMatchingTarget in interface IEntityMappingDS
      Returns:
      The mapping action, never null.
    • getCondition

      public String getCondition()
      Description copied from interface: IEntityMappingDS
      This method returns the optional precondition for this target mapping.
      Specified by:
      getCondition in interface IEntityMappingDS
      Returns:
      The optional condition, may be null.
    • getSourceContextExpressions

      public String[] 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 interface IEntityMappingDS
      Returns:
      The source expression, never null, but can be an empty array.
    • getSourceEntityExpression

      public String getSourceEntityExpression()
      Description copied from interface: IEntityMappingDS
      This method returns the source expression that results in instances in the source profile.
      Specified by:
      getSourceEntityExpression in interface IEntityMappingDS
      Returns:
      The source entity expression, never null
    • getTargetEntityName

      public String getTargetEntityName()
      Description copied from interface: IEntityMappingDS
      This method returns the name of the entity the values should be mapped to.
      Specified by:
      getTargetEntityName in interface IEntityMappingDS
      Returns:
      the name of the entity the values should be mapped to.
    • iterateAttributeMappings

      public void iterateAttributeMappings(IAttributeMappingVisitor visitor)
      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 interface IEntityMappingDS
      Parameters:
      visitor - The visitor that should be used to add the attribute mapping definitions to.
    • iterateMatchConditions

      public void iterateMatchConditions(IMatchConditionVisitor visitor)
      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 interface IEntityMappingDS
      Parameters:
      visitor - The visitor that should be used to add the match condition definitions to.