Interface IRemovalContextCollector

    • Method Detail

      • collectContextOnObjectRemoval

        void collectContextOnObjectRemoval​(IBmObject bmObject,
                                           org.eclipse.emf.common.util.URI uri,
                                           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.
        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.
      • supportsSync

        boolean supportsSync()
        Checks if this collector supports collecting of context for sync. DD mode.
        Returns:
        True if the sync. collection mode supported.
      • supportsAsync

        boolean supportsAsync()
        Checks if this collector supports collecting of context for async. DD mode.
        Returns:
        True if the async. collection mode supported.