Interface IEntityMappingDefinition

All Superinterfaces:
Serializable
All Known Implementing Classes:
EntityMappingDefinition

public interface IEntityMappingDefinition extends Serializable
This interface defines several method that can be used to retrieve entity mapping definition information.
Since:
7.1
Author:
Jon van Leuven
  • Method Details

    • getTargetEntityName

      String getTargetEntityName()
      This method returns the entity name of the target.
      Returns:
      The entity name of the target, never null.
    • getSourceEntityExpression

      IExpression getSourceEntityExpression()
      This method returns the source expression that results in instances in the source profile.
      Returns:
      The source entity expression, never null
    • getSourceContextExpressions

      IExpression[] getSourceContextExpressions()
      This method returns the optional source expressions that can be used to activate instance(s) during value mapping evaluation.
      Returns:
      The source expression, never null, but can be an empty array.
    • getAttributeMappings

      IAttributeMappingDefinition[] getAttributeMappings()
      This method returns all the attribute mappings for this entity mapping.
      Returns:
      The attribute mappings, never null, but can be empty array.
    • getCondition

      ICondition getCondition()
      This method returns the optional condition when this mapping should be used.
      Returns:
      The condition, may be null.
    • getActionForNoMatchingTarget

      MappingAction getActionForNoMatchingTarget()
      The method returns the mapping action when no matching target instance is found.
      Returns:
      The mapping action, never null.
    • getActionForNoMatchingSource

      MappingAction getActionForNoMatchingSource()
      The method returns the mapping action when no matching source instance is found.
      Returns:
      The mapping action, never null.
    • getActionForMatch

      MappingAction getActionForMatch()
      The method returns the mapping action when a matching source and target instances is found.
      Returns:
      The mapping action, never null.
    • getMatchConditions

      IInstanceMatchCondition[] getMatchConditions()

      This method returns the optional match condition that determines when instances match and should be mapped.

      When no match condition is available, an empty array is returned.

      Returns:
      The match conditions, never null, but can be an empty array.