Package com.nomagic.magicdraw.core.proxy
Interface ProxyManager
@OpenApiAll
public interface ProxyManager
Manager for working with proxy.
-
Method Summary
Modifier and TypeMethodDescriptioncom.nomagic.ci.persistence.IAttachedProjectReturn module in which element exists is not shared, and used by module shared part.Returns all registered proxies.longReturns state if of proxy manager.booleanReturn true if element is proxy.booleanreturns true if proxy was not resolved by loading module.voidmakeNotProxy(ModelElement element) Marks element as normal.voidmarkProxy(ModelElement element) Just marks this element as proxy.
-
Method Details
-
isElementProxy
Return true if element is proxy. If element is ghost proxy it returns also true.- Parameters:
el- element to check- Returns:
- true if element is proxy. If element is ghost proxy it returns also true
-
isGhostProxy
returns true if proxy was not resolved by loading module. Method makes sense only when element is proxy.- Parameters:
el- element to check- Returns:
- true if proxy was not resolved by loading module.
-
markProxy
Just marks this element as proxy.- Parameters:
element- element to mark as proxy
-
makeNotProxy
Marks element as normal.- Parameters:
element- element to mark as not proxy
-
getProxies
Collection<Element> getProxies()Returns all registered proxies.- Returns:
- proxies
-
getStateId
long getStateId()Returns state if of proxy manager. Manager state changes if proxies are added or removed.- Returns:
- state if
-