public class SubsetSupersetEDataTypeEList<E>
extends org.eclipse.emf.ecore.util.EDataTypeEList<E>
Modifier and Type | Class and Description |
---|---|
static class |
SubsetSupersetEDataTypeEList.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 |
---|
SubsetSupersetEDataTypeEList(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).
|
getFeatureID, isEObject, resolve
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
basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicRemove, canContainNull, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasInverse, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet
assign, basicGet, clone, data, get, grow, isEmpty, primitiveGet, setData, shrink, size
didAdd, didChange, didClear, didMove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, retainAll, toString, useEquals
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addAllUnique, addUnique, addUnique, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
protected final int[] supersetFeatureIDs
protected final int[] subsetFeatureIDs
public SubsetSupersetEDataTypeEList(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)