
public class BeanMappingMethod extends NormalTypeMappingMethod
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 |
|---|---|
boolean |
equals(Object obj) |
List<PropertyMapping> |
getConstantMappings() |
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() |
Type |
getResultType() |
List<Parameter> |
getSourceParametersExcludingPrimitives() |
List<Parameter> |
getSourcePrimitiveParameters() |
int |
hashCode() |
List<PropertyMapping> |
propertyMappingsByParameter(Parameter parameter) |
getFactoryMethod, isMapNullToDefault, isOverriddengetAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringgetTemplateName, getTemplateNameForClass, writepublic List<PropertyMapping> getPropertyMappings()
public List<PropertyMapping> getConstantMappings()
public List<PropertyMapping> propertyMappingsByParameter(Parameter parameter)
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 NormalTypeMappingMethodnull.public List<Parameter> getSourceParametersExcludingPrimitives()
public int hashCode()
hashCode in class NormalTypeMappingMethodpublic boolean equals(Object obj)
equals in class NormalTypeMappingMethodCopyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.