public class BeanMappingMethod extends MappingMethod
MappingMethod implemented by a Mapper class which maps one
bean type to another, optionally configured by one or more
PropertyMappings.Writable.Context| Constructor and Description |
|---|
BeanMappingMethod(SourceMethod method,
List<PropertyMapping> propertyMappings,
MethodReference factoryMethod) |
| Modifier and Type | Method and Description |
|---|---|
MethodReference |
getFactoryMethod() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
List<PropertyMapping> |
getPropertyMappings() |
Map<String,List<PropertyMapping>> |
getPropertyMappingsByParameter() |
getAccessibility, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritegetTemplateNamepublic BeanMappingMethod(SourceMethod method, List<PropertyMapping> propertyMappings, MethodReference factoryMethod)
public List<PropertyMapping> getPropertyMappings()
public Map<String,List<PropertyMapping>> getPropertyMappingsByParameter()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public MethodReference getFactoryMethod()
Copyright © 2012-2014. All Rights Reserved.