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 forTargetReferenceandSourceReference.- Author:
- sjaak
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyEntrygetDeepestProperty()StringgetDeepestPropertyName()List<String>getElementNames()ParametergetParameter()List<PropertyEntry>getPropertyEntries()PropertyEntrygetShallowestProperty()StringgetShallowestPropertyName()booleanisNested()booleanisValid()StringtoString()
-
-
-
Constructor Detail
-
AbstractReference
protected AbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid)
-
-
Method Detail
-
getParameter
public Parameter getParameter()
-
getPropertyEntries
public List<PropertyEntry> getPropertyEntries()
-
isValid
public boolean isValid()
-
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()
-
-