org.eclipse.uml2.common.util
Class SubsetSupersetEObjectEList

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
All Implemented Interfaces:
Cloneable, Collection, EList, EStructuralFeature.Setting, InternalEList, InternalEList.Unsettable, List, NotifyingList, RandomAccess, Serializable
Direct Known Subclasses:
SubsetSupersetEObjectContainmentEList, SubsetSupersetEObjectEList.Unsettable, SubsetSupersetEObjectResolvingEList, SubsetSupersetEObjectWithInverseEList

public class SubsetSupersetEObjectEList
extends EObjectEList

Since:
1.2
See Also:
Serialized Form

Nested Class Summary
static class SubsetSupersetEObjectEList.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
protected  int[] subsetFeatureIDs
           
protected  int[] 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
SubsetSupersetEObjectEList(Class dataClass, InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs)
           
 
Method Summary
 void add(int index, Object object)
           
 boolean add(Object object)
           
 boolean addAll(Collection collection)
           
 boolean addAll(int index, Collection collection)
           
 NotificationChain basicAdd(Object object, NotificationChain notifications)
           
 NotificationChain basicSet(int index, Object object, NotificationChain notifications)
           
protected  void didRemove(int index, Object oldObject)
           
 Object set(int index, Object object)
           
protected  void subsetRemove(Object object)
           
protected  void supersetAdd(Object object)
           
 
Methods inherited from class org.eclipse.emf.ecore.util.EObjectEList
canContainNull, getFeatureID, hasInverse, 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, hasNavigableInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isContainment, 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
 

Field Detail

supersetFeatureIDs

protected final int[] supersetFeatureIDs

subsetFeatureIDs

protected final int[] subsetFeatureIDs
Constructor Detail

SubsetSupersetEObjectEList

public SubsetSupersetEObjectEList(Class dataClass,
                                  InternalEObject owner,
                                  int featureID,
                                  int[] supersetFeatureIDs,
                                  int[] subsetFeatureIDs)
Method Detail

supersetAdd

protected void supersetAdd(Object object)

subsetRemove

protected void subsetRemove(Object object)

basicAdd

public NotificationChain basicAdd(Object object,
                                  NotificationChain notifications)

basicSet

public NotificationChain basicSet(int index,
                                  Object object,
                                  NotificationChain notifications)

add

public void add(int index,
                Object object)

add

public boolean add(Object object)

addAll

public boolean addAll(Collection collection)

addAll

public boolean addAll(int index,
                      Collection collection)

set

public Object set(int index,
                  Object object)

didRemove

protected void didRemove(int index,
                         Object oldObject)

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