Package com.nomagic.magicdraw.uml2.util
Class SubsetSupersetEObjectContainmentEList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.eclipse.emf.common.util.BasicEList<E>
-
- org.eclipse.emf.common.notify.impl.NotifyingListImpl<E>
-
- org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E>
-
- org.eclipse.emf.ecore.util.EcoreEList<E>
-
- org.eclipse.emf.ecore.util.EObjectEList<E>
-
- com.nomagic.magicdraw.uml2.util.ModelEObjectEList<E>
-
- com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectEList<E>
-
- com.nomagic.magicdraw.uml2.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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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 extends java.lang.Object>, org.eclipse.emf.ecore.util.EcoreEList.Generic<E extends java.lang.Object>, org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList<E extends java.lang.Object>
-
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 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.FastCompare<E extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1 extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectEList
subsetFeatureIDs, supersetFeatureIDs
-
-
Constructor Summary
Constructors Constructor Description SubsetSupersetEObjectContainmentEList(java.lang.Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs)
Creates and initializes a newSubsetSupersetEObjectContainmentEList
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAll(int index, java.util.Collection<? extends E> collection)
boolean
addAll(java.util.Collection<? extends E> collection)
protected boolean
hasInverse()
protected boolean
hasNavigableInverse()
protected boolean
isContainment()
-
Methods inherited from class com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectEList
add, add, basicAdd, basicSet, basicSupersetAdd, didRemove, enforceSubsetConstraints, enforceSupersetConstraints, replaceOrAddToSuperset, resolve, set, subsetRemove, supersetAdd
-
Methods inherited from class com.nomagic.magicdraw.uml2.util.ModelEObjectEList
addAllUnique, addUnique, addUnique, addUniqueSuppressNotifications, afterChange, assign, basicContains, basicContainsAll, basicGet, basicIndexOf, basicLastIndexOf, basicList, basicToArray, basicToArray, beforeChange, clear, contains, doMove, doRemove, firePropertyChange, firePropertyChange, get, getPropertyEventName, hasManyInverse, indexOf, isEmpty, isRawMode, lastIndexOf, move, primitiveGet, remove, removeAll, setUnique, size, startLogEvents, stopLogEvents, validate
-
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
createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasProxies, inverseAdd, inverseRemove, isInstance, isNotificationRequired, isSet, newData, resolve, resolveProxy, set, toArray, toArray, unset
-
Methods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl
basicIterator, basicListIterator, basicListIterator
-
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl
addAllUnique, addAllUnique, addAllUnique, basicRemove, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doRemoveAll, doSetUnique, getFeatureID, hasShadow, shadowAdd, shadowRemove, shadowSet
-
Methods inherited from class org.eclipse.emf.common.util.BasicEList
clone, data, grow, setData, shrink
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
didAdd, didChange, didClear, didMove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, retainAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubsetSupersetEObjectContainmentEList
public SubsetSupersetEObjectContainmentEList(java.lang.Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs)
Creates and initializes a newSubsetSupersetEObjectContainmentEList
instance.- Parameters:
dataClass
- data class.owner
- owner of the setting.featureID
- feature id.supersetFeatureIDs
- array of superset features.subsetFeatureIDs
- array of subset features.
-
-
Method Detail
-
hasInverse
protected boolean hasInverse()
- Overrides:
hasInverse
in classModelEObjectEList<E>
-
hasNavigableInverse
protected boolean hasNavigableInverse()
- Overrides:
hasNavigableInverse
in classModelEObjectEList<E>
-
isContainment
protected boolean isContainment()
- Overrides:
isContainment
in classorg.eclipse.emf.ecore.util.EcoreEList<E>
-
addAll
public boolean addAll(java.util.Collection<? extends E> collection)
- Specified by:
addAll
in interfacejava.util.Collection<E>
- Specified by:
addAll
in interfacejava.util.List<E>
- Overrides:
addAll
in classSubsetSupersetEObjectEList<E>
-
addAll
public boolean addAll(int index, java.util.Collection<? extends E> collection)
- Specified by:
addAll
in interfacejava.util.List<E>
- Overrides:
addAll
in classSubsetSupersetEObjectEList<E>
-
-