Class CDOPersistency


  • public class CDOPersistency
    extends Persistency
    Helper class for loading and saving models.
    Version:
    $Rev$
    Author:
    herrmama, Christophe Bouhier
    • Constructor Detail

      • CDOPersistency

        public CDOPersistency()
    • 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