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

COVERAGE SUMMARY FOR SOURCE FILE [ProcessingResourceSpecificationResultImpl.java]

nameclass, %method, %block, %line, %
ProcessingResourceSpecificationResultImpl.java0%   (0/1)0%   (0/9)0%   (0/118)0%   (0/33)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ProcessingResourceSpecificationResultImpl0%   (0/1)0%   (0/9)0%   (0/118)0%   (0/33)
ProcessingResourceSpecificationResultImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
basicGetProcessingResourceSpecification_ProcessingResourceSpecificationResult... 0%   (0/1)0%   (0/3)0%   (0/1)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/16)0%   (0/4)
eIsSet (int): boolean 0%   (0/1)0%   (0/13)0%   (0/3)
eSet (int, Object): void 0%   (0/1)0%   (0/12)0%   (0/5)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/10)0%   (0/5)
getProcessingResourceSpecification_ProcessingResourceSpecificationResult (): ... 0%   (0/1)0%   (0/38)0%   (0/7)
setProcessingResourceSpecification_ProcessingResourceSpecificationResult (Pro... 0%   (0/1)0%   (0/21)0%   (0/5)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.impl;
8 
9import de.uka.ipd.sdq.pcm.resourceenvironment.ProcessingResourceSpecification;
10 
11import de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ProcessingResourceSpecificationResult;
12import de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.ResourceenvironmentdecoratorPackage;
13 
14import org.eclipse.emf.common.notify.Notification;
15 
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18 
19import org.eclipse.emf.ecore.impl.ENotificationImpl;
20 
21/**
22 * <!-- begin-user-doc -->
23 * An implementation of the model object '<em><b>Processing Resource Specification Result</b></em>'.
24 * <!-- end-user-doc -->
25 * <p>
26 * The following features are implemented:
27 * <ul>
28 *   <li>{@link de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.impl.ProcessingResourceSpecificationResultImpl#getProcessingResourceSpecification_ProcessingResourceSpecificationResult <em>Processing Resource Specification Processing Resource Specification Result</em>}</li>
29 * </ul>
30 * </p>
31 *
32 * @generated
33 */
34public class ProcessingResourceSpecificationResultImpl extends ActiveResourceUtilisationResultImpl implements ProcessingResourceSpecificationResult {
35        /**
36         * The cached value of the '{@link #getProcessingResourceSpecification_ProcessingResourceSpecificationResult() <em>Processing Resource Specification Processing Resource Specification Result</em>}' reference.
37         * <!-- begin-user-doc -->
38         * <!-- end-user-doc -->
39         * @see #getProcessingResourceSpecification_ProcessingResourceSpecificationResult()
40         * @generated
41         * @ordered
42         */
43        protected ProcessingResourceSpecification processingResourceSpecification_ProcessingResourceSpecificationResult;
44        /**
45         * <!-- begin-user-doc -->
46         * <!-- end-user-doc -->
47         * @generated
48         */
49        protected ProcessingResourceSpecificationResultImpl() {
50                super();
51        }
52 
53        /**
54         * <!-- begin-user-doc -->
55         * <!-- end-user-doc -->
56         * @generated
57         */
58        @Override
59        protected EClass eStaticClass() {
60                return ResourceenvironmentdecoratorPackage.Literals.PROCESSING_RESOURCE_SPECIFICATION_RESULT;
61        }
62 
63        /**
64         * <!-- begin-user-doc -->
65         * <!-- end-user-doc -->
66         * @generated
67         */
68        public ProcessingResourceSpecification getProcessingResourceSpecification_ProcessingResourceSpecificationResult() {
69                if (processingResourceSpecification_ProcessingResourceSpecificationResult != null && processingResourceSpecification_ProcessingResourceSpecificationResult.eIsProxy()) {
70                        InternalEObject oldProcessingResourceSpecification_ProcessingResourceSpecificationResult = (InternalEObject)processingResourceSpecification_ProcessingResourceSpecificationResult;
71                        processingResourceSpecification_ProcessingResourceSpecificationResult = (ProcessingResourceSpecification)eResolveProxy(oldProcessingResourceSpecification_ProcessingResourceSpecificationResult);
72                        if (processingResourceSpecification_ProcessingResourceSpecificationResult != oldProcessingResourceSpecification_ProcessingResourceSpecificationResult) {
73                                if (eNotificationRequired())
74                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT, oldProcessingResourceSpecification_ProcessingResourceSpecificationResult, processingResourceSpecification_ProcessingResourceSpecificationResult));
75                        }
76                }
77                return processingResourceSpecification_ProcessingResourceSpecificationResult;
78        }
79 
80        /**
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        public ProcessingResourceSpecification basicGetProcessingResourceSpecification_ProcessingResourceSpecificationResult() {
86                return processingResourceSpecification_ProcessingResourceSpecificationResult;
87        }
88 
89        /**
90         * <!-- begin-user-doc -->
91         * <!-- end-user-doc -->
92         * @generated
93         */
94        public void setProcessingResourceSpecification_ProcessingResourceSpecificationResult(ProcessingResourceSpecification newProcessingResourceSpecification_ProcessingResourceSpecificationResult) {
95                ProcessingResourceSpecification oldProcessingResourceSpecification_ProcessingResourceSpecificationResult = processingResourceSpecification_ProcessingResourceSpecificationResult;
96                processingResourceSpecification_ProcessingResourceSpecificationResult = newProcessingResourceSpecification_ProcessingResourceSpecificationResult;
97                if (eNotificationRequired())
98                        eNotify(new ENotificationImpl(this, Notification.SET, ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT, oldProcessingResourceSpecification_ProcessingResourceSpecificationResult, processingResourceSpecification_ProcessingResourceSpecificationResult));
99        }
100 
101        /**
102         * <!-- begin-user-doc -->
103         * <!-- end-user-doc -->
104         * @generated
105         */
106        @Override
107        public Object eGet(int featureID, boolean resolve, boolean coreType) {
108                switch (featureID) {
109                        case ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT:
110                                if (resolve) return getProcessingResourceSpecification_ProcessingResourceSpecificationResult();
111                                return basicGetProcessingResourceSpecification_ProcessingResourceSpecificationResult();
112                }
113                return super.eGet(featureID, resolve, coreType);
114        }
115 
116        /**
117         * <!-- begin-user-doc -->
118         * <!-- end-user-doc -->
119         * @generated
120         */
121        @Override
122        public void eSet(int featureID, Object newValue) {
123                switch (featureID) {
124                        case ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT:
125                                setProcessingResourceSpecification_ProcessingResourceSpecificationResult((ProcessingResourceSpecification)newValue);
126                                return;
127                }
128                super.eSet(featureID, newValue);
129        }
130 
131        /**
132         * <!-- begin-user-doc -->
133         * <!-- end-user-doc -->
134         * @generated
135         */
136        @Override
137        public void eUnset(int featureID) {
138                switch (featureID) {
139                        case ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT:
140                                setProcessingResourceSpecification_ProcessingResourceSpecificationResult((ProcessingResourceSpecification)null);
141                                return;
142                }
143                super.eUnset(featureID);
144        }
145 
146        /**
147         * <!-- begin-user-doc -->
148         * <!-- end-user-doc -->
149         * @generated
150         */
151        @Override
152        public boolean eIsSet(int featureID) {
153                switch (featureID) {
154                        case ResourceenvironmentdecoratorPackage.PROCESSING_RESOURCE_SPECIFICATION_RESULT__PROCESSING_RESOURCE_SPECIFICATION_PROCESSING_RESOURCE_SPECIFICATION_RESULT:
155                                return processingResourceSpecification_ProcessingResourceSpecificationResult != null;
156                }
157                return super.eIsSet(featureID);
158        }
159 
160} //ProcessingResourceSpecificationResultImpl

[all classes][de.uka.ipd.sdq.pcm.resultdecorator.resourceenvironmentdecorator.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov