Class WebServiceXDTOPackageMatcher
- java.lang.Object
-
- com._1c.g5.v8.dt.md.compare.matching.WebServiceXDTOPackageMatcher
-
- All Implemented Interfaces:
IEmfObjectMatcher
,IObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
public class WebServiceXDTOPackageMatcher extends Object implements IEmfObjectMatcher
Matcher for Web service XDTO packages.
-
-
Constructor Summary
Constructors Constructor Description WebServiceXDTOPackageMatcher(ComparisonContext comparisonContext, ComparisonNode node, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Creates new instance ofWebServiceXDTOPackageMatcher
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<MatchedEmfObjects>
match(List<org.eclipse.emf.ecore.EObject> mainObjects, List<org.eclipse.emf.ecore.EObject> otherObjects, List<org.eclipse.emf.ecore.EObject> ancestorObjects)
Returns a collection of matched objects for the specified collections of objects.
-
-
-
Constructor Detail
-
WebServiceXDTOPackageMatcher
public WebServiceXDTOPackageMatcher(ComparisonContext comparisonContext, ComparisonNode node, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Creates new instance ofWebServiceXDTOPackageMatcher
- Parameters:
comparisonContext
- the comparison context, cannot benull
node
- comparison node, cannot benull
scopeProvider
- scope provider, cannot benull
-
-
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 interfaceIObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
- Parameters:
mainObjects
- the collection of objects to be matched from the main sideotherObjects
- the collection of objects to be matched from the other sideancestorObjects
- the collection of objects to be matched from the common ancestor side- Returns:
- a collection of matched compared objects with ids
-
-