Class SelectionContext


  • public class SelectionContext
    extends Object
    Context passed to the selectors to get the information they need.
    Author:
    Filip Hrisafov
    • Method Detail

      • getSourceType

        public Type getSourceType()
        Returns:
        the source type that should be matched
      • getSelectionCriteria

        public SelectionCriteria getSelectionCriteria()
        Returns:
        the criteria used in the selection process
      • getMappingTargetType

        public Type getMappingTargetType()
        Returns:
        the mapping target type that should be matched
      • getReturnType

        public Type getReturnType()
        Returns:
        the return type that should be matched
      • getAvailableParameterBindings

        public List<ParameterBinding> getAvailableParameterBindings()
        Returns:
        the available parameter bindings for the matching
      • getMappingMethod

        public Method getMappingMethod()
        Returns:
        the mapping method, defined in Mapper for which this selection is carried out