java.lang.Object
org.palladiosimulator.generator.fluent.shared.util.ModelLoader

public class ModelLoader extends Object
This utility class contains functions to load Repositories, ResourceTypeReopsitories, Systems, ResourceEnvironemnts and Allocations.
See Also:
  • Repository
  • ResourceRepository
  • System
  • ResourceEnvironment
  • Allocation
  • Field Details

  • Method Details

    • loadAllocation

      public static org.palladiosimulator.pcm.allocation.Allocation loadAllocation(String uri)
      Loads an Allocation form the specified path.
      Parameters:
      uri -
      Returns:
      the org.palladiosimulator.generator.fluent.allocation
      See Also:
      • Allocation
    • loadRepository

      public static org.palladiosimulator.pcm.repository.Repository loadRepository(String uri)
      Loads a repository from the specified path.
      Parameters:
      uri -
      Returns:
      the repository
      See Also:
      • Repository
    • loadResourceEnvironment

      public static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment loadResourceEnvironment(String uri)
      Loads a ResourceEnvironment from the specified path.
      Parameters:
      uri -
      Returns:
      the resource environment
      See Also:
      • ResourceEnvironment
    • loadResourceTypeRepository

      public static org.palladiosimulator.pcm.resourcetype.ResourceRepository loadResourceTypeRepository(String uri)
      Loads a ResourceRepository from the specified path.
      Parameters:
      uri -
      Returns:
      the resource repository
      See Also:
      • ResourceRepository
    • loadSystem

      public static org.palladiosimulator.pcm.system.System loadSystem(String uri)
      Loads a System from the specified path.
      Parameters:
      uri -
      Returns:
      the org.palladiosimulator.generator.fluent.system
      See Also:
      • System