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

COVERAGE SUMMARY FOR SOURCE FILE [Seff_reliabilityFactoryImpl.java]

nameclass, %method, %block, %line, %
Seff_reliabilityFactoryImpl.java0%   (0/1)0%   (0/7)0%   (0/61)0%   (0/18)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Seff_reliabilityFactoryImpl0%   (0/1)0%   (0/7)0%   (0/61)0%   (0/18)
Seff_reliabilityFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/23)0%   (0/4)
createRecoveryAction (): RecoveryAction 0%   (0/1)0%   (0/6)0%   (0/2)
createRecoveryActionBehaviour (): RecoveryActionBehaviour 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): Seff_reliabilityPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getSeff_reliabilityPackage (): Seff_reliabilityPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): Seff_reliabilityFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.seff.seff_reliability.impl;
7 
8import de.uka.ipd.sdq.pcm.seff.seff_reliability.*;
9import org.eclipse.emf.ecore.EClass;
10import org.eclipse.emf.ecore.EObject;
11import org.eclipse.emf.ecore.EPackage;
12import org.eclipse.emf.ecore.impl.EFactoryImpl;
13import org.eclipse.emf.ecore.plugin.EcorePlugin;
14 
15import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityFactory;
16import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage;
17 
18/**
19 * <!-- begin-user-doc -->
20 * An implementation of the model <b>Factory</b>.
21 * <!-- end-user-doc -->
22 * @generated
23 */
24public class Seff_reliabilityFactoryImpl extends EFactoryImpl implements Seff_reliabilityFactory {
25        /**
26         * <!-- begin-user-doc -->
27         * <!-- end-user-doc -->
28         * @generated
29         */
30        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
31 
32        /**
33         * Creates the default factory implementation.
34         * <!-- begin-user-doc -->
35         * <!-- end-user-doc -->
36         * @generated
37         */
38        public static Seff_reliabilityFactory init() {
39                try {
40                        Seff_reliabilityFactory theSeff_reliabilityFactory = (Seff_reliabilityFactory)EPackage.Registry.INSTANCE.getEFactory("http://sdq.ipd.uka.de/PalladioComponentModel/SEFF/SEFF_Reliability/1.0"); 
41                        if (theSeff_reliabilityFactory != null) {
42                                return theSeff_reliabilityFactory;
43                        }
44                }
45                catch (Exception exception) {
46                        EcorePlugin.INSTANCE.log(exception);
47                }
48                return new Seff_reliabilityFactoryImpl();
49        }
50 
51        /**
52         * Creates an instance of the factory.
53         * <!-- begin-user-doc -->
54         * <!-- end-user-doc -->
55         * @generated
56         */
57        public Seff_reliabilityFactoryImpl() {
58                super();
59        }
60 
61        /**
62         * <!-- begin-user-doc -->
63         * <!-- end-user-doc -->
64         * @generated
65         */
66        @Override
67        public EObject create(EClass eClass) {
68                switch (eClass.getClassifierID()) {
69                        case Seff_reliabilityPackage.RECOVERY_ACTION_BEHAVIOUR: return createRecoveryActionBehaviour();
70                        case Seff_reliabilityPackage.RECOVERY_ACTION: return createRecoveryAction();
71                        default:
72                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
73                }
74        }
75 
76        /**
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @generated
80         */
81        public RecoveryActionBehaviour createRecoveryActionBehaviour() {
82                RecoveryActionBehaviourImpl recoveryActionBehaviour = new RecoveryActionBehaviourImpl();
83                return recoveryActionBehaviour;
84        }
85 
86        /**
87         * <!-- begin-user-doc -->
88         * <!-- end-user-doc -->
89         * @generated
90         */
91        public RecoveryAction createRecoveryAction() {
92                RecoveryActionImpl recoveryAction = new RecoveryActionImpl();
93                return recoveryAction;
94        }
95 
96        /**
97         * <!-- begin-user-doc -->
98         * <!-- end-user-doc -->
99         * @generated
100         */
101        public Seff_reliabilityPackage getSeff_reliabilityPackage() {
102                return (Seff_reliabilityPackage)getEPackage();
103        }
104 
105        /**
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @deprecated
109         * @generated
110         */
111        @Deprecated
112        public static Seff_reliabilityPackage getPackage() {
113                return Seff_reliabilityPackage.eINSTANCE;
114        }
115 
116} //Seff_reliabilityFactoryImpl

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