Package com.nomagic.uml2.ext.jmi.reflect
Interface ElementRegistry
-
- All Known Implementing Classes:
com.nomagic.uml2.project.ElementProjectImpl
,Project
public interface ElementRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addElementByID(BaseElement object, java.lang.String id)
java.util.Collection<BaseElement>
getAllElements()
BaseElement
getElementByID(java.lang.String id)
boolean
isDisposed(BaseElement element)
default boolean
isEMFProxiesSupported()
Returns whether the registry supports EMF proxies.boolean
isPreloadProject()
boolean
isUpdatingProjectsInCurrentThread()
void
refAddInstance(javax.jmi.reflect.RefBaseObject instance)
java.util.Collection<javax.jmi.reflect.RefBaseObject>
refAllOfClasses(java.util.Set<AbstractRefClass> classes)
void
refRemoveInstance(javax.jmi.reflect.RefBaseObject instance)
void
removeElementByID(BaseElement object)
-
-
-
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.
-
-