org.eclipse.emf.mapping.ecore2ecore.impl
Class Ecore2EcoreMappingRootImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.mapping.impl.MappingImpl
                  extended byorg.eclipse.emf.mapping.impl.MappingRootImpl
                      extended byorg.eclipse.emf.mapping.ecore2ecore.impl.Ecore2EcoreMappingRootImpl
All Implemented Interfaces:
Ecore2EcoreMappingRoot, EObject, InternalEObject, Mapping, MappingRoot, Notifier

public class Ecore2EcoreMappingRootImpl
extends MappingRootImpl
implements Ecore2EcoreMappingRoot

An implementation of the model object 'Mapping Root'.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.mapping.impl.MappingRootImpl
MappingRootImpl.MappedObjectStateAdapter, MappingRootImpl.MappedObjectStateAdapterFactory
 
Nested classes inherited from class org.eclipse.emf.mapping.impl.MappingImpl
MappingImpl.MappingTreeIterator
 
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
 
Fields inherited from class org.eclipse.emf.mapping.impl.MappingRootImpl
COMMAND_STACK_EDEFAULT, commandStack, domain, mappedObjectListener, mappedObjectStateAdapterFactory, OUTPUT_READ_ONLY_EDEFAULT, outputDirty, outputReadOnly, TOP_TO_BOTTOM_EDEFAULT, topToBottom
 
Fields inherited from class org.eclipse.emf.mapping.impl.MappingImpl
helper, inputs, nested, outputs, typeMapping
 
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 Ecore2EcoreMappingRootImpl()
           
 
Method Summary
 boolean canCreateMapping(Collection inputs, Collection outputs, Mapping mapping)
          If mapping is null, this checks if a mapping can be created with the given inputs and outputs.
 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)
           
 EPackage getInputEPackage()
           
 EPackage getOutputEPackage()
           
 
Methods inherited from class org.eclipse.emf.mapping.impl.MappingRootImpl
canRemoveMapping, createMappedObjectStateAdapter, createMappedObjectStateAdapterFactory, createMapping, createMapping, deregister, dispose, getAllMappings, getCommandStack, getDomain, getExactMappings, getMappedObjectState, getMappings, getParentMapping, getTypeClassifiers, getTypeMappingRoot, getTypeMappings, hasCompatibleMetaObjects, hasCompatibleTypes, hasMappedChildren, hasMappedParents, hasTypeMappings, initializeMappedObjectStates, initializeNewMapping, isAttachedObject, isBottomObject, isDirty, isInputObject, isMapped, isOutputDirty, isOutputObject, isOutputReadOnly, isTopObject, isTopToBottom, printAdapters, refreshMappedObjectStates, register, resetDirty, setCommandStack, setDomain, setOutputDirty, setOutputReadOnly, setTopToBottom, toString, walk
 
Methods inherited from class org.eclipse.emf.mapping.impl.MappingImpl
basicGetTypeMapping, basicSetHelper, getBottoms, getEffectiveHelper, getHelper, getInputs, getMappedObjects, getMappingRoot, getNested, getNestedIn, getOutputs, getReceivers, getSenders, getTops, getTypeMapping, isReverse, setHelper, setNestedIn, setTypeMapping, treeIterator, treeIterator
 
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.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
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.mapping.MappingRoot
canRemoveMapping, createMapping, deregister, dispose, getAllMappings, getCommandStack, getDomain, getExactMappings, getMappedObjectState, getMappings, getParentMapping, getTypeMappingRoot, isAttachedObject, isBottomObject, isDirty, isInputObject, isOutputDirty, isOutputObject, isOutputReadOnly, isTopObject, isTopToBottom, refreshMappedObjectStates, register, resetDirty, setCommandStack, setDomain, setOutputDirty, setOutputReadOnly, setTopToBottom
 
Methods inherited from interface org.eclipse.emf.mapping.Mapping
getBottoms, getEffectiveHelper, getHelper, getInputs, getMappedObjects, getMappingRoot, getNested, getNestedIn, getOutputs, getReceivers, getSenders, getTops, getTypeMapping, isReverse, setHelper, setNestedIn, setTypeMapping, treeIterator, treeIterator
 
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
 

Constructor Detail

Ecore2EcoreMappingRootImpl

protected Ecore2EcoreMappingRootImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class MappingRootImpl

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     Class baseClass,
                                     NotificationChain msgs)

Specified by:
eInverseAdd in interface InternalEObject
Overrides:
eInverseAdd in class MappingRootImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)

Specified by:
eInverseRemove in interface InternalEObject
Overrides:
eInverseRemove in class MappingRootImpl

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)

Specified by:
eBasicRemoveFromContainer in interface InternalEObject
Overrides:
eBasicRemoveFromContainer in class MappingRootImpl

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface EObject
Overrides:
eGet in class MappingRootImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface EObject
Overrides:
eSet in class MappingRootImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Specified by:
eUnset in interface EObject
Overrides:
eUnset in class MappingRootImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class MappingRootImpl

getInputEPackage

public EPackage getInputEPackage()
Specified by:
getInputEPackage in interface Ecore2EcoreMappingRoot

getOutputEPackage

public EPackage getOutputEPackage()
Specified by:
getOutputEPackage in interface Ecore2EcoreMappingRoot

canCreateMapping

public boolean canCreateMapping(Collection inputs,
                                Collection outputs,
                                Mapping mapping)
Description copied from interface: MappingRoot
If mapping is null, this checks if a mapping can be created with the given inputs and outputs. If mapping is not null, it checks if the specified mapping can be changed to the given inputs and outputs.

Specified by:
canCreateMapping in interface MappingRoot
Overrides:
canCreateMapping in class MappingRootImpl

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.