Class SubsetSupersetEObjectWithInverseEList<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>
com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectEList<E>
com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectWithInverseEList<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:
SubsetSupersetEObjectWithInverseEList.ManyInverse, SubsetSupersetEObjectWithInverseEList.Unsettable, SubsetSupersetEObjectWithInverseResolvingEList

public class SubsetSupersetEObjectWithInverseEList<E> extends SubsetSupersetEObjectEList<E>
Since:
1.2
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final int
     

    Fields inherited from class com.nomagic.magicdraw.uml2.util.SubsetSupersetEObjectEList

    subsetFeatureIDs, supersetFeatureIDs

    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
    SubsetSupersetEObjectWithInverseEList(Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID, int[] supersetFeatureIDs, int[] subsetFeatureIDs, int inverseFeatureID)
    Creates and initializes a new SubsetSupersetEObjectWithInverseEList instance.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    protected boolean
     
    protected boolean
     

    Methods inherited from class com.nomagic.magicdraw.uml2.util.ModelEObjectEList

    checkCompatibility, createOperationTimeoutException, getEventSupporter, getLockProvider

    Methods inherited from class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList

    addAllUnique, addUnique, addUnique, afterChange, assign, basicContains, basicContainsAll, basicGet, basicIndexOf, basicLastIndexOf, basicList, basicToArray, basicToArray, beforeChange, clear, contains, doMove, doRemove, execute, firePropertyChange, get, getPropertyEventName, hasManyInverse, 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, getNotifier, hasInstanceClass, hasProxies, inverseAdd, inverseRemove, isContainment, isInstance, isNotificationRequired, isSet, newData, 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, 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

    didAdd, didChange, didClear, didMove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, retainAll, 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
  • Field Details

    • inverseFeatureID

      protected final int inverseFeatureID
  • Constructor Details

    • SubsetSupersetEObjectWithInverseEList

      public SubsetSupersetEObjectWithInverseEList(Class<?> dataClass, org.eclipse.emf.ecore.InternalEObject owner, int featureID, @CheckForNull int[] supersetFeatureIDs, @CheckForNull int[] subsetFeatureIDs, int inverseFeatureID)
      Creates and initializes a new SubsetSupersetEObjectWithInverseEList instance.
      Parameters:
      dataClass - data class.
      owner - owner of the setting.
      featureID - feature id.
      supersetFeatureIDs - array of superset features.
      subsetFeatureIDs - array of subset features.
      inverseFeatureID - if of inverse feature.
  • Method Details

    • hasInverse

      protected boolean hasInverse()
      Overrides:
      hasInverse in class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
    • hasNavigableInverse

      protected boolean hasNavigableInverse()
      Overrides:
      hasNavigableInverse in class com.dassault_systemes.modeler.foundation.util.AbstractModelEObjectEList<E>
    • getInverseFeatureID

      public int getInverseFeatureID()
      Overrides:
      getInverseFeatureID in class org.eclipse.emf.ecore.util.EcoreEList<E>
    • getInverseFeatureClass

      public Class<?> getInverseFeatureClass()
      Overrides:
      getInverseFeatureClass in class org.eclipse.emf.ecore.util.EcoreEList<E>