public class MetamodelImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Metamodel
The following features are implemented:
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
Modifier and Type | Method and 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(org.eclipse.emf.ecore.EPackage newDefaultPackage) |
void |
setDefaultPackage(String packageName) |
void |
setEOpposite(org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EReference opposite) |
void |
setRepository(Repository newRepository) |
void |
validate() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
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
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public org.eclipse.emf.common.util.EList<MetamodelResource> getResources()
getResources
in interface Metamodel
MigrationPackage.getMetamodel_Resources()
,
MetamodelResource.getMetamodel()
public Repository getRepository()
getRepository
in interface Metamodel
Metamodel.setRepository(Repository)
,
MigrationPackage.getMetamodel_Repository()
,
Repository.getMetamodel()
public org.eclipse.emf.common.notify.NotificationChain basicSetRepository(Repository newRepository, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setRepository(Repository newRepository)
setRepository
in interface Metamodel
newRepository
- the new value of the 'Repository' container reference.Metamodel.getRepository()
public org.eclipse.emf.ecore.EPackage getDefaultPackage()
getDefaultPackage
in interface Metamodel
Metamodel.setDefaultPackage(EPackage)
,
MigrationPackage.getMetamodel_DefaultPackage()
public org.eclipse.emf.ecore.EPackage basicGetDefaultPackage()
public void setDefaultPackage(org.eclipse.emf.ecore.EPackage newDefaultPackage)
setDefaultPackage
in interface Metamodel
newDefaultPackage
- the new value of the 'Default Package' reference.Metamodel.getDefaultPackage()
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
getEPackages
in interface Metamodel
public void setDefaultPackage(String packageName)
setDefaultPackage
in interface Metamodel
public org.eclipse.emf.ecore.EEnum getEEnum(String name)
public org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral(String name)
getEEnumLiteral
in interface Metamodel
public void delete(org.eclipse.emf.ecore.EModelElement metamodelElement)
public <V> org.eclipse.emf.common.util.EList<V> getInverse(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
getInverse
in interface Metamodel
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes(org.eclipse.emf.ecore.EClass eClass)
getESubTypes
in interface Metamodel
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes(org.eclipse.emf.ecore.EClass eClass)
getEAllSubTypes
in interface Metamodel
public void setEOpposite(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
setEOpposite
in interface Metamodel
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.ecore.EPackage getEPackage(String name)
getEPackage
in interface Metamodel
public org.eclipse.emf.ecore.EClassifier getEClassifier(String name)
getEClassifier
in interface Metamodel
public org.eclipse.emf.ecore.EStructuralFeature getEFeature(String name)
getEFeature
in interface Metamodel
public org.eclipse.emf.ecore.EClass getEClass(String name)
public org.eclipse.emf.ecore.EReference getEReference(String name)
getEReference
in interface Metamodel
public org.eclipse.emf.ecore.EAttribute getEAttribute(String name)
getEAttribute
in interface Metamodel
public org.eclipse.emf.ecore.EDataType getEDataType(String name)
getEDataType
in interface Metamodel
public org.eclipse.emf.ecore.EModelElement getElement(String name)
getElement
in interface Metamodel
public void validate() throws MigrationException
validate
in interface Metamodel
MigrationException
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void refreshCaches()
refreshCaches
in interface Metamodel
Copyright © 2020. All rights reserved.