org.eclipse.uml2.common.util
Class SubsetSupersetEObjectContainmentEList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.eclipse.emf.common.util.BasicEList
              extended byorg.eclipse.emf.common.notify.impl.NotifyingListImpl
                  extended byorg.eclipse.emf.ecore.util.EcoreEList
                      extended byorg.eclipse.emf.ecore.util.EObjectEList
                          extended byorg.eclipse.uml2.common.util.SubsetSupersetEObjectEList
                              extended byorg.eclipse.uml2.common.util.SubsetSupersetEObjectContainmentEList
All Implemented Interfaces:
Cloneable, Collection, EList, EStructuralFeature.Setting, InternalEList, InternalEList.Unsettable, List, NotifyingList, RandomAccess, Serializable
Direct Known Subclasses:
SubsetSupersetEObjectContainmentEList.Resolving, SubsetSupersetEObjectContainmentEList.Unsettable, SubsetSupersetEObjectContainmentWithInverseEList

public class SubsetSupersetEObjectContainmentEList
extends SubsetSupersetEObjectEList

Since:
1.2
See Also:
Serialized Form

Nested Class Summary
static class SubsetSupersetEObjectContainmentEList.Resolving
           
static class SubsetSupersetEObjectContainmentEList.Unsettable
           
 
Nested classes inherited from class org.eclipse.emf.ecore.util.EcoreEList
EcoreEList.Dynamic, EcoreEList.Generic, EcoreEList.UnmodifiableEList
 
Nested classes inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.FastCompare, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator
 
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(Class dataClass, InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs)
           
 
Method Summary
 boolean addAll(Collection collection)
           
 boolean addAll(int index, Collection 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, 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
basicIterator, basicList, basicListIterator, basicListIterator, 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.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
addUnique, addUnique, basicGet, basicRemove, 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(Class dataClass,
                                             InternalEObject owner,
                                             int featureID,
                                             int[] supersetFeatureIDs,
                                             int[] subsetFeatureIDs)
Method Detail

hasInverse

protected boolean hasInverse()

hasNavigableInverse

protected boolean hasNavigableInverse()

isContainment

protected boolean isContainment()

addAll

public boolean addAll(Collection collection)
Specified by:
addAll in interface List
Overrides:
addAll in class SubsetSupersetEObjectEList

addAll

public boolean addAll(int index,
                      Collection collection)
Specified by:
addAll in interface List
Overrides:
addAll in class SubsetSupersetEObjectEList

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