public static class DelegatingEcoreEList.UnmodifiableEList<E> extends DelegatingEList.UnmodifiableEList<E> implements InternalEList.Unsettable<E>, EStructuralFeature.Setting
DelegatingEList.EIterator<E1>, DelegatingEList.EListIterator<E1>, DelegatingEList.NonResolvingEIterator<E1>, DelegatingEList.NonResolvingEListIterator<E1>, DelegatingEList.UnmodifiableEList<E>AbstractEList.BasicIndexOutOfBoundsExceptionInternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
protected EStructuralFeature |
eStructuralFeature |
protected InternalEObject |
owner |
underlyingList| Constructor and Description |
|---|
DelegatingEcoreEList.UnmodifiableEList(InternalEObject owner,
EStructuralFeature eStructuralFeature,
java.util.List<E> underlyingList) |
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse.
|
boolean |
basicContains(java.lang.Object object)
Returns whether the object is contained within the list of unresolved values.
|
boolean |
basicContainsAll(java.util.Collection<?> collection)
Returns whether each object in the collection is contained within the list of unresolved values.
|
E |
basicGet(int index)
Returns the object at the index without
resolving it. |
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns a read-only iterator that does not
resolve objects. |
int |
basicLastIndexOf(java.lang.Object object)
Returns the last index of the object within the list of unresolved values.
|
java.util.List<E> |
basicList()
Returns an unsafe list that provides a
non-resolving view of the backing store list. |
java.util.ListIterator<E> |
basicListIterator()
Returns a read-only list iterator that does not
resolve objects. |
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a read-only list iterator advanced to the given index that does not
resolve objects. |
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse.
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values.
|
<T> T[] |
basicToArray(T[] array)
Returns the array with unresolved values.
|
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object;
it optionally
resolves the value. |
EObject |
getEObject()
Returns the object holding a value.
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object.
|
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object.
|
void |
unset()
Unsets the value held by the feature of the object.
|
add, add, addAll, addAll, clear, delegateList, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, setaddAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, contains, containsAll, delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, doClear, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, primitiveGet, setUnique, size, toArray, toArray, toStringcanContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, isUnique, resolve, useEquals, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, setUniqueprotected final InternalEObject owner
protected final EStructuralFeature eStructuralFeature
public DelegatingEcoreEList.UnmodifiableEList(InternalEObject owner, EStructuralFeature eStructuralFeature, java.util.List<E> underlyingList)
public E basicGet(int index)
DelegatingEListresolving it.basicGet in interface InternalEList<E>basicGet in class DelegatingEList<E>index - the position in question.AbstractEList.resolve(int, E),
DelegatingEList.get(int)public java.util.List<E> basicList()
DelegatingEListnon-resolving view of the backing store list.basicList in interface InternalEList<E>basicList in class DelegatingEList<E>public java.util.Iterator<E> basicIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEIterator.basicIterator in interface InternalEList<E>basicIterator in class AbstractEList<E>public java.util.ListIterator<E> basicListIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>public java.util.ListIterator<E> basicListIterator(int index)
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>index - the starting index.public java.lang.Object[] basicToArray()
InternalEListbasicToArray in interface InternalEList<E>public <T> T[] basicToArray(T[] array)
InternalEListbasicToArray in interface InternalEList<E>public boolean basicContains(java.lang.Object object)
InternalEListbasicContains in interface InternalEList<E>public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEListbasicContainsAll in interface InternalEList<E>public int basicIndexOf(java.lang.Object object)
InternalEListbasicIndexOf in interface InternalEList<E>public int basicLastIndexOf(java.lang.Object object)
InternalEListbasicLastIndexOf in interface InternalEList<E>public EObject getEObject()
EStructuralFeature.SettinggetEObject in interface EStructuralFeature.Settingpublic EStructuralFeature getEStructuralFeature()
EStructuralFeature.SettinggetEStructuralFeature in interface EStructuralFeature.Settingpublic java.lang.Object get(boolean resolve)
EStructuralFeature.Settingresolves the value.get in interface EStructuralFeature.Settingresolve - whether to resolve.EObject.eGet(EStructuralFeature, boolean)public void set(java.lang.Object newValue)
EStructuralFeature.Settingset in interface EStructuralFeature.SettingnewValue - the newValue.EObject.eSet(EStructuralFeature, Object)public boolean isSet()
InternalEList.UnsettableisSet in interface EStructuralFeature.SettingisSet in interface InternalEList.Unsettable<E>EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettableunset in interface EStructuralFeature.Settingunset in interface InternalEList.Unsettable<E>EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEListbasicRemove in interface InternalEList<E>public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEListbasicAdd in interface InternalEList<E>