com.ibm.etools.emf.ref
Interface Extent

All Superinterfaces:
java.util.Collection, EList, java.util.List, Notifier

public interface Extent
extends EList, Notifier


Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface com.ibm.etools.emf.notify.Notifier
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET
 
Method Summary
 boolean addKey(Key k)
           
 void addKeyedObject(java.lang.Object o)
          Insert the method's description here.
 Resource getEnclosingResource()
           
 Key getKey(java.lang.Class k)
           
 java.util.Collection getKeys()
           
 java.lang.Object getObjectByType(com.ibm.etools.emf.ecore.EMetaObject type)
          Returns an object of the passed in type, null if no match
 java.util.Collection getObjectsByType(com.ibm.etools.emf.ecore.EMetaObject type)
          Returns all the objects of the passed in type, null if no match
 Resource getResource()
           
 boolean isModified()
          This method indicates whether or not the extent has been modified since the last time it was loaded or saved.
 boolean removeKey(Key k)
           
 void removeKeyedObject(java.lang.Object o)
          Insert the method's description here.
 void setModified(boolean flag)
          This method is used to set the modified flag on the extent.
 void setResource(Resource resource)
           
 
Methods inherited from interface com.ibm.etools.emf.ref.EList
move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface com.ibm.etools.emf.notify.Notifier
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

addKey

public boolean addKey(Key k)

addKeyedObject

public void addKeyedObject(java.lang.Object o)
Insert the method's description here. Creation date: (11/08/00 9:59:09 AM)
Parameters:
o - java.lang.Object

getEnclosingResource

public Resource getEnclosingResource()

getKey

public Key getKey(java.lang.Class k)

getKeys

public java.util.Collection getKeys()

getResource

public Resource getResource()

removeKey

public boolean removeKey(Key k)

removeKeyedObject

public void removeKeyedObject(java.lang.Object o)
Insert the method's description here. Creation date: (11/08/00 9:59:52 AM)
Parameters:
o - java.lang.Object

setResource

public void setResource(Resource resource)

getObjectByType

public java.lang.Object getObjectByType(com.ibm.etools.emf.ecore.EMetaObject type)
Returns an object of the passed in type, null if no match

getObjectsByType

public java.util.Collection getObjectsByType(com.ibm.etools.emf.ecore.EMetaObject type)
Returns all the objects of the passed in type, null if no match

isModified

public boolean isModified()
This method indicates whether or not the extent has been modified since the last time it was loaded or saved. Creation date: (04/04/01 3:14:18 PM)
Returns:
boolean

setModified

public void setModified(boolean flag)
This method is used to set the modified flag on the extent. Creation date: (04/04/01 3:14:48 PM)
Parameters:
flag - boolean