Interface IRemovalContextCollector

All Known Implementing Classes:
CombinedModelCheckRemovalContextCollector, RemovalContextCollectorAdapter, SelfRemovalContextCollector, SubsystemRemovalContextCollector

public interface IRemovalContextCollector
Collects DD rebuilding context in case of BM object removal.
  • Method Details

    • collectContextOnObjectRemoval

      void collectContextOnObjectRemoval(IBmObject bmObject, org.eclipse.emf.common.util.URI uri, IBmObject topObject, BmSubEvent bmEvent, IContextCollectingSession contextSession, IBmModel model)
      This method allows to gather additional scope for after-removal clearings.
      Parameters:
      bmObject - BM-detached object instance received in the process of the removal.
      uri - the URI the object had prior to removal. If the object is top, non-null value is supplied, otherwise not defined.
      bmTopObject - Top object that is an owner of a removed object. May be detached in case if the top object was removed as well. May be equal to the bmObject in case if bmObject is a top object. Never null
      bmEvent - the event that has been fired by BM in response to the deassociation
      contextSession - Session of the context collection being used to access object contexts.
      model - The BM model.
    • collectContextOnObjectRemoval

      void collectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)
      This method allows to gather additional scope for after-removal clearings.
      Parameters:
      bmObjectId - The identifier of the object to register the removal for.
      objectEClass - The EClass of the object to register the removal for. Cannot be null
      contextSession - Session of the context collection being used to access object contexts.
      model - The BM model.
    • getSupportedType

      org.eclipse.emf.ecore.EClass getSupportedType()
      Gets the type of the BM object this collector supports.
      Returns:
      The type of supported BM object.