Class ModelEObjectEList<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, 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:
    Serialized Form
    • 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

      Constructors 
      Constructor Description
      ModelEObjectEList​(java.lang.Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID)
      Creates and initializes a new ModelEObjectEList instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkCompatibility​(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, E object)  
      protected java.lang.RuntimeException createOperationTimeoutException()  
      protected EventSupporter getEventSupporter()  
      protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider getLockProvider()  
      • 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.lang.Iterable

        forEach
      • 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 Detail

      • ModelEObjectEList

        public ModelEObjectEList​(java.lang.Class<?> dataClass,
                                 org.eclipse.emf.ecore.InternalEObject owner,
                                 int featureID)
        Creates and initializes a new ModelEObjectEList instance.
        Parameters:
        dataClass - data class.
        owner - owner of the setting.
        featureID - feature id.
    • Method Detail

      • getEventSupporter

        protected EventSupporter getEventSupporter()
        Specified by:
        getEventSupporter in class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
      • getLockProvider

        @CheckForNull
        protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider getLockProvider()
        Specified by:
        getLockProvider in class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
      • createOperationTimeoutException

        protected java.lang.RuntimeException createOperationTimeoutException()
        Specified by:
        createOperationTimeoutException in class com.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 class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>