Class AbstractReference
java.lang.Object
org.mapstruct.ap.internal.model.beanmapping.AbstractReference
- Direct Known Subclasses:
SourceReference
Class acts as a common base class for
TargetReference and SourceReference.- Author:
- sjaak
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid) -
Method Summary
-
Constructor Details
-
AbstractReference
protected AbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid)
-
-
Method Details
-
getParameter
-
getPropertyEntries
-
isValid
public boolean isValid() -
getElementNames
-
getShallowestProperty
- Returns:
- the property name on the shallowest nesting level
-
getShallowestPropertyName
- Returns:
- the property name on the shallowest nesting level
-
getDeepestProperty
- Returns:
- the property name on the deepest nesting level
-
getDeepestPropertyName
- Returns:
- the property name on the deepest nesting level
-
isNested
public boolean isNested() -
toString
-