Package org.bigraphs.framework.core
Class BigraphFileModelManagement.Store
java.lang.Object
org.bigraphs.framework.core.BigraphFileModelManagement.Store
- Enclosing class:
- BigraphFileModelManagement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
exportAsInstanceModel
(EcoreBigraph bigraph, OutputStream outputStream) Exports the Ecore-based instance model of a bigraph.static void
exportAsInstanceModel
(EcoreBigraph bigraph, OutputStream outputStream, String newNamespaceLocation) static void
exportAsInstanceModel
(EcoreSignature signature, OutputStream outputStream) Exports the Ecore-based instance model of a signature.static void
exportAsInstanceModel
(EcoreSignature signature, OutputStream outputStream, String newNamespaceLocation) static void
exportAsMetaModel
(EcoreBigraph bigraph, OutputStream outputStream) Exports the Ecore-based metamodel of a bigraph.static void
exportAsMetaModel
(EcoreBigraph bigraph, Path folder) Exports the Ecore-based metamodel of a bigraph.static void
exportAsMetaModel
(EcoreSignature signature, OutputStream outputStream) Exports the Ecore-based metamodel of a signature The filename must match the name of the EPackage.
-
Constructor Details
-
Store
public Store()
-
-
Method Details
-
exportAsInstanceModel
public static void exportAsInstanceModel(EcoreBigraph bigraph, OutputStream outputStream) throws IOException Exports the Ecore-based instance model of a bigraph.- Throws:
IOException
-
exportAsInstanceModel
public static void exportAsInstanceModel(EcoreBigraph bigraph, OutputStream outputStream, String newNamespaceLocation) throws IOException - Throws:
IOException
-
exportAsInstanceModel
public static void exportAsInstanceModel(EcoreSignature signature, OutputStream outputStream) throws IOException Exports the Ecore-based instance model of a signature.- Throws:
IOException
-
exportAsInstanceModel
public static void exportAsInstanceModel(EcoreSignature signature, OutputStream outputStream, String newNamespaceLocation) throws IOException - Throws:
IOException
-
exportAsMetaModel
public static void exportAsMetaModel(EcoreBigraph bigraph, OutputStream outputStream) throws IOException Exports the Ecore-based metamodel of a bigraph. The filename must match the name of the EPackage of the givenbigraph
argument.- Parameters:
bigraph
- the bigraph's metamodel to exportoutputStream
- the output stream, e.g.,FileOutputStream
- Throws:
IOException
- See Also:
-
exportAsMetaModel
Exports the Ecore-based metamodel of a bigraph. The filename is automatically derived and matches the name of the EPackage of the givenbigraph
argument.- Parameters:
bigraph
- the bigraph's metamodel to exportfolder
- the folder where the metamodel should be stored- Throws:
IOException
-
exportAsMetaModel
public static void exportAsMetaModel(EcoreSignature signature, OutputStream outputStream) throws IOException Exports the Ecore-based metamodel of a signature The filename must match the name of the EPackage.- Throws:
IOException
-