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.BasicIndexOutOfBoundsException
eStructuralFeature
HAS_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, kind
owner
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, useEquals
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray, validate
basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
addAllUnique, 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, shadowSet
containsAll, doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toString
add, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, iterator, listIterator, listIterator, move, set
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
public EStoreEObjectImpl.BasicEStoreEList(InternalEObject owner, EStructuralFeature eStructuralFeature)
protected InternalEObject.EStore eStore()
public boolean isSet()
DelegatingNotifyingListImpl
isSet
in interface EStructuralFeature.Setting
isSet
in interface InternalEList.Unsettable<E>
isSet
in class DelegatingEcoreEList.Generic<E>
EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
public void unset()
InternalEList.Unsettable
unset
in interface EStructuralFeature.Setting
unset
in interface InternalEList.Unsettable<E>
unset
in class DelegatingEcoreEList.Generic<E>
EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)
protected java.util.List<E> delegateList()
DelegatingEList
delegateList
in class DelegatingEList<E>
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
getEStructuralFeature
in class DelegatingEcoreEList.Dynamic<E>
protected void delegateAdd(int index, java.lang.Object object)
DelegatingEList
delegateAdd
in class DelegatingEList<E>
object
- the object to be added.protected void delegateAdd(java.lang.Object object)
DelegatingEList
delegateAdd
in class DelegatingEList<E>
object
- the object to be added.protected java.util.List<E> delegateBasicList()
DelegatingEList
non-resolving
view of the backing store list.delegateBasicList
in class DelegatingEList<E>
protected void delegateClear()
DelegatingEList
delegateClear
in class DelegatingEList<E>
protected boolean delegateContains(java.lang.Object object)
DelegatingEList
delegateContains
in class DelegatingEList<E>
object
- the object in question.protected boolean delegateContainsAll(java.util.Collection<?> collection)
DelegatingEList
delegateContainsAll
in class DelegatingEList<E>
DelegatingEList.contains(java.lang.Object)
,
AbstractEList.useEquals()
protected E delegateGet(int index)
DelegatingEList
delegateGet
in class DelegatingEList<E>
index
- the position in question.protected int delegateHashCode()
DelegatingEList
delegateHashCode
in class DelegatingEList<E>
protected int delegateIndexOf(java.lang.Object object)
DelegatingEList
delegateIndexOf
in class DelegatingEList<E>
object
- the object in question.protected boolean delegateIsEmpty()
DelegatingEList
delegateIsEmpty
in class DelegatingEList<E>
protected java.util.Iterator<E> delegateIterator()
DelegatingEList
delegateIterator
in class DelegatingEList<E>
protected int delegateLastIndexOf(java.lang.Object object)
DelegatingEList
delegateLastIndexOf
in class DelegatingEList<E>
object
- the object in question.protected java.util.ListIterator<E> delegateListIterator()
DelegatingEList
delegateListIterator
in class DelegatingEList<E>
protected E delegateRemove(int index)
DelegatingEList
delegateRemove
in class DelegatingEList<E>
protected E delegateSet(int index, E object)
DelegatingEList
delegateSet
in class DelegatingEList<E>
object
- the object to set.protected int delegateSize()
DelegatingEList
delegateSize
in class DelegatingEList<E>
protected java.lang.Object[] delegateToArray()
DelegatingEList
delegateToArray
in class DelegatingEList<E>
protected <T> T[] delegateToArray(T[] array)
DelegatingEList
delegateToArray
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)
DelegatingEList
delegateMove
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)
DelegatingEList
delegateEquals
in class DelegatingEList<E>
protected java.lang.String delegateToString()
DelegatingEList
delegateToString
in class DelegatingEList<E>