Package com.e1c.g5.v8.dt.check.context
Interface OnModelObjectRemovalContextCollector
-
public interface OnModelObjectRemovalContextCollector
Collects check contexts in case if a new object was added to the model (manually or via the import operation) This collector should be registered via theICheckDefinition#addModelAssociationContextCollector(OnModelObjectRemovalContextCollector, org.eclipse.emf.ecore.EClass)
method during theICheck.configureContextCollector(com.e1c.g5.v8.dt.check.ICheckDefinition)
stage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
collectContextOnObjectRemoval(org.eclipse.emf.common.util.URI removedObjectUri, org.eclipse.emf.ecore.EClass removedObjectEClass, BmSubEvent bmEvent, CheckContextCollectingSession contextSession, IBmTransaction bmTransaction)
Performs the check context collecting in case of the BM object removal.
Note that, if the type of the BM object is not supported, an exception will be thrown.
-
-
-
Method Detail
-
collectContextOnObjectRemoval
void collectContextOnObjectRemoval(org.eclipse.emf.common.util.URI removedObjectUri, org.eclipse.emf.ecore.EClass removedObjectEClass, BmSubEvent bmEvent, CheckContextCollectingSession contextSession, IBmTransaction bmTransaction)
Performs the check context collecting in case of the BM object removal.
Note that, if the type of the BM object is not supported, an exception will be thrown.- Parameters:
removedObjectUri
- The BM URI of the removed object. May not benull
removedObjectEClass
- The EClass of the removed object. May not benull
bmEvent
- The event that has been fired by BM in response to the association. May not benull
contextSession
- Session of the context collection being used to access object contexts. May not benull
bmTransaction
- Current BM transaction for the scope collection. May not benull
-
-