|Modifier and Type||Optional Element and Description|
The strategy to be applied when propagating the value of collection-typed properties.
Specifies the component model to which the generated mapper should adhere.
A class annotated with
Specifies the name of the implementation class.
Specifies the target package for the generated implementation.
Additional types for which an import statement is to be added to the generated mapper implementation class.
The strategy to use for applying method-level configuration annotations of prototype methods in the interface specified with
The strategy to be applied when
How unmapped properties of the target type of a mapping should be reported.
Other mapper types used by this mapper.
public abstract Class<?> uses
public abstract Class<?> imports
Mapping.expression()using their simple name rather than their fully-qualified name.
public abstract ReportingPolicy unmappedTargetPolicy
public abstract String componentModel
default: the mapper uses no component model, instances are typically retrieved via
cdi: the generated mapper is an application-scoped CDI bean and can be retrieved via
spring: the generated mapper is a Spring bean and can be retrieved via
jsr330: the generated mapper is annotated with
@Namedand can be retrieved via
public abstract String implementationName
<CLASS_NAME>will be replaced by the interface/abstract class name.
Defaults to postfixing the name with
public abstract String implementationPackage
<PACKAGE_NAME>will be replaced by the interface's or abstract class' package.
Defaults to using the same package as the mapper interface/abstract class
public abstract Class<?> config
MapperConfigwhich should be used as configuration template. Any settings given via
Mapperwill take precedence over the settings from the referenced configuration source. The list of referenced mappers will contain all mappers given via
public abstract CollectionMappingStrategy collectionMappingStrategy
Any setting given for this attribute will take precedence over
MapperConfig.collectionMappingStrategy(), if present.
public abstract NullValueMappingStrategy nullValueMappingStrategy
nullis passed as source value to the methods of this mapper. If no strategy is configured, the strategy given via
MapperConfig.nullValueMappingStrategy()will be applied, using
nullis passed as source value to the methods of this mapper.
public abstract MappingInheritanceStrategy mappingInheritanceStrategy
config(). Annotations that can be inherited are for example
@Mappingconfigurations of prototype methods in the interface specified with
Copyright © 2012–2015. All rights reserved.