Interface IDependenciesParticipant


  • public interface IDependenciesParticipant
    Contract for object dependencies participants
    • Method Detail

      • getDependentObjects

        default Collection<IBmObject> getDependentObjects​(org.eclipse.emf.ecore.EObject eObject,
                                                          IBmTransaction transaction)
        Provides collection of the underlying (dependent) objects for EObject specified
        Parameters:
        eObject - the EObject to be examined, cannot be null
        transaction - the current IBmTransaction, can be null
        Returns:
        Collection of the IBmObject, never null, 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 for EObject specified
        Parameters:
        eObject - the EObject to be examined, cannot be null
        transaction - the current IBmTransaction, can be null
        Returns:
        Collection of the modules URI, never null, can be empty collection
      • supports

        boolean supports​(org.eclipse.emf.ecore.EClass eClass)
        Indicates whether the participant supports the specified EClass.
        Parameters:
        eClass - the EClass, cannot be not null
        Returns:
        true if the participant supports the specified EClass, false otherwise