Modifier and Type | Method and Description |
---|---|
IResourceSetFactory |
CDOMigrator.getResourceSetFactory()
Get the factory to create
ResourceSet s for custom serialization. |
Modifier and Type | Method and Description |
---|---|
static void |
CDOMigrator.copy(Metamodel metamodel,
org.eclipse.emf.ecore.resource.ResourceSet sourceModels,
List<org.eclipse.emf.common.util.URI> cdoURIs,
IResourceSetFactory resourceSetFactory)
Construct CDO
URI from a given source models ,
create target models and copy the source content to
the target content. |
void |
CDOMigrator.setResourceSetFactory(IResourceSetFactory resourceSetFactory)
Set the factory to create
ResourceSet s for custom serialization. |
Constructor and Description |
---|
CDOMigrationReconstructor(List<org.eclipse.emf.common.util.URI> modelURIs,
Release sourceRelease,
Release targetRelease,
org.eclipse.core.runtime.IProgressMonitor monitor,
IClassLoader classLoader,
ValidationLevel level,
IResourceSetFactory resourceSetFactory) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceSetFactoryImpl
Default implementation of
IResourceSetFactory returning an instance
of ResourceSetImpl . |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.emf.ecore.resource.ResourceSet |
ResourceUtils.loadResourceSet(List<org.eclipse.emf.common.util.URI> modelURIs,
List<org.eclipse.emf.ecore.EPackage> ePackages,
IResourceSetFactory resourceSetFactory)
Load EMF model based on a set of
URI and root packages. |
Constructor and Description |
---|
MigrationReconstructor(List<org.eclipse.emf.common.util.URI> modelURIs,
Release sourceRelease,
Release targetRelease,
org.eclipse.core.runtime.IProgressMonitor monitor,
IClassLoader classLoader,
ValidationLevel level,
IResourceSetFactory resourceSetFactory,
IResourceSetProcessor postLoadProcessor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Model |
Persistency.loadModel(List<org.eclipse.emf.common.util.URI> modelURIs,
Metamodel metamodel,
IResourceSetFactory resourceSetFactory,
IResourceSetProcessor postLoadProcessor)
Load model based on a set of
URI and metamodel. |
static Model |
Persistency.loadModel(String fileName,
Metamodel metamodel,
IResourceSetFactory resourceSetFactory,
IResourceSetProcessor postLoadProcessor)
Load model based on file name and metamodel.
|
static Model |
Persistency.loadModel(org.eclipse.emf.common.util.URI modelURI,
Metamodel metamodel,
IResourceSetFactory resourceSetFactory,
IResourceSetProcessor postLoadProcessor)
Load model based on
URI and metamodel. |
static Model |
Persistency.loadModel(org.eclipse.emf.common.util.URI modelURI,
org.eclipse.emf.common.util.URI metamodelURI,
IResourceSetFactory resourceSetFactory,
IResourceSetProcessor postLoadProcessor)
Load model based on
URI for model and metamodel. |
Modifier and Type | Method and Description |
---|---|
IResourceSetFactory |
Migrator.getResourceSetFactory()
Get the factory to create
ResourceSet s for custom serialization. |
Modifier and Type | Method and Description |
---|---|
void |
Migrator.setResourceSetFactory(IResourceSetFactory resourceSetFactory)
Set the factory to create
ResourceSet s for custom serialization. |
Copyright © 2020. All rights reserved.