java.lang.Objectorg.eclipse.gmt.umlx.alien.mapping.AdaptingList<E,A,L>
org.eclipse.gmt.umlx.alien.mapping.AdaptingEList<E,A,L>
E
- Ecore model EObject typeA
- Alien model EObject typeL
- Ecore model EList typepublic class AdaptingEList<E extends org.eclipse.emf.ecore.EObject,A extends org.eclipse.emf.ecore.EObject,L extends org.eclipse.emf.common.util.EList<E>>
An AdaptingEList maintains an EList 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.
Constructor Summary | |
---|---|
AdaptingEList(MappingMetaData mappingMetaData,
L ecoreList)
|
Method Summary | |
---|---|
void |
move(int newPosition,
A alienObject)
|
A |
move(int newPosition,
int oldPosition)
|
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 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 |
Constructor Detail |
---|
public AdaptingEList(MappingMetaData mappingMetaData, L ecoreList)
Method Detail |
---|
public void move(int newPosition, A alienObject)
move
in interface org.eclipse.emf.common.util.EList<A extends org.eclipse.emf.ecore.EObject>
public A move(int newPosition, int oldPosition)
move
in interface org.eclipse.emf.common.util.EList<A extends org.eclipse.emf.ecore.EObject>