Class EmfModelFactory


  • public final class EmfModelFactory
    extends java.lang.Object
    • Method Detail

      • createEmfModel

        public EmfModel createEmfModel​(java.lang.String name,
                                       java.io.File model,
                                       java.lang.Object metamodel)
        The metamodel parameter can be of type EPackage, File or URI. Any other type will cause an IllegalArgumentException to be raised.
      • createEmfModel

        public EmfModel createEmfModel​(java.lang.String name,
                                       java.io.File model,
                                       java.lang.Object metamodel,
                                       EmfModelFactory.AccessMode accessMode)
        The metamodel parameter can be of type EPackage, File or URI. Any other type will cause an IllegalArgumentException to be raised.
      • loadEmfModel

        public EmfModel loadEmfModel​(java.lang.String name,
                                     java.io.File model,
                                     java.lang.Object metamodel)
                              throws EolModelLoadingException
        The metamodel parameter can be of type EPackage, File or URI. Any other type will cause an IllegalArgumentException to be raised.
        Throws:
        EolModelLoadingException