@Target(value=METHOD) @Retention(value=CLASS) public @interface InheritInverseConfiguration
Mapping
s from an inverse mapping method to the annotated method
as well. An inverse mapping method is a method which has the annotated method's source type as target type (return
type or indicated through a parameter annotated with MappingTarget
) and the annotated method's target type as
source type.
Any mappings given on the annotated method itself are added to those mappings inherited from the inverse method. In case of a conflict local mappings take precedence over inherited mappings.
If more than one matching inverse method exists, the name of the method to inherit the configuration from must be
specified via name()
public abstract String name
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.