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,
java.util.List<PropertyMapping> propertyMappings,
FactoryMethod factoryMethod) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PropertyMapping> |
getConstantMappings() |
FactoryMethod |
getFactoryMethod() |
java.util.Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
java.util.List<PropertyMapping> |
getPropertyMappings() |
java.util.Map<java.lang.String,java.util.List<PropertyMapping>> |
getPropertyMappingsByParameter() |
getAccessibility, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, toStringwritegetTemplateNamepublic BeanMappingMethod(SourceMethod method, java.util.List<PropertyMapping> propertyMappings, FactoryMethod factoryMethod)
public java.util.List<PropertyMapping> getPropertyMappings()
public java.util.List<PropertyMapping> getConstantMappings()
public java.util.Map<java.lang.String,java.util.List<PropertyMapping>> getPropertyMappingsByParameter()
public java.util.Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public FactoryMethod getFactoryMethod()
Copyright © 2012-2014. All Rights Reserved.