public static class DelegatingEcoreEList.UnmodifiableEList<E> extends <any> implements InternalEList.Unsettable<E>, EStructuralFeature.Setting
InternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
protected EStructuralFeature |
eStructuralFeature |
protected InternalEObject |
owner |
| Constructor and Description |
|---|
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 unresolved value.
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns an iterator that yields unresolved values.
|
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 unmodifiable list that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator()
Returns a list iterator that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a list iterator that yields unresolved values.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, setUniqueprotected final InternalEObject owner
protected final EStructuralFeature eStructuralFeature
public UnmodifiableEList(InternalEObject owner, EStructuralFeature eStructuralFeature, java.util.List<E> underlyingList)
public E basicGet(int index)
InternalEListbasicGet in interface InternalEList<E>public java.util.List<E> basicList()
InternalEListbasicList in interface InternalEList<E>public java.util.Iterator<E> basicIterator()
InternalEListbasicIterator in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator()
InternalEListbasicListIterator in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator(int index)
InternalEListbasicListIterator in interface InternalEList<E>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>Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature