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