Package com._1c.g5.v8.derived.context
Class SelfRemovalContextCollector
- java.lang.Object
- 
- com._1c.g5.v8.derived.context.RemovalContextCollectorAdapter
- 
- com._1c.g5.v8.derived.context.SelfRemovalContextCollector
 
 
- 
- All Implemented Interfaces:
- IRemovalContextCollector
 
 public class SelfRemovalContextCollector extends RemovalContextCollectorAdapter Context removal collector that collects the object being removed at the moment. Works withPartBasedObjectContexttyped context only
- 
- 
Constructor SummaryConstructors Constructor Description SelfRemovalContextCollector(String segmentId, org.eclipse.emf.ecore.EClass supportedType, String part)Creates an instance of the collector with specified paramters.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)This method allows to gather additional scope for after-removal clearings.voidcollectContextOnObjectRemoval(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.- 
Methods inherited from class com._1c.g5.v8.derived.context.RemovalContextCollectorAdaptergetSupportedType
 
- 
 
- 
- 
- 
Constructor Detail- 
SelfRemovalContextCollectorpublic SelfRemovalContextCollector(String segmentId, org.eclipse.emf.ecore.EClass supportedType, String part) Creates an instance of the collector with specified paramters.- Parameters:
- segmentId- An identifier of the DD segment, cannot be- null
- supportedType- A type of a supported objects, cannot be- null
- part- A target part to set as a removal processing target, , cannot be- null
 
 
- 
 - 
Method Detail- 
collectContextOnObjectRemovalpublic void collectContextOnObjectRemoval(IBmObject bmObject, org.eclipse.emf.common.util.URI uri, IBmObject topObject, BmSubEvent bmEvent, IContextCollectingSession contextSession, IBmModel model) Description copied from interface:IRemovalContextCollectorThis 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-- nullvalue is supplied, otherwise not defined.
- 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.
 
 - 
collectContextOnObjectRemovalpublic void collectContextOnObjectRemoval(long bmObjectId, org.eclipse.emf.ecore.EClass objectEClass, IContextCollectingSession contextSession, IBmModel model)Description copied from interface:IRemovalContextCollectorThis method allows to gather additional scope for after-removal clearings.- Parameters:
- bmObjectId- The identifier of the object to register the removal for.
- objectEClass- The- EClassof 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.
 
 
- 
 
-