Class SelectionParameters


  • public class SelectionParameters
    extends Object
    Holding parameters common to the selection process, common to IterableMapping, BeanMapping, PropertyMapping and MapMapping
    Author:
    Sjaak Derksen
    • Method Detail

      • forInheritance

        public static SelectionParameters forInheritance​(SelectionParameters selectionParameters)
        Returns new selection parameters ResultType is not inherited.
        Parameters:
        selectionParameters - the selection parameters that need to be copied
        Returns:
        the selection parameters based on the given ones
      • getQualifiers

        public List<TypeMirror> getQualifiers()
        Returns:
        qualifiers used for further select the appropriate mapping method based on class and name
      • getQualifyingNames

        public List<String> getQualifyingNames()
        Returns:
        qualifyingNames see qualifiers, used in combination with with @Named
      • getConditionQualifiers

        public List<TypeMirror> getConditionQualifiers()
        Returns:
        qualifiers used for further select the appropriate presence check method based on class and name
      • getConditionQualifyingNames

        public List<String> getConditionQualifyingNames()
        Returns:
        qualifyingNames, used in combination with with @Named
        See Also:
        getConditionQualifiers()
      • getResultType

        public TypeMirror getResultType()
        Returns:
        resultType used for further select the appropriate mapping method based on resultType (bean mapping) targetType (Iterable- and MapMapping)
      • getSourceRHS

        public SourceRHS getSourceRHS()
        Returns:
        sourceRHS used for further selection of an appropriate factory method
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object