Interface ResourceLoader
- All Known Implementing Classes:
PCMResourceListLoader
,PCMURIResourceLoader
public interface ResourceLoader
-
Method Summary
Modifier and TypeMethodDescriptionorg.palladiosimulator.pcm.allocation.Allocation
Returns the allocation model that the resource loader has loadedorg.palladiosimulator.pcm.usagemodel.UsageModel
Returns the usage model that the resource loader has loadedvoid
Loads the required resourceslookupElementOfType
(EClass targetType) Looks up an ECore element with the given class type
-
Method Details
-
loadRequiredResources
void loadRequiredResources()Loads the required resources -
getUsageModel
org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()Returns the usage model that the resource loader has loaded- Returns:
- Usage model saved in the resources
-
getAllocation
org.palladiosimulator.pcm.allocation.Allocation getAllocation()Returns the allocation model that the resource loader has loaded- Returns:
- Allocation model saved in the resources
-
lookupElementOfType
Looks up an ECore element with the given class type- Type Parameters:
T
- Type of the objects that the lookup should return- Parameters:
targetType
- Target type of the lookup- Returns:
- Returns a list of objects that are of the target type
-