org.eclipse.emf.ecore.util
Class BasicInternalEList.Unsettable<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by org.eclipse.emf.common.util.AbstractEList<E>
              extended by org.eclipse.emf.common.util.BasicEList<E>
                  extended by org.eclipse.emf.ecore.util.BasicInternalEList<E>
                      extended by org.eclipse.emf.ecore.util.BasicInternalEList.Unsettable<E>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess, EList<E>, InternalEList<E>, InternalEList.Unsettable<E>
Enclosing class:
BasicInternalEList<E>

public static class BasicInternalEList.Unsettable<E>
extends BasicInternalEList<E>
implements InternalEList.Unsettable<E>

Since:
2.8
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.BasicInternalEList
BasicInternalEList.Unsettable<E>
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList
InternalEList.Unsettable<E>
 
Field Summary
protected  boolean isSet
           
 
Fields inherited from class org.eclipse.emf.ecore.util.BasicInternalEList
dataClass
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BasicInternalEList.Unsettable(java.lang.Class<? extends E> dataClass)
           
 
Method Summary
protected  void didChange()
          Called to indicate that the data storage has been changed.
 boolean isSet()
          Returns whether a value is held by the feature of the object.
 void unset()
          Unsets the value held by the feature of the object.
 
Methods inherited from class org.eclipse.emf.ecore.util.BasicInternalEList
basicAdd, basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, newData
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArray
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
add, add, addAll, addAll, canContainNull, didAdd, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, useEquals, validate
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move, move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Field Detail

isSet

protected boolean isSet
Constructor Detail

BasicInternalEList.Unsettable

public BasicInternalEList.Unsettable(java.lang.Class<? extends E> dataClass)
Method Detail

didChange

protected void didChange()
Description copied from class: AbstractEList
Called to indicate that the data storage has been changed. This implementation does nothing; clients can use this to monitor change in the data storage.

Overrides:
didChange in class AbstractEList<E>

isSet

public boolean isSet()
Description copied from interface: InternalEList.Unsettable
Returns whether a value is held by the feature of the object.

Specified by:
isSet in interface InternalEList.Unsettable<E>
Returns:
whether a value is held by the feature of the object.
See Also:
EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)

unset

public void unset()
Description copied from interface: InternalEList.Unsettable
Unsets the value held by the feature of the object.

Specified by:
unset in interface InternalEList.Unsettable<E>
See Also:
EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.