Interface MethodParameterMappingStep
public interface MethodParameterMappingStep
The step in a mapping definition where a method parameter can be mapped.
-
Method Summary
Modifier and TypeMethodDescriptiondefault MethodParameterMappingStepprojection(BeanReference<? extends ProjectionBinder> binder) Maps a constructor parameter to a projection definition picked by the given binder.projection(BeanReference<? extends ProjectionBinder> binder, Map<String, Object> params) Maps a constructor parameter to a projection definition picked by the given binder with the given parameters.default MethodParameterMappingStepprojection(ProjectionBinder binder) Maps a constructor parameter to a projection definition picked by the given binder.default MethodParameterMappingStepprojection(ProjectionBinder binder, Map<String, Object> params) Maps a constructor parameter to a projection definition picked by the given binder with the given parameters.
-
Method Details
-
projection
Maps a constructor parameter to a projection definition picked by the given binder.- Parameters:
binder- AProjectionBinderresponsible for creating a projection definition.- Returns:
this, for method chaining.- See Also:
-
projection
Maps a constructor parameter to a projection definition picked by the given binder with the given parameters.- Parameters:
binder- AProjectionBinderresponsible for creating a projection definition. * @param params The parameters to make available to the binder throughProjectionBindingContext.param(String, Class)orProjectionBindingContext.paramOptional(String, Class).- Returns:
this, for method chaining.- See Also:
-
projection
Maps a constructor parameter to a projection definition picked by the given binder.- Parameters:
binder- ABeanReferenceto aProjectionBinderresponsible for creating a projection definition.- Returns:
this, for method chaining.- See Also:
-
projection
MethodParameterMappingStep projection(BeanReference<? extends ProjectionBinder> binder, Map<String, Object> params) Maps a constructor parameter to a projection definition picked by the given binder with the given parameters.- Parameters:
binder- ABeanReferenceto aProjectionBinderresponsible for creating a projection definition.params- The parameters to make available to the binder throughProjectionBindingContext.param(String, Class)orProjectionBindingContext.paramOptional(String, Class).- Returns:
this, for method chaining.- See Also:
-