org.eclipse.gmt.umlx.alien.mapping
Class AdaptingInternalEList<E extends org.eclipse.emf.ecore.EObject,A extends org.eclipse.emf.ecore.EObject>
java.lang.Object
org.eclipse.gmt.umlx.alien.mapping.AdaptingList<E,A,L>
org.eclipse.gmt.umlx.alien.mapping.AdaptingEList<E,A,org.eclipse.emf.ecore.util.InternalEList<E>>
org.eclipse.gmt.umlx.alien.mapping.AdaptingInternalEList<E,A>
- Type Parameters:
E
- Ecore model EObject typeA
- Alien model EObject typeL
- Ecore model EList type
- All Implemented Interfaces:
- java.lang.Iterable<A>, java.util.Collection<A>, java.util.List<A>, org.eclipse.emf.common.util.EList<A>, org.eclipse.emf.ecore.util.InternalEList<A>
public class AdaptingInternalEList<E extends org.eclipse.emf.ecore.EObject,A extends org.eclipse.emf.ecore.EObject>
- extends AdaptingEList<E,A,org.eclipse.emf.ecore.util.InternalEList<E>>
- implements org.eclipse.emf.ecore.util.InternalEList<A>
An AdaptingInternalEList maintains an InternalEList of adapting alien model objects, delegating all interaction
to a corresponding list of adapted ecore objects, performing appropriate alien to ecore and
ecore to alien conversions.
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
org.eclipse.emf.ecore.util.InternalEList.Unsettable<E> |
Method Summary |
void |
addUnique(A alienObject)
|
void |
addUnique(int index,
A alienObject)
|
org.eclipse.emf.common.notify.NotificationChain |
basicAdd(A alienObject,
org.eclipse.emf.common.notify.NotificationChain notifications)
|
A |
basicGet(int index)
|
java.util.Iterator<A> |
basicIterator()
|
java.util.List<A> |
basicList()
|
java.util.ListIterator<A> |
basicListIterator()
|
java.util.ListIterator<A> |
basicListIterator(int index)
|
org.eclipse.emf.common.notify.NotificationChain |
basicRemove(java.lang.Object alienObject,
org.eclipse.emf.common.notify.NotificationChain notifications)
|
A |
setUnique(int index,
A alienObject)
|
Methods inherited from class org.eclipse.gmt.umlx.alien.mapping.AdaptingList |
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.util.EList |
move, move |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
AdaptingInternalEList
public AdaptingInternalEList(MappingMetaData mappingMetaData,
org.eclipse.emf.ecore.util.InternalEList<E> ecoreList)
addUnique
public void addUnique(A alienObject)
- Specified by:
addUnique
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
addUnique
public void addUnique(int index,
A alienObject)
- Specified by:
addUnique
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicAdd
public org.eclipse.emf.common.notify.NotificationChain basicAdd(A alienObject,
org.eclipse.emf.common.notify.NotificationChain notifications)
- Specified by:
basicAdd
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicGet
public A basicGet(int index)
- Specified by:
basicGet
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicIterator
public java.util.Iterator<A> basicIterator()
- Specified by:
basicIterator
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicList
public java.util.List<A> basicList()
- Specified by:
basicList
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicListIterator
public java.util.ListIterator<A> basicListIterator()
- Specified by:
basicListIterator
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicListIterator
public java.util.ListIterator<A> basicListIterator(int index)
- Specified by:
basicListIterator
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
basicRemove
public org.eclipse.emf.common.notify.NotificationChain basicRemove(java.lang.Object alienObject,
org.eclipse.emf.common.notify.NotificationChain notifications)
- Specified by:
basicRemove
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>
setUnique
public A setUnique(int index,
A alienObject)
- Specified by:
setUnique
in interface org.eclipse.emf.ecore.util.InternalEList<A extends org.eclipse.emf.ecore.EObject>