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 specialised Blackboard for PCMResourceSetPartitions, because usually, the Blackboard containing the PCM might contain other models, for example SAAM models when transforming one into the other.
  • Field Summary

    Fields inherited from class de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition

    rs
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.palladiosimulator.pcm.allocation.Allocation
     
    de.uka.ipd.sdq.featureconfig.Configuration
     
    org.palladiosimulator.pcm.repository.Repository
     
    List<org.palladiosimulator.pcm.repository.Repository>
     
    org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment
     
    org.palladiosimulator.pcm.resourcetype.ResourceRepository
     
    org.palladiosimulator.pcm.system.System
     
    org.palladiosimulator.pcm.usagemodel.UsageModel
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PCMResourceSetPartition

      public PCMResourceSetPartition()
  • Method Details

    • 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