Class ModelLoader
java.lang.Object
org.palladiosimulator.generator.fluent.shared.util.ModelLoader
This utility class contains functions to load Repositories,
ResourceTypeReopsitories, Systems, ResourceEnvironemnts and Allocations.
- See Also:
-
Repository
ResourceRepository
System
ResourceEnvironment
Allocation
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.palladiosimulator.pcm.allocation.Allocation
loadAllocation
(String uri) Loads an Allocation form the specified path.static org.palladiosimulator.pcm.repository.Repository
loadRepository
(String uri) Loads a repository from the specified path.static org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment
Loads a ResourceEnvironment from the specified path.static org.palladiosimulator.pcm.resourcetype.ResourceRepository
Loads a ResourceRepository from the specified path.static org.palladiosimulator.pcm.system.System
loadSystem
(String uri) Loads a System from the specified path.
-
Field Details
-
FAILURE_TYPES_PATH
- See Also:
-
PRIMITIVE_TYPES_PATH
- See Also:
-
RESOURCE_TYPE_PATH
- See Also:
-
-
Method Details
-
loadAllocation
Loads an Allocation form the specified path.- Parameters:
uri
-- Returns:
- the org.palladiosimulator.generator.fluent.allocation
- See Also:
-
Allocation
-
loadRepository
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
Loads a System from the specified path.- Parameters:
uri
-- Returns:
- the org.palladiosimulator.generator.fluent.system
- See Also:
-
System
-