Class PCMResourceSetPartition
- java.lang.Object
-
- de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition
-
- org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition
-
public class PCMResourceSetPartition extends de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition
This class is a specialised MDSDBlackboard partition which is specialised to load and hold PCM model instances. Currently, the PCM instance is loaded as a list of files, each file containing a part of the PCM model. It is sufficient to specify a PCM Allocation and a PCM UsageModel. All other model parts can then be derived automatically. Note that there is no specialisedBlackboard
for PCMResourceSetPartitions, because usually, the Blackboard containing the PCM might contain other models, for example SAAM models when transforming one into the other.
-
-
Constructor Summary
Constructors Constructor Description PCMResourceSetPartition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.palladiosimulator.pcm.allocation.Allocation
getAllocation()
de.uka.ipd.sdq.featureconfig.Configuration
getFeatureConfig()
org.palladiosimulator.pcm.repository.Repository
getMiddlewareRepository()
List<org.palladiosimulator.pcm.repository.Repository>
getRepositories()
org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment
getResourceEnvironment()
org.palladiosimulator.pcm.resourcetype.ResourceRepository
getResourceTypeRepository()
org.palladiosimulator.pcm.system.System
getSystem()
org.palladiosimulator.pcm.usagemodel.UsageModel
getUsageModel()
-
Methods inherited from class de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition
getContents, getElement, getFirstContentElement, getResourceSet, hasElement, hasModel, initialiseResourceSetEPackages, loadModel, loadModel, resolveAllProxies, setContents, setContents, storeAllResources, storeAllResources
-
-
-
-
Method Detail
-
getRepositories
public List<org.palladiosimulator.pcm.repository.Repository> getRepositories()
- Returns:
- Returns the PCM repository instance of the PCM model
-
getMiddlewareRepository
public org.palladiosimulator.pcm.repository.Repository getMiddlewareRepository()
- Returns:
- Returns a PCM Repository which contains components of Steffen's and Jens' middleware completions
-
getFeatureConfig
public de.uka.ipd.sdq.featureconfig.Configuration getFeatureConfig()
- Returns:
- Returns the feature configuration which annotates connectors with their technical realisation
-
getSystem
public org.palladiosimulator.pcm.system.System getSystem()
- Returns:
- Returns the PCM system instance of the stored PCM model
-
getAllocation
public org.palladiosimulator.pcm.allocation.Allocation getAllocation()
- Returns:
- Returns the PCM system's allocation model
-
getUsageModel
public org.palladiosimulator.pcm.usagemodel.UsageModel getUsageModel()
- Returns:
- Returns the PCM usage model of the PCM model in this blackboard partition
-
getResourceTypeRepository
public org.palladiosimulator.pcm.resourcetype.ResourceRepository getResourceTypeRepository()
- Returns:
- Returns the PCM Resource Type Repository used by the stored PCM model instance
-
getResourceEnvironment
public org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment getResourceEnvironment()
- Returns:
- Returns the PCM Resource Environment used by the stored PCM model instance
-
-