
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
Types 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, toStringgetTemplateName, getTemplateNameForClass, writepublic Parameter getSourceParameter()
public List<NestedPropertyMappingMethod.SafePropertyEntry> getPropertyEntries()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class MappingMethodnull.public int hashCode()
hashCode in class MappingMethodpublic boolean equals(Object obj)
equals in class MappingMethodCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.