@OpenApiAll
public interface AutomaticElementMappingRule
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
accept(TypedElement sourceElement)
Gets if mapping rule can be applied to source element 
 | 
Element | 
getElementToMap(Element sourceElement,
               java.util.List<Element> targetElements)
Get target element to be automatically mapped to the source element. 
 | 
@CheckForNull Element getElementToMap(Element sourceElement, java.util.List<Element> targetElements)
sourceElement - source elementtargetElements - list of candidate target elements. Target elements are always in the same nesting depth as the source elementboolean accept(TypedElement sourceElement)
sourceElement - source element (property)