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
featureIDFields inherited from class org.eclipse.emf.ecore.util.EcoreEList
dataClass, ownerFields inherited from class org.eclipse.emf.common.util.BasicEList
data, sizeFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionModelEObjectEList(Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID) Creates and initializes a newModelEObjectEListinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckCompatibility(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, E object) protected RuntimeExceptionprotected EventSupporterprotected com.dassault_systemes.modeler.foundation.util.ModelLockProviderMethods 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, validateMethods inherited from class org.eclipse.emf.ecore.util.EObjectEList
canContainNull, getFeatureID, isEObject, isUnique, resolve, useEqualsMethods 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, unsetMethods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl
basicIterator, basicListIterator, basicListIteratorMethods 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, shadowSetMethods inherited from class org.eclipse.emf.common.util.BasicEList
clone, data, grow, setData, shrinkMethods 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, toStringMethods inherited from class java.util.AbstractList
removeRange, subListMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface org.eclipse.emf.common.util.EList
moveMethods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addAllUnique, basicIterator, basicListIterator, basicListIterator, basicRemoveMethods 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 newModelEObjectEListinstance.- Parameters:
dataClass- data class.owner- owner of the setting.featureID- feature id.
-
-
Method Details
-
getEventSupporter
- Specified by:
getEventSupporterin classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-
getLockProvider
@CheckForNull protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider getLockProvider()- Specified by:
getLockProviderin classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-
createOperationTimeoutException
- Specified by:
createOperationTimeoutExceptionin 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:
checkCompatibilityin classcom.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
-