org.eclipse.emf.ecore.impl
Class EStoreEObjectImpl.EStoreFeatureMap

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.eclipse.emf.common.util.DelegatingEList
              extended byorg.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl
                  extended byorg.eclipse.emf.ecore.util.DelegatingEcoreEList
                      extended byorg.eclipse.emf.ecore.util.DelegatingFeatureMap
                          extended byorg.eclipse.emf.ecore.impl.EStoreEObjectImpl.EStoreFeatureMap
All Implemented Interfaces:
Cloneable, Collection, EList, EStructuralFeature.Setting, FeatureMap, FeatureMap.Internal, FeatureMap.Internal.Wrapper, InternalEList, InternalEList.Unsettable, List, NotifyingList, Serializable
Enclosing class:
EStoreEObjectImpl

public static class EStoreEObjectImpl.EStoreFeatureMap
extends DelegatingFeatureMap

A feature map that delegates to a store.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.util.DelegatingFeatureMap
DelegatingFeatureMap.FeatureEIterator, DelegatingFeatureMap.FeatureMapEObjectImpl, DelegatingFeatureMap.ResolvingFeatureEIterator, DelegatingFeatureMap.ValueListIteratorImpl
 
Nested classes inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
DelegatingEcoreEList.Dynamic, DelegatingEcoreEList.Generic, DelegatingEcoreEList.UnmodifiableEList, DelegatingEcoreEList.Unsettable
 
Nested classes inherited from class org.eclipse.emf.common.util.DelegatingEList
DelegatingEList.EIterator, DelegatingEList.EListIterator, DelegatingEList.NonResolvingEIterator, DelegatingEList.NonResolvingEListIterator
 
Nested classes inherited from class org.eclipse.emf.ecore.util.FeatureMap.Internal
FeatureMap.Internal.Wrapper
 
Nested classes inherited from class org.eclipse.emf.ecore.util.FeatureMap
FeatureMap.Entry, FeatureMap.Internal, FeatureMap.ValueListIterator
 
Nested classes inherited from class org.eclipse.emf.ecore.util.InternalEList
InternalEList.Unsettable
 
Field Summary
protected  InternalEObject.EStore store
           
 
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingFeatureMap
eStructuralFeature, featureMapValidator, wrapper
 
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
owner
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EStoreEObjectImpl.EStoreFeatureMap(InternalEObject owner, EStructuralFeature eStructuralFeature, InternalEObject.EStore store)
           
 
Method Summary
protected  void delegateAdd(int index, Object object)
          Adds the object at the given index in the backing store list.
protected  void delegateAdd(Object object)
          Adds the object at the end of the backing store list.
protected  List 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(Object object)
          Returns whether the backing store list contains the object.
protected  boolean delegateContainsAll(Collection collection)
          Returns whether the backing store list contains each object in the collection.
protected  Object 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(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  Iterator delegateIterator()
          Returns an iterator over the backing store list.
protected  int delegateLastIndexOf(Object object)
          Returns the position of the last occurrence of the object in the backing store list.
protected  List delegateList()
          Returns the list that acts as the backing store.
protected  ListIterator delegateListIterator()
          Returns a list iterator over the backing store list.
protected  Object delegateRemove(int index)
          Removes the object at the index from the backing store list and returns it.
protected  Object delegateSet(int index, Object 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  Object[] delegateToArray()
          Returns an array containing all the objects in the backing store list in sequence.
protected  Object[] delegateToArray(Object[] array)
          Returns an array containing all the objects in the backing store list in sequence.
protected  String delegateToString()
          Returns a the string form of the backing store list.
 EStructuralFeature getEStructuralFeature()
          Returns the specific feature holding a value for the object.
 
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingFeatureMap
add, add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllUnique, addAllUnique, addUnique, addUnique, addUnique, addUnique, basicAdd, basicIterator, basicList, basicListIterator, basicListIterator, basicRemove, basicRemove, canContainNull, clear, contains, containsAll, createEntry, createNotification, createRawEntry, doAdd, doAdd, doAddAll, doAddAll, doSet, entryIndex, featureMap, get, get, getEStructuralFeature, getFeatureType, getModCount, getValue, getWrapper, hasInverse, hasShadow, indexOf, inverseAdd, inverseRemove, inverseTouch, isEmpty, isEObject, isMany, isResolveProxies, isSet, isUnique, iterator, lastIndexOf, list, listIterator, listIterator, move, move, move, remove, remove, removeAll, resolveProxy, resolveProxy, retainAll, set, set, set, set, setting, setUnique, setValue, setWrapper, shadowAdd, shadowRemove, shadowSet, shouldUnset, size, toArray, toArray, unset, validate, valueListIterator, valueListIterator
 
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
basicGet, basicIterator, basicList, basicListIterator, basicListIterator, contains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, isContainment, isInstance, isNotificationRequired, isSet, lastIndexOf, resolve, resolve, toArray, toArray, unset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl
addAllUnique, addAllUnique, addAllUnique, addUnique, basicAdd, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, remove, removeAll, setUnique
 
Methods inherited from class org.eclipse.emf.common.util.DelegatingEList
containsAll, delegateEquals, didAdd, didChange, didClear, didMove, didRemove, didSet, doClear, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, size, toString, useEquals
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.FeatureMap.Internal
getEObject
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move
 
Methods inherited from interface java.util.List
clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, size, subList, toArray, toArray
 
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addUnique, basicAdd, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, setUnique
 
Methods inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Setting
get, isSet, unset
 

Field Detail

store

protected final InternalEObject.EStore store
Constructor Detail

EStoreEObjectImpl.EStoreFeatureMap

public EStoreEObjectImpl.EStoreFeatureMap(InternalEObject owner,
                                          EStructuralFeature eStructuralFeature,
                                          InternalEObject.EStore store)
Method Detail

delegateList

protected List delegateList()
Description copied from class: DelegatingEList
Returns the list that acts as the backing store.

Specified by:
delegateList in class DelegatingEList
Returns:
the list that acts as the backing store.

getEStructuralFeature

public EStructuralFeature getEStructuralFeature()
Description copied from interface: EStructuralFeature.Setting
Returns the specific feature holding a value for the object.

Specified by:
getEStructuralFeature in interface EStructuralFeature.Setting
Overrides:
getEStructuralFeature in class DelegatingFeatureMap

delegateAdd

protected void delegateAdd(int index,
                           Object object)
Description copied from class: DelegatingEList
Adds the object at the given index in the backing store list.

Overrides:
delegateAdd in class DelegatingEList
Parameters:
object - the object to be added.

delegateAdd

protected void delegateAdd(Object object)
Description copied from class: DelegatingEList
Adds the object at the end of the backing store list.

Overrides:
delegateAdd in class DelegatingEList
Parameters:
object - the object to be added.

delegateBasicList

protected List delegateBasicList()
Description copied from class: DelegatingEList
Returns an unsafe list that provides a non-resolving view of the backing store list.

Overrides:
delegateBasicList in class DelegatingEList
Returns:
an unsafe list that provides a non-resolving view of the backing store list.

delegateClear

protected void delegateClear()
Description copied from class: DelegatingEList
Clears the backing store list of all objects.

Overrides:
delegateClear in class DelegatingEList

delegateContains

protected boolean delegateContains(Object object)
Description copied from class: DelegatingEList
Returns whether the backing store list contains the object.

Overrides:
delegateContains in class DelegatingEList
Parameters:
object - the object in question.
Returns:
whether the backing store list contains the object.

delegateContainsAll

protected boolean delegateContainsAll(Collection collection)
Description copied from class: DelegatingEList
Returns whether the backing store list contains each object in the collection.

Overrides:
delegateContainsAll in class DelegatingEList
Returns:
whether the backing store list contains each object in the collection.
See Also:
DelegatingEList.contains(java.lang.Object), DelegatingEList.useEquals()

delegateGet

protected Object delegateGet(int index)
Description copied from class: DelegatingEList
Returns the object at the index in the backing store list.

Overrides:
delegateGet in class DelegatingEList
Parameters:
index - the position in question.
Returns:
the object at the index.

delegateHashCode

protected int delegateHashCode()
Description copied from class: DelegatingEList
Returns the hash code of the backing store list.

Overrides:
delegateHashCode in class DelegatingEList
Returns:
a hash code.

delegateIndexOf

protected int delegateIndexOf(Object object)
Description copied from class: DelegatingEList
Returns the position of the first occurrence of the object in the backing store list.

Overrides:
delegateIndexOf in class DelegatingEList
Parameters:
object - the object in question.
Returns:
the position of the first occurrence of the object in the backing store list.

delegateIsEmpty

protected boolean delegateIsEmpty()
Description copied from class: DelegatingEList
Returns whether the backing store list has zero size.

Overrides:
delegateIsEmpty in class DelegatingEList
Returns:
whether the backing store list has zero size.

delegateIterator

protected Iterator delegateIterator()
Description copied from class: DelegatingEList
Returns an iterator over the backing store list.

Overrides:
delegateIterator in class DelegatingEList
Returns:
an iterator.

delegateLastIndexOf

protected int delegateLastIndexOf(Object object)
Description copied from class: DelegatingEList
Returns the position of the last occurrence of the object in the backing store list.

Overrides:
delegateLastIndexOf in class DelegatingEList
Parameters:
object - the object in question.
Returns:
the position of the last occurrence of the object in the backing store list.

delegateListIterator

protected ListIterator delegateListIterator()
Description copied from class: DelegatingEList
Returns a list iterator over the backing store list.

Overrides:
delegateListIterator in class DelegatingEList
Returns:
a list iterator.

delegateRemove

protected Object delegateRemove(int index)
Description copied from class: DelegatingEList
Removes the object at the index from the backing store list and returns it.

Overrides:
delegateRemove in class DelegatingEList
Returns:
the removed object.

delegateSet

protected Object delegateSet(int index,
                             Object object)
Description copied from class: DelegatingEList
Sets the object at the index in the backing store list and returns the old object at the index.

Overrides:
delegateSet in class DelegatingEList
Parameters:
object - the object to set.
Returns:
the old object at the index.

delegateSize

protected int delegateSize()
Description copied from class: DelegatingEList
Returns the number of objects in the backing store list.

Overrides:
delegateSize in class DelegatingEList
Returns:
the number of objects in the backing store list.

delegateToArray

protected Object[] delegateToArray()
Description copied from class: DelegatingEList
Returns an array containing all the objects in the backing store list in sequence.

Overrides:
delegateToArray in class DelegatingEList
Returns:
an array containing all the objects in the backing store list in sequence.

delegateToArray

protected Object[] delegateToArray(Object[] array)
Description copied from class: DelegatingEList
Returns an array containing all the objects in the backing store list in sequence.

Overrides:
delegateToArray in class DelegatingEList
Parameters:
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.
Returns:
an array containing all the objects in sequence.

delegateToString

protected String delegateToString()
Description copied from class: DelegatingEList
Returns a the string form of the backing store list.

Overrides:
delegateToString in class DelegatingEList
Returns:
a the string form of the backing store list.

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