org.eclipse.ocl.examples.pivot.delegate
Class DelegateEClassifierAdapter

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.ocl.examples.pivot.delegate.DelegateEClassifierAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

public class DelegateEClassifierAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl

DelegateEClassifierAdapter extends an EClassifier to cache its ValidationDelegate.

Since:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
protected  java.util.Map<java.lang.String,ValidationDelegate> validationDelegateMap
           
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
DelegateEClassifierAdapter()
           
 
Method Summary
static DelegateEClassifierAdapter getAdapter(org.eclipse.emf.ecore.EClassifier eClassifier)
           
 org.eclipse.emf.ecore.EClassifier getTarget()
           
 ValidationDelegate getValidationDelegate(java.lang.String delegateURI)
           
 java.util.Map<java.lang.String,ValidationDelegate> getValidationDelegates()
           
 boolean isAdapterForType(java.lang.Object type)
           
 void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
           
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validationDelegateMap

protected java.util.Map<java.lang.String,ValidationDelegate> validationDelegateMap
Constructor Detail

DelegateEClassifierAdapter

public DelegateEClassifierAdapter()
Method Detail

getAdapter

public static DelegateEClassifierAdapter getAdapter(org.eclipse.emf.ecore.EClassifier eClassifier)

getValidationDelegate

public ValidationDelegate getValidationDelegate(java.lang.String delegateURI)

getValidationDelegates

public java.util.Map<java.lang.String,ValidationDelegate> getValidationDelegates()

getTarget

public org.eclipse.emf.ecore.EClassifier getTarget()
Specified by:
getTarget in interface org.eclipse.emf.common.notify.Adapter
Overrides:
getTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl

isAdapterForType

public boolean isAdapterForType(java.lang.Object type)
Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
Overrides:
isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl

setTarget

public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter
Overrides:
setTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl