Class AbstractReference

java.lang.Object
org.mapstruct.ap.internal.model.beanmapping.AbstractReference
Direct Known Subclasses:
SourceReference

public abstract class AbstractReference extends Object
Class acts as a common base class for TargetReference and SourceReference.
Author:
sjaak
  • Constructor Details

    • AbstractReference

      protected AbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid)
  • Method Details

    • getParameter

      public Parameter getParameter()
    • getPropertyEntries

      public List<PropertyEntry> getPropertyEntries()
    • isValid

      public boolean isValid()
    • getElementNames

      public List<String> getElementNames()
    • getShallowestProperty

      public PropertyEntry getShallowestProperty()
      Returns:
      the property name on the shallowest nesting level
    • getShallowestPropertyName

      public String getShallowestPropertyName()
      Returns:
      the property name on the shallowest nesting level
    • getDeepestProperty

      public PropertyEntry getDeepestProperty()
      Returns:
      the property name on the deepest nesting level
    • getDeepestPropertyName

      public String getDeepestPropertyName()
      Returns:
      the property name on the deepest nesting level
    • isNested

      public boolean isNested()
    • toString

      public String toString()
      Overrides:
      toString in class Object