Class MetamodelImpl
- 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.edapt.spi.migration.impl.MetamodelImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,Metamodel
public class MetamodelImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Metamodel
An implementation of the model object 'Metamodel'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EPackage
basicGetDefaultPackage()
org.eclipse.emf.common.notify.NotificationChain
basicSetRepository(Repository newRepository, org.eclipse.emf.common.notify.NotificationChain msgs)
void
delete(org.eclipse.emf.ecore.EModelElement metamodelElement)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
org.eclipse.emf.common.notify.NotificationChain
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
void
eUnset(int featureID)
org.eclipse.emf.ecore.EPackage
getDefaultPackage()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass>
getEAllSubTypes(org.eclipse.emf.ecore.EClass eClass)
org.eclipse.emf.ecore.EAttribute
getEAttribute(String name)
org.eclipse.emf.ecore.EClass
getEClass(String name)
org.eclipse.emf.ecore.EClassifier
getEClassifier(String name)
org.eclipse.emf.ecore.EDataType
getEDataType(String name)
org.eclipse.emf.ecore.EEnum
getEEnum(String name)
org.eclipse.emf.ecore.EEnumLiteral
getEEnumLiteral(String name)
org.eclipse.emf.ecore.EStructuralFeature
getEFeature(String name)
org.eclipse.emf.ecore.EModelElement
getElement(String name)
org.eclipse.emf.ecore.EPackage
getEPackage(String name)
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage>
getEPackages()
org.eclipse.emf.ecore.EReference
getEReference(String name)
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass>
getESubTypes(org.eclipse.emf.ecore.EClass eClass)
<V> org.eclipse.emf.common.util.EList<V>
getInverse(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
Repository
getRepository()
org.eclipse.emf.common.util.EList<MetamodelResource>
getResources()
void
refreshCaches()
Clear the internal caches within the metamodel elements.void
setDefaultPackage(String packageName)
void
setDefaultPackage(org.eclipse.emf.ecore.EPackage newDefaultPackage)
void
setEOpposite(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
void
setRepository(Repository newRepository)
void
validate()
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getResources
public org.eclipse.emf.common.util.EList<MetamodelResource> getResources()
- Specified by:
getResources
in interfaceMetamodel
- Returns:
- the value of the 'Resources' containment reference list.
- See Also:
MigrationPackage.getMetamodel_Resources()
,MetamodelResource.getMetamodel()
-
getRepository
public Repository getRepository()
- Specified by:
getRepository
in interfaceMetamodel
- Returns:
- the value of the 'Repository' container reference.
- See Also:
Metamodel.setRepository(Repository)
,MigrationPackage.getMetamodel_Repository()
,Repository.getMetamodel()
-
basicSetRepository
public org.eclipse.emf.common.notify.NotificationChain basicSetRepository(Repository newRepository, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setRepository
public void setRepository(Repository newRepository)
- Specified by:
setRepository
in interfaceMetamodel
- Parameters:
newRepository
- the new value of the 'Repository' container reference.- See Also:
Metamodel.getRepository()
-
getDefaultPackage
public org.eclipse.emf.ecore.EPackage getDefaultPackage()
- Specified by:
getDefaultPackage
in interfaceMetamodel
- Returns:
- the value of the 'Default Package' reference.
- See Also:
Metamodel.setDefaultPackage(EPackage)
,MigrationPackage.getMetamodel_DefaultPackage()
-
basicGetDefaultPackage
public org.eclipse.emf.ecore.EPackage basicGetDefaultPackage()
-
setDefaultPackage
public void setDefaultPackage(org.eclipse.emf.ecore.EPackage newDefaultPackage)
- Specified by:
setDefaultPackage
in interfaceMetamodel
- Parameters:
newDefaultPackage
- the new value of the 'Default Package' reference.- See Also:
Metamodel.getDefaultPackage()
-
getEPackages
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
- Specified by:
getEPackages
in interfaceMetamodel
-
setDefaultPackage
public void setDefaultPackage(String packageName)
- Specified by:
setDefaultPackage
in interfaceMetamodel
-
getEEnum
public org.eclipse.emf.ecore.EEnum getEEnum(String name)
-
getEEnumLiteral
public org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral(String name)
- Specified by:
getEEnumLiteral
in interfaceMetamodel
-
delete
public void delete(org.eclipse.emf.ecore.EModelElement metamodelElement)
-
getInverse
public <V> org.eclipse.emf.common.util.EList<V> getInverse(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
- Specified by:
getInverse
in interfaceMetamodel
-
getESubTypes
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes(org.eclipse.emf.ecore.EClass eClass)
- Specified by:
getESubTypes
in interfaceMetamodel
-
getEAllSubTypes
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes(org.eclipse.emf.ecore.EClass eClass)
- Specified by:
getEAllSubTypes
in interfaceMetamodel
-
setEOpposite
public void setEOpposite(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
- Specified by:
setEOpposite
in interfaceMetamodel
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getEPackage
public org.eclipse.emf.ecore.EPackage getEPackage(String name)
- Specified by:
getEPackage
in interfaceMetamodel
-
getEClassifier
public org.eclipse.emf.ecore.EClassifier getEClassifier(String name)
- Specified by:
getEClassifier
in interfaceMetamodel
-
getEFeature
public org.eclipse.emf.ecore.EStructuralFeature getEFeature(String name)
- Specified by:
getEFeature
in interfaceMetamodel
-
getEClass
public org.eclipse.emf.ecore.EClass getEClass(String name)
-
getEReference
public org.eclipse.emf.ecore.EReference getEReference(String name)
- Specified by:
getEReference
in interfaceMetamodel
-
getEAttribute
public org.eclipse.emf.ecore.EAttribute getEAttribute(String name)
- Specified by:
getEAttribute
in interfaceMetamodel
-
getEDataType
public org.eclipse.emf.ecore.EDataType getEDataType(String name)
- Specified by:
getEDataType
in interfaceMetamodel
-
getElement
public org.eclipse.emf.ecore.EModelElement getElement(String name)
- Specified by:
getElement
in interfaceMetamodel
-
validate
public void validate() throws MigrationException
- Specified by:
validate
in interfaceMetamodel
- Throws:
MigrationException
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
refreshCaches
public void refreshCaches()
Clear the internal caches within the metamodel elements.- Specified by:
refreshCaches
in interfaceMetamodel
-
-