Class PCMResourceListLoader
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.resource.PCMResourceListLoader
- All Implemented Interfaces:
ResourceLoader
-
Constructor Summary
-
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
-
Constructor Details
-
PCMResourceListLoader
-
-
Method Details
-
loadRequiredResources
public void loadRequiredResources()Description copied from interface:ResourceLoader
Loads the required resources- Specified by:
loadRequiredResources
in interfaceResourceLoader
-
getUsageModel
public org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()Description copied from interface:ResourceLoader
Returns the usage model that the resource loader has loaded- Specified by:
getUsageModel
in interfaceResourceLoader
- Returns:
- Usage model saved in the resources
-
getAllocation
public org.palladiosimulator.pcm.allocation.Allocation getAllocation()Description copied from interface:ResourceLoader
Returns the allocation model that the resource loader has loaded- Specified by:
getAllocation
in interfaceResourceLoader
- Returns:
- Allocation model saved in the resources
-
lookupElementOfType
Description copied from interface:ResourceLoader
Looks up an ECore element with the given class type- Specified by:
lookupElementOfType
in interfaceResourceLoader
- 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
-