|
|||||||||||
| 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
Helper' containment reference.
getHelper()protected EList nested
Nested' containment reference list.
getNested()protected EList inputs
Inputs' reference list.
getInputs()protected EList outputs
Outputs' reference list.
getOutputs()protected Mapping typeMapping
Type Mapping' reference.
getTypeMapping()| Constructor Detail |
protected MappingImpl()
| Method Detail |
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic MappingHelper getHelper()
getHelper in interface MappingMapping.setHelper(MappingHelper),
MappingPackage.getMapping_Helper(),
MappingHelper.getMapper()
public NotificationChain basicSetHelper(MappingHelper newHelper,
NotificationChain msgs)
public void setHelper(MappingHelper newHelper)
setHelper in interface MappingnewHelper - the new value of the 'Helper' containment reference.Mapping.getHelper()public EList getNested()
getNested in interface MappingMappingPackage.getMapping_Nested(),
Mapping.getNestedIn()public Mapping getNestedIn()
getNestedIn in interface MappingMapping.setNestedIn(Mapping),
MappingPackage.getMapping_NestedIn(),
Mapping.getNested()public void setNestedIn(Mapping newNestedIn)
setNestedIn in interface MappingnewNestedIn - the new value of the 'Nested In' container reference.Mapping.getNestedIn()public EList getInputs()
getInputs in interface MappingMappingPackage.getMapping_Inputs()public EList getOutputs()
getOutputs in interface MappingMappingPackage.getMapping_Outputs()public Mapping getTypeMapping()
getTypeMapping in interface MappingMapping.setTypeMapping(Mapping),
MappingPackage.getMapping_TypeMapping()public Mapping basicGetTypeMapping()
public void setTypeMapping(Mapping newTypeMapping)
setTypeMapping in interface MappingnewTypeMapping - the new value of the 'Type Mapping' reference.Mapping.getTypeMapping()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseAdd in interface InternalEObjecteInverseAdd in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
eInverseRemove in interface InternalEObjecteInverseRemove in class BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer in interface InternalEObjecteBasicRemoveFromContainer in class BasicEObjectImpl
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
eGet in interface EObjecteGet in class BasicEObjectImpl
public void eSet(EStructuralFeature eFeature,
Object newValue)
eSet in interface EObjecteSet in class BasicEObjectImplpublic void eUnset(EStructuralFeature eFeature)
eUnset in interface EObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(EStructuralFeature eFeature)
eIsSet in interface EObjecteIsSet in class BasicEObjectImplpublic Collection getMappedObjects()
MappingMapping.getInputs() and Mapping.getOutputs().
getMappedObjects in interface Mappingpublic MappingRoot getMappingRoot()
Mapping
getMappingRoot in interface Mappingpublic MappingHelper getEffectiveHelper()
Mapping
getEffectiveHelper in interface Mappingpublic boolean isReverse()
Mapping
isReverse in interface Mappingpublic EList getSenders()
MappingMapping.getInputs() if Mapping.isReverse() returns false.
Otherwise it returns the same as Mapping.getOutputs().
getSenders in interface Mappingpublic EList getReceivers()
MappingMapping.getOutputs() if Mapping.isReverse() returns false.
Otherwise it returns the same as Mapping.getInputs().
getReceivers in interface Mappingpublic EList getTops()
MappingMapping.getInputs() or Mapping.getOutputs()
depending on the mapping root's isTopToBottom.
getTops in interface Mappingpublic EList getBottoms()
MappingMapping.getInputs() or Mapping.getOutputs()
depending on the mapping root's isTopToBottom.
getBottoms in interface Mappingpublic TreeIterator treeIterator()
Mapping
treeIterator in interface Mappingpublic TreeIterator treeIterator(boolean includeRoot)
Mapping
treeIterator in interface Mappingpublic String toString()
toString in class BasicEObjectImpl
|
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 | ||||||||||