org.eclipse.uml2.util
Class CacheAdapter

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.AdapterImpl
      extended byorg.eclipse.uml2.util.CacheAdapter
All Implemented Interfaces:
Adapter

public class CacheAdapter
extends AdapterImpl


Field Summary
static CacheAdapter INSTANCE
           
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
CacheAdapter()
           
 
Method Summary
 boolean adapt(Notifier notifier)
           
 void clear()
           
 void clear(Resource resource)
           
 boolean containsKey(EObject eObject, Object key)
           
 boolean containsKey(Resource resource, EObject eObject, Object key)
           
 Object get(EObject eObject, Object key)
           
 Object get(Resource resource, EObject eObject, Object key)
           
 void notifyChanged(Notification msg)
           
 Object put(EObject eObject, Object key, Object value)
           
 Object put(Resource resource, EObject eObject, Object key, Object value)
           
 void setTarget(Notifier newTarget)
           
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final CacheAdapter INSTANCE
Constructor Detail

CacheAdapter

public CacheAdapter()
Method Detail

adapt

public boolean adapt(Notifier notifier)

notifyChanged

public void notifyChanged(Notification msg)

setTarget

public void setTarget(Notifier newTarget)

clear

public void clear()

clear

public void clear(Resource resource)

containsKey

public boolean containsKey(EObject eObject,
                           Object key)

containsKey

public boolean containsKey(Resource resource,
                           EObject eObject,
                           Object key)

get

public Object get(EObject eObject,
                  Object key)

get

public Object get(Resource resource,
                  EObject eObject,
                  Object key)

put

public Object put(EObject eObject,
                  Object key,
                  Object value)

put

public Object put(Resource resource,
                  EObject eObject,
                  Object key,
                  Object value)

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.