Package com._1c.g5.v8.derived.context
Class RemovalContextCollectorAdapter
- java.lang.Object
-
- com._1c.g5.v8.derived.context.RemovalContextCollectorAdapter
-
- All Implemented Interfaces:
IRemovalContextCollector
- Direct Known Subclasses:
SelfRemovalContextCollector
public abstract class RemovalContextCollectorAdapter extends Object implements IRemovalContextCollector
Convenience adapter for removal context collector.
-
-
Constructor Summary
Constructors Constructor Description RemovalContextCollectorAdapter(boolean supportsSync, boolean supportsAsync, org.eclipse.emf.ecore.EClass supportedType)
Creates an instance of the collector with specified paramters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EClass
getSupportedType()
Gets the type of the BM object this collector supports.boolean
supportsAsync()
Checks if this collector supports collecting of context for async.boolean
supportsSync()
Checks if this collector supports collecting of context for sync.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.derived.context.IRemovalContextCollector
collectContextOnObjectRemoval, collectContextOnObjectRemoval
-
-
-
-
Constructor Detail
-
RemovalContextCollectorAdapter
public RemovalContextCollectorAdapter(boolean supportsSync, boolean supportsAsync, org.eclipse.emf.ecore.EClass supportedType)
Creates an instance of the collector with specified paramters.- Parameters:
supportsSync
- True if the collector supports DD context gathering during sync. DD gatherin phase.supportsAsync
- True if the collector supports DD context gathering during async. DD gatherin phase.supportedType
- The type of the object served by this collector.
-
-
Method Detail
-
getSupportedType
public org.eclipse.emf.ecore.EClass getSupportedType()
Description copied from interface:IRemovalContextCollector
Gets the type of the BM object this collector supports.- Specified by:
getSupportedType
in interfaceIRemovalContextCollector
- Returns:
- The type of supported BM object.
-
supportsAsync
public boolean supportsAsync()
Description copied from interface:IRemovalContextCollector
Checks if this collector supports collecting of context for async. DD mode.- Specified by:
supportsAsync
in interfaceIRemovalContextCollector
- Returns:
- True if the async. collection mode supported.
-
supportsSync
public boolean supportsSync()
Description copied from interface:IRemovalContextCollector
Checks if this collector supports collecting of context for sync. DD mode.- Specified by:
supportsSync
in interfaceIRemovalContextCollector
- Returns:
- True if the sync. collection mode supported.
-
-