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.| Modifier and Type | Class and Description |
|---|---|
static class |
BeanMappingMethod.Builder |
Writable.Context| Modifier and Type | Method and Description |
|---|---|
List<PropertyMapping> |
getConstantMappings() |
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. |
Set<LocalVariable> |
getLocalVariablesToCreate() |
Set<NestedLocalVariableAssignment> |
getNestedLocalVariableAssignments() |
List<PropertyMapping> |
getPropertyMappings() |
Map<String,List<PropertyMapping>> |
getPropertyMappingsByParameter() |
Type |
getResultType() |
List<Parameter> |
getSourceParametersExcludingPrimitives() |
List<Parameter> |
getSourcePrimitiveParameters() |
boolean |
isMapNullToDefault() |
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringwritegetTemplateName, getTemplateNameForClasspublic List<PropertyMapping> getPropertyMappings()
public List<PropertyMapping> getConstantMappings()
public Map<String,List<PropertyMapping>> getPropertyMappingsByParameter()
public Set<LocalVariable> getLocalVariablesToCreate()
public Set<NestedLocalVariableAssignment> getNestedLocalVariableAssignments()
public boolean isMapNullToDefault()
public Type getResultType()
getResultType in class MappingMethodpublic Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public List<Parameter> getSourceParametersExcludingPrimitives()
public MethodReference getFactoryMethod()
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.