Class ReferenceSearchService

java.lang.Object
com._1c.g5.v8.dt.internal.md.compare.ReferenceSearchService

public final class ReferenceSearchService extends Object
The Compare/Merge purposes service for finding referencing objects by the given BM object.
Reference searching is performed in the same manner as in DT refactoring framework.
  • Constructor Details

    • ReferenceSearchService

      public ReferenceSearchService()
  • Method Details

    • collectReferencingTopObjects

      public Set<IBmObject> collectReferencingTopObjects(IBmObject bmObject)
      Searches and collects referencing objects for the specified BmObject. The result will be a set of BM Top objects which directly refers or its contained objects (at least one) refer to the specified object.
      Parameters:
      bmObject - the BM object, cannot be null.
      Returns:
      an unmodifiable set of referencing BM Top objects, never null.