org.eclipse.emf.mapping.ecore2ecore.impl
Class Ecore2EcoreMappingRootImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.mapping.impl.MappingImpl
org.eclipse.emf.mapping.impl.MappingRootImpl
org.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'.
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 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 |
Ecore2EcoreMappingRootImpl
protected Ecore2EcoreMappingRootImpl()
-
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