public abstract class AbstractReference extends Object
TargetReference
and SourceReference
.Modifier | Constructor and Description |
---|---|
protected |
AbstractReference(Parameter sourceParameter,
List<PropertyEntry> sourcePropertyEntries,
boolean isValid) |
Modifier and Type | Method and Description |
---|---|
PropertyEntry |
getDeepestProperty()
returns the property name on the deepest nesting level
|
String |
getDeepestPropertyName()
returns the property name on the deepest nesting level
|
List<String> |
getElementNames() |
Parameter |
getParameter() |
List<PropertyEntry> |
getPropertyEntries() |
PropertyEntry |
getShallowestProperty()
returns the property name on the shallowest nesting level
|
String |
getShallowestPropertyName()
returns the property name on the shallowest nesting level
|
boolean |
isNested() |
boolean |
isValid() |
String |
toString() |
protected AbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid)
public Parameter getParameter()
public List<PropertyEntry> getPropertyEntries()
public boolean isValid()
public PropertyEntry getShallowestProperty()
public String getShallowestPropertyName()
public PropertyEntry getDeepestProperty()
public String getDeepestPropertyName()
public boolean isNested()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.