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.ModelElement.Context| Constructor and Description |
|---|
BeanMappingMethod(Method method,
List<PropertyMapping> propertyMappings) |
| Modifier and Type | Method and Description |
|---|---|
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() |
getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, isExistingInstanceMapping, toStringwritepublic BeanMappingMethod(Method method, List<PropertyMapping> propertyMappings)
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 interface ModelElementgetImportTypes in class MappingMethodnull.Copyright © 2012-2013. All Rights Reserved.