org.eclipse.emf.ecore.util
Class EObjectWithInverseResolvingEList<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.eclipse.emf.common.util.BasicEList<E>
              extended by org.eclipse.emf.common.notify.impl.NotifyingListImpl<E>
                  extended by org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E>
                      extended by org.eclipse.emf.ecore.util.EcoreEList<E>
                          extended by org.eclipse.emf.ecore.util.EObjectEList<E>
                              extended by org.eclipse.emf.ecore.util.EObjectWithInverseEList<E>
                                  extended by org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList<E>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess, NotifyingList<E>, EList<E>, EStructuralFeature.Setting, InternalEList<E>, InternalEList.Unsettable<E>
Direct Known Subclasses:
EObjectWithInverseResolvingEList.ManyInverse

public class EObjectWithInverseResolvingEList<E>
extends EObjectWithInverseEList<E>

See Also:
Serialized Form

Nested Class Summary
static class EObjectWithInverseResolvingEList.ManyInverse<E>
           
static class EObjectWithInverseResolvingEList.Unsettable<E>
           
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EcoreEList
EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E>
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.util.EObjectWithInverseEList
inverseFeatureID
 
Fields inherited from class org.eclipse.emf.ecore.util.EObjectEList
featureID
 
Fields inherited from class org.eclipse.emf.ecore.util.EcoreEList
dataClass, owner
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EObjectWithInverseResolvingEList(java.lang.Class<?> dataClass, InternalEObject owner, int featureID, int inverseFeatureID)
           
 
Method Summary
protected  boolean hasProxies()
           
protected  E resolve(int index, E object)
          Resolves the object at the index and returns the result.
 
Methods inherited from class org.eclipse.emf.ecore.util.EObjectWithInverseEList
getInverseFeatureClass, getInverseFeatureID, hasInverse, hasNavigableInverse
 
Methods inherited from class org.eclipse.emf.ecore.util.EObjectEList
canContainNull, getFeatureID, isEObject, isUnique, useEquals
 
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getNotifier, hasInstanceClass, hasManyInverse, indexOf, inverseAdd, inverseRemove, isContainment, isInstance, isNotificationRequired, isSet, lastIndexOf, newData, resolve, resolve, resolveProxy, set, toArray, toArray, unset, validate
 
Methods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl
basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList
add, add, addAll, addAll, assign, basicGet, clone, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, setData, shrink, size, toString
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move, move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList
 

Constructor Detail

EObjectWithInverseResolvingEList

public EObjectWithInverseResolvingEList(java.lang.Class<?> dataClass,
                                        InternalEObject owner,
                                        int featureID,
                                        int inverseFeatureID)
Method Detail

hasProxies

protected boolean hasProxies()
Overrides:
hasProxies in class EcoreEList<E>

resolve

protected E resolve(int index,
                    E object)
Description copied from class: BasicEList
Resolves the object at the index and returns the result. This implementation simply returns the object; clients can use this to transform objects as they are fetched.

Overrides:
resolve in class EObjectEList<E>
Parameters:
index - the position of the content.
object - the content.
Returns:
the resolved object.

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