Class CDOResourceImpl.ContentsCDOList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.eclipse.emf.common.util.DelegatingEList<E>
-
- org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
-
- org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E>
-
- org.eclipse.emf.ecore.impl.EStoreEObjectImpl.BasicEStoreEList<java.lang.Object>
-
- org.eclipse.emf.cdo.eresource.impl.CDOResourceImpl.ContentsCDOList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<java.lang.Object>
,java.util.Collection<java.lang.Object>
,java.util.List<java.lang.Object>
,org.eclipse.emf.common.notify.NotifyingList<java.lang.Object>
,org.eclipse.emf.common.util.EList<java.lang.Object>
,org.eclipse.emf.ecore.EStructuralFeature.Setting
,org.eclipse.emf.ecore.util.InternalEList<java.lang.Object>
,org.eclipse.emf.ecore.util.InternalEList.Unsettable<java.lang.Object>
- Enclosing class:
- CDOResourceImpl
protected class CDOResourceImpl.ContentsCDOList extends org.eclipse.emf.ecore.impl.EStoreEObjectImpl.BasicEStoreEList<java.lang.Object>
An implementation of a CDO specific 'contents' list.- Since:
- 2.0
- Author:
- Eike Stepper
- See Also:
- Serialized Form
- Added
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.UnmodifiableEList<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Unsettable<E extends java.lang.Object>
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.DelegatingEList
org.eclipse.emf.common.util.DelegatingEList.EIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.EListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEListIterator<E1 extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic
eStructuralFeature
-
-
Constructor Summary
Constructors Constructor Description ContentsCDOList(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(java.lang.Object object)
Optimization taken from ResourceImpl.EContentList.contains.protected void
didAdd(int index, java.lang.Object newObject)
protected void
didClear(int size, java.lang.Object[] oldObjects)
protected boolean
hasInverse()
org.eclipse.emf.common.notify.NotificationChain
inverseAdd(java.lang.Object object, org.eclipse.emf.common.notify.NotificationChain notifications)
org.eclipse.emf.common.notify.NotificationChain
inverseRemove(java.lang.Object object, org.eclipse.emf.common.notify.NotificationChain notifications)
protected boolean
isUnique()
protected void
loaded()
protected void
modified()
protected boolean
useEquals()
protected java.lang.Object
validate(int index, java.lang.Object object)
-
Methods inherited from class org.eclipse.emf.ecore.impl.EStoreEObjectImpl.BasicEStoreEList
delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateList, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, eStore, getEStructuralFeature, isSet, unset
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic
canContainNull, didChange, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isUnsettable, kind
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
containsAll, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl
basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
-
Methods inherited from class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl
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
-
Methods inherited from class org.eclipse.emf.common.util.DelegatingEList
doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toString
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
add, add, addAll, addAll, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, iterator, listIterator, listIterator, move, set
-
Methods inherited from class java.lang.Object
clone, 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
-
-
-
-
Method Detail
-
contains
public boolean contains(java.lang.Object object)
Optimization taken from ResourceImpl.EContentList.contains.- Specified by:
contains
in interfacejava.util.Collection<java.lang.Object>
- Specified by:
contains
in interfacejava.util.List<java.lang.Object>
- Overrides:
contains
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList<java.lang.Object>
- Since:
- 2.0
-
inverseAdd
public org.eclipse.emf.common.notify.NotificationChain inverseAdd(java.lang.Object object, org.eclipse.emf.common.notify.NotificationChain notifications)
- Overrides:
inverseAdd
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList<java.lang.Object>
- Since:
- 2.0
-
inverseRemove
public org.eclipse.emf.common.notify.NotificationChain inverseRemove(java.lang.Object object, org.eclipse.emf.common.notify.NotificationChain notifications)
- Overrides:
inverseRemove
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList<java.lang.Object>
- Since:
- 2.0
-
loaded
protected void loaded()
- Since:
- 2.0
-
modified
protected void modified()
- Since:
- 2.0
-
useEquals
protected boolean useEquals()
- Overrides:
useEquals
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<java.lang.Object>
- Since:
- 2.0
-
hasInverse
protected boolean hasInverse()
- Overrides:
hasInverse
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<java.lang.Object>
- Since:
- 2.0
-
isUnique
protected boolean isUnique()
- Overrides:
isUnique
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<java.lang.Object>
- Since:
- 2.0
-
validate
protected java.lang.Object validate(int index, java.lang.Object object)
- Overrides:
validate
in classorg.eclipse.emf.ecore.util.DelegatingEcoreEList<java.lang.Object>
- Since:
- 4.2
-
didAdd
protected void didAdd(int index, java.lang.Object newObject)
- Overrides:
didAdd
in classorg.eclipse.emf.common.util.AbstractEList<java.lang.Object>
- Since:
- 4.0
-
didClear
protected void didClear(int size, java.lang.Object[] oldObjects)
- Overrides:
didClear
in classorg.eclipse.emf.common.util.AbstractEList<java.lang.Object>
- Since:
- 4.0
-
-