public abstract static class DelegatingEcoreEList.Unsettable<E> extends DelegatingEcoreEList<E>
delegating Ecore EList
with an implementation for tracking the unset state.
At least one of DelegatingEcoreEList.getEStructuralFeature()
or DelegatingEcoreEList.getFeatureID()
must be specialized
since each delegates to the other and without specialization this will lead to stack overflow.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
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSet |
owner
Constructor and Description |
---|
DelegatingEcoreEList.Unsettable(InternalEObject owner) |
Modifier and Type | Method and Description |
---|---|
protected void |
didChange()
Called to indicate that the data storage has been changed.
|
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, contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isContainment, isEObject, isInstance, isNotificationRequired, isUnique, 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, delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateList, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, 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, useEquals
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 DelegatingEcoreEList.Unsettable(InternalEObject owner)
protected void didChange()
AbstractEList
didChange
in class AbstractEList<E>
public boolean isSet()
DelegatingNotifyingListImpl
isSet
in interface EStructuralFeature.Setting
isSet
in interface InternalEList.Unsettable<E>
isSet
in class DelegatingEcoreEList<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<E>
EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)