Interface MigrationFactory
-
- All Superinterfaces:
org.eclipse.emf.ecore.EFactory
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MigrationFactoryImpl
public interface MigrationFactory extends org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.- See Also:
MigrationPackage
-
-
Field Summary
Fields Modifier and Type Field Description static MigrationFactory
eINSTANCE
The singleton instance of the factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeSlot
createAttributeSlot()
Returns a new object of class 'Attribute Slot'.Instance
createInstance()
Returns a new object of class 'Instance'.Metamodel
createMetamodel()
Returns a new object of class 'Metamodel'.MetamodelResource
createMetamodelResource()
Returns a new object of class 'Metamodel Resource'.Model
createModel()
Returns a new object of class 'Model'.ModelResource
createModelResource()
Returns a new object of class 'Model Resource'.ReferenceSlot
createReferenceSlot()
Returns a new object of class 'Reference Slot'.Repository
createRepository()
Returns a new object of class 'Repository'.Type
createType()
Returns a new object of class 'Type'.MigrationPackage
getMigrationPackage()
Returns the package supported by this factory.-
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, getEPackage, setEPackage
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
-
-
-
Field Detail
-
eINSTANCE
static final MigrationFactory eINSTANCE
The singleton instance of the factory.
-
-
Method Detail
-
createModel
Model createModel()
Returns a new object of class 'Model'.- Returns:
- a new object of class 'Model'.
-
createMetamodel
Metamodel createMetamodel()
Returns a new object of class 'Metamodel'.- Returns:
- a new object of class 'Metamodel'.
-
createType
Type createType()
Returns a new object of class 'Type'.- Returns:
- a new object of class 'Type'.
-
createInstance
Instance createInstance()
Returns a new object of class 'Instance'.- Returns:
- a new object of class 'Instance'.
-
createAttributeSlot
AttributeSlot createAttributeSlot()
Returns a new object of class 'Attribute Slot'.- Returns:
- a new object of class 'Attribute Slot'.
-
createReferenceSlot
ReferenceSlot createReferenceSlot()
Returns a new object of class 'Reference Slot'.- Returns:
- a new object of class 'Reference Slot'.
-
createRepository
Repository createRepository()
Returns a new object of class 'Repository'.- Returns:
- a new object of class 'Repository'.
-
createModelResource
ModelResource createModelResource()
Returns a new object of class 'Model Resource'.- Returns:
- a new object of class 'Model Resource'.
-
createMetamodelResource
MetamodelResource createMetamodelResource()
Returns a new object of class 'Metamodel Resource'.- Returns:
- a new object of class 'Metamodel Resource'.
-
getMigrationPackage
MigrationPackage getMigrationPackage()
Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-
-