public static class EStoreEObjectImpl.BasicEStoreEList<E> extends DelegatingEcoreEList.Dynamic<E>
DelegatingEcoreEList.Dynamic<E>, DelegatingEcoreEList.Generic<E>, DelegatingEcoreEList.UnmodifiableEList<E>, DelegatingEcoreEList.Unsettable<E>DelegatingEList.EIterator<E1>, DelegatingEList.EListIterator<E1>, DelegatingEList.NonResolvingEIterator<E1>, DelegatingEList.NonResolvingEListIterator<E1>AbstractEList.BasicIndexOutOfBoundsExceptioneStructuralFeatureHAS_INSTANCE_CLASS, HAS_MANY_INVERSE, HAS_NAVIGABLE_INVERSE, HAS_PROXIES, IS_CONTAINER, IS_CONTAINMENT, IS_ENUM, IS_EOBJECT, IS_PRIMITIVE, IS_SET, IS_UNIQUE, IS_UNSETTABLE, kindowner| Constructor and Description |
|---|
EStoreEObjectImpl.BasicEStoreEList(InternalEObject owner,
EStructuralFeature eStructuralFeature) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delegateAdd(int index,
java.lang.Object object)
Adds the object at the given index in the backing store list.
|
protected void |
delegateAdd(java.lang.Object object)
Adds the object at the end of the backing store list.
|
protected java.util.List<E> |
delegateBasicList()
Returns an unsafe list that provides a
non-resolving view of the backing store list. |
protected void |
delegateClear()
Clears the backing store list of all objects.
|
protected boolean |
delegateContains(java.lang.Object object)
Returns whether the backing store list contains the object.
|
protected boolean |
delegateContainsAll(java.util.Collection<?> collection)
Returns whether the backing store list contains each object in the collection.
|
protected boolean |
delegateEquals(java.lang.Object object)
Returns whether the object is a list with corresponding equal objects to those in the backing store list.
|
protected E |
delegateGet(int index)
Returns the object at the index in the backing store list.
|
protected int |
delegateHashCode()
Returns the hash code of the backing store list.
|
protected int |
delegateIndexOf(java.lang.Object object)
Returns the position of the first occurrence of the object in the backing store list.
|
protected boolean |
delegateIsEmpty()
Returns whether the backing store list has zero size.
|
protected java.util.Iterator<E> |
delegateIterator()
Returns an iterator over the backing store list.
|
protected int |
delegateLastIndexOf(java.lang.Object object)
Returns the position of the last occurrence of the object in the backing store list.
|
protected java.util.List<E> |
delegateList()
Returns the list that acts as the backing store.
|
protected java.util.ListIterator<E> |
delegateListIterator()
Returns a list iterator over the backing store list.
|
protected E |
delegateMove(int targetIndex,
int sourceIndex)
Moves the object at the source index in the backing store list by removing it and adding it at the new target index.
|
protected E |
delegateRemove(int index)
Removes the object at the index from the backing store list and returns it.
|
protected E |
delegateSet(int index,
E object)
Sets the object at the index in the backing store list
and returns the old object at the index.
|
protected int |
delegateSize()
Returns the number of objects in the backing store list.
|
protected java.lang.Object[] |
delegateToArray()
Returns an array containing all the objects in the backing store list in sequence.
|
protected <T> T[] |
delegateToArray(T[] array)
Returns an array containing all the objects in the backing store list in sequence.
|
protected java.lang.String |
delegateToString()
Returns a the string form of the backing store list.
|
protected InternalEObject.EStore |
eStore() |
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object.
|
boolean |
isSet()
Returns whether the list is considered set, i.e., whether it's not empty.
|
void |
unset()
Unsets the value held by the feature of the object.
|
canContainNull, didChange, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isUnique, isUnsettable, kind, useEqualscontains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray, validatebasicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArrayaddAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSetcontainsAll, doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toStringadd, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, iterator, listIterator, listIterator, move, setclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUniquepublic EStoreEObjectImpl.BasicEStoreEList(InternalEObject owner, EStructuralFeature eStructuralFeature)
protected InternalEObject.EStore eStore()
public boolean isSet()
DelegatingNotifyingListImplisSet in interface EStructuralFeature.SettingisSet in interface InternalEList.Unsettable<E>isSet in class DelegatingEcoreEList.Generic<E>EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettableunset in interface EStructuralFeature.Settingunset in interface InternalEList.Unsettable<E>unset in class DelegatingEcoreEList.Generic<E>EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)protected java.util.List<E> delegateList()
DelegatingEListdelegateList in class DelegatingEList<E>public EStructuralFeature getEStructuralFeature()
EStructuralFeature.SettinggetEStructuralFeature in interface EStructuralFeature.SettinggetEStructuralFeature in class DelegatingEcoreEList.Dynamic<E>protected void delegateAdd(int index,
java.lang.Object object)
DelegatingEListdelegateAdd in class DelegatingEList<E>object - the object to be added.protected void delegateAdd(java.lang.Object object)
DelegatingEListdelegateAdd in class DelegatingEList<E>object - the object to be added.protected java.util.List<E> delegateBasicList()
DelegatingEListnon-resolving view of the backing store list.delegateBasicList in class DelegatingEList<E>protected void delegateClear()
DelegatingEListdelegateClear in class DelegatingEList<E>protected boolean delegateContains(java.lang.Object object)
DelegatingEListdelegateContains in class DelegatingEList<E>object - the object in question.protected boolean delegateContainsAll(java.util.Collection<?> collection)
DelegatingEListdelegateContainsAll in class DelegatingEList<E>DelegatingEList.contains(java.lang.Object),
AbstractEList.useEquals()protected E delegateGet(int index)
DelegatingEListdelegateGet in class DelegatingEList<E>index - the position in question.protected int delegateHashCode()
DelegatingEListdelegateHashCode in class DelegatingEList<E>protected int delegateIndexOf(java.lang.Object object)
DelegatingEListdelegateIndexOf in class DelegatingEList<E>object - the object in question.protected boolean delegateIsEmpty()
DelegatingEListdelegateIsEmpty in class DelegatingEList<E>protected java.util.Iterator<E> delegateIterator()
DelegatingEListdelegateIterator in class DelegatingEList<E>protected int delegateLastIndexOf(java.lang.Object object)
DelegatingEListdelegateLastIndexOf in class DelegatingEList<E>object - the object in question.protected java.util.ListIterator<E> delegateListIterator()
DelegatingEListdelegateListIterator in class DelegatingEList<E>protected E delegateRemove(int index)
DelegatingEListdelegateRemove in class DelegatingEList<E>protected E delegateSet(int index, E object)
DelegatingEListdelegateSet in class DelegatingEList<E>object - the object to set.protected int delegateSize()
DelegatingEListdelegateSize in class DelegatingEList<E>protected java.lang.Object[] delegateToArray()
DelegatingEListdelegateToArray in class DelegatingEList<E>protected <T> T[] delegateToArray(T[] array)
DelegatingEListdelegateToArray in class DelegatingEList<E>array - the array that will be filled and returned, if it's big enough;
otherwise, a suitably large array of the same type will be allocated and used instead.protected E delegateMove(int targetIndex, int sourceIndex)
DelegatingEListdelegateMove in class DelegatingEList<E>targetIndex - the new position for the object in the list.sourceIndex - the old position of the object in the list.protected boolean delegateEquals(java.lang.Object object)
DelegatingEListdelegateEquals in class DelegatingEList<E>protected java.lang.String delegateToString()
DelegatingEListdelegateToString in class DelegatingEList<E>