Package org.mapstruct.ap.internal.model
Class NestedTargetPropertyMappingHolder
java.lang.Object
org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder
This is a helper class that holds the generated
PropertyMapping(s) and all the information associated with
it for nested target properties.- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNestedTargetPropertyMappingHolder(List<Parameter> processedSourceParameters, Set<String> handledTargets, List<PropertyMapping> propertyMappings, Map<String, Set<MappingReference>> unprocessedDefinedTarget, boolean errorOccurred) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
NestedTargetPropertyMappingHolder
public NestedTargetPropertyMappingHolder(List<Parameter> processedSourceParameters, Set<String> handledTargets, List<PropertyMapping> propertyMappings, Map<String, Set<MappingReference>> unprocessedDefinedTarget, boolean errorOccurred)
-
-
Method Details
-
getProcessedSourceParameters
- Returns:
- The source parameters that were processed during the generation of the property mappings
-
getHandledTargets
- Returns:
- all the targets that were handled
-
getPropertyMappings
- Returns:
- the generated property mappings
-
getUnprocessedDefinedTarget
- Returns:
- a map of all the unprocessed defined targets that can be applied to name forged base methods
-
hasErrorOccurred
public boolean hasErrorOccurred()- Returns:
trueif an error occurred during the creation of the nested mappings
-