|
||||||||||
| 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
public class 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/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected MappingHelper |
helper
The cached value of the ' Helper' containment reference |
protected EList<EObject> |
inputs
The cached value of the ' Inputs' reference list |
protected EList<Mapping> |
nested
The cached value of the ' Nested' containment reference list |
protected EList<EObject> |
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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| 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 |
basicSetNestedIn(Mapping newNestedIn,
NotificationChain msgs)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EList<EObject> |
getBottoms()
This returns the same as either Mapping.getInputs() or Mapping.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<EObject> |
getInputs()
|
java.util.Collection<? extends EObject> |
getMappedObjects()
This returns a set containing the results of Mapping.getInputs() and Mapping.getOutputs(). |
MappingRoot |
getMappingRoot()
This returns either the containing mapping root or the object itself, if it is a mapping root. |
EList<Mapping> |
getNested()
|
Mapping |
getNestedIn()
|
EList<EObject> |
getOutputs()
|
EList<EObject> |
getReceivers()
This returns the same as Mapping.getOutputs() if Mapping.isReverse() returns false. |
EList<EObject> |
getSenders()
This returns the same as Mapping.getInputs() if Mapping.isReverse() returns false. |
EList<EObject> |
getTops()
This returns the same as either Mapping.getInputs() or Mapping.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)
|
java.lang.String |
toString()
|
TreeIterator<Mapping> |
treeIterator()
This returns a tree iterator that iterates over this mapping, all it's nested mappings, and their nested mappings, and so on. |
TreeIterator<Mapping> |
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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| 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<Mapping> nested
Nested' containment reference list.
getNested()protected EList<EObject> inputs
Inputs' reference list.
getInputs()protected EList<EObject> 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<Mapping> getNested()
getNested in interface MappingMappingPackage.getMapping_Nested(),
Mapping.getNestedIn()public Mapping getNestedIn()
getNestedIn in interface MappingMapping.setNestedIn(Mapping),
MappingPackage.getMapping_NestedIn(),
Mapping.getNested()
public NotificationChain basicSetNestedIn(Mapping newNestedIn,
NotificationChain msgs)
public void setNestedIn(Mapping newNestedIn)
setNestedIn in interface MappingnewNestedIn - the new value of the 'Nested In' container reference.Mapping.getNestedIn()public EList<EObject> getInputs()
getInputs in interface MappingMappingPackage.getMapping_Inputs()public EList<EObject> 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,
NotificationChain msgs)
eInverseAdd in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplEObject.eIsSet(EStructuralFeature)public java.util.Collection<? extends EObject> 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<EObject> getSenders()
MappingMapping.getInputs() if Mapping.isReverse() returns false.
Otherwise it returns the same as Mapping.getOutputs().
getSenders in interface Mappingpublic EList<EObject> getReceivers()
MappingMapping.getOutputs() if Mapping.isReverse() returns false.
Otherwise it returns the same as Mapping.getInputs().
getReceivers in interface Mappingpublic EList<EObject> getTops()
MappingMapping.getInputs() or Mapping.getOutputs()
depending on the mapping root's isTopToBottom.
getTops in interface Mappingpublic EList<EObject> getBottoms()
MappingMapping.getInputs() or Mapping.getOutputs()
depending on the mapping root's isTopToBottom.
getBottoms in interface Mappingpublic TreeIterator<Mapping> treeIterator()
Mapping
treeIterator in interface Mappingpublic TreeIterator<Mapping> treeIterator(boolean includeRoot)
Mapping
treeIterator in interface Mappingpublic java.lang.String toString()
toString in class BasicEObjectImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||