public class MappingImpl extends EObjectImpl implements Mapping
The following features are implemented:
| Modifier and Type | Class and Description |
|---|---|
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.
|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
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 |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
MappingImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected 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()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 BasicEObjectImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class BasicEObjectImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImplpublic 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()
MappinggetMappingRoot in interface Mappingpublic MappingHelper getEffectiveHelper()
MappinggetEffectiveHelper in interface Mappingpublic boolean isReverse()
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.public EList<EObject> getBottoms()
MappingMapping.getInputs() or Mapping.getOutputs()
depending on the mapping root's isTopToBottom.getBottoms in interface Mappingpublic TreeIterator<Mapping> treeIterator()
MappingtreeIterator in interface Mappingpublic TreeIterator<Mapping> treeIterator(boolean includeRoot)
MappingtreeIterator in interface Mappingpublic java.lang.String toString()
toString in class BasicEObjectImpl