Package org.eclipse.m2m.atl.emftvm.impl
Class ModelFactoryImpl
java.lang.Object
org.eclipse.m2m.atl.emftvm.impl.ModelFactoryImpl
- All Implemented Interfaces:
ModelFactory
Default implementation for
ModelFactory
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMetamodel
(org.eclipse.emf.ecore.resource.Resource resource) Creates a newMetamodel
for the givenResource
.createModel
(org.eclipse.emf.ecore.resource.Resource resource) Creates a newModel
for the givenResource
.
-
Constructor Details
-
ModelFactoryImpl
public ModelFactoryImpl()
-
-
Method Details
-
createModel
Creates a newModel
for the givenResource
.- Specified by:
createModel
in interfaceModelFactory
- Parameters:
resource
- theResource
to wrap- Returns:
- a new
Model
-
createMetamodel
Creates a newMetamodel
for the givenResource
.- Specified by:
createMetamodel
in interfaceModelFactory
- Parameters:
resource
- theResource
to wrap- Returns:
- a new
Metamodel
-