Class ChildMdObjectMatcher

java.lang.Object
com._1c.g5.v8.dt.md.compare.matching.AbstractMdObjectMatcher<MdObject>
com._1c.g5.v8.dt.md.compare.matching.ChildMdObjectMatcher

public class ChildMdObjectMatcher extends AbstractMdObjectMatcher<MdObject>
A matcher of child (contained) MD objects. Also registers them in the specified resources.
  • Constructor Details

    • ChildMdObjectMatcher

      public ChildMdObjectMatcher(IComparisonSession session, ChildMdCollectionComparisonNode parentCollectionNode, List<MdObject> mainObjects, List<MdObject> otherObjects, List<MdObject> ancestorObjects, MdObjectResource mainResource, MdObjectResource otherResource, MdObjectResource ancestorResource, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, MdComparisonNodeFactory nodeFactory)
      Constructs a matcher.
      Parameters:
      session - the comparison session, not null
      parentCollectionNode - the node related to the parent collection where the matching MD objects lie in, cannot be null
      mainObjects - the main objects to be matched, not null
      otherObjects - the other objects to be matched, not null
      ancestorObjects - the ancestor objects to be matched, may be null in case of two-way comparison
      mainResource - the main resource, may be null
      otherResource - the other resource, may be null
      ancestorResource - the common ancestor resource, may be null
      qualifiedNameProvider - the qualified name provider for obtaining symbolic links of the matched objects, not null
      nodeFactory - the factory to create MD comparison nodes, not null
  • Method Details