Interface IElementsTreeMatcher
- 
- All Known Implementing Classes:
- AbstractElementsTreeMatcher,- PredefinedMdObjectMatcher
 
 public interface IElementsTreeMatcherMatcher of trees with elements.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MatchedEmfObjects>getMatchedChildren(org.eclipse.emf.ecore.EObject main, org.eclipse.emf.ecore.EObject other, org.eclipse.emf.ecore.EObject ancestor)Returns children (without sub-children) of the given elements in a result matched tree.MatchedEmfObjectsgetMatchedElement(org.eclipse.emf.ecore.EObject forElement)Returns matched compared element for the given input element.
 
- 
- 
- 
Method Detail- 
getMatchedElementMatchedEmfObjects getMatchedElement(org.eclipse.emf.ecore.EObject forElement) Returns matched compared element for the given input element.- Parameters:
- forElement- the element from any of trees (main/other/ancestor) for which to get the compared element
- Returns:
- compared element found or nullif the given input element is not matched
 
 - 
getMatchedChildrenList<MatchedEmfObjects> getMatchedChildren(org.eclipse.emf.ecore.EObject main, org.eclipse.emf.ecore.EObject other, org.eclipse.emf.ecore.EObject ancestor) Returns children (without sub-children) of the given elements in a result matched tree.- Parameters:
- main- comparing element in main tree
- other- comparing element in other tree
- ancestor- comparing element in ancestor ancestor
- Returns:
- list of children in a matched tree, can be empty, never null
 
 
- 
 
-