1 | package de.uka.ipd.sdq.pcm.transformations.builder.util; |
2 | |
3 | import de.uka.ipd.sdq.pcm.allocation.Allocation; |
4 | import de.uka.ipd.sdq.pcm.repository.Repository; |
5 | import de.uka.ipd.sdq.pcm.resourcetype.ResourceRepository; |
6 | import de.uka.ipd.sdq.pcm.system.System; |
7 | import de.uka.ipd.sdq.pcm.usagemodel.UsageModel; |
8 | |
9 | public class PCMAndCompletionModelHolder extends PCMModelHolder { |
10 | |
11 | private Repository completionRepository; |
12 | private Repository middlewareRepository; |
13 | |
14 | public PCMAndCompletionModelHolder(ResourceRepository resourceRepository, |
15 | Repository repository, System system, |
16 | Allocation allocation, UsageModel usageModel, |
17 | Repository completionRepository, |
18 | Repository middlewareRepository) { |
19 | super(resourceRepository, repository, system, allocation, usageModel); |
20 | this.completionRepository = completionRepository; |
21 | this.middlewareRepository = middlewareRepository; |
22 | } |
23 | |
24 | public Repository getCompletionRepository() { |
25 | return completionRepository; |
26 | } |
27 | |
28 | public Repository getMiddlewareRepository() { |
29 | return middlewareRepository; |
30 | } |
31 | |
32 | |
33 | } |