Interface ConversionProvider

    • Method Detail

      • to

        Assignment to​(ConversionContext conversionContext)
        Creates the conversion from source to target of a property mapping.
        Parameters:
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        Returns:
        A conversion from source to target.
      • from

        Assignment from​(ConversionContext conversionContext)
        Creates the conversion from target to source of a property mapping.
        Parameters:
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        Returns:
        A conversion from target to source.
      • getRequiredHelperMethods

        List<HelperMethod> getRequiredHelperMethods​(ConversionContext conversionContext)
        Parameters:
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        Returns:
        any helper methods when required.
      • getRequiredHelperFields

        default List<FieldReference> getRequiredHelperFields​(ConversionContext conversionContext)
        Parameters:
        conversionContext - ConversionContext providing optional information required for creating the conversion.
        Returns:
        any fields when required.