Class CDOPersistency
- java.lang.Object
-
- org.eclipse.emf.edapt.internal.migration.internal.Persistency
-
- org.eclipse.emf.edapt.cdo.migration.execution.CDOPersistency
-
public class CDOPersistency extends Persistency
Helper class for loading and saving models.- Version:
- $Rev$
- Author:
- herrmama, Christophe Bouhier
-
-
Constructor Summary
Constructors Constructor Description CDOPersistency()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Model
loadModel(List<org.eclipse.emf.common.util.URI> modelURIs, Metamodel metamodel, org.eclipse.emf.ecore.resource.ResourceSet set)
static void
saveModel(Model model, MetamodelExtent extent, List<org.eclipse.emf.common.util.URI> list)
Save model to an explity URI.-
Methods inherited from class org.eclipse.emf.edapt.internal.migration.internal.Persistency
loadMetamodel, loadMetamodel, loadMetamodel, loadModel, loadModel, loadModel, loadModel, saveMetamodel, saveModel
-
-
-
-
Method Detail
-
saveModel
public static void saveModel(Model model, MetamodelExtent extent, List<org.eclipse.emf.common.util.URI> list) throws IOException
Save model to an explity URI.- Parameters:
model
-extent
-list
-- Throws:
IOException
-
loadModel
public static Model loadModel(List<org.eclipse.emf.common.util.URI> modelURIs, Metamodel metamodel, org.eclipse.emf.ecore.resource.ResourceSet set) throws IOException
- Throws:
IOException
-
-