Class PCMSaver
- java.lang.Object
-
- tools.descartes.pmx.pcm.builder.persistance.PCMSaver
-
public class PCMSaver extends Object
-
-
Constructor Summary
Constructors Constructor Description PCMSaver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceSetgetResourceSet()static voidinit()static voidsave(org.palladiosimulator.pcm.allocation.Allocation allocation, String relativePath)Saves PCMAllocationto file.static voidsave(org.palladiosimulator.pcm.repository.Repository repository, String relativePath)Saves PCMRepositoryto file.static voidsave(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment, String relativePath)Saves PCMResourceEnvironmentto file.static voidsave(org.palladiosimulator.pcm.system.System system, String relativePath)Saves PCMSystemto file.static voidsave(org.palladiosimulator.pcm.usagemodel.UsageModel usagemodel, String relativePath)Saves PCMResourceEnvironmentto file.static voidsetResourceSet(ResourceSet resourceSet2)
-
-
-
Method Detail
-
save
public static void save(org.palladiosimulator.pcm.system.System system, String relativePath)Saves PCMSystemto file.- Parameters:
system- modelrelativePath-
-
save
public static void save(org.palladiosimulator.pcm.allocation.Allocation allocation, String relativePath)Saves PCMAllocationto file.- Parameters:
allocation- modelrelativePath-
-
save
public static void save(org.palladiosimulator.pcm.repository.Repository repository, String relativePath)Saves PCMRepositoryto file.- Parameters:
repository- modelrelativePath-
-
save
public static void save(org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment resourceEnvironment, String relativePath)Saves PCMResourceEnvironmentto file.- Parameters:
resourceEnvironment- modelrelativePath-
-
save
public static void save(org.palladiosimulator.pcm.usagemodel.UsageModel usagemodel, String relativePath)Saves PCMResourceEnvironmentto file.- Parameters:
resourceEnvironment- modelrelativePath-
-
getResourceSet
public static ResourceSet getResourceSet()
-
init
public static void init()
-
setResourceSet
public static void setResourceSet(ResourceSet resourceSet2)
-
-