public interface Metamodel
The following features are supported:
MigrationPackage.getMetamodel()
Modifier and Type | Method and Description |
---|---|
void |
delete(org.eclipse.emf.ecore.EModelElement metamodelElement)
Delete an instance from the model, including all the contained instances
|
org.eclipse.emf.ecore.EPackage |
getDefaultPackage()
Returns the value of the 'Default Package' reference.
|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> |
getEAllSubTypes(org.eclipse.emf.ecore.EClass eClass)
Get the inverse value of the reference
|
org.eclipse.emf.ecore.EAttribute |
getEAttribute(String name)
Resolve an attribute of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EClass |
getEClass(String name)
Resolve a class of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EClassifier |
getEClassifier(String name)
Resolve a classifier of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EDataType |
getEDataType(String name)
Resolve a data type of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EEnum |
getEEnum(String name)
Resolve a data type of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EEnumLiteral |
getEEnumLiteral(String name)
Resolve a data type of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EStructuralFeature |
getEFeature(String name)
Resolve a feature of the metamodel by its fully qualified name
|
org.eclipse.emf.ecore.EModelElement |
getElement(String name)
Resolve a metamodel element by its fully qualified name
|
org.eclipse.emf.ecore.EPackage |
getEPackage(String name)
Resolve a package of the metamodel by its fully qualified name
|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> |
getEPackages() |
org.eclipse.emf.ecore.EReference |
getEReference(String name)
Resolve a reference of the metamodel by its fully qualified name
|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> |
getESubTypes(org.eclipse.emf.ecore.EClass eClass)
Get the inverse value of the reference
|
<V> org.eclipse.emf.common.util.EList<V> |
getInverse(org.eclipse.emf.ecore.EModelElement metamodelElement,
org.eclipse.emf.ecore.EReference reference)
Get the inverse value of the reference
|
Repository |
getRepository()
Returns the value of the 'Repository' container reference.
|
org.eclipse.emf.common.util.EList<MetamodelResource> |
getResources()
Returns the value of the 'Resources' containment reference list.
|
void |
refreshCaches()
Clear the internal caches within the metamodel elements.
|
void |
setDefaultPackage(org.eclipse.emf.ecore.EPackage value)
Sets the value of the '
Default Package ' reference. |
void |
setDefaultPackage(String packageName)
Resolve an attribute of the metamodel by its fully qualified name
|
void |
setEOpposite(org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EReference opposite)
Set the opposite of a reference, adapting opposite values in the model
|
void |
setRepository(Repository value)
Sets the value of the '
Repository '
container reference. |
void |
validate()
Validate the metamodel
|
org.eclipse.emf.common.util.EList<MetamodelResource> getResources()
MetamodelResource
.
It is bidirectional and its opposite is '
Metamodel
'.
If the meaning of the 'Resources' containment reference list isn't clear, there really should be more of a description here...
The resources of which this metamodel consistsMigrationPackage.getMetamodel_Resources()
,
MetamodelResource.getMetamodel()
Repository getRepository()
Metamodel
'.
If the meaning of the 'Repository' container reference isn't clear, there really should be more of a description here...
The repository to which the metamodel belongssetRepository(Repository)
,
MigrationPackage.getMetamodel_Repository()
,
Repository.getMetamodel()
void setRepository(Repository value)
Repository
'
container reference.
value
- the new value of the 'Repository' container reference.getRepository()
org.eclipse.emf.ecore.EPackage getDefaultPackage()
setDefaultPackage(EPackage)
,
MigrationPackage.getMetamodel_DefaultPackage()
void setDefaultPackage(org.eclipse.emf.ecore.EPackage value)
Default Package
' reference.
value
- the new value of the 'Default Package' reference.getDefaultPackage()
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
If the meaning of the 'EPackages' reference list isn't clear, there really should be more of a description here...
The root packages of all resources of which the metamodel consistsvoid setDefaultPackage(String packageName)
org.eclipse.emf.ecore.EEnum getEEnum(String name)
org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral(String name)
void delete(org.eclipse.emf.ecore.EModelElement metamodelElement)
<V> org.eclipse.emf.common.util.EList<V> getInverse(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes(org.eclipse.emf.ecore.EClass eClass)
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes(org.eclipse.emf.ecore.EClass eClass)
void setEOpposite(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
org.eclipse.emf.ecore.EPackage getEPackage(String name)
org.eclipse.emf.ecore.EClassifier getEClassifier(String name)
org.eclipse.emf.ecore.EStructuralFeature getEFeature(String name)
org.eclipse.emf.ecore.EClass getEClass(String name)
org.eclipse.emf.ecore.EReference getEReference(String name)
org.eclipse.emf.ecore.EAttribute getEAttribute(String name)
org.eclipse.emf.ecore.EDataType getEDataType(String name)
org.eclipse.emf.ecore.EModelElement getElement(String name)
void validate() throws MigrationException
MigrationException
void refreshCaches()
Copyright © 2020. All rights reserved.