Class ChildMdObjectMatcher


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

      • ChildMdObjectMatcher

        public ChildMdObjectMatcher​(IComparisonSession session,
                                    ChildMdCollectionComparisonNode parentCollectionNode,
                                    List<MdObject> mainObjects,
                                    List<MdObject> otherObjects,
                                    List<MdObject> ancestorObjects,
                                    com._1c.g5.v8.dt.internal.md.compare.MdObjectResource mainResource,
                                    com._1c.g5.v8.dt.internal.md.compare.MdObjectResource otherResource,
                                    com._1c.g5.v8.dt.internal.md.compare.MdObjectResource ancestorResource,
                                    org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider,
                                    com._1c.g5.v8.dt.internal.md.compare.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