EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.transformations.builder.util]

COVERAGE SUMMARY FOR SOURCE FILE [PCMModelHolder.java]

nameclass, %method, %block, %line, %
PCMModelHolder.java0%   (0/1)0%   (0/7)0%   (0/40)0%   (0/14)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PCMModelHolder0%   (0/1)0%   (0/7)0%   (0/40)0%   (0/14)
PCMModelHolder (ResourceRepository, Repository, System, Allocation, UsageMode... 0%   (0/1)0%   (0/22)0%   (0/8)
getAllocation (): Allocation 0%   (0/1)0%   (0/3)0%   (0/1)
getRepository (): Repository 0%   (0/1)0%   (0/3)0%   (0/1)
getResourceEnvironment (): ResourceEnvironment 0%   (0/1)0%   (0/3)0%   (0/1)
getResourceRepository (): ResourceRepository 0%   (0/1)0%   (0/3)0%   (0/1)
getSystem (): System 0%   (0/1)0%   (0/3)0%   (0/1)
getUsageModel (): UsageModel 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.ipd.sdq.pcm.transformations.builder.util;
2 
3import de.uka.ipd.sdq.pcm.allocation.Allocation;
4import de.uka.ipd.sdq.pcm.repository.Repository;
5import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceEnvironment;
6import de.uka.ipd.sdq.pcm.resourcetype.ResourceRepository;
7import de.uka.ipd.sdq.pcm.system.System;
8import de.uka.ipd.sdq.pcm.usagemodel.UsageModel;
9 
10public class PCMModelHolder {
11        private Repository repository;
12        private System system;
13        private Allocation allocation;
14        private ResourceEnvironment resourceEnvironment;
15        private UsageModel usageModel;
16        private ResourceRepository resourceRepository;
17        
18        public Repository getRepository() {
19                return repository;
20        }
21        public System getSystem() {
22                return system;
23        }
24        public Allocation getAllocation() {
25                return allocation;
26        }
27        public ResourceEnvironment getResourceEnvironment() {
28                return resourceEnvironment;
29        }
30        public UsageModel getUsageModel() {
31                return usageModel;
32        }
33        public PCMModelHolder(ResourceRepository resourceRepository, Repository repository, System system,
34                        Allocation allocation,
35                        UsageModel usageModel) {
36                super();
37                this.resourceRepository = resourceRepository;
38                this.repository = repository;
39                this.system = system;
40                this.allocation = allocation;
41                this.resourceEnvironment = allocation.getTargetResourceEnvironment_Allocation();
42                this.usageModel = usageModel;
43        }
44        public ResourceRepository getResourceRepository() {
45                return resourceRepository;
46        }
47}

[all classes][de.uka.ipd.sdq.pcm.transformations.builder.util]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov