| Package | Description |
|---|---|
| org.mapstruct.ap.conversion |
Provides built-in conversions between primitive and wrapper types, strings, dates etc.
|
| org.mapstruct.ap.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
| Modifier and Type | Method and Description |
|---|---|
TypeConversion |
ReverseConversion.from(String targetReference,
ConversionContext conversionContext) |
TypeConversion |
ConversionProvider.from(String targetReference,
ConversionContext conversionContext)
Creates the conversion from target to source of a property mapping.
|
TypeConversion |
DateToStringConversion.from(String targetReference,
ConversionContext conversionContext) |
TypeConversion |
SimpleConversion.from(String targetReference,
ConversionContext conversionContext) |
TypeConversion |
ReverseConversion.to(String sourceReference,
ConversionContext conversionContext) |
TypeConversion |
ConversionProvider.to(String sourceReference,
ConversionContext conversionContext)
Creates the conversion from source to target of a property mapping.
|
TypeConversion |
DateToStringConversion.to(String sourceReference,
ConversionContext conversionContext) |
TypeConversion |
SimpleConversion.to(String sourceReference,
ConversionContext conversionContext) |
| Modifier and Type | Method and Description |
|---|---|
TypeConversion |
PropertyMapping.getConversion() |
TypeConversion |
IterableMappingMethod.getConversion() |
TypeConversion |
MapMappingMethod.getKeyConversion() |
TypeConversion |
MapMappingMethod.getValueConversion() |
| Constructor and Description |
|---|
IterableMappingMethod(SourceMethod method,
MethodReference elementMappingMethod,
TypeConversion conversion,
MethodReference factoryMethod) |
MapMappingMethod(SourceMethod method,
MethodReference keyMappingMethod,
TypeConversion keyConversion,
MethodReference valueMappingMethod,
TypeConversion valueConversion,
MethodReference factoryMethod) |
PropertyMapping(String sourceBeanName,
String sourceName,
String sourceAccessorName,
Type sourceType,
String targetName,
String targetAccessorName,
Type targetType,
MethodReference mappingMethod,
TypeConversion conversion) |
Copyright © 2012-2014. All Rights Reserved.