public class SubsetSupersetEObjectEList<E>
extends org.eclipse.emf.ecore.util.EObjectEList<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
SubsetSupersetEObjectEList.Unsettable<E> |
org.eclipse.emf.ecore.util.EcoreEList.Dynamic<E>, org.eclipse.emf.ecore.util.EcoreEList.Generic<E>, org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList<E>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>| Modifier and Type | Field and Description |
|---|---|
protected int[] |
subsetFeatureIDs
An array of subset feature identifiers.
|
protected int[] |
supersetFeatureIDs
An array of superset feature identifiers.
|
| Constructor and Description |
|---|
SubsetSupersetEObjectEList(java.lang.Class<?> dataClass,
org.eclipse.emf.ecore.InternalEObject owner,
int featureID,
int[] supersetFeatureIDs,
int[] subsetFeatureIDs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E object) |
void |
add(int index,
E object) |
boolean |
addAll(java.util.Collection<? extends E> collection) |
boolean |
addAll(int index,
java.util.Collection<? extends E> collection) |
org.eclipse.emf.common.notify.NotificationChain |
basicAdd(E object,
org.eclipse.emf.common.notify.NotificationChain notifications) |
org.eclipse.emf.common.notify.NotificationChain |
basicSet(int index,
E object,
org.eclipse.emf.common.notify.NotificationChain notifications) |
protected void |
didRemove(int index,
E oldObject) |
protected boolean |
enforceSubsetConstraints()
Indicates whether subset constraints should be enforced.
|
protected boolean |
enforceSupersetConstraints()
Indicates whether superset constraints should be enforced.
|
E |
set(int index,
E object) |
protected void |
subsetRemove(java.lang.Object object)
Removes the specified element from the subset(s).
|
protected void |
supersetAdd(java.lang.Object object)
Adds the specified element to the superset(s).
|
canContainNull, getFeatureID, hasInverse, isEObject, isUnique, resolve, useEqualscontains, 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, validatebasicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArrayaddAllUnique, 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, shadowSetassign, basicGet, clone, data, get, grow, isEmpty, primitiveGet, setData, shrink, sizedidAdd, didChange, didClear, didMove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUniqueprotected final int[] supersetFeatureIDs
protected final int[] subsetFeatureIDs
public SubsetSupersetEObjectEList(java.lang.Class<?> dataClass,
org.eclipse.emf.ecore.InternalEObject owner,
int featureID,
int[] supersetFeatureIDs,
int[] subsetFeatureIDs)
protected boolean enforceSubsetConstraints()
true if subset constraints should be enforced;
false otherwise.protected void supersetAdd(java.lang.Object object)
object - The element to be added.protected boolean enforceSupersetConstraints()
true if superset constraints should be enforced;
false otherwise.protected void subsetRemove(java.lang.Object object)
object - The element to be removed.public org.eclipse.emf.common.notify.NotificationChain basicAdd(E object, org.eclipse.emf.common.notify.NotificationChain notifications)
public org.eclipse.emf.common.notify.NotificationChain basicSet(int index,
E object,
org.eclipse.emf.common.notify.NotificationChain notifications)
basicSet in class org.eclipse.emf.common.notify.impl.NotifyingListImpl<E>public void add(int index,
E object)
public boolean add(E object)
public boolean addAll(java.util.Collection<? extends E> collection)
public boolean addAll(int index,
java.util.Collection<? extends E> collection)