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

COVERAGE SUMMARY FOR SOURCE FILE [HardwareMTTRParameterImpl.java]

nameclass, %method, %block, %line, %
HardwareMTTRParameterImpl.java0%   (0/1)0%   (0/3)0%   (0/7)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class HardwareMTTRParameterImpl0%   (0/1)0%   (0/3)0%   (0/7)0%   (0/4)
HardwareMTTRParameterImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
HardwareMTTRParameterMustHaveDoubleVariation (DiagnosticChain, Map): boolean 0%   (0/1)0%   (0/2)0%   (0/1)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.sensitivity.impl;
8 
9import de.uka.ipd.sdq.sensitivity.HardwareMTTRParameter;
10import de.uka.ipd.sdq.sensitivity.SensitivityPackage;
11 
12import de.uka.ipd.sdq.sensitivity.util.SensitivityValidator;
13 
14import java.util.Map;
15 
16import org.eclipse.emf.common.util.BasicDiagnostic;
17import org.eclipse.emf.common.util.Diagnostic;
18import org.eclipse.emf.common.util.DiagnosticChain;
19 
20import org.eclipse.emf.ecore.EClass;
21 
22import org.eclipse.emf.ecore.plugin.EcorePlugin;
23 
24import org.eclipse.emf.ecore.util.EObjectValidator;
25 
26/**
27 * <!-- begin-user-doc -->
28 * An implementation of the model object '<em><b>Hardware MTTR Parameter</b></em>'.
29 * <!-- end-user-doc -->
30 * <p>
31 * </p>
32 *
33 * @generated
34 */
35public class HardwareMTTRParameterImpl extends SingleSensitivityParameterImpl implements HardwareMTTRParameter {
36        /**
37         * <!-- begin-user-doc -->
38         * <!-- end-user-doc -->
39         * @generated
40         */
41        protected HardwareMTTRParameterImpl() {
42                super();
43        }
44 
45        /**
46         * <!-- begin-user-doc -->
47         * <!-- end-user-doc -->
48         * @generated
49         */
50        @Override
51        protected EClass eStaticClass() {
52                return SensitivityPackage.Literals.HARDWARE_MTTR_PARAMETER;
53        }
54 
55        /**
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        public boolean HardwareMTTRParameterMustHaveDoubleVariation(DiagnosticChain diagnostics, Map<Object, Object> context) {
61                // TODO: implement this method
62                // -> specify the condition that violates the invariant
63                // -> verify the details of the diagnostic, including severity and message
64                // Ensure that you remove @generated or mark it @generated NOT
65                if (false) {
66                        if (diagnostics != null) {
67                                diagnostics.add
68                                        (new BasicDiagnostic
69                                                (Diagnostic.ERROR,
70                                                 SensitivityValidator.DIAGNOSTIC_SOURCE,
71                                                 SensitivityValidator.HARDWARE_MTTR_PARAMETER__HARDWARE_MTTR_PARAMETER_MUST_HAVE_DOUBLE_VARIATION,
72                                                 EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "HardwareMTTRParameterMustHaveDoubleVariation", EObjectValidator.getObjectLabel(this, context) }),
73                                                 new Object [] { this }));
74                        }
75                        return false;
76                }
77                return true;
78        }
79 
80} //HardwareMTTRParameterImpl

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