Class WebServiceXDTOPackageMatcher

    • Constructor Detail

      • WebServiceXDTOPackageMatcher

        public WebServiceXDTOPackageMatcher​(ComparisonContext comparisonContext,
                                            ComparisonNode node,
                                            org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
        Creates new instance of WebServiceXDTOPackageMatcher
        Parameters:
        comparisonContext - the comparison context, cannot be null
        node - comparison node, cannot be null
        scopeProvider - scope provider, cannot be null
    • Method Detail

      • match

        public Collection<MatchedEmfObjects> match​(List<org.eclipse.emf.ecore.EObject> mainObjects,
                                                   List<org.eclipse.emf.ecore.EObject> otherObjects,
                                                   List<org.eclipse.emf.ecore.EObject> ancestorObjects)
        Description copied from interface: IObjectMatcher
        Returns a collection of matched objects for the specified collections of objects.
        Specified by:
        match in interface IObjectMatcher<org.eclipse.emf.ecore.EObject,​MatchedEmfObjects>
        Parameters:
        mainObjects - the collection of objects to be matched from the main side
        otherObjects - the collection of objects to be matched from the other side
        ancestorObjects - the collection of objects to be matched from the common ancestor side
        Returns:
        a collection of matched compared objects with ids