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, 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
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Metamodel getMetamodel()
getMetamodel
in interface Model
Model.setMetamodel(Metamodel)
,
MigrationPackage.getModel_Metamodel()
public Metamodel basicGetMetamodel()
public void setMetamodel(Metamodel newMetamodel)
setMetamodel
in interface Model
newMetamodel
- the new value of the 'Metamodel' reference.Model.getMetamodel()
public org.eclipse.emf.common.util.EList<Type> getTypes()
getTypes
in interface Model
MigrationPackage.getModel_Types()
,
Type.getModel()
public boolean isReflection()
isReflection
in interface Model
Model.setReflection(boolean)
,
MigrationPackage.getModel_Reflection()
public void setReflection(boolean newReflection)
setReflection
in interface Model
newReflection
- the new value of the 'Reflection' attribute.Model.isReflection()
public org.eclipse.emf.common.util.EList<ModelResource> getResources()
getResources
in interface Model
MigrationPackage.getModel_Resources()
,
ModelResource.getModel()
public Repository getRepository()
getRepository
in interface Model
Model.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 Model
newRepository
- 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 Model
public org.eclipse.emf.common.util.EList<Instance> getInstances(org.eclipse.emf.ecore.EClass eClass)
getInstances
in interface Model
public Type getType(org.eclipse.emf.ecore.EClass eClass)
public Map<org.eclipse.emf.ecore.EClass,Set<Instance>> createExtentMap()
createExtentMap
in interface Model
public Instance newInstance(org.eclipse.emf.ecore.EClass eClass)
newInstance
in interface Model
public void validate() throws MigrationException
validate
in interface Model
MigrationException
public void checkConformance() throws MigrationException
checkConformance
in interface Model
MigrationException
public void commit() throws MigrationException
commit
in interface Model
MigrationException
public org.eclipse.emf.common.util.EList<Instance> getAllInstances(String className)
getAllInstances
in interface Model
public org.eclipse.emf.common.util.EList<Instance> getInstances(String className)
getInstances
in interface Model
public Instance newInstance(String className)
newInstance
in interface Model
public ModelResource newResource(org.eclipse.emf.common.util.URI uri)
newResource
in interface Model
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 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 String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Copyright © 2019. All rights reserved.