Package com.nomagic.magicdraw.uml2.util
Class ModelEObjectEList<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.AbstractEList<E>
org.eclipse.emf.common.util.BasicEList<E>
org.eclipse.emf.common.notify.impl.NotifyingListImpl<E>
org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E>
org.eclipse.emf.ecore.util.EcoreEList<E>
org.eclipse.emf.ecore.util.EObjectEList<E>
com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
com.nomagic.magicdraw.uml2.util.ModelEObjectEList<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,org.eclipse.emf.common.notify.NotifyingList<E>
,org.eclipse.emf.common.util.EList<E>
,org.eclipse.emf.ecore.EStructuralFeature.Setting
,org.eclipse.emf.ecore.util.InternalEList<E>
,org.eclipse.emf.ecore.util.InternalEList.Unsettable<E>
- Direct Known Subclasses:
ModelEObjectResolvingEList
,SubsetSupersetEObjectEList
public class ModelEObjectEList<E>
extends com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
Base class for all transient collections of the model.
- Version:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.util.EObjectEList
featureID
Fields inherited from class org.eclipse.emf.ecore.util.EcoreEList
dataClass, owner
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionModelEObjectEList
(Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID) Creates and initializes a newModelEObjectEList
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkCompatibility
(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, E object) protected RuntimeException
protected EventSupporter
protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider
Methods inherited from class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList
addAllUnique, addUnique, addUnique, afterChange, assign, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicLastIndexOf, basicList, basicToArray, basicToArray, beforeChange, clear, contains, doMove, doRemove, execute, firePropertyChange, get, getPropertyEventName, hasInverse, hasManyInverse, hasNavigableInverse, indexOf, isEmpty, lastIndexOf, move, primitiveGet, remove, removeAll, setUnique, size, startLogEvents, stopLogEvents, validate
Methods inherited from class org.eclipse.emf.ecore.util.EObjectEList
canContainNull, getFeatureID, isEObject, isUnique, resolve, useEquals
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList
createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasProxies, inverseAdd, inverseRemove, isContainment, isInstance, isNotificationRequired, isSet, newData, resolve, resolve, resolveProxy, set, toArray, toArray, unset
Methods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl
basicIterator, basicListIterator, basicListIterator
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl
addAllUnique, addAllUnique, addAllUnique, basicRemove, basicSet, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doRemoveAll, doSetUnique, getFeatureID, hasShadow, shadowAdd, shadowRemove, shadowSet
Methods inherited from class org.eclipse.emf.common.util.BasicEList
clone, data, grow, setData, shrink
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
add, add, addAll, addAll, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, retainAll, set, toString
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 java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface org.eclipse.emf.common.util.EList
move
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addAllUnique, basicIterator, basicListIterator, basicListIterator, basicRemove
Methods inherited from interface java.util.List
add, add, addAll, addAll, containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, replaceAll, retainAll, set, sort, spliterator, subList
-
Constructor Details
-
ModelEObjectEList
public ModelEObjectEList(Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID) Creates and initializes a newModelEObjectEList
instance.- Parameters:
dataClass
- data class.owner
- owner of the setting.featureID
- feature id.
-
-
Method Details
-
getEventSupporter
- Specified by:
getEventSupporter
in classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-
getLockProvider
@CheckForNull protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider getLockProvider()- Specified by:
getLockProvider
in classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-
createOperationTimeoutException
- Specified by:
createOperationTimeoutException
in classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-
checkCompatibility
protected void checkCompatibility(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, E object) - Specified by:
checkCompatibility
in classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-