Interface ElementRegistry

  • All Known Implementing Classes:
    com.nomagic.uml2.project.ElementProjectImpl, Project

    public interface ElementRegistry
    • Method Detail

      • getElementByID

        @CheckForNull
        BaseElement getElementByID​(java.lang.String id)
      • getAllElements

        java.util.Collection<BaseElement> getAllElements()
      • addElementByID

        void addElementByID​(BaseElement object,
                            java.lang.String id)
      • removeElementByID

        void removeElementByID​(BaseElement object)
      • isDisposed

        boolean isDisposed​(BaseElement element)
      • refAddInstance

        void refAddInstance​(javax.jmi.reflect.RefBaseObject instance)
      • refRemoveInstance

        void refRemoveInstance​(javax.jmi.reflect.RefBaseObject instance)
      • isUpdatingProjectsInCurrentThread

        boolean isUpdatingProjectsInCurrentThread()
      • isPreloadProject

        boolean isPreloadProject()
      • refAllOfClasses

        java.util.Collection<javax.jmi.reflect.RefBaseObject> refAllOfClasses​(java.util.Set<AbstractRefClass> classes)
      • isEMFProxiesSupported

        default boolean isEMFProxiesSupported()
        Returns whether the registry supports EMF proxies.
        Returns:
        true if the element registry supports EMF proxies, otherwise - false.