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_reliabilityPackageImpl.java]

nameclass, %method, %block, %line, %
Seff_reliabilityPackageImpl.java0%   (0/2)0%   (0/16)0%   (0/927)0%   (0/154)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Seff_reliabilityPackageImpl0%   (0/1)0%   (0/14)0%   (0/922)0%   (0/152)
<static initializer> 0%   (0/1)0%   (0/3)0%   (0/2)
Seff_reliabilityPackageImpl (): void 0%   (0/1)0%   (0/20)0%   (0/7)
createPackageContents (): void 0%   (0/1)0%   (0/48)0%   (0/11)
getFailureHandlingEntity (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getFailureHandlingEntity_FailureTypes_FailureHandlingEntity (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getRecoveryAction (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getRecoveryActionBehaviour (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getRecoveryActionBehaviour_FailureHandlingAlternatives__RecoveryActionBehavio... 0%   (0/1)0%   (0/7)0%   (0/1)
getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour (): ERefer... 0%   (0/1)0%   (0/7)0%   (0/1)
getRecoveryAction_PrimaryBehaviour__RecoveryAction (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getRecoveryAction_RecoveryActionBehaviours__RecoveryAction (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getSeff_reliabilityFactory (): Seff_reliabilityFactory 0%   (0/1)0%   (0/4)0%   (0/1)
init (): Seff_reliabilityPackage 0%   (0/1)0%   (0/353)0%   (0/70)
initializePackageContents (): void 0%   (0/1)0%   (0/450)0%   (0/53)
     
class Seff_reliabilityPackageImpl$10%   (0/1)0%   (0/2)0%   (0/5)0%   (0/3)
Seff_reliabilityPackageImpl$1 (): void 0%   (0/1)0%   (0/3)0%   (0/2)
getEValidator (): EValidator 0%   (0/1)0%   (0/2)0%   (0/1)

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 org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EGenericType;
10import org.eclipse.emf.ecore.EOperation;
11import org.eclipse.emf.ecore.EPackage;
12import org.eclipse.emf.ecore.EReference;
13import org.eclipse.emf.ecore.EValidator;
14import org.eclipse.emf.ecore.impl.EPackageImpl;
15 
16import de.uka.ipd.sdq.identifier.IdentifierPackage;
17import de.uka.ipd.sdq.pcm.PcmPackage;
18import de.uka.ipd.sdq.pcm.allocation.AllocationPackage;
19import de.uka.ipd.sdq.pcm.allocation.impl.AllocationPackageImpl;
20import de.uka.ipd.sdq.pcm.core.CorePackage;
21import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage;
22import de.uka.ipd.sdq.pcm.core.composition.impl.CompositionPackageImpl;
23import de.uka.ipd.sdq.pcm.core.entity.EntityPackage;
24import de.uka.ipd.sdq.pcm.core.entity.impl.EntityPackageImpl;
25import de.uka.ipd.sdq.pcm.core.impl.CorePackageImpl;
26import de.uka.ipd.sdq.pcm.impl.PcmPackageImpl;
27import de.uka.ipd.sdq.pcm.parameter.ParameterPackage;
28import de.uka.ipd.sdq.pcm.parameter.impl.ParameterPackageImpl;
29import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage;
30import de.uka.ipd.sdq.pcm.protocol.impl.ProtocolPackageImpl;
31import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage;
32import de.uka.ipd.sdq.pcm.qosannotations.impl.QosannotationsPackageImpl;
33import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.Qos_performancePackage;
34import de.uka.ipd.sdq.pcm.qosannotations.qos_performance.impl.Qos_performancePackageImpl;
35import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.Qos_reliabilityPackage;
36import de.uka.ipd.sdq.pcm.qosannotations.qos_reliability.impl.Qos_reliabilityPackageImpl;
37import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage;
38import de.uka.ipd.sdq.pcm.reliability.impl.ReliabilityPackageImpl;
39import de.uka.ipd.sdq.pcm.repository.RepositoryPackage;
40import de.uka.ipd.sdq.pcm.repository.impl.RepositoryPackageImpl;
41import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage;
42import de.uka.ipd.sdq.pcm.resourceenvironment.impl.ResourceenvironmentPackageImpl;
43import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage;
44import de.uka.ipd.sdq.pcm.resourcetype.impl.ResourcetypePackageImpl;
45import de.uka.ipd.sdq.pcm.seff.SeffPackage;
46import de.uka.ipd.sdq.pcm.seff.impl.SeffPackageImpl;
47import de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage;
48import de.uka.ipd.sdq.pcm.seff.seff_performance.impl.Seff_performancePackageImpl;
49import de.uka.ipd.sdq.pcm.seff.seff_reliability.FailureHandlingEntity;
50import de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryAction;
51import de.uka.ipd.sdq.pcm.seff.seff_reliability.RecoveryActionBehaviour;
52import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityFactory;
53import de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage;
54import de.uka.ipd.sdq.pcm.seff.seff_reliability.util.Seff_reliabilityValidator;
55import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage;
56import de.uka.ipd.sdq.pcm.subsystem.impl.SubsystemPackageImpl;
57import de.uka.ipd.sdq.pcm.system.SystemPackage;
58import de.uka.ipd.sdq.pcm.system.impl.SystemPackageImpl;
59import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage;
60import de.uka.ipd.sdq.pcm.usagemodel.impl.UsagemodelPackageImpl;
61import de.uka.ipd.sdq.stoex.StoexPackage;
62 
63/**
64 * <!-- begin-user-doc -->
65 * An implementation of the model <b>Package</b>.
66 * <!-- end-user-doc -->
67 * @generated
68 */
69public class Seff_reliabilityPackageImpl extends EPackageImpl implements Seff_reliabilityPackage {
70        /**
71         * <!-- begin-user-doc -->
72         * <!-- end-user-doc -->
73         * @generated
74         */
75        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
76 
77        /**
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        private EClass recoveryActionBehaviourEClass = null;
83 
84        /**
85         * <!-- begin-user-doc -->
86         * <!-- end-user-doc -->
87         * @generated
88         */
89        private EClass recoveryActionEClass = null;
90 
91        /**
92         * <!-- begin-user-doc -->
93         * <!-- end-user-doc -->
94         * @generated
95         */
96        private EClass failureHandlingEntityEClass = null;
97 
98        /**
99         * Creates an instance of the model <b>Package</b>, registered with
100         * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
101         * package URI value.
102         * <p>Note: the correct way to create the package is via the static
103         * factory method {@link #init init()}, which also performs
104         * initialization of the package, or returns the registered package,
105         * if one already exists.
106         * <!-- begin-user-doc -->
107         * <!-- end-user-doc -->
108         * @see org.eclipse.emf.ecore.EPackage.Registry
109         * @see de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage#eNS_URI
110         * @see #init()
111         * @generated
112         */
113        private Seff_reliabilityPackageImpl() {
114                super(eNS_URI, Seff_reliabilityFactory.eINSTANCE);
115        }
116 
117        /**
118         * <!-- begin-user-doc -->
119         * <!-- end-user-doc -->
120         * @generated
121         */
122        private static boolean isInited = false;
123 
124        /**
125         * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
126         * 
127         * <p>This method is used to initialize {@link Seff_reliabilityPackage#eINSTANCE} when that field is accessed.
128         * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
129         * <!-- begin-user-doc -->
130         * <!-- end-user-doc -->
131         * @see #eNS_URI
132         * @see #createPackageContents()
133         * @see #initializePackageContents()
134         * @generated
135         */
136        public static Seff_reliabilityPackage init() {
137                if (isInited) return (Seff_reliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(Seff_reliabilityPackage.eNS_URI);
138 
139                // Obtain or create and register package
140                Seff_reliabilityPackageImpl theSeff_reliabilityPackage = (Seff_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Seff_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Seff_reliabilityPackageImpl());
141 
142                isInited = true;
143 
144                // Initialize simple dependencies
145                IdentifierPackage.eINSTANCE.eClass();
146                StoexPackage.eINSTANCE.eClass();
147 
148                // Obtain or create and register interdependencies
149                PcmPackageImpl thePcmPackage = (PcmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) instanceof PcmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PcmPackage.eNS_URI) : PcmPackage.eINSTANCE);
150                CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE);
151                EntityPackageImpl theEntityPackage = (EntityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) instanceof EntityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI) : EntityPackage.eINSTANCE);
152                CompositionPackageImpl theCompositionPackage = (CompositionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) instanceof CompositionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompositionPackage.eNS_URI) : CompositionPackage.eINSTANCE);
153                UsagemodelPackageImpl theUsagemodelPackage = (UsagemodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) instanceof UsagemodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI) : UsagemodelPackage.eINSTANCE);
154                RepositoryPackageImpl theRepositoryPackage = (RepositoryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) instanceof RepositoryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI) : RepositoryPackage.eINSTANCE);
155                ResourcetypePackageImpl theResourcetypePackage = (ResourcetypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) instanceof ResourcetypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI) : ResourcetypePackage.eINSTANCE);
156                ProtocolPackageImpl theProtocolPackage = (ProtocolPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) instanceof ProtocolPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProtocolPackage.eNS_URI) : ProtocolPackage.eINSTANCE);
157                ParameterPackageImpl theParameterPackage = (ParameterPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) instanceof ParameterPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI) : ParameterPackage.eINSTANCE);
158                ReliabilityPackageImpl theReliabilityPackage = (ReliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) instanceof ReliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI) : ReliabilityPackage.eINSTANCE);
159                SeffPackageImpl theSeffPackage = (SeffPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) instanceof SeffPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI) : SeffPackage.eINSTANCE);
160                Seff_performancePackageImpl theSeff_performancePackage = (Seff_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) instanceof Seff_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Seff_performancePackage.eNS_URI) : Seff_performancePackage.eINSTANCE);
161                QosannotationsPackageImpl theQosannotationsPackage = (QosannotationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) instanceof QosannotationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QosannotationsPackage.eNS_URI) : QosannotationsPackage.eINSTANCE);
162                Qos_performancePackageImpl theQos_performancePackage = (Qos_performancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) instanceof Qos_performancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_performancePackage.eNS_URI) : Qos_performancePackage.eINSTANCE);
163                Qos_reliabilityPackageImpl theQos_reliabilityPackage = (Qos_reliabilityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) instanceof Qos_reliabilityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Qos_reliabilityPackage.eNS_URI) : Qos_reliabilityPackage.eINSTANCE);
164                SystemPackageImpl theSystemPackage = (SystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) instanceof SystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SystemPackage.eNS_URI) : SystemPackage.eINSTANCE);
165                ResourceenvironmentPackageImpl theResourceenvironmentPackage = (ResourceenvironmentPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) instanceof ResourceenvironmentPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI) : ResourceenvironmentPackage.eINSTANCE);
166                AllocationPackageImpl theAllocationPackage = (AllocationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) instanceof AllocationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationPackage.eNS_URI) : AllocationPackage.eINSTANCE);
167                SubsystemPackageImpl theSubsystemPackage = (SubsystemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) instanceof SubsystemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SubsystemPackage.eNS_URI) : SubsystemPackage.eINSTANCE);
168 
169                // Create package meta-data objects
170                theSeff_reliabilityPackage.createPackageContents();
171                thePcmPackage.createPackageContents();
172                theCorePackage.createPackageContents();
173                theEntityPackage.createPackageContents();
174                theCompositionPackage.createPackageContents();
175                theUsagemodelPackage.createPackageContents();
176                theRepositoryPackage.createPackageContents();
177                theResourcetypePackage.createPackageContents();
178                theProtocolPackage.createPackageContents();
179                theParameterPackage.createPackageContents();
180                theReliabilityPackage.createPackageContents();
181                theSeffPackage.createPackageContents();
182                theSeff_performancePackage.createPackageContents();
183                theQosannotationsPackage.createPackageContents();
184                theQos_performancePackage.createPackageContents();
185                theQos_reliabilityPackage.createPackageContents();
186                theSystemPackage.createPackageContents();
187                theResourceenvironmentPackage.createPackageContents();
188                theAllocationPackage.createPackageContents();
189                theSubsystemPackage.createPackageContents();
190 
191                // Initialize created meta-data
192                theSeff_reliabilityPackage.initializePackageContents();
193                thePcmPackage.initializePackageContents();
194                theCorePackage.initializePackageContents();
195                theEntityPackage.initializePackageContents();
196                theCompositionPackage.initializePackageContents();
197                theUsagemodelPackage.initializePackageContents();
198                theRepositoryPackage.initializePackageContents();
199                theResourcetypePackage.initializePackageContents();
200                theProtocolPackage.initializePackageContents();
201                theParameterPackage.initializePackageContents();
202                theReliabilityPackage.initializePackageContents();
203                theSeffPackage.initializePackageContents();
204                theSeff_performancePackage.initializePackageContents();
205                theQosannotationsPackage.initializePackageContents();
206                theQos_performancePackage.initializePackageContents();
207                theQos_reliabilityPackage.initializePackageContents();
208                theSystemPackage.initializePackageContents();
209                theResourceenvironmentPackage.initializePackageContents();
210                theAllocationPackage.initializePackageContents();
211                theSubsystemPackage.initializePackageContents();
212 
213                // Register package validator
214                EValidator.Registry.INSTANCE.put
215                        (theSeff_reliabilityPackage, 
216                         new EValidator.Descriptor() {
217                                 public EValidator getEValidator() {
218                                         return Seff_reliabilityValidator.INSTANCE;
219                                 }
220                         });
221 
222                // Mark meta-data to indicate it can't be changed
223                theSeff_reliabilityPackage.freeze();
224 
225  
226                // Update the registry and return the package
227                EPackage.Registry.INSTANCE.put(Seff_reliabilityPackage.eNS_URI, theSeff_reliabilityPackage);
228                return theSeff_reliabilityPackage;
229        }
230 
231        /**
232         * <!-- begin-user-doc -->
233         * <!-- end-user-doc -->
234         * @generated
235         */
236        public EClass getRecoveryActionBehaviour() {
237                return recoveryActionBehaviourEClass;
238        }
239 
240        /**
241         * <!-- begin-user-doc -->
242         * <!-- end-user-doc -->
243         * @generated
244         */
245        public EReference getRecoveryActionBehaviour_FailureHandlingAlternatives__RecoveryActionBehaviour() {
246                return (EReference)recoveryActionBehaviourEClass.getEStructuralFeatures().get(0);
247        }
248 
249        /**
250         * <!-- begin-user-doc -->
251         * <!-- end-user-doc -->
252         * @generated
253         */
254        public EReference getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour() {
255                return (EReference)recoveryActionBehaviourEClass.getEStructuralFeatures().get(1);
256        }
257 
258        /**
259         * <!-- begin-user-doc -->
260         * <!-- end-user-doc -->
261         * @generated
262         */
263        public EClass getRecoveryAction() {
264                return recoveryActionEClass;
265        }
266 
267        /**
268         * <!-- begin-user-doc -->
269         * <!-- end-user-doc -->
270         * @generated
271         */
272        public EReference getRecoveryAction_PrimaryBehaviour__RecoveryAction() {
273                return (EReference)recoveryActionEClass.getEStructuralFeatures().get(0);
274        }
275 
276        /**
277         * <!-- begin-user-doc -->
278         * <!-- end-user-doc -->
279         * @generated
280         */
281        public EReference getRecoveryAction_RecoveryActionBehaviours__RecoveryAction() {
282                return (EReference)recoveryActionEClass.getEStructuralFeatures().get(1);
283        }
284 
285        /**
286         * <!-- begin-user-doc -->
287         * <!-- end-user-doc -->
288         * @generated
289         */
290        public EClass getFailureHandlingEntity() {
291                return failureHandlingEntityEClass;
292        }
293 
294        /**
295         * <!-- begin-user-doc -->
296         * <!-- end-user-doc -->
297         * @generated
298         */
299        public EReference getFailureHandlingEntity_FailureTypes_FailureHandlingEntity() {
300                return (EReference)failureHandlingEntityEClass.getEStructuralFeatures().get(0);
301        }
302 
303        /**
304         * <!-- begin-user-doc -->
305         * <!-- end-user-doc -->
306         * @generated
307         */
308        public Seff_reliabilityFactory getSeff_reliabilityFactory() {
309                return (Seff_reliabilityFactory)getEFactoryInstance();
310        }
311 
312        /**
313         * <!-- begin-user-doc -->
314         * <!-- end-user-doc -->
315         * @generated
316         */
317        private boolean isCreated = false;
318 
319        /**
320         * Creates the meta-model objects for the package.  This method is
321         * guarded to have no affect on any invocation but its first.
322         * <!-- begin-user-doc -->
323         * <!-- end-user-doc -->
324         * @generated
325         */
326        public void createPackageContents() {
327                if (isCreated) return;
328                isCreated = true;
329 
330                // Create classes and their features
331                recoveryActionBehaviourEClass = createEClass(RECOVERY_ACTION_BEHAVIOUR);
332                createEReference(recoveryActionBehaviourEClass, RECOVERY_ACTION_BEHAVIOUR__FAILURE_HANDLING_ALTERNATIVES_RECOVERY_ACTION_BEHAVIOUR);
333                createEReference(recoveryActionBehaviourEClass, RECOVERY_ACTION_BEHAVIOUR__RECOVERY_ACTION_RECOVERY_ACTION_BEHAVIOUR);
334 
335                recoveryActionEClass = createEClass(RECOVERY_ACTION);
336                createEReference(recoveryActionEClass, RECOVERY_ACTION__PRIMARY_BEHAVIOUR_RECOVERY_ACTION);
337                createEReference(recoveryActionEClass, RECOVERY_ACTION__RECOVERY_ACTION_BEHAVIOURS_RECOVERY_ACTION);
338 
339                failureHandlingEntityEClass = createEClass(FAILURE_HANDLING_ENTITY);
340                createEReference(failureHandlingEntityEClass, FAILURE_HANDLING_ENTITY__FAILURE_TYPES_FAILURE_HANDLING_ENTITY);
341        }
342 
343        /**
344         * <!-- begin-user-doc -->
345         * <!-- end-user-doc -->
346         * @generated
347         */
348        private boolean isInitialized = false;
349 
350        /**
351         * Complete the initialization of the package and its meta-model.  This
352         * method is guarded to have no affect on any invocation but its first.
353         * <!-- begin-user-doc -->
354         * <!-- end-user-doc -->
355         * @generated
356         */
357        public void initializePackageContents() {
358                if (isInitialized) return;
359                isInitialized = true;
360 
361                // Initialize package
362                setName(eNAME);
363                setNsPrefix(eNS_PREFIX);
364                setNsURI(eNS_URI);
365 
366                // Obtain other dependent packages
367                SeffPackage theSeffPackage = (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI);
368                EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI);
369                ReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI);
370 
371                // Create type parameters
372 
373                // Set bounds for type parameters
374 
375                // Add supertypes to classes
376                recoveryActionBehaviourEClass.getESuperTypes().add(this.getFailureHandlingEntity());
377                recoveryActionBehaviourEClass.getESuperTypes().add(theSeffPackage.getResourceDemandingBehaviour());
378                recoveryActionEClass.getESuperTypes().add(theSeffPackage.getAbstractInternalControlFlowAction());
379                failureHandlingEntityEClass.getESuperTypes().add(theEntityPackage.getEntity());
380 
381                // Initialize classes and features; add operations and parameters
382                initEClass(recoveryActionBehaviourEClass, RecoveryActionBehaviour.class, "RecoveryActionBehaviour", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
383                initEReference(getRecoveryActionBehaviour_FailureHandlingAlternatives__RecoveryActionBehaviour(), this.getRecoveryActionBehaviour(), null, "failureHandlingAlternatives__RecoveryActionBehaviour", null, 0, -1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
384                initEReference(getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), this.getRecoveryAction(), this.getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), "recoveryAction__RecoveryActionBehaviour", null, 1, 1, RecoveryActionBehaviour.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
385 
386                EOperation op = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), "RecoveryActionBehaviourHasOnlyOnePredecessor", 0, 1, IS_UNIQUE, IS_ORDERED);
387                addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
388                EGenericType g1 = createEGenericType(ecorePackage.getEMap());
389                EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject());
390                g1.getETypeArguments().add(g2);
391                g2 = createEGenericType(ecorePackage.getEJavaObject());
392                g1.getETypeArguments().add(g2);
393                addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
394 
395                op = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), "RecoveryActionBehaviourIsNotSuccessorOfItself", 0, 1, IS_UNIQUE, IS_ORDERED);
396                addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
397                g1 = createEGenericType(ecorePackage.getEMap());
398                g2 = createEGenericType(ecorePackage.getEJavaObject());
399                g1.getETypeArguments().add(g2);
400                g2 = createEGenericType(ecorePackage.getEJavaObject());
401                g1.getETypeArguments().add(g2);
402                addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
403 
404                op = addEOperation(recoveryActionBehaviourEClass, ecorePackage.getEBoolean(), "SuccessorsOfRecoveryActionBehaviourHandleDisjointFailureTypes", 0, 1, IS_UNIQUE, IS_ORDERED);
405                addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
406                g1 = createEGenericType(ecorePackage.getEMap());
407                g2 = createEGenericType(ecorePackage.getEJavaObject());
408                g1.getETypeArguments().add(g2);
409                g2 = createEGenericType(ecorePackage.getEJavaObject());
410                g1.getETypeArguments().add(g2);
411                addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
412 
413                initEClass(recoveryActionEClass, RecoveryAction.class, "RecoveryAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
414                initEReference(getRecoveryAction_PrimaryBehaviour__RecoveryAction(), this.getRecoveryActionBehaviour(), null, "primaryBehaviour__RecoveryAction", null, 1, 1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
415                initEReference(getRecoveryAction_RecoveryActionBehaviours__RecoveryAction(), this.getRecoveryActionBehaviour(), this.getRecoveryActionBehaviour_RecoveryAction__RecoveryActionBehaviour(), "recoveryActionBehaviours__RecoveryAction", null, 2, -1, RecoveryAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
416 
417                op = addEOperation(recoveryActionEClass, ecorePackage.getEBoolean(), "PrimaryBehaviourOfRecoveryActionMustBeSet", 0, 1, IS_UNIQUE, IS_ORDERED);
418                addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED);
419                g1 = createEGenericType(ecorePackage.getEMap());
420                g2 = createEGenericType(ecorePackage.getEJavaObject());
421                g1.getETypeArguments().add(g2);
422                g2 = createEGenericType(ecorePackage.getEJavaObject());
423                g1.getETypeArguments().add(g2);
424                addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED);
425 
426                initEClass(failureHandlingEntityEClass, FailureHandlingEntity.class, "FailureHandlingEntity", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
427                initEReference(getFailureHandlingEntity_FailureTypes_FailureHandlingEntity(), theReliabilityPackage.getFailureType(), null, "failureTypes_FailureHandlingEntity", null, 0, -1, FailureHandlingEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
428        }
429 
430} //Seff_reliabilityPackageImpl

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