org.eclipse.emf.ecore.xcore.resource
Class XcoreResource.FragmentCache

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.emf.ecore.xcore.resource.XcoreResource.FragmentCache
All Implemented Interfaces:
Adapter, Adapter.Internal
Enclosing class:
XcoreResource

protected class XcoreResource.FragmentCache
extends AdapterImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Field Summary
protected  int expectedSize
           
protected  java.util.Map<java.lang.String,EObject> map
           
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
XcoreResource.FragmentCache(XcoreResource xcoreResource)
           
 
Method Summary
protected  void buildEntry(EObject eObject)
           
 void clear()
           
 EObject get(java.lang.String uriFragment)
           
 void notifyChanged(Notification notification)
          Does nothing; clients may override so that it does something.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

protected java.util.Map<java.lang.String,EObject> map

expectedSize

protected int expectedSize
Constructor Detail

XcoreResource.FragmentCache

public XcoreResource.FragmentCache(XcoreResource xcoreResource)
Method Detail

get

public EObject get(java.lang.String uriFragment)

buildEntry

protected void buildEntry(EObject eObject)

notifyChanged

public void notifyChanged(Notification notification)
Description copied from class: AdapterImpl
Does nothing; clients may override so that it does something.

Specified by:
notifyChanged in interface Adapter
Overrides:
notifyChanged in class AdapterImpl
Parameters:
notification - a description of the change.

clear

public void clear()

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.