org.eclipse.ocl.ecore.delegate
Class DelegateEPackageAdapter
java.lang.Object
AdapterImpl
org.eclipse.ocl.ecore.delegate.DelegateEPackageAdapter
public class DelegateEPackageAdapter
- extends AdapterImpl
DelegateEClassifierAdapter extends an EClassifier to cache its DelegateDomain
that supervises installation of OCL annotations from an OCL document.
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegateDomainMap
protected java.util.Map<java.lang.String,DelegateDomain> delegateDomainMap
- The map from delegateURI to known DelegateDomain. A mapping may be
defined by the delegate_domain extension point or by an entry in the
global EPackage.Internal.DelegateDomain.Factory.Registry.Instance or by
an entry in the local
EPackage.Internal.DelegateDomain.Factory.Registry.class ResourceSetImpl
registry.
delegatedBehaviorMap
protected java.util.Map<java.lang.String,java.util.List<DelegateDomain>> delegatedBehaviorMap
- The map from behaviour name to corresponding DelegateDomain. This is
defined by an http://www.eclipse.org/emf/2002/Ecore EPackage annotation
with the behaviour name as a key and the delegateURIs as a comma
separated list.
DelegateEPackageAdapter
public DelegateEPackageAdapter()
getAdapter
public static DelegateEPackageAdapter getAdapter(EPackage ePackage)
createDelegateDomain
protected DelegateDomain createDelegateDomain(java.lang.String delegateURI)
getDelegateDomain
public DelegateDomain getDelegateDomain(java.lang.String delegateURI)
getDelegateDomains
public java.util.Map<java.lang.String,DelegateDomain> getDelegateDomains()
getDelegateDomains
public java.util.List<DelegateDomain> getDelegateDomains(DelegatedBehavior<?,?,?> delegatedBehavior)
getTarget
public EPackage getTarget()
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
setTarget
public void setTarget(Notifier newTarget)
unloadDelegates
public void unloadDelegates()