public class ModelImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Model
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 |
|---|---|
Metamodel |
basicGetMetamodel() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetRepository(Repository newRepository,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
checkConformance() |
void |
commit() |
Map<org.eclipse.emf.ecore.EClass,Set<Instance>> |
createExtentMap() |
void |
delete(Instance instance) |
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.common.util.EList<Instance> |
getAllInstances(org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.emf.common.util.EList<Instance> |
getAllInstances(String className) |
org.eclipse.emf.common.util.EList<Instance> |
getInstances(org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.emf.common.util.EList<Instance> |
getInstances(String className) |
Metamodel |
getMetamodel() |
Repository |
getRepository() |
org.eclipse.emf.common.util.EList<ModelResource> |
getResources() |
Type |
getType(org.eclipse.emf.ecore.EClass eClass) |
org.eclipse.emf.common.util.EList<Type> |
getTypes() |
boolean |
isReflection() |
Instance |
newInstance(org.eclipse.emf.ecore.EClass eClass) |
Instance |
newInstance(String className) |
ModelResource |
newResource(org.eclipse.emf.common.util.URI uri) |
void |
setMetamodel(Metamodel newMetamodel) |
void |
setReflection(boolean newReflection) |
void |
setRepository(Repository newRepository) |
String |
toString() |
void |
validate() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, 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, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic Metamodel getMetamodel()
getMetamodel in interface ModelModel.setMetamodel(Metamodel),
MigrationPackage.getModel_Metamodel()public Metamodel basicGetMetamodel()
public void setMetamodel(Metamodel newMetamodel)
setMetamodel in interface ModelnewMetamodel - the new value of the 'Metamodel' reference.Model.getMetamodel()public org.eclipse.emf.common.util.EList<Type> getTypes()
getTypes in interface ModelMigrationPackage.getModel_Types(),
Type.getModel()public boolean isReflection()
isReflection in interface ModelModel.setReflection(boolean),
MigrationPackage.getModel_Reflection()public void setReflection(boolean newReflection)
setReflection in interface ModelnewReflection - the new value of the 'Reflection' attribute.Model.isReflection()public org.eclipse.emf.common.util.EList<ModelResource> getResources()
getResources in interface ModelMigrationPackage.getModel_Resources(),
ModelResource.getModel()public Repository getRepository()
getRepository in interface ModelModel.setRepository(Repository),
MigrationPackage.getModel_Repository(),
Repository.getModel()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 ModelnewRepository - the new value of the 'Repository' container reference.Model.getRepository()public org.eclipse.emf.common.util.EList<Instance> getAllInstances(org.eclipse.emf.ecore.EClass eClass)
getAllInstances in interface Modelpublic org.eclipse.emf.common.util.EList<Instance> getInstances(org.eclipse.emf.ecore.EClass eClass)
getInstances in interface Modelpublic Type getType(org.eclipse.emf.ecore.EClass eClass)
public Map<org.eclipse.emf.ecore.EClass,Set<Instance>> createExtentMap()
createExtentMap in interface Modelpublic Instance newInstance(org.eclipse.emf.ecore.EClass eClass)
newInstance in interface Modelpublic void validate()
throws MigrationException
validate in interface ModelMigrationExceptionpublic void checkConformance()
throws MigrationException
checkConformance in interface ModelMigrationExceptionpublic void commit()
throws MigrationException
commit in interface ModelMigrationExceptionpublic org.eclipse.emf.common.util.EList<Instance> getAllInstances(String className)
getAllInstances in interface Modelpublic org.eclipse.emf.common.util.EList<Instance> getInstances(String className)
getInstances in interface Modelpublic Instance newInstance(String className)
newInstance in interface Modelpublic ModelResource newResource(org.eclipse.emf.common.util.URI uri)
newResource in interface Modelpublic 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.BasicEObjectImplpublic 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.BasicEObjectImplpublic org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplCopyright © 2020. All rights reserved.