Interface IDependenciesParticipant
-
public interface IDependenciesParticipant
Contract for object dependencies participants
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Collection<org.eclipse.emf.common.util.URI>
getDependentModules(org.eclipse.emf.ecore.EObject eObject, IBmTransaction transaction)
Provides collection of the underlying (dependent) modules forEObject
specifieddefault Collection<IBmObject>
getDependentObjects(org.eclipse.emf.ecore.EObject eObject, IBmTransaction transaction)
Provides collection of the underlying (dependent) objects forEObject
specifiedboolean
supports(org.eclipse.emf.ecore.EClass eClass)
Indicates whether the participant supports the specifiedEClass
.
-
-
-
Method Detail
-
getDependentObjects
default Collection<IBmObject> getDependentObjects(org.eclipse.emf.ecore.EObject eObject, IBmTransaction transaction)
Provides collection of the underlying (dependent) objects forEObject
specified- Parameters:
eObject
- theEObject
to be examined, cannot benull
transaction
- the currentIBmTransaction
, can benull
- Returns:
- Collection of the
IBmObject
, nevernull
, can be empty collection
-
getDependentModules
default Collection<org.eclipse.emf.common.util.URI> getDependentModules(org.eclipse.emf.ecore.EObject eObject, IBmTransaction transaction)
Provides collection of the underlying (dependent) modules forEObject
specified- Parameters:
eObject
- theEObject
to be examined, cannot benull
transaction
- the currentIBmTransaction
, can benull
- Returns:
- Collection of the modules
URI
, nevernull
, can be empty collection
-
supports
boolean supports(org.eclipse.emf.ecore.EClass eClass)
Indicates whether the participant supports the specifiedEClass
.- Parameters:
eClass
- theEClass
, cannot be notnull
- Returns:
true
if the participant supports the specifiedEClass
,false
otherwise
-
-