Class NestedTargetPropertyMappingHolder

java.lang.Object
org.mapstruct.ap.internal.model.NestedTargetPropertyMappingHolder

public class NestedTargetPropertyMappingHolder extends Object
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
  • Constructor Details

  • Method Details

    • getProcessedSourceParameters

      public List<Parameter> getProcessedSourceParameters()
      Returns:
      The source parameters that were processed during the generation of the property mappings
    • getHandledTargets

      public Set<String> getHandledTargets()
      Returns:
      all the targets that were handled
    • getPropertyMappings

      public List<PropertyMapping> getPropertyMappings()
      Returns:
      the generated property mappings
    • getUnprocessedDefinedTarget

      public Map<String,Set<MappingReference>> getUnprocessedDefinedTarget()
      Returns:
      a map of all the unprocessed defined targets that can be applied to name forged base methods
    • hasErrorOccurred

      public boolean hasErrorOccurred()
      Returns:
      true if an error occurred during the creation of the nested mappings