source: default/v2/trunk/de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/ebnf/impl/EbnfPackageImpl.java @ 95

Last change on this file since 95 was 95, checked in by phdmakk, 8 years ago

+ generated resources

  • Property svn:mime-type set to text/plain
File size: 41.1 KB
Line 
1/**
2 */
3package de.ugoe.cs.swe.bnftools.ebnf.impl;
4
5import de.ugoe.cs.swe.bnftools.ebnf.Atom;
6import de.ugoe.cs.swe.bnftools.ebnf.BnfEntry;
7import de.ugoe.cs.swe.bnftools.ebnf.DefinitionList;
8import de.ugoe.cs.swe.bnftools.ebnf.DeltaEntry;
9import de.ugoe.cs.swe.bnftools.ebnf.EbnfFactory;
10import de.ugoe.cs.swe.bnftools.ebnf.EbnfPackage;
11import de.ugoe.cs.swe.bnftools.ebnf.EtsiBnf;
12import de.ugoe.cs.swe.bnftools.ebnf.ExtRule;
13import de.ugoe.cs.swe.bnftools.ebnf.GlobalCombinator;
14import de.ugoe.cs.swe.bnftools.ebnf.GroupedSequence;
15import de.ugoe.cs.swe.bnftools.ebnf.HookCombinator;
16import de.ugoe.cs.swe.bnftools.ebnf.Import;
17import de.ugoe.cs.swe.bnftools.ebnf.ImportSection;
18import de.ugoe.cs.swe.bnftools.ebnf.MergeEntry;
19import de.ugoe.cs.swe.bnftools.ebnf.MergeRule;
20import de.ugoe.cs.swe.bnftools.ebnf.OptionalSequence;
21import de.ugoe.cs.swe.bnftools.ebnf.RepeatRange;
22import de.ugoe.cs.swe.bnftools.ebnf.RepeatedSequence;
23import de.ugoe.cs.swe.bnftools.ebnf.Rule;
24import de.ugoe.cs.swe.bnftools.ebnf.RuleCombinator;
25import de.ugoe.cs.swe.bnftools.ebnf.RuleReference;
26import de.ugoe.cs.swe.bnftools.ebnf.SectionHeading;
27import de.ugoe.cs.swe.bnftools.ebnf.SingleDefinition;
28import de.ugoe.cs.swe.bnftools.ebnf.StringRule;
29import de.ugoe.cs.swe.bnftools.ebnf.Term;
30
31import org.eclipse.emf.ecore.EAttribute;
32import org.eclipse.emf.ecore.EClass;
33import org.eclipse.emf.ecore.EPackage;
34import org.eclipse.emf.ecore.EReference;
35
36import org.eclipse.emf.ecore.impl.EPackageImpl;
37
38/**
39 * <!-- begin-user-doc -->
40 * An implementation of the model <b>Package</b>.
41 * <!-- end-user-doc -->
42 * @generated
43 */
44public class EbnfPackageImpl extends EPackageImpl implements EbnfPackage
45{
46  /**
47   * <!-- begin-user-doc -->
48   * <!-- end-user-doc -->
49   * @generated
50   */
51  private EClass etsiBnfEClass = null;
52
53  /**
54   * <!-- begin-user-doc -->
55   * <!-- end-user-doc -->
56   * @generated
57   */
58  private EClass importSectionEClass = null;
59
60  /**
61   * <!-- begin-user-doc -->
62   * <!-- end-user-doc -->
63   * @generated
64   */
65  private EClass bnfEntryEClass = null;
66
67  /**
68   * <!-- begin-user-doc -->
69   * <!-- end-user-doc -->
70   * @generated
71   */
72  private EClass deltaEntryEClass = null;
73
74  /**
75   * <!-- begin-user-doc -->
76   * <!-- end-user-doc -->
77   * @generated
78   */
79  private EClass mergeEntryEClass = null;
80
81  /**
82   * <!-- begin-user-doc -->
83   * <!-- end-user-doc -->
84   * @generated
85   */
86  private EClass sectionHeadingEClass = null;
87
88  /**
89   * <!-- begin-user-doc -->
90   * <!-- end-user-doc -->
91   * @generated
92   */
93  private EClass importEClass = null;
94
95  /**
96   * <!-- begin-user-doc -->
97   * <!-- end-user-doc -->
98   * @generated
99   */
100  private EClass ruleEClass = null;
101
102  /**
103   * <!-- begin-user-doc -->
104   * <!-- end-user-doc -->
105   * @generated
106   */
107  private EClass extRuleEClass = null;
108
109  /**
110   * <!-- begin-user-doc -->
111   * <!-- end-user-doc -->
112   * @generated
113   */
114  private EClass mergeRuleEClass = null;
115
116  /**
117   * <!-- begin-user-doc -->
118   * <!-- end-user-doc -->
119   * @generated
120   */
121  private EClass globalCombinatorEClass = null;
122
123  /**
124   * <!-- begin-user-doc -->
125   * <!-- end-user-doc -->
126   * @generated
127   */
128  private EClass ruleCombinatorEClass = null;
129
130  /**
131   * <!-- begin-user-doc -->
132   * <!-- end-user-doc -->
133   * @generated
134   */
135  private EClass hookCombinatorEClass = null;
136
137  /**
138   * <!-- begin-user-doc -->
139   * <!-- end-user-doc -->
140   * @generated
141   */
142  private EClass definitionListEClass = null;
143
144  /**
145   * <!-- begin-user-doc -->
146   * <!-- end-user-doc -->
147   * @generated
148   */
149  private EClass singleDefinitionEClass = null;
150
151  /**
152   * <!-- begin-user-doc -->
153   * <!-- end-user-doc -->
154   * @generated
155   */
156  private EClass termEClass = null;
157
158  /**
159   * <!-- begin-user-doc -->
160   * <!-- end-user-doc -->
161   * @generated
162   */
163  private EClass atomEClass = null;
164
165  /**
166   * <!-- begin-user-doc -->
167   * <!-- end-user-doc -->
168   * @generated
169   */
170  private EClass ruleReferenceEClass = null;
171
172  /**
173   * <!-- begin-user-doc -->
174   * <!-- end-user-doc -->
175   * @generated
176   */
177  private EClass stringRuleEClass = null;
178
179  /**
180   * <!-- begin-user-doc -->
181   * <!-- end-user-doc -->
182   * @generated
183   */
184  private EClass groupedSequenceEClass = null;
185
186  /**
187   * <!-- begin-user-doc -->
188   * <!-- end-user-doc -->
189   * @generated
190   */
191  private EClass optionalSequenceEClass = null;
192
193  /**
194   * <!-- begin-user-doc -->
195   * <!-- end-user-doc -->
196   * @generated
197   */
198  private EClass repeatedSequenceEClass = null;
199
200  /**
201   * <!-- begin-user-doc -->
202   * <!-- end-user-doc -->
203   * @generated
204   */
205  private EClass repeatRangeEClass = null;
206
207  /**
208   * Creates an instance of the model <b>Package</b>, registered with
209   * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
210   * package URI value.
211   * <p>Note: the correct way to create the package is via the static
212   * factory method {@link #init init()}, which also performs
213   * initialization of the package, or returns the registered package,
214   * if one already exists.
215   * <!-- begin-user-doc -->
216   * <!-- end-user-doc -->
217   * @see org.eclipse.emf.ecore.EPackage.Registry
218   * @see de.ugoe.cs.swe.bnftools.ebnf.EbnfPackage#eNS_URI
219   * @see #init()
220   * @generated
221   */
222  private EbnfPackageImpl()
223  {
224    super(eNS_URI, EbnfFactory.eINSTANCE);
225  }
226
227  /**
228   * <!-- begin-user-doc -->
229   * <!-- end-user-doc -->
230   * @generated
231   */
232  private static boolean isInited = false;
233
234  /**
235   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
236   *
237   * <p>This method is used to initialize {@link EbnfPackage#eINSTANCE} when that field is accessed.
238   * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
239   * <!-- begin-user-doc -->
240   * <!-- end-user-doc -->
241   * @see #eNS_URI
242   * @see #createPackageContents()
243   * @see #initializePackageContents()
244   * @generated
245   */
246  public static EbnfPackage init()
247  {
248    if (isInited) return (EbnfPackage)EPackage.Registry.INSTANCE.getEPackage(EbnfPackage.eNS_URI);
249
250    // Obtain or create and register package
251    EbnfPackageImpl theEbnfPackage = (EbnfPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EbnfPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EbnfPackageImpl());
252
253    isInited = true;
254
255    // Create package meta-data objects
256    theEbnfPackage.createPackageContents();
257
258    // Initialize created meta-data
259    theEbnfPackage.initializePackageContents();
260
261    // Mark meta-data to indicate it can't be changed
262    theEbnfPackage.freeze();
263
264 
265    // Update the registry and return the package
266    EPackage.Registry.INSTANCE.put(EbnfPackage.eNS_URI, theEbnfPackage);
267    return theEbnfPackage;
268  }
269
270  /**
271   * <!-- begin-user-doc -->
272   * <!-- end-user-doc -->
273   * @generated
274   */
275  public EClass getEtsiBnf()
276  {
277    return etsiBnfEClass;
278  }
279
280  /**
281   * <!-- begin-user-doc -->
282   * <!-- end-user-doc -->
283   * @generated
284   */
285  public EAttribute getEtsiBnf_Name()
286  {
287    return (EAttribute)etsiBnfEClass.getEStructuralFeatures().get(0);
288  }
289
290  /**
291   * <!-- begin-user-doc -->
292   * <!-- end-user-doc -->
293   * @generated
294   */
295  public EAttribute getEtsiBnf_Type()
296  {
297    return (EAttribute)etsiBnfEClass.getEStructuralFeatures().get(1);
298  }
299
300  /**
301   * <!-- begin-user-doc -->
302   * <!-- end-user-doc -->
303   * @generated
304   */
305  public EReference getEtsiBnf_ImportSection()
306  {
307    return (EReference)etsiBnfEClass.getEStructuralFeatures().get(2);
308  }
309
310  /**
311   * <!-- begin-user-doc -->
312   * <!-- end-user-doc -->
313   * @generated
314   */
315  public EReference getEtsiBnf_BnfEntry()
316  {
317    return (EReference)etsiBnfEClass.getEStructuralFeatures().get(3);
318  }
319
320  /**
321   * <!-- begin-user-doc -->
322   * <!-- end-user-doc -->
323   * @generated
324   */
325  public EReference getEtsiBnf_DeltaEntry()
326  {
327    return (EReference)etsiBnfEClass.getEStructuralFeatures().get(4);
328  }
329
330  /**
331   * <!-- begin-user-doc -->
332   * <!-- end-user-doc -->
333   * @generated
334   */
335  public EReference getEtsiBnf_MergeEntry()
336  {
337    return (EReference)etsiBnfEClass.getEStructuralFeatures().get(5);
338  }
339
340  /**
341   * <!-- begin-user-doc -->
342   * <!-- end-user-doc -->
343   * @generated
344   */
345  public EClass getImportSection()
346  {
347    return importSectionEClass;
348  }
349
350  /**
351   * <!-- begin-user-doc -->
352   * <!-- end-user-doc -->
353   * @generated
354   */
355  public EReference getImportSection_Imports()
356  {
357    return (EReference)importSectionEClass.getEStructuralFeatures().get(0);
358  }
359
360  /**
361   * <!-- begin-user-doc -->
362   * <!-- end-user-doc -->
363   * @generated
364   */
365  public EClass getBnfEntry()
366  {
367    return bnfEntryEClass;
368  }
369
370  /**
371   * <!-- begin-user-doc -->
372   * <!-- end-user-doc -->
373   * @generated
374   */
375  public EReference getBnfEntry_Sectionheader()
376  {
377    return (EReference)bnfEntryEClass.getEStructuralFeatures().get(0);
378  }
379
380  /**
381   * <!-- begin-user-doc -->
382   * <!-- end-user-doc -->
383   * @generated
384   */
385  public EReference getBnfEntry_Rule()
386  {
387    return (EReference)bnfEntryEClass.getEStructuralFeatures().get(1);
388  }
389
390  /**
391   * <!-- begin-user-doc -->
392   * <!-- end-user-doc -->
393   * @generated
394   */
395  public EClass getDeltaEntry()
396  {
397    return deltaEntryEClass;
398  }
399
400  /**
401   * <!-- begin-user-doc -->
402   * <!-- end-user-doc -->
403   * @generated
404   */
405  public EReference getDeltaEntry_Rule()
406  {
407    return (EReference)deltaEntryEClass.getEStructuralFeatures().get(0);
408  }
409
410  /**
411   * <!-- begin-user-doc -->
412   * <!-- end-user-doc -->
413   * @generated
414   */
415  public EReference getDeltaEntry_Sectionheader()
416  {
417    return (EReference)deltaEntryEClass.getEStructuralFeatures().get(1);
418  }
419
420  /**
421   * <!-- begin-user-doc -->
422   * <!-- end-user-doc -->
423   * @generated
424   */
425  public EReference getDeltaEntry_ExtRule()
426  {
427    return (EReference)deltaEntryEClass.getEStructuralFeatures().get(2);
428  }
429
430  /**
431   * <!-- begin-user-doc -->
432   * <!-- end-user-doc -->
433   * @generated
434   */
435  public EClass getMergeEntry()
436  {
437    return mergeEntryEClass;
438  }
439
440  /**
441   * <!-- begin-user-doc -->
442   * <!-- end-user-doc -->
443   * @generated
444   */
445  public EReference getMergeEntry_Sectionheader()
446  {
447    return (EReference)mergeEntryEClass.getEStructuralFeatures().get(0);
448  }
449
450  /**
451   * <!-- begin-user-doc -->
452   * <!-- end-user-doc -->
453   * @generated
454   */
455  public EReference getMergeEntry_MergeRule()
456  {
457    return (EReference)mergeEntryEClass.getEStructuralFeatures().get(1);
458  }
459
460  /**
461   * <!-- begin-user-doc -->
462   * <!-- end-user-doc -->
463   * @generated
464   */
465  public EClass getSectionHeading()
466  {
467    return sectionHeadingEClass;
468  }
469
470  /**
471   * <!-- begin-user-doc -->
472   * <!-- end-user-doc -->
473   * @generated
474   */
475  public EAttribute getSectionHeading_SectionHeader()
476  {
477    return (EAttribute)sectionHeadingEClass.getEStructuralFeatures().get(0);
478  }
479
480  /**
481   * <!-- begin-user-doc -->
482   * <!-- end-user-doc -->
483   * @generated
484   */
485  public EClass getImport()
486  {
487    return importEClass;
488  }
489
490  /**
491   * <!-- begin-user-doc -->
492   * <!-- end-user-doc -->
493   * @generated
494   */
495  public EAttribute getImport_ImportURI()
496  {
497    return (EAttribute)importEClass.getEStructuralFeatures().get(0);
498  }
499
500  /**
501   * <!-- begin-user-doc -->
502   * <!-- end-user-doc -->
503   * @generated
504   */
505  public EAttribute getImport_GrammarType()
506  {
507    return (EAttribute)importEClass.getEStructuralFeatures().get(1);
508  }
509
510  /**
511   * <!-- begin-user-doc -->
512   * <!-- end-user-doc -->
513   * @generated
514   */
515  public EAttribute getImport_Label()
516  {
517    return (EAttribute)importEClass.getEStructuralFeatures().get(2);
518  }
519
520  /**
521   * <!-- begin-user-doc -->
522   * <!-- end-user-doc -->
523   * @generated
524   */
525  public EClass getRule()
526  {
527    return ruleEClass;
528  }
529
530  /**
531   * <!-- begin-user-doc -->
532   * <!-- end-user-doc -->
533   * @generated
534   */
535  public EAttribute getRule_Rulenumber()
536  {
537    return (EAttribute)ruleEClass.getEStructuralFeatures().get(0);
538  }
539
540  /**
541   * <!-- begin-user-doc -->
542   * <!-- end-user-doc -->
543   * @generated
544   */
545  public EAttribute getRule_Rulevariant()
546  {
547    return (EAttribute)ruleEClass.getEStructuralFeatures().get(1);
548  }
549
550  /**
551   * <!-- begin-user-doc -->
552   * <!-- end-user-doc -->
553   * @generated
554   */
555  public EAttribute getRule_Name()
556  {
557    return (EAttribute)ruleEClass.getEStructuralFeatures().get(2);
558  }
559
560  /**
561   * <!-- begin-user-doc -->
562   * <!-- end-user-doc -->
563   * @generated
564   */
565  public EReference getRule_DefinitionList()
566  {
567    return (EReference)ruleEClass.getEStructuralFeatures().get(3);
568  }
569
570  /**
571   * <!-- begin-user-doc -->
572   * <!-- end-user-doc -->
573   * @generated
574   */
575  public EClass getExtRule()
576  {
577    return extRuleEClass;
578  }
579
580  /**
581   * <!-- begin-user-doc -->
582   * <!-- end-user-doc -->
583   * @generated
584   */
585  public EAttribute getExtRule_Rulenumber()
586  {
587    return (EAttribute)extRuleEClass.getEStructuralFeatures().get(0);
588  }
589
590  /**
591   * <!-- begin-user-doc -->
592   * <!-- end-user-doc -->
593   * @generated
594   */
595  public EAttribute getExtRule_Rulevariant()
596  {
597    return (EAttribute)extRuleEClass.getEStructuralFeatures().get(1);
598  }
599
600  /**
601   * <!-- begin-user-doc -->
602   * <!-- end-user-doc -->
603   * @generated
604   */
605  public EAttribute getExtRule_Name()
606  {
607    return (EAttribute)extRuleEClass.getEStructuralFeatures().get(2);
608  }
609
610  /**
611   * <!-- begin-user-doc -->
612   * <!-- end-user-doc -->
613   * @generated
614   */
615  public EAttribute getExtRule_Ruleext()
616  {
617    return (EAttribute)extRuleEClass.getEStructuralFeatures().get(3);
618  }
619
620  /**
621   * <!-- begin-user-doc -->
622   * <!-- end-user-doc -->
623   * @generated
624   */
625  public EReference getExtRule_Elements()
626  {
627    return (EReference)extRuleEClass.getEStructuralFeatures().get(4);
628  }
629
630  /**
631   * <!-- begin-user-doc -->
632   * <!-- end-user-doc -->
633   * @generated
634   */
635  public EClass getMergeRule()
636  {
637    return mergeRuleEClass;
638  }
639
640  /**
641   * <!-- begin-user-doc -->
642   * <!-- end-user-doc -->
643   * @generated
644   */
645  public EAttribute getMergeRule_Logic()
646  {
647    return (EAttribute)mergeRuleEClass.getEStructuralFeatures().get(0);
648  }
649
650  /**
651   * <!-- begin-user-doc -->
652   * <!-- end-user-doc -->
653   * @generated
654   */
655  public EClass getGlobalCombinator()
656  {
657    return globalCombinatorEClass;
658  }
659
660  /**
661   * <!-- begin-user-doc -->
662   * <!-- end-user-doc -->
663   * @generated
664   */
665  public EClass getRuleCombinator()
666  {
667    return ruleCombinatorEClass;
668  }
669
670  /**
671   * <!-- begin-user-doc -->
672   * <!-- end-user-doc -->
673   * @generated
674   */
675  public EAttribute getRuleCombinator_Name()
676  {
677    return (EAttribute)ruleCombinatorEClass.getEStructuralFeatures().get(0);
678  }
679
680  /**
681   * <!-- begin-user-doc -->
682   * <!-- end-user-doc -->
683   * @generated
684   */
685  public EAttribute getRuleCombinator_LABEL()
686  {
687    return (EAttribute)ruleCombinatorEClass.getEStructuralFeatures().get(1);
688  }
689
690  /**
691   * <!-- begin-user-doc -->
692   * <!-- end-user-doc -->
693   * @generated
694   */
695  public EClass getHookCombinator()
696  {
697    return hookCombinatorEClass;
698  }
699
700  /**
701   * <!-- begin-user-doc -->
702   * <!-- end-user-doc -->
703   * @generated
704   */
705  public EAttribute getHookCombinator_Name()
706  {
707    return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(0);
708  }
709
710  /**
711   * <!-- begin-user-doc -->
712   * <!-- end-user-doc -->
713   * @generated
714   */
715  public EAttribute getHookCombinator_Ruleext()
716  {
717    return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(1);
718  }
719
720  /**
721   * <!-- begin-user-doc -->
722   * <!-- end-user-doc -->
723   * @generated
724   */
725  public EAttribute getHookCombinator_LABEL()
726  {
727    return (EAttribute)hookCombinatorEClass.getEStructuralFeatures().get(2);
728  }
729
730  /**
731   * <!-- begin-user-doc -->
732   * <!-- end-user-doc -->
733   * @generated
734   */
735  public EClass getDefinitionList()
736  {
737    return definitionListEClass;
738  }
739
740  /**
741   * <!-- begin-user-doc -->
742   * <!-- end-user-doc -->
743   * @generated
744   */
745  public EReference getDefinitionList_SingleDefinition()
746  {
747    return (EReference)definitionListEClass.getEStructuralFeatures().get(0);
748  }
749
750  /**
751   * <!-- begin-user-doc -->
752   * <!-- end-user-doc -->
753   * @generated
754   */
755  public EClass getSingleDefinition()
756  {
757    return singleDefinitionEClass;
758  }
759
760  /**
761   * <!-- begin-user-doc -->
762   * <!-- end-user-doc -->
763   * @generated
764   */
765  public EReference getSingleDefinition_Terms()
766  {
767    return (EReference)singleDefinitionEClass.getEStructuralFeatures().get(0);
768  }
769
770  /**
771   * <!-- begin-user-doc -->
772   * <!-- end-user-doc -->
773   * @generated
774   */
775  public EClass getTerm()
776  {
777    return termEClass;
778  }
779
780  /**
781   * <!-- begin-user-doc -->
782   * <!-- end-user-doc -->
783   * @generated
784   */
785  public EReference getTerm_TermAtom()
786  {
787    return (EReference)termEClass.getEStructuralFeatures().get(0);
788  }
789
790  /**
791   * <!-- begin-user-doc -->
792   * <!-- end-user-doc -->
793   * @generated
794   */
795  public EReference getTerm_TermGroupedSequence()
796  {
797    return (EReference)termEClass.getEStructuralFeatures().get(1);
798  }
799
800  /**
801   * <!-- begin-user-doc -->
802   * <!-- end-user-doc -->
803   * @generated
804   */
805  public EReference getTerm_TermOptionalSequence()
806  {
807    return (EReference)termEClass.getEStructuralFeatures().get(2);
808  }
809
810  /**
811   * <!-- begin-user-doc -->
812   * <!-- end-user-doc -->
813   * @generated
814   */
815  public EReference getTerm_TermRepeatedSequence()
816  {
817    return (EReference)termEClass.getEStructuralFeatures().get(3);
818  }
819
820  /**
821   * <!-- begin-user-doc -->
822   * <!-- end-user-doc -->
823   * @generated
824   */
825  public EClass getAtom()
826  {
827    return atomEClass;
828  }
829
830  /**
831   * <!-- begin-user-doc -->
832   * <!-- end-user-doc -->
833   * @generated
834   */
835  public EReference getAtom_AtomStringRule()
836  {
837    return (EReference)atomEClass.getEStructuralFeatures().get(0);
838  }
839
840  /**
841   * <!-- begin-user-doc -->
842   * <!-- end-user-doc -->
843   * @generated
844   */
845  public EReference getAtom_AtomRuleReference()
846  {
847    return (EReference)atomEClass.getEStructuralFeatures().get(1);
848  }
849
850  /**
851   * <!-- begin-user-doc -->
852   * <!-- end-user-doc -->
853   * @generated
854   */
855  public EClass getRuleReference()
856  {
857    return ruleReferenceEClass;
858  }
859
860  /**
861   * <!-- begin-user-doc -->
862   * <!-- end-user-doc -->
863   * @generated
864   */
865  public EReference getRuleReference_Ruleref()
866  {
867    return (EReference)ruleReferenceEClass.getEStructuralFeatures().get(0);
868  }
869
870  /**
871   * <!-- begin-user-doc -->
872   * <!-- end-user-doc -->
873   * @generated
874   */
875  public EClass getStringRule()
876  {
877    return stringRuleEClass;
878  }
879
880  /**
881   * <!-- begin-user-doc -->
882   * <!-- end-user-doc -->
883   * @generated
884   */
885  public EAttribute getStringRule_Literal()
886  {
887    return (EAttribute)stringRuleEClass.getEStructuralFeatures().get(0);
888  }
889
890  /**
891   * <!-- begin-user-doc -->
892   * <!-- end-user-doc -->
893   * @generated
894   */
895  public EAttribute getStringRule_Colon()
896  {
897    return (EAttribute)stringRuleEClass.getEStructuralFeatures().get(1);
898  }
899
900  /**
901   * <!-- begin-user-doc -->
902   * <!-- end-user-doc -->
903   * @generated
904   */
905  public EClass getGroupedSequence()
906  {
907    return groupedSequenceEClass;
908  }
909
910  /**
911   * <!-- begin-user-doc -->
912   * <!-- end-user-doc -->
913   * @generated
914   */
915  public EReference getGroupedSequence_DefinitionList()
916  {
917    return (EReference)groupedSequenceEClass.getEStructuralFeatures().get(0);
918  }
919
920  /**
921   * <!-- begin-user-doc -->
922   * <!-- end-user-doc -->
923   * @generated
924   */
925  public EClass getOptionalSequence()
926  {
927    return optionalSequenceEClass;
928  }
929
930  /**
931   * <!-- begin-user-doc -->
932   * <!-- end-user-doc -->
933   * @generated
934   */
935  public EReference getOptionalSequence_DefinitionList()
936  {
937    return (EReference)optionalSequenceEClass.getEStructuralFeatures().get(0);
938  }
939
940  /**
941   * <!-- begin-user-doc -->
942   * <!-- end-user-doc -->
943   * @generated
944   */
945  public EClass getRepeatedSequence()
946  {
947    return repeatedSequenceEClass;
948  }
949
950  /**
951   * <!-- begin-user-doc -->
952   * <!-- end-user-doc -->
953   * @generated
954   */
955  public EReference getRepeatedSequence_Definitions()
956  {
957    return (EReference)repeatedSequenceEClass.getEStructuralFeatures().get(0);
958  }
959
960  /**
961   * <!-- begin-user-doc -->
962   * <!-- end-user-doc -->
963   * @generated
964   */
965  public EAttribute getRepeatedSequence_Morethanonce()
966  {
967    return (EAttribute)repeatedSequenceEClass.getEStructuralFeatures().get(1);
968  }
969
970  /**
971   * <!-- begin-user-doc -->
972   * <!-- end-user-doc -->
973   * @generated
974   */
975  public EReference getRepeatedSequence_Range()
976  {
977    return (EReference)repeatedSequenceEClass.getEStructuralFeatures().get(2);
978  }
979
980  /**
981   * <!-- begin-user-doc -->
982   * <!-- end-user-doc -->
983   * @generated
984   */
985  public EClass getRepeatRange()
986  {
987    return repeatRangeEClass;
988  }
989
990  /**
991   * <!-- begin-user-doc -->
992   * <!-- end-user-doc -->
993   * @generated
994   */
995  public EAttribute getRepeatRange_From()
996  {
997    return (EAttribute)repeatRangeEClass.getEStructuralFeatures().get(0);
998  }
999
1000  /**
1001   * <!-- begin-user-doc -->
1002   * <!-- end-user-doc -->
1003   * @generated
1004   */
1005  public EAttribute getRepeatRange_To()
1006  {
1007    return (EAttribute)repeatRangeEClass.getEStructuralFeatures().get(1);
1008  }
1009
1010  /**
1011   * <!-- begin-user-doc -->
1012   * <!-- end-user-doc -->
1013   * @generated
1014   */
1015  public EbnfFactory getEbnfFactory()
1016  {
1017    return (EbnfFactory)getEFactoryInstance();
1018  }
1019
1020  /**
1021   * <!-- begin-user-doc -->
1022   * <!-- end-user-doc -->
1023   * @generated
1024   */
1025  private boolean isCreated = false;
1026
1027  /**
1028   * Creates the meta-model objects for the package.  This method is
1029   * guarded to have no affect on any invocation but its first.
1030   * <!-- begin-user-doc -->
1031   * <!-- end-user-doc -->
1032   * @generated
1033   */
1034  public void createPackageContents()
1035  {
1036    if (isCreated) return;
1037    isCreated = true;
1038
1039    // Create classes and their features
1040    etsiBnfEClass = createEClass(ETSI_BNF);
1041    createEAttribute(etsiBnfEClass, ETSI_BNF__NAME);
1042    createEAttribute(etsiBnfEClass, ETSI_BNF__TYPE);
1043    createEReference(etsiBnfEClass, ETSI_BNF__IMPORT_SECTION);
1044    createEReference(etsiBnfEClass, ETSI_BNF__BNF_ENTRY);
1045    createEReference(etsiBnfEClass, ETSI_BNF__DELTA_ENTRY);
1046    createEReference(etsiBnfEClass, ETSI_BNF__MERGE_ENTRY);
1047
1048    importSectionEClass = createEClass(IMPORT_SECTION);
1049    createEReference(importSectionEClass, IMPORT_SECTION__IMPORTS);
1050
1051    bnfEntryEClass = createEClass(BNF_ENTRY);
1052    createEReference(bnfEntryEClass, BNF_ENTRY__SECTIONHEADER);
1053    createEReference(bnfEntryEClass, BNF_ENTRY__RULE);
1054
1055    deltaEntryEClass = createEClass(DELTA_ENTRY);
1056    createEReference(deltaEntryEClass, DELTA_ENTRY__RULE);
1057    createEReference(deltaEntryEClass, DELTA_ENTRY__SECTIONHEADER);
1058    createEReference(deltaEntryEClass, DELTA_ENTRY__EXT_RULE);
1059
1060    mergeEntryEClass = createEClass(MERGE_ENTRY);
1061    createEReference(mergeEntryEClass, MERGE_ENTRY__SECTIONHEADER);
1062    createEReference(mergeEntryEClass, MERGE_ENTRY__MERGE_RULE);
1063
1064    sectionHeadingEClass = createEClass(SECTION_HEADING);
1065    createEAttribute(sectionHeadingEClass, SECTION_HEADING__SECTION_HEADER);
1066
1067    importEClass = createEClass(IMPORT);
1068    createEAttribute(importEClass, IMPORT__IMPORT_URI);
1069    createEAttribute(importEClass, IMPORT__GRAMMAR_TYPE);
1070    createEAttribute(importEClass, IMPORT__LABEL);
1071
1072    ruleEClass = createEClass(RULE);
1073    createEAttribute(ruleEClass, RULE__RULENUMBER);
1074    createEAttribute(ruleEClass, RULE__RULEVARIANT);
1075    createEAttribute(ruleEClass, RULE__NAME);
1076    createEReference(ruleEClass, RULE__DEFINITION_LIST);
1077
1078    extRuleEClass = createEClass(EXT_RULE);
1079    createEAttribute(extRuleEClass, EXT_RULE__RULENUMBER);
1080    createEAttribute(extRuleEClass, EXT_RULE__RULEVARIANT);
1081    createEAttribute(extRuleEClass, EXT_RULE__NAME);
1082    createEAttribute(extRuleEClass, EXT_RULE__RULEEXT);
1083    createEReference(extRuleEClass, EXT_RULE__ELEMENTS);
1084
1085    mergeRuleEClass = createEClass(MERGE_RULE);
1086    createEAttribute(mergeRuleEClass, MERGE_RULE__LOGIC);
1087
1088    globalCombinatorEClass = createEClass(GLOBAL_COMBINATOR);
1089
1090    ruleCombinatorEClass = createEClass(RULE_COMBINATOR);
1091    createEAttribute(ruleCombinatorEClass, RULE_COMBINATOR__NAME);
1092    createEAttribute(ruleCombinatorEClass, RULE_COMBINATOR__LABEL);
1093
1094    hookCombinatorEClass = createEClass(HOOK_COMBINATOR);
1095    createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__NAME);
1096    createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__RULEEXT);
1097    createEAttribute(hookCombinatorEClass, HOOK_COMBINATOR__LABEL);
1098
1099    definitionListEClass = createEClass(DEFINITION_LIST);
1100    createEReference(definitionListEClass, DEFINITION_LIST__SINGLE_DEFINITION);
1101
1102    singleDefinitionEClass = createEClass(SINGLE_DEFINITION);
1103    createEReference(singleDefinitionEClass, SINGLE_DEFINITION__TERMS);
1104
1105    termEClass = createEClass(TERM);
1106    createEReference(termEClass, TERM__TERM_ATOM);
1107    createEReference(termEClass, TERM__TERM_GROUPED_SEQUENCE);
1108    createEReference(termEClass, TERM__TERM_OPTIONAL_SEQUENCE);
1109    createEReference(termEClass, TERM__TERM_REPEATED_SEQUENCE);
1110
1111    atomEClass = createEClass(ATOM);
1112    createEReference(atomEClass, ATOM__ATOM_STRING_RULE);
1113    createEReference(atomEClass, ATOM__ATOM_RULE_REFERENCE);
1114
1115    ruleReferenceEClass = createEClass(RULE_REFERENCE);
1116    createEReference(ruleReferenceEClass, RULE_REFERENCE__RULEREF);
1117
1118    stringRuleEClass = createEClass(STRING_RULE);
1119    createEAttribute(stringRuleEClass, STRING_RULE__LITERAL);
1120    createEAttribute(stringRuleEClass, STRING_RULE__COLON);
1121
1122    groupedSequenceEClass = createEClass(GROUPED_SEQUENCE);
1123    createEReference(groupedSequenceEClass, GROUPED_SEQUENCE__DEFINITION_LIST);
1124
1125    optionalSequenceEClass = createEClass(OPTIONAL_SEQUENCE);
1126    createEReference(optionalSequenceEClass, OPTIONAL_SEQUENCE__DEFINITION_LIST);
1127
1128    repeatedSequenceEClass = createEClass(REPEATED_SEQUENCE);
1129    createEReference(repeatedSequenceEClass, REPEATED_SEQUENCE__DEFINITIONS);
1130    createEAttribute(repeatedSequenceEClass, REPEATED_SEQUENCE__MORETHANONCE);
1131    createEReference(repeatedSequenceEClass, REPEATED_SEQUENCE__RANGE);
1132
1133    repeatRangeEClass = createEClass(REPEAT_RANGE);
1134    createEAttribute(repeatRangeEClass, REPEAT_RANGE__FROM);
1135    createEAttribute(repeatRangeEClass, REPEAT_RANGE__TO);
1136  }
1137
1138  /**
1139   * <!-- begin-user-doc -->
1140   * <!-- end-user-doc -->
1141   * @generated
1142   */
1143  private boolean isInitialized = false;
1144
1145  /**
1146   * Complete the initialization of the package and its meta-model.  This
1147   * method is guarded to have no affect on any invocation but its first.
1148   * <!-- begin-user-doc -->
1149   * <!-- end-user-doc -->
1150   * @generated
1151   */
1152  public void initializePackageContents()
1153  {
1154    if (isInitialized) return;
1155    isInitialized = true;
1156
1157    // Initialize package
1158    setName(eNAME);
1159    setNsPrefix(eNS_PREFIX);
1160    setNsURI(eNS_URI);
1161
1162    // Create type parameters
1163
1164    // Set bounds for type parameters
1165
1166    // Add supertypes to classes
1167    globalCombinatorEClass.getESuperTypes().add(this.getMergeRule());
1168    ruleCombinatorEClass.getESuperTypes().add(this.getMergeRule());
1169    hookCombinatorEClass.getESuperTypes().add(this.getMergeRule());
1170
1171    // Initialize classes and features; add operations and parameters
1172    initEClass(etsiBnfEClass, EtsiBnf.class, "EtsiBnf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1173    initEAttribute(getEtsiBnf_Name(), ecorePackage.getEString(), "name", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1174    initEAttribute(getEtsiBnf_Type(), ecorePackage.getEString(), "type", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1175    initEReference(getEtsiBnf_ImportSection(), this.getImportSection(), null, "importSection", null, 0, 1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1176    initEReference(getEtsiBnf_BnfEntry(), this.getBnfEntry(), null, "bnfEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1177    initEReference(getEtsiBnf_DeltaEntry(), this.getDeltaEntry(), null, "deltaEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1178    initEReference(getEtsiBnf_MergeEntry(), this.getMergeEntry(), null, "mergeEntry", null, 0, -1, EtsiBnf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1179
1180    initEClass(importSectionEClass, ImportSection.class, "ImportSection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1181    initEReference(getImportSection_Imports(), this.getImport(), null, "imports", null, 0, -1, ImportSection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1182
1183    initEClass(bnfEntryEClass, BnfEntry.class, "BnfEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1184    initEReference(getBnfEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, BnfEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1185    initEReference(getBnfEntry_Rule(), this.getRule(), null, "rule", null, 0, 1, BnfEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1186
1187    initEClass(deltaEntryEClass, DeltaEntry.class, "DeltaEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1188    initEReference(getDeltaEntry_Rule(), this.getRule(), null, "rule", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1189    initEReference(getDeltaEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1190    initEReference(getDeltaEntry_ExtRule(), this.getExtRule(), null, "extRule", null, 0, 1, DeltaEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1191
1192    initEClass(mergeEntryEClass, MergeEntry.class, "MergeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1193    initEReference(getMergeEntry_Sectionheader(), this.getSectionHeading(), null, "sectionheader", null, 0, 1, MergeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1194    initEReference(getMergeEntry_MergeRule(), this.getMergeRule(), null, "mergeRule", null, 0, 1, MergeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1195
1196    initEClass(sectionHeadingEClass, SectionHeading.class, "SectionHeading", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1197    initEAttribute(getSectionHeading_SectionHeader(), ecorePackage.getEString(), "sectionHeader", null, 0, 1, SectionHeading.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1198
1199    initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1200    initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1201    initEAttribute(getImport_GrammarType(), ecorePackage.getEString(), "grammarType", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1202    initEAttribute(getImport_Label(), ecorePackage.getEString(), "label", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1203
1204    initEClass(ruleEClass, Rule.class, "Rule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1205    initEAttribute(getRule_Rulenumber(), ecorePackage.getEInt(), "rulenumber", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1206    initEAttribute(getRule_Rulevariant(), ecorePackage.getEString(), "rulevariant", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1207    initEAttribute(getRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1208    initEReference(getRule_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1209
1210    initEClass(extRuleEClass, ExtRule.class, "ExtRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1211    initEAttribute(getExtRule_Rulenumber(), ecorePackage.getEInt(), "rulenumber", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1212    initEAttribute(getExtRule_Rulevariant(), ecorePackage.getEString(), "rulevariant", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1213    initEAttribute(getExtRule_Name(), ecorePackage.getEString(), "name", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1214    initEAttribute(getExtRule_Ruleext(), ecorePackage.getEInt(), "ruleext", null, 0, 1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1215    initEReference(getExtRule_Elements(), this.getAtom(), null, "elements", null, 0, -1, ExtRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1216
1217    initEClass(mergeRuleEClass, MergeRule.class, "MergeRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1218    initEAttribute(getMergeRule_Logic(), ecorePackage.getEString(), "logic", null, 0, 1, MergeRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1219
1220    initEClass(globalCombinatorEClass, GlobalCombinator.class, "GlobalCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1221
1222    initEClass(ruleCombinatorEClass, RuleCombinator.class, "RuleCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1223    initEAttribute(getRuleCombinator_Name(), ecorePackage.getEString(), "name", null, 0, 1, RuleCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1224    initEAttribute(getRuleCombinator_LABEL(), ecorePackage.getEString(), "LABEL", null, 0, -1, RuleCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1225
1226    initEClass(hookCombinatorEClass, HookCombinator.class, "HookCombinator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1227    initEAttribute(getHookCombinator_Name(), ecorePackage.getEString(), "name", null, 0, 1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1228    initEAttribute(getHookCombinator_Ruleext(), ecorePackage.getEInt(), "ruleext", null, 0, 1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1229    initEAttribute(getHookCombinator_LABEL(), ecorePackage.getEString(), "LABEL", null, 0, -1, HookCombinator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1230
1231    initEClass(definitionListEClass, DefinitionList.class, "DefinitionList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1232    initEReference(getDefinitionList_SingleDefinition(), this.getSingleDefinition(), null, "singleDefinition", null, 0, -1, DefinitionList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1233
1234    initEClass(singleDefinitionEClass, SingleDefinition.class, "SingleDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1235    initEReference(getSingleDefinition_Terms(), this.getTerm(), null, "terms", null, 0, -1, SingleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1236
1237    initEClass(termEClass, Term.class, "Term", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1238    initEReference(getTerm_TermAtom(), this.getAtom(), null, "termAtom", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1239    initEReference(getTerm_TermGroupedSequence(), this.getGroupedSequence(), null, "termGroupedSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1240    initEReference(getTerm_TermOptionalSequence(), this.getOptionalSequence(), null, "termOptionalSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1241    initEReference(getTerm_TermRepeatedSequence(), this.getRepeatedSequence(), null, "termRepeatedSequence", null, 0, 1, Term.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1242
1243    initEClass(atomEClass, Atom.class, "Atom", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1244    initEReference(getAtom_AtomStringRule(), this.getStringRule(), null, "atomStringRule", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1245    initEReference(getAtom_AtomRuleReference(), this.getRuleReference(), null, "atomRuleReference", null, 0, 1, Atom.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1246
1247    initEClass(ruleReferenceEClass, RuleReference.class, "RuleReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1248    initEReference(getRuleReference_Ruleref(), this.getRule(), null, "ruleref", null, 0, 1, RuleReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1249
1250    initEClass(stringRuleEClass, StringRule.class, "StringRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1251    initEAttribute(getStringRule_Literal(), ecorePackage.getEString(), "literal", null, 0, 1, StringRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1252    initEAttribute(getStringRule_Colon(), ecorePackage.getEString(), "colon", null, 0, 1, StringRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1253
1254    initEClass(groupedSequenceEClass, GroupedSequence.class, "GroupedSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1255    initEReference(getGroupedSequence_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, -1, GroupedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1256
1257    initEClass(optionalSequenceEClass, OptionalSequence.class, "OptionalSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1258    initEReference(getOptionalSequence_DefinitionList(), this.getDefinitionList(), null, "definitionList", null, 0, -1, OptionalSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1259
1260    initEClass(repeatedSequenceEClass, RepeatedSequence.class, "RepeatedSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1261    initEReference(getRepeatedSequence_Definitions(), this.getDefinitionList(), null, "definitions", null, 0, -1, RepeatedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1262    initEAttribute(getRepeatedSequence_Morethanonce(), ecorePackage.getEBoolean(), "morethanonce", null, 0, 1, RepeatedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1263    initEReference(getRepeatedSequence_Range(), this.getRepeatRange(), null, "range", null, 0, 1, RepeatedSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1264
1265    initEClass(repeatRangeEClass, RepeatRange.class, "RepeatRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1266    initEAttribute(getRepeatRange_From(), ecorePackage.getEInt(), "from", null, 0, 1, RepeatRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1267    initEAttribute(getRepeatRange_To(), ecorePackage.getEInt(), "to", null, 0, 1, RepeatRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1268
1269    // Create resource
1270    createResource(eNS_URI);
1271  }
1272
1273} //EbnfPackageImpl
Note: See TracBrowser for help on using the repository browser.