org.eclipse.uml2.common.util
Class SubsetSupersetEObjectContainmentEList<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.uml2.common.util.SubsetSupersetEObjectEList<E>
                                  extended by org.eclipse.uml2.common.util.SubsetSupersetEObjectContainmentEList<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, org.eclipse.emf.common.notify.NotifyingList<E>, org.eclipse.emf.common.util.EList<E>, org.eclipse.emf.ecore.EStructuralFeature.Setting, org.eclipse.emf.ecore.util.InternalEList<E>, org.eclipse.emf.ecore.util.InternalEList.Unsettable<E>
Direct Known Subclasses:
SubsetSupersetEObjectContainmentEList.Resolving, SubsetSupersetEObjectContainmentEList.Unsettable, SubsetSupersetEObjectContainmentWithInverseEList

public class SubsetSupersetEObjectContainmentEList<E>
extends SubsetSupersetEObjectEList<E>

Since:
1.2
See Also:
Serialized Form

Nested Class Summary
static class SubsetSupersetEObjectContainmentEList.Resolving<E>
           
static class SubsetSupersetEObjectContainmentEList.Unsettable<E>
           
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EcoreEList
org.eclipse.emf.ecore.util.EcoreEList.Dynamic<E>, org.eclipse.emf.ecore.util.EcoreEList.Generic<E>, org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList<E>
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList
org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.BasicEList.EIterator<E1>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1>, org.eclipse.emf.common.util.BasicEList.FastCompare<E>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1>
 
Field Summary
 
Fields inherited from class org.eclipse.uml2.common.util.SubsetSupersetEObjectEList
subsetFeatureIDs, supersetFeatureIDs
 
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
SubsetSupersetEObjectContainmentEList(java.lang.Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs)
           
 
Method Summary
 boolean addAll(java.util.Collection<? extends E> collection)
           
 boolean addAll(int index, java.util.Collection<? extends E> collection)
           
protected  boolean hasInverse()
           
protected  boolean hasNavigableInverse()
           
protected  boolean isContainment()
           
 
Methods inherited from class org.eclipse.uml2.common.util.SubsetSupersetEObjectEList
add, add, basicAdd, basicSet, didRemove, enforceSubsetConstraints, enforceSupersetConstraints, set, subsetRemove, supersetAdd
 
Methods inherited from class org.eclipse.emf.ecore.util.EObjectEList
canContainNull, getFeatureID, isEObject, isUnique, resolve, useEquals
 
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasProxies, indexOf, inverseAdd, inverseRemove, 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, basicRemove, 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
assign, basicGet, clone, containsAll, data, didAdd, didChange, didClear, didMove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, 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, 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
clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, size, subList
 

Constructor Detail

SubsetSupersetEObjectContainmentEList

public SubsetSupersetEObjectContainmentEList(java.lang.Class<?> dataClass,
                                             org.eclipse.emf.ecore.InternalEObject owner,
                                             int featureID,
                                             int[] supersetFeatureIDs,
                                             int[] subsetFeatureIDs)
Method Detail

hasInverse

protected boolean hasInverse()
Overrides:
hasInverse in class org.eclipse.emf.ecore.util.EObjectEList<E>

hasNavigableInverse

protected boolean hasNavigableInverse()
Overrides:
hasNavigableInverse in class org.eclipse.emf.ecore.util.EcoreEList<E>

isContainment

protected boolean isContainment()
Overrides:
isContainment in class org.eclipse.emf.ecore.util.EcoreEList<E>

addAll

public boolean addAll(java.util.Collection<? extends E> collection)
Specified by:
addAll in interface java.util.Collection<E>
Specified by:
addAll in interface java.util.List<E>
Overrides:
addAll in class SubsetSupersetEObjectEList<E>

addAll

public boolean addAll(int index,
                      java.util.Collection<? extends E> collection)
Specified by:
addAll in interface java.util.List<E>
Overrides:
addAll in class SubsetSupersetEObjectEList<E>

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