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

COVERAGE SUMMARY FOR SOURCE FILE [StoexPackageImpl.java]

nameclass, %method, %block, %line, %
StoexPackageImpl.java0%   (0/1)0%   (0/73)0%   (0/2160)0%   (0/310)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StoexPackageImpl0%   (0/1)0%   (0/73)0%   (0/2160)0%   (0/310)
<static initializer> 0%   (0/1)0%   (0/3)0%   (0/2)
StoexPackageImpl (): void 0%   (0/1)0%   (0/113)0%   (0/38)
createExtendedMetaDataAnnotations (): void 0%   (0/1)0%   (0/26)0%   (0/8)
createPackageContents (): void 0%   (0/1)0%   (0/338)0%   (0/69)
getAbstractNamedReference (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getAbstractNamedReference_ReferenceName (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getAtom (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getBoolLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getBoolLiteral_Value (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getBooleanExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getBooleanOperations (): EEnum 0%   (0/1)0%   (0/3)0%   (0/1)
getBooleanOperatorExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getBooleanOperatorExpression_Left (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getBooleanOperatorExpression_Operation (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getBooleanOperatorExpression_Right (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getCompareExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getCompareExpression_Left (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getCompareExpression_Operation (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getCompareExpression_Right (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getCompareOperations (): EEnum 0%   (0/1)0%   (0/3)0%   (0/1)
getComparison (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getDoubleLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getDoubleLiteral_Value (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getFunctionLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getFunctionLiteral_Id (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getFunctionLiteral_Parameters_FunctionLiteral (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getIfElse (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getIfElseExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getIfElseExpression_ConditionExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getIfElseExpression_ElseExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getIfElseExpression_IfExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getIntLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getIntLiteral_Value (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getNamespaceReference (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getNamespaceReference_InnerReference_NamespaceReference (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getNegativeExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getNegativeExpression_Inner (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getNotExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getNotExpression_Inner (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getNumericLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getParenthesis (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getParenthesis_InnerExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPower (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPowerExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPowerExpression_Base (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPowerExpression_Exponent (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProbabilityFunctionLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProbabilityFunctionLiteral_Function_ProbabilityFunctionLiteral (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProduct (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProductExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getProductExpression_Left (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProductExpression_Operation (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getProductExpression_Right (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getProductOperations (): EEnum 0%   (0/1)0%   (0/3)0%   (0/1)
getRandomVariable (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getRandomVariable_Expression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getRandomVariable_Specification (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getStoexFactory (): StoexFactory 0%   (0/1)0%   (0/4)0%   (0/1)
getStringLiteral (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getStringLiteral_Value (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getTerm (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getTermExpression (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getTermExpression_Left (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTermExpression_Operation (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getTermExpression_Right (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTermOperations (): EEnum 0%   (0/1)0%   (0/3)0%   (0/1)
getUnary (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getVariable (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getVariableReference (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getVariable_Id_Variable (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
init (): StoexPackage 0%   (0/1)0%   (0/34)0%   (0/8)
initializePackageContents (): void 0%   (0/1)0%   (0/1316)0%   (0/118)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.stoex.impl;
8 
9import org.eclipse.emf.ecore.EAttribute;
10import org.eclipse.emf.ecore.EClass;
11import org.eclipse.emf.ecore.EEnum;
12import org.eclipse.emf.ecore.EPackage;
13import org.eclipse.emf.ecore.EReference;
14import org.eclipse.emf.ecore.impl.EPackageImpl;
15 
16import de.uka.ipd.sdq.probfunction.ProbfunctionPackage;
17import de.uka.ipd.sdq.stoex.AbstractNamedReference;
18import de.uka.ipd.sdq.stoex.Atom;
19import de.uka.ipd.sdq.stoex.BoolLiteral;
20import de.uka.ipd.sdq.stoex.BooleanExpression;
21import de.uka.ipd.sdq.stoex.BooleanOperations;
22import de.uka.ipd.sdq.stoex.BooleanOperatorExpression;
23import de.uka.ipd.sdq.stoex.CompareExpression;
24import de.uka.ipd.sdq.stoex.CompareOperations;
25import de.uka.ipd.sdq.stoex.Comparison;
26import de.uka.ipd.sdq.stoex.DoubleLiteral;
27import de.uka.ipd.sdq.stoex.Expression;
28import de.uka.ipd.sdq.stoex.FunctionLiteral;
29import de.uka.ipd.sdq.stoex.IfElse;
30import de.uka.ipd.sdq.stoex.IfElseExpression;
31import de.uka.ipd.sdq.stoex.IntLiteral;
32import de.uka.ipd.sdq.stoex.NamespaceReference;
33import de.uka.ipd.sdq.stoex.NegativeExpression;
34import de.uka.ipd.sdq.stoex.NotExpression;
35import de.uka.ipd.sdq.stoex.NumericLiteral;
36import de.uka.ipd.sdq.stoex.Parenthesis;
37import de.uka.ipd.sdq.stoex.Power;
38import de.uka.ipd.sdq.stoex.PowerExpression;
39import de.uka.ipd.sdq.stoex.ProbabilityFunctionLiteral;
40import de.uka.ipd.sdq.stoex.Product;
41import de.uka.ipd.sdq.stoex.ProductExpression;
42import de.uka.ipd.sdq.stoex.ProductOperations;
43import de.uka.ipd.sdq.stoex.RandomVariable;
44import de.uka.ipd.sdq.stoex.StoexFactory;
45import de.uka.ipd.sdq.stoex.StoexPackage;
46import de.uka.ipd.sdq.stoex.StringLiteral;
47import de.uka.ipd.sdq.stoex.Term;
48import de.uka.ipd.sdq.stoex.TermExpression;
49import de.uka.ipd.sdq.stoex.TermOperations;
50import de.uka.ipd.sdq.stoex.Unary;
51import de.uka.ipd.sdq.stoex.Variable;
52import de.uka.ipd.sdq.stoex.VariableReference;
53import de.uka.ipd.sdq.units.UnitsPackage;
54 
55/**
56 * <!-- begin-user-doc -->
57 * An implementation of the model <b>Package</b>.
58 * <!-- end-user-doc -->
59 * @generated
60 */
61public class StoexPackageImpl extends EPackageImpl implements StoexPackage {
62        /**
63         * <!-- begin-user-doc -->
64         * <!-- end-user-doc -->
65         * @generated
66         */
67        public static final String copyright = "Copyright 2007-2009, SDQ, IPD, U Karlsruhe";
68 
69        /**
70         * <!-- begin-user-doc -->
71         * <!-- end-user-doc -->
72         * @generated
73         */
74        private EClass variableReferenceEClass = null;
75 
76        /**
77         * <!-- begin-user-doc -->
78         * <!-- end-user-doc -->
79         * @generated
80         */
81        private EClass abstractNamedReferenceEClass = null;
82 
83        /**
84         * <!-- begin-user-doc -->
85         * <!-- end-user-doc -->
86         * @generated
87         */
88        private EClass namespaceReferenceEClass = null;
89 
90        /**
91         * <!-- begin-user-doc -->
92         * <!-- end-user-doc -->
93         * @generated
94         */
95        private EClass variableEClass = null;
96 
97        /**
98         * <!-- begin-user-doc -->
99         * <!-- end-user-doc -->
100         * @generated
101         */
102        private EClass atomEClass = null;
103 
104        /**
105         * <!-- begin-user-doc -->
106         * <!-- end-user-doc -->
107         * @generated
108         */
109        private EClass unaryEClass = null;
110 
111        /**
112         * <!-- begin-user-doc -->
113         * <!-- end-user-doc -->
114         * @generated
115         */
116        private EClass powerEClass = null;
117 
118        /**
119         * <!-- begin-user-doc -->
120         * <!-- end-user-doc -->
121         * @generated
122         */
123        private EClass productEClass = null;
124 
125        /**
126         * <!-- begin-user-doc -->
127         * <!-- end-user-doc -->
128         * @generated
129         */
130        private EClass termEClass = null;
131 
132        /**
133         * <!-- begin-user-doc -->
134         * <!-- end-user-doc -->
135         * @generated
136         */
137        private EClass comparisonEClass = null;
138 
139        /**
140         * <!-- begin-user-doc -->
141         * <!-- end-user-doc -->
142         * @generated
143         */
144        private EClass booleanExpressionEClass = null;
145 
146        /**
147         * <!-- begin-user-doc -->
148         * <!-- end-user-doc -->
149         * @generated
150         */
151        private EClass ifElseEClass = null;
152 
153        /**
154         * <!-- begin-user-doc -->
155         * <!-- end-user-doc -->
156         * @generated
157         */
158        private EClass expressionEClass = null;
159 
160        /**
161         * <!-- begin-user-doc -->
162         * <!-- end-user-doc -->
163         * @generated
164         */
165        private EClass termExpressionEClass = null;
166 
167        /**
168         * <!-- begin-user-doc -->
169         * <!-- end-user-doc -->
170         * @generated
171         */
172        private EClass randomVariableEClass = null;
173 
174        /**
175         * <!-- begin-user-doc -->
176         * <!-- end-user-doc -->
177         * @generated
178         */
179        private EClass productExpressionEClass = null;
180 
181        /**
182         * <!-- begin-user-doc -->
183         * <!-- end-user-doc -->
184         * @generated
185         */
186        private EClass probabilityFunctionLiteralEClass = null;
187 
188        /**
189         * <!-- begin-user-doc -->
190         * <!-- end-user-doc -->
191         * @generated
192         */
193        private EClass parenthesisEClass = null;
194 
195        /**
196         * <!-- begin-user-doc -->
197         * <!-- end-user-doc -->
198         * @generated
199         */
200        private EClass numericLiteralEClass = null;
201 
202        /**
203         * <!-- begin-user-doc -->
204         * <!-- end-user-doc -->
205         * @generated
206         */
207        private EClass intLiteralEClass = null;
208 
209        /**
210         * <!-- begin-user-doc -->
211         * <!-- end-user-doc -->
212         * @generated
213         */
214        private EClass doubleLiteralEClass = null;
215 
216        /**
217         * <!-- begin-user-doc -->
218         * <!-- end-user-doc -->
219         * @generated
220         */
221        private EClass compareExpressionEClass = null;
222 
223        /**
224         * <!-- begin-user-doc -->
225         * <!-- end-user-doc -->
226         * @generated
227         */
228        private EClass boolLiteralEClass = null;
229 
230        /**
231         * <!-- begin-user-doc -->
232         * <!-- end-user-doc -->
233         * @generated
234         */
235        private EClass stringLiteralEClass = null;
236 
237        /**
238         * <!-- begin-user-doc -->
239         * <!-- end-user-doc -->
240         * @generated
241         */
242        private EClass powerExpressionEClass = null;
243 
244        /**
245         * <!-- begin-user-doc -->
246         * <!-- end-user-doc -->
247         * @generated
248         */
249        private EClass booleanOperatorExpressionEClass = null;
250 
251        /**
252         * <!-- begin-user-doc -->
253         * <!-- end-user-doc -->
254         * @generated
255         */
256        private EClass notExpressionEClass = null;
257 
258        /**
259         * <!-- begin-user-doc -->
260         * <!-- end-user-doc -->
261         * @generated
262         */
263        private EClass negativeExpressionEClass = null;
264 
265        /**
266         * <!-- begin-user-doc -->
267         * <!-- end-user-doc -->
268         * @generated
269         */
270        private EClass functionLiteralEClass = null;
271 
272        /**
273         * <!-- begin-user-doc -->
274         * <!-- end-user-doc -->
275         * @generated
276         */
277        private EClass ifElseExpressionEClass = null;
278 
279        /**
280         * <!-- begin-user-doc -->
281         * <!-- end-user-doc -->
282         * @generated
283         */
284        private EEnum termOperationsEEnum = null;
285 
286        /**
287         * <!-- begin-user-doc -->
288         * <!-- end-user-doc -->
289         * @generated
290         */
291        private EEnum productOperationsEEnum = null;
292 
293        /**
294         * <!-- begin-user-doc -->
295         * <!-- end-user-doc -->
296         * @generated
297         */
298        private EEnum compareOperationsEEnum = null;
299 
300        /**
301         * <!-- begin-user-doc -->
302         * <!-- end-user-doc -->
303         * @generated
304         */
305        private EEnum booleanOperationsEEnum = null;
306 
307        /**
308         * Creates an instance of the model <b>Package</b>, registered with
309         * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
310         * package URI value.
311         * <p>Note: the correct way to create the package is via the static
312         * factory method {@link #init init()}, which also performs
313         * initialization of the package, or returns the registered package,
314         * if one already exists.
315         * <!-- begin-user-doc -->
316         * <!-- end-user-doc -->
317         * @see org.eclipse.emf.ecore.EPackage.Registry
318         * @see de.uka.ipd.sdq.stoex.StoexPackage#eNS_URI
319         * @see #init()
320         * @generated
321         */
322        private StoexPackageImpl() {
323                super(eNS_URI, StoexFactory.eINSTANCE);
324        }
325 
326        /**
327         * <!-- begin-user-doc -->
328         * <!-- end-user-doc -->
329         * @generated
330         */
331        private static boolean isInited = false;
332 
333        /**
334         * Creates, registers, and initializes the <b>Package</b> for this
335         * model, and for any others upon which it depends.  Simple
336         * dependencies are satisfied by calling this method on all
337         * dependent packages before doing anything else.  This method drives
338         * initialization for interdependent packages directly, in parallel
339         * with this package, itself.
340         * <p>Of this package and its interdependencies, all packages which
341         * have not yet been registered by their URI values are first created
342         * and registered.  The packages are then initialized in two steps:
343         * meta-model objects for all of the packages are created before any
344         * are initialized, since one package's meta-model objects may refer to
345         * those of another.
346         * <p>Invocation of this method will not affect any packages that have
347         * already been initialized.
348         * <!-- begin-user-doc -->
349         * <!-- end-user-doc -->
350         * @see #eNS_URI
351         * @see #createPackageContents()
352         * @see #initializePackageContents()
353         * @generated
354         */
355        public static StoexPackage init() {
356                if (isInited) return (StoexPackage)EPackage.Registry.INSTANCE.getEPackage(StoexPackage.eNS_URI);
357 
358                // Obtain or create and register package
359                StoexPackageImpl theStoexPackage = (StoexPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof StoexPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new StoexPackageImpl());
360 
361                isInited = true;
362 
363                // Initialize simple dependencies
364                ProbfunctionPackage.eINSTANCE.eClass();
365 
366                // Create package meta-data objects
367                theStoexPackage.createPackageContents();
368 
369                // Initialize created meta-data
370                theStoexPackage.initializePackageContents();
371 
372                // Mark meta-data to indicate it can't be changed
373                theStoexPackage.freeze();
374 
375                return theStoexPackage;
376        }
377 
378        /**
379         * <!-- begin-user-doc -->
380         * <!-- end-user-doc -->
381         * @generated
382         */
383        public EClass getVariableReference() {
384                return variableReferenceEClass;
385        }
386 
387        /**
388         * <!-- begin-user-doc -->
389         * <!-- end-user-doc -->
390         * @generated
391         */
392        public EClass getAbstractNamedReference() {
393                return abstractNamedReferenceEClass;
394        }
395 
396        /**
397         * <!-- begin-user-doc -->
398         * <!-- end-user-doc -->
399         * @generated
400         */
401        public EAttribute getAbstractNamedReference_ReferenceName() {
402                return (EAttribute)abstractNamedReferenceEClass.getEStructuralFeatures().get(0);
403        }
404 
405        /**
406         * <!-- begin-user-doc -->
407         * <!-- end-user-doc -->
408         * @generated
409         */
410        public EClass getNamespaceReference() {
411                return namespaceReferenceEClass;
412        }
413 
414        /**
415         * <!-- begin-user-doc -->
416         * <!-- end-user-doc -->
417         * @generated
418         */
419        public EReference getNamespaceReference_InnerReference_NamespaceReference() {
420                return (EReference)namespaceReferenceEClass.getEStructuralFeatures().get(0);
421        }
422 
423        /**
424         * <!-- begin-user-doc -->
425         * <!-- end-user-doc -->
426         * @generated
427         */
428        public EClass getVariable() {
429                return variableEClass;
430        }
431 
432        /**
433         * <!-- begin-user-doc -->
434         * <!-- end-user-doc -->
435         * @generated
436         */
437        public EReference getVariable_Id_Variable() {
438                return (EReference)variableEClass.getEStructuralFeatures().get(0);
439        }
440 
441        /**
442         * <!-- begin-user-doc -->
443         * <!-- end-user-doc -->
444         * @generated
445         */
446        public EClass getAtom() {
447                return atomEClass;
448        }
449 
450        /**
451         * <!-- begin-user-doc -->
452         * <!-- end-user-doc -->
453         * @generated
454         */
455        public EClass getUnary() {
456                return unaryEClass;
457        }
458 
459        /**
460         * <!-- begin-user-doc -->
461         * <!-- end-user-doc -->
462         * @generated
463         */
464        public EClass getPower() {
465                return powerEClass;
466        }
467 
468        /**
469         * <!-- begin-user-doc -->
470         * <!-- end-user-doc -->
471         * @generated
472         */
473        public EClass getProduct() {
474                return productEClass;
475        }
476 
477        /**
478         * <!-- begin-user-doc -->
479         * <!-- end-user-doc -->
480         * @generated
481         */
482        public EClass getTerm() {
483                return termEClass;
484        }
485 
486        /**
487         * <!-- begin-user-doc -->
488         * <!-- end-user-doc -->
489         * @generated
490         */
491        public EClass getComparison() {
492                return comparisonEClass;
493        }
494 
495        /**
496         * <!-- begin-user-doc -->
497         * <!-- end-user-doc -->
498         * @generated
499         */
500        public EClass getBooleanExpression() {
501                return booleanExpressionEClass;
502        }
503 
504        /**
505         * <!-- begin-user-doc -->
506         * <!-- end-user-doc -->
507         * @generated
508         */
509        public EClass getIfElse() {
510                return ifElseEClass;
511        }
512 
513        /**
514         * <!-- begin-user-doc -->
515         * <!-- end-user-doc -->
516         * @generated
517         */
518        public EClass getExpression() {
519                return expressionEClass;
520        }
521 
522        /**
523         * <!-- begin-user-doc -->
524         * <!-- end-user-doc -->
525         * @generated
526         */
527        public EClass getTermExpression() {
528                return termExpressionEClass;
529        }
530 
531        /**
532         * <!-- begin-user-doc -->
533         * <!-- end-user-doc -->
534         * @generated
535         */
536        public EReference getTermExpression_Left() {
537                return (EReference)termExpressionEClass.getEStructuralFeatures().get(0);
538        }
539 
540        /**
541         * <!-- begin-user-doc -->
542         * <!-- end-user-doc -->
543         * @generated
544         */
545        public EReference getTermExpression_Right() {
546                return (EReference)termExpressionEClass.getEStructuralFeatures().get(1);
547        }
548 
549        /**
550         * <!-- begin-user-doc -->
551         * <!-- end-user-doc -->
552         * @generated
553         */
554        public EAttribute getTermExpression_Operation() {
555                return (EAttribute)termExpressionEClass.getEStructuralFeatures().get(2);
556        }
557 
558        /**
559         * <!-- begin-user-doc -->
560         * <!-- end-user-doc -->
561         * @generated
562         */
563        public EClass getRandomVariable() {
564                return randomVariableEClass;
565        }
566 
567        /**
568         * <!-- begin-user-doc -->
569         * <!-- end-user-doc -->
570         * @generated
571         */
572        public EAttribute getRandomVariable_Specification() {
573                return (EAttribute)randomVariableEClass.getEStructuralFeatures().get(0);
574        }
575 
576        /**
577         * <!-- begin-user-doc -->
578         * <!-- end-user-doc -->
579         * @generated
580         */
581        public EReference getRandomVariable_Expression() {
582                return (EReference)randomVariableEClass.getEStructuralFeatures().get(1);
583        }
584 
585        /**
586         * <!-- begin-user-doc -->
587         * <!-- end-user-doc -->
588         * @generated
589         */
590        public EClass getProductExpression() {
591                return productExpressionEClass;
592        }
593 
594        /**
595         * <!-- begin-user-doc -->
596         * <!-- end-user-doc -->
597         * @generated
598         */
599        public EReference getProductExpression_Left() {
600                return (EReference)productExpressionEClass.getEStructuralFeatures().get(0);
601        }
602 
603        /**
604         * <!-- begin-user-doc -->
605         * <!-- end-user-doc -->
606         * @generated
607         */
608        public EReference getProductExpression_Right() {
609                return (EReference)productExpressionEClass.getEStructuralFeatures().get(1);
610        }
611 
612        /**
613         * <!-- begin-user-doc -->
614         * <!-- end-user-doc -->
615         * @generated
616         */
617        public EAttribute getProductExpression_Operation() {
618                return (EAttribute)productExpressionEClass.getEStructuralFeatures().get(2);
619        }
620 
621        /**
622         * <!-- begin-user-doc -->
623         * <!-- end-user-doc -->
624         * @generated
625         */
626        public EClass getProbabilityFunctionLiteral() {
627                return probabilityFunctionLiteralEClass;
628        }
629 
630        /**
631         * <!-- begin-user-doc -->
632         * <!-- end-user-doc -->
633         * @generated
634         */
635        public EReference getProbabilityFunctionLiteral_Function_ProbabilityFunctionLiteral() {
636                return (EReference)probabilityFunctionLiteralEClass.getEStructuralFeatures().get(0);
637        }
638 
639        /**
640         * <!-- begin-user-doc -->
641         * <!-- end-user-doc -->
642         * @generated
643         */
644        public EClass getParenthesis() {
645                return parenthesisEClass;
646        }
647 
648        /**
649         * <!-- begin-user-doc -->
650         * <!-- end-user-doc -->
651         * @generated
652         */
653        public EReference getParenthesis_InnerExpression() {
654                return (EReference)parenthesisEClass.getEStructuralFeatures().get(0);
655        }
656 
657        /**
658         * <!-- begin-user-doc -->
659         * <!-- end-user-doc -->
660         * @generated
661         */
662        public EClass getNumericLiteral() {
663                return numericLiteralEClass;
664        }
665 
666        /**
667         * <!-- begin-user-doc -->
668         * <!-- end-user-doc -->
669         * @generated
670         */
671        public EClass getIntLiteral() {
672                return intLiteralEClass;
673        }
674 
675        /**
676         * <!-- begin-user-doc -->
677         * <!-- end-user-doc -->
678         * @generated
679         */
680        public EAttribute getIntLiteral_Value() {
681                return (EAttribute)intLiteralEClass.getEStructuralFeatures().get(0);
682        }
683 
684        /**
685         * <!-- begin-user-doc -->
686         * <!-- end-user-doc -->
687         * @generated
688         */
689        public EClass getDoubleLiteral() {
690                return doubleLiteralEClass;
691        }
692 
693        /**
694         * <!-- begin-user-doc -->
695         * <!-- end-user-doc -->
696         * @generated
697         */
698        public EAttribute getDoubleLiteral_Value() {
699                return (EAttribute)doubleLiteralEClass.getEStructuralFeatures().get(0);
700        }
701 
702        /**
703         * <!-- begin-user-doc -->
704         * <!-- end-user-doc -->
705         * @generated
706         */
707        public EClass getCompareExpression() {
708                return compareExpressionEClass;
709        }
710 
711        /**
712         * <!-- begin-user-doc -->
713         * <!-- end-user-doc -->
714         * @generated
715         */
716        public EReference getCompareExpression_Left() {
717                return (EReference)compareExpressionEClass.getEStructuralFeatures().get(0);
718        }
719 
720        /**
721         * <!-- begin-user-doc -->
722         * <!-- end-user-doc -->
723         * @generated
724         */
725        public EReference getCompareExpression_Right() {
726                return (EReference)compareExpressionEClass.getEStructuralFeatures().get(1);
727        }
728 
729        /**
730         * <!-- begin-user-doc -->
731         * <!-- end-user-doc -->
732         * @generated
733         */
734        public EAttribute getCompareExpression_Operation() {
735                return (EAttribute)compareExpressionEClass.getEStructuralFeatures().get(2);
736        }
737 
738        /**
739         * <!-- begin-user-doc -->
740         * <!-- end-user-doc -->
741         * @generated
742         */
743        public EClass getBoolLiteral() {
744                return boolLiteralEClass;
745        }
746 
747        /**
748         * <!-- begin-user-doc -->
749         * <!-- end-user-doc -->
750         * @generated
751         */
752        public EAttribute getBoolLiteral_Value() {
753                return (EAttribute)boolLiteralEClass.getEStructuralFeatures().get(0);
754        }
755 
756        /**
757         * <!-- begin-user-doc -->
758         * <!-- end-user-doc -->
759         * @generated
760         */
761        public EClass getStringLiteral() {
762                return stringLiteralEClass;
763        }
764 
765        /**
766         * <!-- begin-user-doc -->
767         * <!-- end-user-doc -->
768         * @generated
769         */
770        public EAttribute getStringLiteral_Value() {
771                return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0);
772        }
773 
774        /**
775         * <!-- begin-user-doc -->
776         * <!-- end-user-doc -->
777         * @generated
778         */
779        public EClass getPowerExpression() {
780                return powerExpressionEClass;
781        }
782 
783        /**
784         * <!-- begin-user-doc -->
785         * <!-- end-user-doc -->
786         * @generated
787         */
788        public EReference getPowerExpression_Base() {
789                return (EReference)powerExpressionEClass.getEStructuralFeatures().get(0);
790        }
791 
792        /**
793         * <!-- begin-user-doc -->
794         * <!-- end-user-doc -->
795         * @generated
796         */
797        public EReference getPowerExpression_Exponent() {
798                return (EReference)powerExpressionEClass.getEStructuralFeatures().get(1);
799        }
800 
801        /**
802         * <!-- begin-user-doc -->
803         * <!-- end-user-doc -->
804         * @generated
805         */
806        public EClass getBooleanOperatorExpression() {
807                return booleanOperatorExpressionEClass;
808        }
809 
810        /**
811         * <!-- begin-user-doc -->
812         * <!-- end-user-doc -->
813         * @generated
814         */
815        public EReference getBooleanOperatorExpression_Left() {
816                return (EReference)booleanOperatorExpressionEClass.getEStructuralFeatures().get(0);
817        }
818 
819        /**
820         * <!-- begin-user-doc -->
821         * <!-- end-user-doc -->
822         * @generated
823         */
824        public EReference getBooleanOperatorExpression_Right() {
825                return (EReference)booleanOperatorExpressionEClass.getEStructuralFeatures().get(1);
826        }
827 
828        /**
829         * <!-- begin-user-doc -->
830         * <!-- end-user-doc -->
831         * @generated
832         */
833        public EAttribute getBooleanOperatorExpression_Operation() {
834                return (EAttribute)booleanOperatorExpressionEClass.getEStructuralFeatures().get(2);
835        }
836 
837        /**
838         * <!-- begin-user-doc -->
839         * <!-- end-user-doc -->
840         * @generated
841         */
842        public EClass getNotExpression() {
843                return notExpressionEClass;
844        }
845 
846        /**
847         * <!-- begin-user-doc -->
848         * <!-- end-user-doc -->
849         * @generated
850         */
851        public EReference getNotExpression_Inner() {
852                return (EReference)notExpressionEClass.getEStructuralFeatures().get(0);
853        }
854 
855        /**
856         * <!-- begin-user-doc -->
857         * <!-- end-user-doc -->
858         * @generated
859         */
860        public EClass getNegativeExpression() {
861                return negativeExpressionEClass;
862        }
863 
864        /**
865         * <!-- begin-user-doc -->
866         * <!-- end-user-doc -->
867         * @generated
868         */
869        public EReference getNegativeExpression_Inner() {
870                return (EReference)negativeExpressionEClass.getEStructuralFeatures().get(0);
871        }
872 
873        /**
874         * <!-- begin-user-doc -->
875         * <!-- end-user-doc -->
876         * @generated
877         */
878        public EClass getFunctionLiteral() {
879                return functionLiteralEClass;
880        }
881 
882        /**
883         * <!-- begin-user-doc -->
884         * <!-- end-user-doc -->
885         * @generated
886         */
887        public EAttribute getFunctionLiteral_Id() {
888                return (EAttribute)functionLiteralEClass.getEStructuralFeatures().get(0);
889        }
890 
891        /**
892         * <!-- begin-user-doc -->
893         * <!-- end-user-doc -->
894         * @generated
895         */
896        public EReference getFunctionLiteral_Parameters_FunctionLiteral() {
897                return (EReference)functionLiteralEClass.getEStructuralFeatures().get(1);
898        }
899 
900        /**
901         * <!-- begin-user-doc -->
902         * <!-- end-user-doc -->
903         * @generated
904         */
905        public EClass getIfElseExpression() {
906                return ifElseExpressionEClass;
907        }
908 
909        /**
910         * <!-- begin-user-doc -->
911         * <!-- end-user-doc -->
912         * @generated
913         */
914        public EReference getIfElseExpression_IfExpression() {
915                return (EReference)ifElseExpressionEClass.getEStructuralFeatures().get(0);
916        }
917 
918        /**
919         * <!-- begin-user-doc -->
920         * <!-- end-user-doc -->
921         * @generated
922         */
923        public EReference getIfElseExpression_ElseExpression() {
924                return (EReference)ifElseExpressionEClass.getEStructuralFeatures().get(1);
925        }
926 
927        /**
928         * <!-- begin-user-doc -->
929         * <!-- end-user-doc -->
930         * @generated
931         */
932        public EReference getIfElseExpression_ConditionExpression() {
933                return (EReference)ifElseExpressionEClass.getEStructuralFeatures().get(2);
934        }
935 
936        /**
937         * <!-- begin-user-doc -->
938         * <!-- end-user-doc -->
939         * @generated
940         */
941        public EEnum getTermOperations() {
942                return termOperationsEEnum;
943        }
944 
945        /**
946         * <!-- begin-user-doc -->
947         * <!-- end-user-doc -->
948         * @generated
949         */
950        public EEnum getProductOperations() {
951                return productOperationsEEnum;
952        }
953 
954        /**
955         * <!-- begin-user-doc -->
956         * <!-- end-user-doc -->
957         * @generated
958         */
959        public EEnum getCompareOperations() {
960                return compareOperationsEEnum;
961        }
962 
963        /**
964         * <!-- begin-user-doc -->
965         * <!-- end-user-doc -->
966         * @generated
967         */
968        public EEnum getBooleanOperations() {
969                return booleanOperationsEEnum;
970        }
971 
972        /**
973         * <!-- begin-user-doc -->
974         * <!-- end-user-doc -->
975         * @generated
976         */
977        public StoexFactory getStoexFactory() {
978                return (StoexFactory)getEFactoryInstance();
979        }
980 
981        /**
982         * <!-- begin-user-doc -->
983         * <!-- end-user-doc -->
984         * @generated
985         */
986        private boolean isCreated = false;
987 
988        /**
989         * Creates the meta-model objects for the package.  This method is
990         * guarded to have no affect on any invocation but its first.
991         * <!-- begin-user-doc -->
992         * <!-- end-user-doc -->
993         * @generated
994         */
995        public void createPackageContents() {
996                if (isCreated) return;
997                isCreated = true;
998 
999                // Create classes and their features
1000                variableReferenceEClass = createEClass(VARIABLE_REFERENCE);
1001 
1002                abstractNamedReferenceEClass = createEClass(ABSTRACT_NAMED_REFERENCE);
1003                createEAttribute(abstractNamedReferenceEClass, ABSTRACT_NAMED_REFERENCE__REFERENCE_NAME);
1004 
1005                namespaceReferenceEClass = createEClass(NAMESPACE_REFERENCE);
1006                createEReference(namespaceReferenceEClass, NAMESPACE_REFERENCE__INNER_REFERENCE_NAMESPACE_REFERENCE);
1007 
1008                variableEClass = createEClass(VARIABLE);
1009                createEReference(variableEClass, VARIABLE__ID_VARIABLE);
1010 
1011                atomEClass = createEClass(ATOM);
1012 
1013                unaryEClass = createEClass(UNARY);
1014 
1015                powerEClass = createEClass(POWER);
1016 
1017                productEClass = createEClass(PRODUCT);
1018 
1019                termEClass = createEClass(TERM);
1020 
1021                comparisonEClass = createEClass(COMPARISON);
1022 
1023                booleanExpressionEClass = createEClass(BOOLEAN_EXPRESSION);
1024 
1025                ifElseEClass = createEClass(IF_ELSE);
1026 
1027                expressionEClass = createEClass(EXPRESSION);
1028 
1029                termExpressionEClass = createEClass(TERM_EXPRESSION);
1030                createEReference(termExpressionEClass, TERM_EXPRESSION__LEFT);
1031                createEReference(termExpressionEClass, TERM_EXPRESSION__RIGHT);
1032                createEAttribute(termExpressionEClass, TERM_EXPRESSION__OPERATION);
1033 
1034                productExpressionEClass = createEClass(PRODUCT_EXPRESSION);
1035                createEReference(productExpressionEClass, PRODUCT_EXPRESSION__LEFT);
1036                createEReference(productExpressionEClass, PRODUCT_EXPRESSION__RIGHT);
1037                createEAttribute(productExpressionEClass, PRODUCT_EXPRESSION__OPERATION);
1038 
1039                probabilityFunctionLiteralEClass = createEClass(PROBABILITY_FUNCTION_LITERAL);
1040                createEReference(probabilityFunctionLiteralEClass, PROBABILITY_FUNCTION_LITERAL__FUNCTION_PROBABILITY_FUNCTION_LITERAL);
1041 
1042                parenthesisEClass = createEClass(PARENTHESIS);
1043                createEReference(parenthesisEClass, PARENTHESIS__INNER_EXPRESSION);
1044 
1045                numericLiteralEClass = createEClass(NUMERIC_LITERAL);
1046 
1047                intLiteralEClass = createEClass(INT_LITERAL);
1048                createEAttribute(intLiteralEClass, INT_LITERAL__VALUE);
1049 
1050                doubleLiteralEClass = createEClass(DOUBLE_LITERAL);
1051                createEAttribute(doubleLiteralEClass, DOUBLE_LITERAL__VALUE);
1052 
1053                compareExpressionEClass = createEClass(COMPARE_EXPRESSION);
1054                createEReference(compareExpressionEClass, COMPARE_EXPRESSION__LEFT);
1055                createEReference(compareExpressionEClass, COMPARE_EXPRESSION__RIGHT);
1056                createEAttribute(compareExpressionEClass, COMPARE_EXPRESSION__OPERATION);
1057 
1058                boolLiteralEClass = createEClass(BOOL_LITERAL);
1059                createEAttribute(boolLiteralEClass, BOOL_LITERAL__VALUE);
1060 
1061                stringLiteralEClass = createEClass(STRING_LITERAL);
1062                createEAttribute(stringLiteralEClass, STRING_LITERAL__VALUE);
1063 
1064                powerExpressionEClass = createEClass(POWER_EXPRESSION);
1065                createEReference(powerExpressionEClass, POWER_EXPRESSION__BASE);
1066                createEReference(powerExpressionEClass, POWER_EXPRESSION__EXPONENT);
1067 
1068                booleanOperatorExpressionEClass = createEClass(BOOLEAN_OPERATOR_EXPRESSION);
1069                createEReference(booleanOperatorExpressionEClass, BOOLEAN_OPERATOR_EXPRESSION__LEFT);
1070                createEReference(booleanOperatorExpressionEClass, BOOLEAN_OPERATOR_EXPRESSION__RIGHT);
1071                createEAttribute(booleanOperatorExpressionEClass, BOOLEAN_OPERATOR_EXPRESSION__OPERATION);
1072 
1073                notExpressionEClass = createEClass(NOT_EXPRESSION);
1074                createEReference(notExpressionEClass, NOT_EXPRESSION__INNER);
1075 
1076                negativeExpressionEClass = createEClass(NEGATIVE_EXPRESSION);
1077                createEReference(negativeExpressionEClass, NEGATIVE_EXPRESSION__INNER);
1078 
1079                functionLiteralEClass = createEClass(FUNCTION_LITERAL);
1080                createEAttribute(functionLiteralEClass, FUNCTION_LITERAL__ID);
1081                createEReference(functionLiteralEClass, FUNCTION_LITERAL__PARAMETERS_FUNCTION_LITERAL);
1082 
1083                ifElseExpressionEClass = createEClass(IF_ELSE_EXPRESSION);
1084                createEReference(ifElseExpressionEClass, IF_ELSE_EXPRESSION__IF_EXPRESSION);
1085                createEReference(ifElseExpressionEClass, IF_ELSE_EXPRESSION__ELSE_EXPRESSION);
1086                createEReference(ifElseExpressionEClass, IF_ELSE_EXPRESSION__CONDITION_EXPRESSION);
1087 
1088                randomVariableEClass = createEClass(RANDOM_VARIABLE);
1089                createEAttribute(randomVariableEClass, RANDOM_VARIABLE__SPECIFICATION);
1090                createEReference(randomVariableEClass, RANDOM_VARIABLE__EXPRESSION);
1091 
1092                // Create enums
1093                termOperationsEEnum = createEEnum(TERM_OPERATIONS);
1094                productOperationsEEnum = createEEnum(PRODUCT_OPERATIONS);
1095                compareOperationsEEnum = createEEnum(COMPARE_OPERATIONS);
1096                booleanOperationsEEnum = createEEnum(BOOLEAN_OPERATIONS);
1097        }
1098 
1099        /**
1100         * <!-- begin-user-doc -->
1101         * <!-- end-user-doc -->
1102         * @generated
1103         */
1104        private boolean isInitialized = false;
1105 
1106        /**
1107         * Complete the initialization of the package and its meta-model.  This
1108         * method is guarded to have no affect on any invocation but its first.
1109         * <!-- begin-user-doc -->
1110         * <!-- end-user-doc -->
1111         * @generated
1112         */
1113        public void initializePackageContents() {
1114                if (isInitialized) return;
1115                isInitialized = true;
1116 
1117                // Initialize package
1118                setName(eNAME);
1119                setNsPrefix(eNS_PREFIX);
1120                setNsURI(eNS_URI);
1121 
1122                // Obtain other dependent packages
1123                ProbfunctionPackage theProbfunctionPackage = (ProbfunctionPackage)EPackage.Registry.INSTANCE.getEPackage(ProbfunctionPackage.eNS_URI);
1124                UnitsPackage theUnitsPackage = (UnitsPackage)EPackage.Registry.INSTANCE.getEPackage(UnitsPackage.eNS_URI);
1125 
1126                // Create type parameters
1127 
1128                // Set bounds for type parameters
1129 
1130                // Add supertypes to classes
1131                variableReferenceEClass.getESuperTypes().add(this.getAbstractNamedReference());
1132                namespaceReferenceEClass.getESuperTypes().add(this.getAbstractNamedReference());
1133                variableEClass.getESuperTypes().add(this.getAtom());
1134                atomEClass.getESuperTypes().add(this.getUnary());
1135                unaryEClass.getESuperTypes().add(this.getPower());
1136                powerEClass.getESuperTypes().add(this.getProduct());
1137                productEClass.getESuperTypes().add(this.getTerm());
1138                termEClass.getESuperTypes().add(this.getComparison());
1139                comparisonEClass.getESuperTypes().add(this.getBooleanExpression());
1140                booleanExpressionEClass.getESuperTypes().add(this.getIfElse());
1141                ifElseEClass.getESuperTypes().add(this.getExpression());
1142                termExpressionEClass.getESuperTypes().add(this.getTerm());
1143                productExpressionEClass.getESuperTypes().add(this.getProduct());
1144                probabilityFunctionLiteralEClass.getESuperTypes().add(this.getAtom());
1145                parenthesisEClass.getESuperTypes().add(this.getAtom());
1146                numericLiteralEClass.getESuperTypes().add(theUnitsPackage.getUnitCarryingElement());
1147                numericLiteralEClass.getESuperTypes().add(this.getAtom());
1148                intLiteralEClass.getESuperTypes().add(this.getNumericLiteral());
1149                doubleLiteralEClass.getESuperTypes().add(this.getNumericLiteral());
1150                compareExpressionEClass.getESuperTypes().add(this.getComparison());
1151                boolLiteralEClass.getESuperTypes().add(this.getAtom());
1152                stringLiteralEClass.getESuperTypes().add(this.getAtom());
1153                powerExpressionEClass.getESuperTypes().add(this.getPower());
1154                booleanOperatorExpressionEClass.getESuperTypes().add(this.getBooleanExpression());
1155                notExpressionEClass.getESuperTypes().add(this.getUnary());
1156                negativeExpressionEClass.getESuperTypes().add(this.getUnary());
1157                functionLiteralEClass.getESuperTypes().add(this.getAtom());
1158                ifElseExpressionEClass.getESuperTypes().add(this.getIfElse());
1159 
1160                // Initialize classes and features; add operations and parameters
1161                initEClass(variableReferenceEClass, VariableReference.class, "VariableReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1162 
1163                initEClass(abstractNamedReferenceEClass, AbstractNamedReference.class, "AbstractNamedReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1164                initEAttribute(getAbstractNamedReference_ReferenceName(), ecorePackage.getEString(), "referenceName", null, 1, 1, AbstractNamedReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1165 
1166                initEClass(namespaceReferenceEClass, NamespaceReference.class, "NamespaceReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1167                initEReference(getNamespaceReference_InnerReference_NamespaceReference(), this.getAbstractNamedReference(), null, "innerReference_NamespaceReference", null, 1, 1, NamespaceReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1168 
1169                initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1170                initEReference(getVariable_Id_Variable(), this.getAbstractNamedReference(), null, "id_Variable", null, 1, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1171 
1172                initEClass(atomEClass, Atom.class, "Atom", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1173 
1174                initEClass(unaryEClass, Unary.class, "Unary", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1175 
1176                initEClass(powerEClass, Power.class, "Power", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1177 
1178                initEClass(productEClass, Product.class, "Product", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1179 
1180                initEClass(termEClass, Term.class, "Term", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1181 
1182                initEClass(comparisonEClass, Comparison.class, "Comparison", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1183 
1184                initEClass(booleanExpressionEClass, BooleanExpression.class, "BooleanExpression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1185 
1186                initEClass(ifElseEClass, IfElse.class, "IfElse", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1187 
1188                initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1189 
1190                initEClass(termExpressionEClass, TermExpression.class, "TermExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1191                initEReference(getTermExpression_Left(), this.getTerm(), null, "left", null, 1, 1, TermExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1192                initEReference(getTermExpression_Right(), this.getProduct(), null, "right", null, 1, 1, TermExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1193                initEAttribute(getTermExpression_Operation(), this.getTermOperations(), "operation", null, 1, 1, TermExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1194 
1195                initEClass(productExpressionEClass, ProductExpression.class, "ProductExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1196                initEReference(getProductExpression_Left(), this.getProduct(), null, "left", null, 1, 1, ProductExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1197                initEReference(getProductExpression_Right(), this.getPower(), null, "right", null, 1, 1, ProductExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1198                initEAttribute(getProductExpression_Operation(), this.getProductOperations(), "operation", null, 1, 1, ProductExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1199 
1200                initEClass(probabilityFunctionLiteralEClass, ProbabilityFunctionLiteral.class, "ProbabilityFunctionLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1201                initEReference(getProbabilityFunctionLiteral_Function_ProbabilityFunctionLiteral(), theProbfunctionPackage.getProbabilityFunction(), null, "function_ProbabilityFunctionLiteral", null, 1, 1, ProbabilityFunctionLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1202 
1203                initEClass(parenthesisEClass, Parenthesis.class, "Parenthesis", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1204                initEReference(getParenthesis_InnerExpression(), this.getExpression(), null, "innerExpression", null, 1, 1, Parenthesis.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1205 
1206                initEClass(numericLiteralEClass, NumericLiteral.class, "NumericLiteral", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1207 
1208                initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1209                initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 1, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1210 
1211                initEClass(doubleLiteralEClass, DoubleLiteral.class, "DoubleLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1212                initEAttribute(getDoubleLiteral_Value(), ecorePackage.getEDouble(), "value", null, 1, 1, DoubleLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1213 
1214                initEClass(compareExpressionEClass, CompareExpression.class, "CompareExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1215                initEReference(getCompareExpression_Left(), this.getTerm(), null, "left", null, 1, 1, CompareExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1216                initEReference(getCompareExpression_Right(), this.getTerm(), null, "right", null, 1, 1, CompareExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1217                initEAttribute(getCompareExpression_Operation(), this.getCompareOperations(), "operation", null, 1, 1, CompareExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1218 
1219                initEClass(boolLiteralEClass, BoolLiteral.class, "BoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1220                initEAttribute(getBoolLiteral_Value(), ecorePackage.getEBoolean(), "value", null, 1, 1, BoolLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1221 
1222                initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1223                initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 1, 1, StringLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1224 
1225                initEClass(powerExpressionEClass, PowerExpression.class, "PowerExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1226                initEReference(getPowerExpression_Base(), this.getPower(), null, "base", null, 1, 1, PowerExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1227                initEReference(getPowerExpression_Exponent(), this.getUnary(), null, "exponent", null, 1, 1, PowerExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1228 
1229                initEClass(booleanOperatorExpressionEClass, BooleanOperatorExpression.class, "BooleanOperatorExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1230                initEReference(getBooleanOperatorExpression_Left(), this.getBooleanExpression(), null, "left", null, 1, 1, BooleanOperatorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1231                initEReference(getBooleanOperatorExpression_Right(), this.getBooleanExpression(), null, "right", null, 1, 1, BooleanOperatorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1232                initEAttribute(getBooleanOperatorExpression_Operation(), this.getBooleanOperations(), "operation", null, 1, 1, BooleanOperatorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1233 
1234                initEClass(notExpressionEClass, NotExpression.class, "NotExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1235                initEReference(getNotExpression_Inner(), this.getUnary(), null, "inner", null, 1, 1, NotExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1236 
1237                initEClass(negativeExpressionEClass, NegativeExpression.class, "NegativeExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1238                initEReference(getNegativeExpression_Inner(), this.getUnary(), null, "inner", null, 1, 1, NegativeExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1239 
1240                initEClass(functionLiteralEClass, FunctionLiteral.class, "FunctionLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1241                initEAttribute(getFunctionLiteral_Id(), ecorePackage.getEString(), "id", null, 1, 1, FunctionLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1242                initEReference(getFunctionLiteral_Parameters_FunctionLiteral(), this.getExpression(), null, "parameters_FunctionLiteral", null, 0, -1, FunctionLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1243 
1244                initEClass(ifElseExpressionEClass, IfElseExpression.class, "IfElseExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1245                initEReference(getIfElseExpression_IfExpression(), this.getBooleanExpression(), null, "ifExpression", null, 1, 1, IfElseExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1246                initEReference(getIfElseExpression_ElseExpression(), this.getBooleanExpression(), null, "elseExpression", null, 1, 1, IfElseExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1247                initEReference(getIfElseExpression_ConditionExpression(), this.getBooleanExpression(), null, "conditionExpression", null, 1, 1, IfElseExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1248 
1249                initEClass(randomVariableEClass, RandomVariable.class, "RandomVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1250                initEAttribute(getRandomVariable_Specification(), ecorePackage.getEString(), "specification", null, 1, 1, RandomVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
1251                initEReference(getRandomVariable_Expression(), this.getExpression(), null, "expression", null, 1, 1, RandomVariable.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED);
1252 
1253                // Initialize enums and add enum literals
1254                initEEnum(termOperationsEEnum, TermOperations.class, "TermOperations");
1255                addEEnumLiteral(termOperationsEEnum, TermOperations.ADD);
1256                addEEnumLiteral(termOperationsEEnum, TermOperations.SUB);
1257 
1258                initEEnum(productOperationsEEnum, ProductOperations.class, "ProductOperations");
1259                addEEnumLiteral(productOperationsEEnum, ProductOperations.MULT);
1260                addEEnumLiteral(productOperationsEEnum, ProductOperations.DIV);
1261                addEEnumLiteral(productOperationsEEnum, ProductOperations.MOD);
1262 
1263                initEEnum(compareOperationsEEnum, CompareOperations.class, "CompareOperations");
1264                addEEnumLiteral(compareOperationsEEnum, CompareOperations.GREATER);
1265                addEEnumLiteral(compareOperationsEEnum, CompareOperations.EQUALS);
1266                addEEnumLiteral(compareOperationsEEnum, CompareOperations.LESS);
1267                addEEnumLiteral(compareOperationsEEnum, CompareOperations.NOTEQUAL);
1268                addEEnumLiteral(compareOperationsEEnum, CompareOperations.LESSEQUAL);
1269                addEEnumLiteral(compareOperationsEEnum, CompareOperations.GREATEREQUAL);
1270 
1271                initEEnum(booleanOperationsEEnum, BooleanOperations.class, "BooleanOperations");
1272                addEEnumLiteral(booleanOperationsEEnum, BooleanOperations.AND);
1273                addEEnumLiteral(booleanOperationsEEnum, BooleanOperations.OR);
1274                addEEnumLiteral(booleanOperationsEEnum, BooleanOperations.XOR);
1275 
1276                // Create resource
1277                createResource(eNS_URI);
1278 
1279                // Create annotations
1280                // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
1281                createExtendedMetaDataAnnotations();
1282        }
1283 
1284        /**
1285         * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
1286         * <!-- begin-user-doc -->
1287         * <!-- end-user-doc -->
1288         * @generated
1289         */
1290        protected void createExtendedMetaDataAnnotations() {
1291                String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";                
1292                addAnnotation
1293                  (getRandomVariable_Expression(), 
1294                   source, 
1295                   new String[] {
1296                         "name", "",
1297                         "namespace", ""
1298                   });        
1299        }
1300 
1301} //StoexPackageImpl

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