| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.mapping.impl.MappingImpl
An implementation of the model object 'Mapping'.
The following features are implemented:
Nested Class Summary | |
static class | MappingImpl.MappingTreeIterator
This implements a tree iterator that will iterate over a mapping, all it's nested mappings, all their nested mappings, and so on. |
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected MappingHelper | helper
The cached value of the 'Helper' containment reference |
protected EList | inputs
The cached value of the 'Inputs' reference list |
protected EList | nested
The cached value of the 'Nested' containment reference list |
protected EList | outputs
The cached value of the 'Outputs' reference list |
protected Mapping | typeMapping
The cached value of the 'Type Mapping' reference |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
protected | MappingImpl()
|
Method Summary | |
Mapping | basicGetTypeMapping()
|
NotificationChain | basicSetHelper(MappingHelper newHelper,
NotificationChain msgs)
|
NotificationChain | eBasicRemoveFromContainer(NotificationChain msgs)
|
Object | eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain | eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
NotificationChain | eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean | eIsSet(EStructuralFeature eFeature)
|
void | eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass | eStaticClass()
|
void | eUnset(EStructuralFeature eFeature)
|
EList | getBottoms()
This returns the same as either getInputs() or getOutputs() depending on the mapping root's isTopToBottom. |
MappingHelper | getEffectiveHelper()
This returns the mapping helper for this mapping, if it has one. |
MappingHelper | getHelper()
|
EList | getInputs()
|
Collection | getMappedObjects()
This returns a set containing the results of getInputs() and getOutputs(). |
MappingRoot | getMappingRoot()
This returns either the containing mapping root or the object itself, if it is a mapping root. |
EList | getNested()
|
Mapping | getNestedIn()
|
EList | getOutputs()
|
EList | getReceivers()
This returns the same as getOutputs() if isReverse() returns false. |
EList | getSenders()
This returns the same as getInputs() if isReverse() returns false. |
EList | getTops()
This returns the same as either getInputs() or getOutputs() depending on the mapping root's isTopToBottom. |
Mapping | getTypeMapping()
|
boolean | isReverse()
This method is delegated to the containing mapping if one exists, or returns false otherwise. |
void | setHelper(MappingHelper newHelper)
|
void | setNestedIn(Mapping newNestedIn)
|
void | setTypeMapping(Mapping newTypeMapping)
|
String | toString()
|
TreeIterator | treeIterator()
This returns a tree iterator that iterates over this mapping, all it's nested mappings, and their nested mappings, and so on. |
TreeIterator | treeIterator(boolean includeRoot)
This returns a tree iterator that iterates over this mapping (but only if includeRoot is true), all it's nested mappings, and their nested mappings, and so on. |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
Field Detail |
protected MappingHelper helper
protected EList nested
protected EList inputs
protected EList outputs
protected Mapping typeMapping
Constructor Detail |
protected MappingImpl()
Method Detail |
protected EClass eStaticClass()
public MappingHelper getHelper()
public NotificationChain basicSetHelper(MappingHelper newHelper, NotificationChain msgs)
public void setHelper(MappingHelper newHelper)
public EList getNested()
public Mapping getNestedIn()
public void setNestedIn(Mapping newNestedIn)
public EList getInputs()
public EList getOutputs()
public Mapping getTypeMapping()
public Mapping basicGetTypeMapping()
public void setTypeMapping(Mapping newTypeMapping)
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
public Object eGet(EStructuralFeature eFeature, boolean resolve)
public void eSet(EStructuralFeature eFeature, Object newValue)
public void eUnset(EStructuralFeature eFeature)
public boolean eIsSet(EStructuralFeature eFeature)
public Collection getMappedObjects()
public MappingRoot getMappingRoot()
public MappingHelper getEffectiveHelper()
public boolean isReverse()
public EList getSenders()
public EList getReceivers()
public EList getTops()
public EList getBottoms()
public TreeIterator treeIterator()
public TreeIterator treeIterator(boolean includeRoot)
public String toString()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |