Interface IObjectMatcher<T,U extends IComparedObjects<T>>

Type Parameters:
T - the type of objects to be matched
U - the type of compared object provider supporting identification
All Known Subinterfaces:
IEmfObjectMatcher
All Known Implementing Classes:
AbstractEmfObjectMatcher, AbstractIdBasedObjectMatcher, AbstractMultiEmfObjectMatcher, AbstractMultiObjectMatcher, AbstractObjectMatcher, BslModuleSectionDescriptionMatcher, DataPathMatcher, ExternalReferenceFeatureMatcher, FeaturesListMultiMatcher, ObjectRightsMatcher, RecursiveFeatureMultiMatcher, RightsComponentMatcher, SingleFeatureMatcher, SingleFeatureMultiMatcher, WebServiceXDTOPackageMatcher

public interface IObjectMatcher<T,U extends IComparedObjects<T>>
A matcher of objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    match(List<T> mainObjects, List<T> otherObjects, List<T> ancestorObjects)
    Returns a collection of matched objects for the specified collections of objects.
  • Method Details

    • match

      Collection<U> match(List<T> mainObjects, List<T> otherObjects, List<T> ancestorObjects)
      Returns a collection of matched objects for the specified collections of objects.
      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