Interface ProviderExpression<S,D>

Type Parameters:
S - source type
D - destination type
All Superinterfaces:
ConverterExpression<S,D>, MapExpression<D>, SkipExpression<D>
All Known Subinterfaces:
ConditionExpression<S,D>

public interface ProviderExpression<S,D> extends ConverterExpression<S,D>
Expresses a Provider.
  • Method Details

    • with

      ConverterExpression<S,D> with(Provider<?> provider)
      Specifies the provider to be used for providing instances of the mapped property. When used with deep mapping the provider should provide an instance of the last destination property. See the EDSL examples.
      Parameters:
      provider - to use for providing the destination property
      Throws:
      IllegalStateException - if called from outside the context of PropertyMap.configure().