public class NestedPropertyMappingMethod extends MappingMethod
So, say that the start of the list is of TypeA and the end of the list is of TypeB than the forged method will create a forged mapping method: TypeB methodName( TypeA in ).
Modifier and Type | Class and Description |
---|---|
static class |
NestedPropertyMappingMethod.Builder |
static class |
NestedPropertyMappingMethod.SafePropertyEntry |
Writable.Context
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
List<NestedPropertyMappingMethod.SafePropertyEntry> |
getPropertyEntries() |
Parameter |
getSourceParameter() |
int |
hashCode() |
getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toString
getTemplateName, getTemplateNameForClass, write
public Parameter getSourceParameter()
public List<NestedPropertyMappingMethod.SafePropertyEntry> getPropertyEntries()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class MappingMethod
null
.public int hashCode()
hashCode
in class MappingMethod
public boolean equals(Object obj)
equals
in class MappingMethod
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.