aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl
diff options
context:
space:
mode:
authorLibravatar OszkarSemerath <oszka@SEMERATH-LAPTOP>2018-01-17 00:54:44 +0100
committerLibravatar OszkarSemerath <oszka@SEMERATH-LAPTOP>2018-01-17 00:54:44 +0100
commit0a31d5448e92d915c7163c3985fa0807f67d3f06 (patch)
tree1a106505c98df6398f2b5fe183771fc315f1e87a /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl
parentScope patched for metamodel specification (diff)
downloadVIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.tar.gz
VIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.tar.zst
VIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.zip
Scoping and linking of Viatra Packages and Patterns is completed
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java545
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java1479
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java136
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java71
4 files changed, 2120 insertions, 111 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java
index 4ad21065..465297bb 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java
@@ -6,6 +6,7 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*;
7 7
8import org.eclipse.emf.ecore.EClass; 8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EDataType;
9import org.eclipse.emf.ecore.EObject; 10import org.eclipse.emf.ecore.EObject;
10import org.eclipse.emf.ecore.EPackage; 11import org.eclipse.emf.ecore.EPackage;
11 12
@@ -67,10 +68,14 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
67 { 68 {
68 case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); 69 case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript();
69 case ApplicationConfigurationPackage.COMMAND: return createCommand(); 70 case ApplicationConfigurationPackage.COMMAND: return createCommand();
70 case ApplicationConfigurationPackage.DECLARATION: return createDeclaration();
71 case ApplicationConfigurationPackage.IMPORT: return createImport(); 71 case ApplicationConfigurationPackage.IMPORT: return createImport();
72 case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); 72 case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport();
73 case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); 73 case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport();
74 case ApplicationConfigurationPackage.DECLARATION: return createDeclaration();
75 case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification();
76 case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration();
77 case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference();
78 case ApplicationConfigurationPackage.FILE: return createFile();
74 case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); 79 case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification();
75 case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); 80 case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry();
76 case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); 81 case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry();
@@ -78,6 +83,41 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
78 case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); 83 case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration();
79 case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); 84 case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference();
80 case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); 85 case ApplicationConfigurationPackage.METAMODEL: return createMetamodel();
86 case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification();
87 case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry();
88 case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry();
89 case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry();
90 case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration();
91 case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference();
92 case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel();
93 case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification();
94 case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry();
95 case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry();
96 case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement();
97 case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration();
98 case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference();
99 case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern();
100 case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification();
101 case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration();
102 case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry();
103 case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference();
104 case ApplicationConfigurationPackage.CONFIG: return createConfig();
105 case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification();
106 case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope();
107 case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference();
108 case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference();
109 case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference();
110 case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference();
111 case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference();
112 case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference();
113 case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration();
114 case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference();
115 case ApplicationConfigurationPackage.SCOPE: return createScope();
116 case ApplicationConfigurationPackage.TASK: return createTask();
117 case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask();
118 case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope();
119 case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope();
120 case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope();
81 default: 121 default:
82 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); 122 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
83 } 123 }
@@ -88,10 +128,16 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
88 * <!-- end-user-doc --> 128 * <!-- end-user-doc -->
89 * @generated 129 * @generated
90 */ 130 */
91 public ConfigurationScript createConfigurationScript() 131 @Override
132 public Object createFromString(EDataType eDataType, String initialValue)
92 { 133 {
93 ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); 134 switch (eDataType.getClassifierID())
94 return configurationScript; 135 {
136 case ApplicationConfigurationPackage.SOLVER:
137 return createSolverFromString(eDataType, initialValue);
138 default:
139 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
140 }
95 } 141 }
96 142
97 /** 143 /**
@@ -99,10 +145,16 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
99 * <!-- end-user-doc --> 145 * <!-- end-user-doc -->
100 * @generated 146 * @generated
101 */ 147 */
102 public Command createCommand() 148 @Override
149 public String convertToString(EDataType eDataType, Object instanceValue)
103 { 150 {
104 CommandImpl command = new CommandImpl(); 151 switch (eDataType.getClassifierID())
105 return command; 152 {
153 case ApplicationConfigurationPackage.SOLVER:
154 return convertSolverToString(eDataType, instanceValue);
155 default:
156 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
157 }
106 } 158 }
107 159
108 /** 160 /**
@@ -110,10 +162,21 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
110 * <!-- end-user-doc --> 162 * <!-- end-user-doc -->
111 * @generated 163 * @generated
112 */ 164 */
113 public Declaration createDeclaration() 165 public ConfigurationScript createConfigurationScript()
114 { 166 {
115 DeclarationImpl declaration = new DeclarationImpl(); 167 ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl();
116 return declaration; 168 return configurationScript;
169 }
170
171 /**
172 * <!-- begin-user-doc -->
173 * <!-- end-user-doc -->
174 * @generated
175 */
176 public Command createCommand()
177 {
178 CommandImpl command = new CommandImpl();
179 return command;
117 } 180 }
118 181
119 /** 182 /**
@@ -154,6 +217,61 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
154 * <!-- end-user-doc --> 217 * <!-- end-user-doc -->
155 * @generated 218 * @generated
156 */ 219 */
220 public Declaration createDeclaration()
221 {
222 DeclarationImpl declaration = new DeclarationImpl();
223 return declaration;
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 public FileSpecification createFileSpecification()
232 {
233 FileSpecificationImpl fileSpecification = new FileSpecificationImpl();
234 return fileSpecification;
235 }
236
237 /**
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @generated
241 */
242 public FileDeclaration createFileDeclaration()
243 {
244 FileDeclarationImpl fileDeclaration = new FileDeclarationImpl();
245 return fileDeclaration;
246 }
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 public FileReference createFileReference()
254 {
255 FileReferenceImpl fileReference = new FileReferenceImpl();
256 return fileReference;
257 }
258
259 /**
260 * <!-- begin-user-doc -->
261 * <!-- end-user-doc -->
262 * @generated
263 */
264 public File createFile()
265 {
266 FileImpl file = new FileImpl();
267 return file;
268 }
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
157 public MetamodelSpecification createMetamodelSpecification() 275 public MetamodelSpecification createMetamodelSpecification()
158 { 276 {
159 MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl(); 277 MetamodelSpecificationImpl metamodelSpecification = new MetamodelSpecificationImpl();
@@ -231,6 +349,413 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements
231 * <!-- end-user-doc --> 349 * <!-- end-user-doc -->
232 * @generated 350 * @generated
233 */ 351 */
352 public PartialModelSpecification createPartialModelSpecification()
353 {
354 PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl();
355 return partialModelSpecification;
356 }
357
358 /**
359 * <!-- begin-user-doc -->
360 * <!-- end-user-doc -->
361 * @generated
362 */
363 public PartialModelEntry createPartialModelEntry()
364 {
365 PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl();
366 return partialModelEntry;
367 }
368
369 /**
370 * <!-- begin-user-doc -->
371 * <!-- end-user-doc -->
372 * @generated
373 */
374 public ModelEntry createModelEntry()
375 {
376 ModelEntryImpl modelEntry = new ModelEntryImpl();
377 return modelEntry;
378 }
379
380 /**
381 * <!-- begin-user-doc -->
382 * <!-- end-user-doc -->
383 * @generated
384 */
385 public FolderEntry createFolderEntry()
386 {
387 FolderEntryImpl folderEntry = new FolderEntryImpl();
388 return folderEntry;
389 }
390
391 /**
392 * <!-- begin-user-doc -->
393 * <!-- end-user-doc -->
394 * @generated
395 */
396 public PartialModelDeclaration createPartialModelDeclaration()
397 {
398 PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl();
399 return partialModelDeclaration;
400 }
401
402 /**
403 * <!-- begin-user-doc -->
404 * <!-- end-user-doc -->
405 * @generated
406 */
407 public PartialModelReference createPartialModelReference()
408 {
409 PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl();
410 return partialModelReference;
411 }
412
413 /**
414 * <!-- begin-user-doc -->
415 * <!-- end-user-doc -->
416 * @generated
417 */
418 public PartialModel createPartialModel()
419 {
420 PartialModelImpl partialModel = new PartialModelImpl();
421 return partialModel;
422 }
423
424 /**
425 * <!-- begin-user-doc -->
426 * <!-- end-user-doc -->
427 * @generated
428 */
429 public PatternSpecification createPatternSpecification()
430 {
431 PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl();
432 return patternSpecification;
433 }
434
435 /**
436 * <!-- begin-user-doc -->
437 * <!-- end-user-doc -->
438 * @generated
439 */
440 public PatternEntry createPatternEntry()
441 {
442 PatternEntryImpl patternEntry = new PatternEntryImpl();
443 return patternEntry;
444 }
445
446 /**
447 * <!-- begin-user-doc -->
448 * <!-- end-user-doc -->
449 * @generated
450 */
451 public AllPatternEntry createAllPatternEntry()
452 {
453 AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl();
454 return allPatternEntry;
455 }
456
457 /**
458 * <!-- begin-user-doc -->
459 * <!-- end-user-doc -->
460 * @generated
461 */
462 public PatternElement createPatternElement()
463 {
464 PatternElementImpl patternElement = new PatternElementImpl();
465 return patternElement;
466 }
467
468 /**
469 * <!-- begin-user-doc -->
470 * <!-- end-user-doc -->
471 * @generated
472 */
473 public GraphPatternDeclaration createGraphPatternDeclaration()
474 {
475 GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl();
476 return graphPatternDeclaration;
477 }
478
479 /**
480 * <!-- begin-user-doc -->
481 * <!-- end-user-doc -->
482 * @generated
483 */
484 public GraphPatternReference createGraphPatternReference()
485 {
486 GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl();
487 return graphPatternReference;
488 }
489
490 /**
491 * <!-- begin-user-doc -->
492 * <!-- end-user-doc -->
493 * @generated
494 */
495 public GraphPattern createGraphPattern()
496 {
497 GraphPatternImpl graphPattern = new GraphPatternImpl();
498 return graphPattern;
499 }
500
501 /**
502 * <!-- begin-user-doc -->
503 * <!-- end-user-doc -->
504 * @generated
505 */
506 public ConfigSpecification createConfigSpecification()
507 {
508 ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl();
509 return configSpecification;
510 }
511
512 /**
513 * <!-- begin-user-doc -->
514 * <!-- end-user-doc -->
515 * @generated
516 */
517 public ConfigDeclaration createConfigDeclaration()
518 {
519 ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl();
520 return configDeclaration;
521 }
522
523 /**
524 * <!-- begin-user-doc -->
525 * <!-- end-user-doc -->
526 * @generated
527 */
528 public ConfigEntry createConfigEntry()
529 {
530 ConfigEntryImpl configEntry = new ConfigEntryImpl();
531 return configEntry;
532 }
533
534 /**
535 * <!-- begin-user-doc -->
536 * <!-- end-user-doc -->
537 * @generated
538 */
539 public ConfigReference createConfigReference()
540 {
541 ConfigReferenceImpl configReference = new ConfigReferenceImpl();
542 return configReference;
543 }
544
545 /**
546 * <!-- begin-user-doc -->
547 * <!-- end-user-doc -->
548 * @generated
549 */
550 public Config createConfig()
551 {
552 ConfigImpl config = new ConfigImpl();
553 return config;
554 }
555
556 /**
557 * <!-- begin-user-doc -->
558 * <!-- end-user-doc -->
559 * @generated
560 */
561 public ScopeSpecification createScopeSpecification()
562 {
563 ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl();
564 return scopeSpecification;
565 }
566
567 /**
568 * <!-- begin-user-doc -->
569 * <!-- end-user-doc -->
570 * @generated
571 */
572 public TypeScope createTypeScope()
573 {
574 TypeScopeImpl typeScope = new TypeScopeImpl();
575 return typeScope;
576 }
577
578 /**
579 * <!-- begin-user-doc -->
580 * <!-- end-user-doc -->
581 * @generated
582 */
583 public TypeReference createTypeReference()
584 {
585 TypeReferenceImpl typeReference = new TypeReferenceImpl();
586 return typeReference;
587 }
588
589 /**
590 * <!-- begin-user-doc -->
591 * <!-- end-user-doc -->
592 * @generated
593 */
594 public ClassReference createClassReference()
595 {
596 ClassReferenceImpl classReference = new ClassReferenceImpl();
597 return classReference;
598 }
599
600 /**
601 * <!-- begin-user-doc -->
602 * <!-- end-user-doc -->
603 * @generated
604 */
605 public ObjectReference createObjectReference()
606 {
607 ObjectReferenceImpl objectReference = new ObjectReferenceImpl();
608 return objectReference;
609 }
610
611 /**
612 * <!-- begin-user-doc -->
613 * <!-- end-user-doc -->
614 * @generated
615 */
616 public IntegerReference createIntegerReference()
617 {
618 IntegerReferenceImpl integerReference = new IntegerReferenceImpl();
619 return integerReference;
620 }
621
622 /**
623 * <!-- begin-user-doc -->
624 * <!-- end-user-doc -->
625 * @generated
626 */
627 public RealReference createRealReference()
628 {
629 RealReferenceImpl realReference = new RealReferenceImpl();
630 return realReference;
631 }
632
633 /**
634 * <!-- begin-user-doc -->
635 * <!-- end-user-doc -->
636 * @generated
637 */
638 public StringReference createStringReference()
639 {
640 StringReferenceImpl stringReference = new StringReferenceImpl();
641 return stringReference;
642 }
643
644 /**
645 * <!-- begin-user-doc -->
646 * <!-- end-user-doc -->
647 * @generated
648 */
649 public ScopeDeclaration createScopeDeclaration()
650 {
651 ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl();
652 return scopeDeclaration;
653 }
654
655 /**
656 * <!-- begin-user-doc -->
657 * <!-- end-user-doc -->
658 * @generated
659 */
660 public ScopeReference createScopeReference()
661 {
662 ScopeReferenceImpl scopeReference = new ScopeReferenceImpl();
663 return scopeReference;
664 }
665
666 /**
667 * <!-- begin-user-doc -->
668 * <!-- end-user-doc -->
669 * @generated
670 */
671 public Scope createScope()
672 {
673 ScopeImpl scope = new ScopeImpl();
674 return scope;
675 }
676
677 /**
678 * <!-- begin-user-doc -->
679 * <!-- end-user-doc -->
680 * @generated
681 */
682 public Task createTask()
683 {
684 TaskImpl task = new TaskImpl();
685 return task;
686 }
687
688 /**
689 * <!-- begin-user-doc -->
690 * <!-- end-user-doc -->
691 * @generated
692 */
693 public GenerationTask createGenerationTask()
694 {
695 GenerationTaskImpl generationTask = new GenerationTaskImpl();
696 return generationTask;
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
704 public IntegerScope createIntegerScope()
705 {
706 IntegerScopeImpl integerScope = new IntegerScopeImpl();
707 return integerScope;
708 }
709
710 /**
711 * <!-- begin-user-doc -->
712 * <!-- end-user-doc -->
713 * @generated
714 */
715 public RealScope createRealScope()
716 {
717 RealScopeImpl realScope = new RealScopeImpl();
718 return realScope;
719 }
720
721 /**
722 * <!-- begin-user-doc -->
723 * <!-- end-user-doc -->
724 * @generated
725 */
726 public StringScope createStringScope()
727 {
728 StringScopeImpl stringScope = new StringScopeImpl();
729 return stringScope;
730 }
731
732 /**
733 * <!-- begin-user-doc -->
734 * <!-- end-user-doc -->
735 * @generated
736 */
737 public Solver createSolverFromString(EDataType eDataType, String initialValue)
738 {
739 Solver result = Solver.get(initialValue);
740 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
741 return result;
742 }
743
744 /**
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @generated
748 */
749 public String convertSolverToString(EDataType eDataType, Object instanceValue)
750 {
751 return instanceValue == null ? null : instanceValue.toString();
752 }
753
754 /**
755 * <!-- begin-user-doc -->
756 * <!-- end-user-doc -->
757 * @generated
758 */
234 public ApplicationConfigurationPackage getApplicationConfigurationPackage() 759 public ApplicationConfigurationPackage getApplicationConfigurationPackage()
235 { 760 {
236 return (ApplicationConfigurationPackage)getEPackage(); 761 return (ApplicationConfigurationPackage)getEPackage();
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java
index 50ad4358..a623702e 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java
@@ -4,23 +4,64 @@
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; 4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5 5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; 8import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory;
8import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; 9import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
10import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference;
9import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; 11import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command;
12import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config;
13import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration;
14import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry;
15import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference;
16import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification;
10import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; 17import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript;
11import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; 18import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration;
12import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; 19import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport;
20import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File;
21import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration;
22import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference;
23import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification;
24import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry;
25import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask;
26import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern;
27import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration;
28import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference;
13import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; 29import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import;
30import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference;
31import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope;
14import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; 32import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel;
15import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; 33import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration;
16import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; 34import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement;
17import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; 35import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry;
18import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; 36import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference;
19import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; 37import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification;
38import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry;
39import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference;
40import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel;
41import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration;
42import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry;
43import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference;
44import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification;
45import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement;
46import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry;
47import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification;
48import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference;
49import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope;
50import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope;
51import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration;
52import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference;
53import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification;
54import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver;
55import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference;
56import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope;
57import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task;
58import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference;
59import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope;
20import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; 60import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport;
21 61
22import org.eclipse.emf.ecore.EAttribute; 62import org.eclipse.emf.ecore.EAttribute;
23import org.eclipse.emf.ecore.EClass; 63import org.eclipse.emf.ecore.EClass;
64import org.eclipse.emf.ecore.EEnum;
24import org.eclipse.emf.ecore.EPackage; 65import org.eclipse.emf.ecore.EPackage;
25import org.eclipse.emf.ecore.EReference; 66import org.eclipse.emf.ecore.EReference;
26import org.eclipse.emf.ecore.EcorePackage; 67import org.eclipse.emf.ecore.EcorePackage;
@@ -56,6 +97,27 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
56 * <!-- end-user-doc --> 97 * <!-- end-user-doc -->
57 * @generated 98 * @generated
58 */ 99 */
100 private EClass importEClass = null;
101
102 /**
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @generated
106 */
107 private EClass ePackageImportEClass = null;
108
109 /**
110 * <!-- begin-user-doc -->
111 * <!-- end-user-doc -->
112 * @generated
113 */
114 private EClass viatraImportEClass = null;
115
116 /**
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 */
59 private EClass declarationEClass = null; 121 private EClass declarationEClass = null;
60 122
61 /** 123 /**
@@ -63,21 +125,28 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
63 * <!-- end-user-doc --> 125 * <!-- end-user-doc -->
64 * @generated 126 * @generated
65 */ 127 */
66 private EClass importEClass = null; 128 private EClass fileSpecificationEClass = null;
67 129
68 /** 130 /**
69 * <!-- begin-user-doc --> 131 * <!-- begin-user-doc -->
70 * <!-- end-user-doc --> 132 * <!-- end-user-doc -->
71 * @generated 133 * @generated
72 */ 134 */
73 private EClass ePackageImportEClass = null; 135 private EClass fileDeclarationEClass = null;
74 136
75 /** 137 /**
76 * <!-- begin-user-doc --> 138 * <!-- begin-user-doc -->
77 * <!-- end-user-doc --> 139 * <!-- end-user-doc -->
78 * @generated 140 * @generated
79 */ 141 */
80 private EClass viatraImportEClass = null; 142 private EClass fileReferenceEClass = null;
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 private EClass fileEClass = null;
81 150
82 /** 151 /**
83 * <!-- begin-user-doc --> 152 * <!-- begin-user-doc -->
@@ -129,6 +198,258 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
129 private EClass metamodelEClass = null; 198 private EClass metamodelEClass = null;
130 199
131 /** 200 /**
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @generated
204 */
205 private EClass partialModelSpecificationEClass = null;
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 private EClass partialModelEntryEClass = null;
213
214 /**
215 * <!-- begin-user-doc -->
216 * <!-- end-user-doc -->
217 * @generated
218 */
219 private EClass modelEntryEClass = null;
220
221 /**
222 * <!-- begin-user-doc -->
223 * <!-- end-user-doc -->
224 * @generated
225 */
226 private EClass folderEntryEClass = null;
227
228 /**
229 * <!-- begin-user-doc -->
230 * <!-- end-user-doc -->
231 * @generated
232 */
233 private EClass partialModelDeclarationEClass = null;
234
235 /**
236 * <!-- begin-user-doc -->
237 * <!-- end-user-doc -->
238 * @generated
239 */
240 private EClass partialModelReferenceEClass = null;
241
242 /**
243 * <!-- begin-user-doc -->
244 * <!-- end-user-doc -->
245 * @generated
246 */
247 private EClass partialModelEClass = null;
248
249 /**
250 * <!-- begin-user-doc -->
251 * <!-- end-user-doc -->
252 * @generated
253 */
254 private EClass patternSpecificationEClass = null;
255
256 /**
257 * <!-- begin-user-doc -->
258 * <!-- end-user-doc -->
259 * @generated
260 */
261 private EClass patternEntryEClass = null;
262
263 /**
264 * <!-- begin-user-doc -->
265 * <!-- end-user-doc -->
266 * @generated
267 */
268 private EClass allPatternEntryEClass = null;
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
275 private EClass patternElementEClass = null;
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 private EClass graphPatternDeclarationEClass = null;
283
284 /**
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 */
289 private EClass graphPatternReferenceEClass = null;
290
291 /**
292 * <!-- begin-user-doc -->
293 * <!-- end-user-doc -->
294 * @generated
295 */
296 private EClass graphPatternEClass = null;
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 private EClass configSpecificationEClass = null;
304
305 /**
306 * <!-- begin-user-doc -->
307 * <!-- end-user-doc -->
308 * @generated
309 */
310 private EClass configDeclarationEClass = null;
311
312 /**
313 * <!-- begin-user-doc -->
314 * <!-- end-user-doc -->
315 * @generated
316 */
317 private EClass configEntryEClass = null;
318
319 /**
320 * <!-- begin-user-doc -->
321 * <!-- end-user-doc -->
322 * @generated
323 */
324 private EClass configReferenceEClass = null;
325
326 /**
327 * <!-- begin-user-doc -->
328 * <!-- end-user-doc -->
329 * @generated
330 */
331 private EClass configEClass = null;
332
333 /**
334 * <!-- begin-user-doc -->
335 * <!-- end-user-doc -->
336 * @generated
337 */
338 private EClass scopeSpecificationEClass = null;
339
340 /**
341 * <!-- begin-user-doc -->
342 * <!-- end-user-doc -->
343 * @generated
344 */
345 private EClass typeScopeEClass = null;
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 private EClass typeReferenceEClass = null;
353
354 /**
355 * <!-- begin-user-doc -->
356 * <!-- end-user-doc -->
357 * @generated
358 */
359 private EClass classReferenceEClass = null;
360
361 /**
362 * <!-- begin-user-doc -->
363 * <!-- end-user-doc -->
364 * @generated
365 */
366 private EClass objectReferenceEClass = null;
367
368 /**
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @generated
372 */
373 private EClass integerReferenceEClass = null;
374
375 /**
376 * <!-- begin-user-doc -->
377 * <!-- end-user-doc -->
378 * @generated
379 */
380 private EClass realReferenceEClass = null;
381
382 /**
383 * <!-- begin-user-doc -->
384 * <!-- end-user-doc -->
385 * @generated
386 */
387 private EClass stringReferenceEClass = null;
388
389 /**
390 * <!-- begin-user-doc -->
391 * <!-- end-user-doc -->
392 * @generated
393 */
394 private EClass scopeDeclarationEClass = null;
395
396 /**
397 * <!-- begin-user-doc -->
398 * <!-- end-user-doc -->
399 * @generated
400 */
401 private EClass scopeReferenceEClass = null;
402
403 /**
404 * <!-- begin-user-doc -->
405 * <!-- end-user-doc -->
406 * @generated
407 */
408 private EClass scopeEClass = null;
409
410 /**
411 * <!-- begin-user-doc -->
412 * <!-- end-user-doc -->
413 * @generated
414 */
415 private EClass taskEClass = null;
416
417 /**
418 * <!-- begin-user-doc -->
419 * <!-- end-user-doc -->
420 * @generated
421 */
422 private EClass generationTaskEClass = null;
423
424 /**
425 * <!-- begin-user-doc -->
426 * <!-- end-user-doc -->
427 * @generated
428 */
429 private EClass integerScopeEClass = null;
430
431 /**
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @generated
435 */
436 private EClass realScopeEClass = null;
437
438 /**
439 * <!-- begin-user-doc -->
440 * <!-- end-user-doc -->
441 * @generated
442 */
443 private EClass stringScopeEClass = null;
444
445 /**
446 * <!-- begin-user-doc -->
447 * <!-- end-user-doc -->
448 * @generated
449 */
450 private EEnum solverEEnum = null;
451
452 /**
132 * Creates an instance of the model <b>Package</b>, registered with 453 * Creates an instance of the model <b>Package</b>, registered with
133 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package 454 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
134 * package URI value. 455 * package URI value.
@@ -240,16 +561,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
240 * <!-- end-user-doc --> 561 * <!-- end-user-doc -->
241 * @generated 562 * @generated
242 */ 563 */
243 public EClass getDeclaration()
244 {
245 return declarationEClass;
246 }
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 public EClass getImport() 564 public EClass getImport()
254 { 565 {
255 return importEClass; 566 return importEClass;
@@ -300,6 +611,96 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
300 * <!-- end-user-doc --> 611 * <!-- end-user-doc -->
301 * @generated 612 * @generated
302 */ 613 */
614 public EClass getDeclaration()
615 {
616 return declarationEClass;
617 }
618
619 /**
620 * <!-- begin-user-doc -->
621 * <!-- end-user-doc -->
622 * @generated
623 */
624 public EAttribute getDeclaration_Name()
625 {
626 return (EAttribute)declarationEClass.getEStructuralFeatures().get(0);
627 }
628
629 /**
630 * <!-- begin-user-doc -->
631 * <!-- end-user-doc -->
632 * @generated
633 */
634 public EClass getFileSpecification()
635 {
636 return fileSpecificationEClass;
637 }
638
639 /**
640 * <!-- begin-user-doc -->
641 * <!-- end-user-doc -->
642 * @generated
643 */
644 public EAttribute getFileSpecification_Path()
645 {
646 return (EAttribute)fileSpecificationEClass.getEStructuralFeatures().get(0);
647 }
648
649 /**
650 * <!-- begin-user-doc -->
651 * <!-- end-user-doc -->
652 * @generated
653 */
654 public EClass getFileDeclaration()
655 {
656 return fileDeclarationEClass;
657 }
658
659 /**
660 * <!-- begin-user-doc -->
661 * <!-- end-user-doc -->
662 * @generated
663 */
664 public EReference getFileDeclaration_Specification()
665 {
666 return (EReference)fileDeclarationEClass.getEStructuralFeatures().get(0);
667 }
668
669 /**
670 * <!-- begin-user-doc -->
671 * <!-- end-user-doc -->
672 * @generated
673 */
674 public EClass getFileReference()
675 {
676 return fileReferenceEClass;
677 }
678
679 /**
680 * <!-- begin-user-doc -->
681 * <!-- end-user-doc -->
682 * @generated
683 */
684 public EReference getFileReference_Referred()
685 {
686 return (EReference)fileReferenceEClass.getEStructuralFeatures().get(0);
687 }
688
689 /**
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @generated
693 */
694 public EClass getFile()
695 {
696 return fileEClass;
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
303 public EClass getMetamodelSpecification() 704 public EClass getMetamodelSpecification()
304 { 705 {
305 return metamodelSpecificationEClass; 706 return metamodelSpecificationEClass;
@@ -400,9 +801,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
400 * <!-- end-user-doc --> 801 * <!-- end-user-doc -->
401 * @generated 802 * @generated
402 */ 803 */
403 public EAttribute getMetamodelDeclaration_Name() 804 public EReference getMetamodelDeclaration_Specification()
404 { 805 {
405 return (EAttribute)metamodelDeclarationEClass.getEStructuralFeatures().get(0); 806 return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(0);
406 } 807 }
407 808
408 /** 809 /**
@@ -410,9 +811,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
410 * <!-- end-user-doc --> 811 * <!-- end-user-doc -->
411 * @generated 812 * @generated
412 */ 813 */
413 public EReference getMetamodelDeclaration_Specification() 814 public EClass getMetamodelReference()
414 { 815 {
415 return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(1); 816 return metamodelReferenceEClass;
416 } 817 }
417 818
418 /** 819 /**
@@ -420,9 +821,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
420 * <!-- end-user-doc --> 821 * <!-- end-user-doc -->
421 * @generated 822 * @generated
422 */ 823 */
423 public EClass getMetamodelReference() 824 public EReference getMetamodelReference_Referred()
424 { 825 {
425 return metamodelReferenceEClass; 826 return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0);
426 } 827 }
427 828
428 /** 829 /**
@@ -430,9 +831,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
430 * <!-- end-user-doc --> 831 * <!-- end-user-doc -->
431 * @generated 832 * @generated
432 */ 833 */
433 public EReference getMetamodelReference_Referred() 834 public EClass getMetamodel()
434 { 835 {
435 return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); 836 return metamodelEClass;
436 } 837 }
437 838
438 /** 839 /**
@@ -440,9 +841,749 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
440 * <!-- end-user-doc --> 841 * <!-- end-user-doc -->
441 * @generated 842 * @generated
442 */ 843 */
443 public EClass getMetamodel() 844 public EClass getPartialModelSpecification()
444 { 845 {
445 return metamodelEClass; 846 return partialModelSpecificationEClass;
847 }
848
849 /**
850 * <!-- begin-user-doc -->
851 * <!-- end-user-doc -->
852 * @generated
853 */
854 public EReference getPartialModelSpecification_Entry()
855 {
856 return (EReference)partialModelSpecificationEClass.getEStructuralFeatures().get(0);
857 }
858
859 /**
860 * <!-- begin-user-doc -->
861 * <!-- end-user-doc -->
862 * @generated
863 */
864 public EClass getPartialModelEntry()
865 {
866 return partialModelEntryEClass;
867 }
868
869 /**
870 * <!-- begin-user-doc -->
871 * <!-- end-user-doc -->
872 * @generated
873 */
874 public EReference getPartialModelEntry_Path()
875 {
876 return (EReference)partialModelEntryEClass.getEStructuralFeatures().get(0);
877 }
878
879 /**
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 public EClass getModelEntry()
885 {
886 return modelEntryEClass;
887 }
888
889 /**
890 * <!-- begin-user-doc -->
891 * <!-- end-user-doc -->
892 * @generated
893 */
894 public EClass getFolderEntry()
895 {
896 return folderEntryEClass;
897 }
898
899 /**
900 * <!-- begin-user-doc -->
901 * <!-- end-user-doc -->
902 * @generated
903 */
904 public EReference getFolderEntry_Exclusion()
905 {
906 return (EReference)folderEntryEClass.getEStructuralFeatures().get(0);
907 }
908
909 /**
910 * <!-- begin-user-doc -->
911 * <!-- end-user-doc -->
912 * @generated
913 */
914 public EClass getPartialModelDeclaration()
915 {
916 return partialModelDeclarationEClass;
917 }
918
919 /**
920 * <!-- begin-user-doc -->
921 * <!-- end-user-doc -->
922 * @generated
923 */
924 public EReference getPartialModelDeclaration_Specification()
925 {
926 return (EReference)partialModelDeclarationEClass.getEStructuralFeatures().get(0);
927 }
928
929 /**
930 * <!-- begin-user-doc -->
931 * <!-- end-user-doc -->
932 * @generated
933 */
934 public EClass getPartialModelReference()
935 {
936 return partialModelReferenceEClass;
937 }
938
939 /**
940 * <!-- begin-user-doc -->
941 * <!-- end-user-doc -->
942 * @generated
943 */
944 public EReference getPartialModelReference_Referred()
945 {
946 return (EReference)partialModelReferenceEClass.getEStructuralFeatures().get(0);
947 }
948
949 /**
950 * <!-- begin-user-doc -->
951 * <!-- end-user-doc -->
952 * @generated
953 */
954 public EClass getPartialModel()
955 {
956 return partialModelEClass;
957 }
958
959 /**
960 * <!-- begin-user-doc -->
961 * <!-- end-user-doc -->
962 * @generated
963 */
964 public EClass getPatternSpecification()
965 {
966 return patternSpecificationEClass;
967 }
968
969 /**
970 * <!-- begin-user-doc -->
971 * <!-- end-user-doc -->
972 * @generated
973 */
974 public EReference getPatternSpecification_Entries()
975 {
976 return (EReference)patternSpecificationEClass.getEStructuralFeatures().get(0);
977 }
978
979 /**
980 * <!-- begin-user-doc -->
981 * <!-- end-user-doc -->
982 * @generated
983 */
984 public EClass getPatternEntry()
985 {
986 return patternEntryEClass;
987 }
988
989 /**
990 * <!-- begin-user-doc -->
991 * <!-- end-user-doc -->
992 * @generated
993 */
994 public EReference getPatternEntry_Package()
995 {
996 return (EReference)patternEntryEClass.getEStructuralFeatures().get(0);
997 }
998
999 /**
1000 * <!-- begin-user-doc -->
1001 * <!-- end-user-doc -->
1002 * @generated
1003 */
1004 public EClass getAllPatternEntry()
1005 {
1006 return allPatternEntryEClass;
1007 }
1008
1009 /**
1010 * <!-- begin-user-doc -->
1011 * <!-- end-user-doc -->
1012 * @generated
1013 */
1014 public EReference getAllPatternEntry_Exclusuion()
1015 {
1016 return (EReference)allPatternEntryEClass.getEStructuralFeatures().get(0);
1017 }
1018
1019 /**
1020 * <!-- begin-user-doc -->
1021 * <!-- end-user-doc -->
1022 * @generated
1023 */
1024 public EClass getPatternElement()
1025 {
1026 return patternElementEClass;
1027 }
1028
1029 /**
1030 * <!-- begin-user-doc -->
1031 * <!-- end-user-doc -->
1032 * @generated
1033 */
1034 public EReference getPatternElement_Pattern()
1035 {
1036 return (EReference)patternElementEClass.getEStructuralFeatures().get(0);
1037 }
1038
1039 /**
1040 * <!-- begin-user-doc -->
1041 * <!-- end-user-doc -->
1042 * @generated
1043 */
1044 public EClass getGraphPatternDeclaration()
1045 {
1046 return graphPatternDeclarationEClass;
1047 }
1048
1049 /**
1050 * <!-- begin-user-doc -->
1051 * <!-- end-user-doc -->
1052 * @generated
1053 */
1054 public EReference getGraphPatternDeclaration_Specification()
1055 {
1056 return (EReference)graphPatternDeclarationEClass.getEStructuralFeatures().get(0);
1057 }
1058
1059 /**
1060 * <!-- begin-user-doc -->
1061 * <!-- end-user-doc -->
1062 * @generated
1063 */
1064 public EClass getGraphPatternReference()
1065 {
1066 return graphPatternReferenceEClass;
1067 }
1068
1069 /**
1070 * <!-- begin-user-doc -->
1071 * <!-- end-user-doc -->
1072 * @generated
1073 */
1074 public EReference getGraphPatternReference_Referred()
1075 {
1076 return (EReference)graphPatternReferenceEClass.getEStructuralFeatures().get(0);
1077 }
1078
1079 /**
1080 * <!-- begin-user-doc -->
1081 * <!-- end-user-doc -->
1082 * @generated
1083 */
1084 public EClass getGraphPattern()
1085 {
1086 return graphPatternEClass;
1087 }
1088
1089 /**
1090 * <!-- begin-user-doc -->
1091 * <!-- end-user-doc -->
1092 * @generated
1093 */
1094 public EClass getConfigSpecification()
1095 {
1096 return configSpecificationEClass;
1097 }
1098
1099 /**
1100 * <!-- begin-user-doc -->
1101 * <!-- end-user-doc -->
1102 * @generated
1103 */
1104 public EReference getConfigSpecification_Entries()
1105 {
1106 return (EReference)configSpecificationEClass.getEStructuralFeatures().get(0);
1107 }
1108
1109 /**
1110 * <!-- begin-user-doc -->
1111 * <!-- end-user-doc -->
1112 * @generated
1113 */
1114 public EClass getConfigDeclaration()
1115 {
1116 return configDeclarationEClass;
1117 }
1118
1119 /**
1120 * <!-- begin-user-doc -->
1121 * <!-- end-user-doc -->
1122 * @generated
1123 */
1124 public EReference getConfigDeclaration_Specification()
1125 {
1126 return (EReference)configDeclarationEClass.getEStructuralFeatures().get(0);
1127 }
1128
1129 /**
1130 * <!-- begin-user-doc -->
1131 * <!-- end-user-doc -->
1132 * @generated
1133 */
1134 public EClass getConfigEntry()
1135 {
1136 return configEntryEClass;
1137 }
1138
1139 /**
1140 * <!-- begin-user-doc -->
1141 * <!-- end-user-doc -->
1142 * @generated
1143 */
1144 public EAttribute getConfigEntry_Key()
1145 {
1146 return (EAttribute)configEntryEClass.getEStructuralFeatures().get(0);
1147 }
1148
1149 /**
1150 * <!-- begin-user-doc -->
1151 * <!-- end-user-doc -->
1152 * @generated
1153 */
1154 public EAttribute getConfigEntry_Value()
1155 {
1156 return (EAttribute)configEntryEClass.getEStructuralFeatures().get(1);
1157 }
1158
1159 /**
1160 * <!-- begin-user-doc -->
1161 * <!-- end-user-doc -->
1162 * @generated
1163 */
1164 public EClass getConfigReference()
1165 {
1166 return configReferenceEClass;
1167 }
1168
1169 /**
1170 * <!-- begin-user-doc -->
1171 * <!-- end-user-doc -->
1172 * @generated
1173 */
1174 public EReference getConfigReference_Config()
1175 {
1176 return (EReference)configReferenceEClass.getEStructuralFeatures().get(0);
1177 }
1178
1179 /**
1180 * <!-- begin-user-doc -->
1181 * <!-- end-user-doc -->
1182 * @generated
1183 */
1184 public EClass getConfig()
1185 {
1186 return configEClass;
1187 }
1188
1189 /**
1190 * <!-- begin-user-doc -->
1191 * <!-- end-user-doc -->
1192 * @generated
1193 */
1194 public EClass getScopeSpecification()
1195 {
1196 return scopeSpecificationEClass;
1197 }
1198
1199 /**
1200 * <!-- begin-user-doc -->
1201 * <!-- end-user-doc -->
1202 * @generated
1203 */
1204 public EReference getScopeSpecification_Scopes()
1205 {
1206 return (EReference)scopeSpecificationEClass.getEStructuralFeatures().get(0);
1207 }
1208
1209 /**
1210 * <!-- begin-user-doc -->
1211 * <!-- end-user-doc -->
1212 * @generated
1213 */
1214 public EClass getTypeScope()
1215 {
1216 return typeScopeEClass;
1217 }
1218
1219 /**
1220 * <!-- begin-user-doc -->
1221 * <!-- end-user-doc -->
1222 * @generated
1223 */
1224 public EAttribute getTypeScope_Min()
1225 {
1226 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0);
1227 }
1228
1229 /**
1230 * <!-- begin-user-doc -->
1231 * <!-- end-user-doc -->
1232 * @generated
1233 */
1234 public EAttribute getTypeScope_Greather()
1235 {
1236 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1);
1237 }
1238
1239 /**
1240 * <!-- begin-user-doc -->
1241 * <!-- end-user-doc -->
1242 * @generated
1243 */
1244 public EAttribute getTypeScope_GreaterOrEqual()
1245 {
1246 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2);
1247 }
1248
1249 /**
1250 * <!-- begin-user-doc -->
1251 * <!-- end-user-doc -->
1252 * @generated
1253 */
1254 public EReference getTypeScope_Type()
1255 {
1256 return (EReference)typeScopeEClass.getEStructuralFeatures().get(3);
1257 }
1258
1259 /**
1260 * <!-- begin-user-doc -->
1261 * <!-- end-user-doc -->
1262 * @generated
1263 */
1264 public EAttribute getTypeScope_Less()
1265 {
1266 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4);
1267 }
1268
1269 /**
1270 * <!-- begin-user-doc -->
1271 * <!-- end-user-doc -->
1272 * @generated
1273 */
1274 public EAttribute getTypeScope_LessOrEqual()
1275 {
1276 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5);
1277 }
1278
1279 /**
1280 * <!-- begin-user-doc -->
1281 * <!-- end-user-doc -->
1282 * @generated
1283 */
1284 public EAttribute getTypeScope_Max()
1285 {
1286 return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(6);
1287 }
1288
1289 /**
1290 * <!-- begin-user-doc -->
1291 * <!-- end-user-doc -->
1292 * @generated
1293 */
1294 public EClass getTypeReference()
1295 {
1296 return typeReferenceEClass;
1297 }
1298
1299 /**
1300 * <!-- begin-user-doc -->
1301 * <!-- end-user-doc -->
1302 * @generated
1303 */
1304 public EClass getClassReference()
1305 {
1306 return classReferenceEClass;
1307 }
1308
1309 /**
1310 * <!-- begin-user-doc -->
1311 * <!-- end-user-doc -->
1312 * @generated
1313 */
1314 public EReference getClassReference_Element()
1315 {
1316 return (EReference)classReferenceEClass.getEStructuralFeatures().get(0);
1317 }
1318
1319 /**
1320 * <!-- begin-user-doc -->
1321 * <!-- end-user-doc -->
1322 * @generated
1323 */
1324 public EClass getObjectReference()
1325 {
1326 return objectReferenceEClass;
1327 }
1328
1329 /**
1330 * <!-- begin-user-doc -->
1331 * <!-- end-user-doc -->
1332 * @generated
1333 */
1334 public EClass getIntegerReference()
1335 {
1336 return integerReferenceEClass;
1337 }
1338
1339 /**
1340 * <!-- begin-user-doc -->
1341 * <!-- end-user-doc -->
1342 * @generated
1343 */
1344 public EClass getRealReference()
1345 {
1346 return realReferenceEClass;
1347 }
1348
1349 /**
1350 * <!-- begin-user-doc -->
1351 * <!-- end-user-doc -->
1352 * @generated
1353 */
1354 public EClass getStringReference()
1355 {
1356 return stringReferenceEClass;
1357 }
1358
1359 /**
1360 * <!-- begin-user-doc -->
1361 * <!-- end-user-doc -->
1362 * @generated
1363 */
1364 public EClass getScopeDeclaration()
1365 {
1366 return scopeDeclarationEClass;
1367 }
1368
1369 /**
1370 * <!-- begin-user-doc -->
1371 * <!-- end-user-doc -->
1372 * @generated
1373 */
1374 public EReference getScopeDeclaration_Specification()
1375 {
1376 return (EReference)scopeDeclarationEClass.getEStructuralFeatures().get(0);
1377 }
1378
1379 /**
1380 * <!-- begin-user-doc -->
1381 * <!-- end-user-doc -->
1382 * @generated
1383 */
1384 public EClass getScopeReference()
1385 {
1386 return scopeReferenceEClass;
1387 }
1388
1389 /**
1390 * <!-- begin-user-doc -->
1391 * <!-- end-user-doc -->
1392 * @generated
1393 */
1394 public EReference getScopeReference_Referred()
1395 {
1396 return (EReference)scopeReferenceEClass.getEStructuralFeatures().get(0);
1397 }
1398
1399 /**
1400 * <!-- begin-user-doc -->
1401 * <!-- end-user-doc -->
1402 * @generated
1403 */
1404 public EClass getScope()
1405 {
1406 return scopeEClass;
1407 }
1408
1409 /**
1410 * <!-- begin-user-doc -->
1411 * <!-- end-user-doc -->
1412 * @generated
1413 */
1414 public EClass getTask()
1415 {
1416 return taskEClass;
1417 }
1418
1419 /**
1420 * <!-- begin-user-doc -->
1421 * <!-- end-user-doc -->
1422 * @generated
1423 */
1424 public EClass getGenerationTask()
1425 {
1426 return generationTaskEClass;
1427 }
1428
1429 /**
1430 * <!-- begin-user-doc -->
1431 * <!-- end-user-doc -->
1432 * @generated
1433 */
1434 public EReference getGenerationTask_Metamodel()
1435 {
1436 return (EReference)generationTaskEClass.getEStructuralFeatures().get(0);
1437 }
1438
1439 /**
1440 * <!-- begin-user-doc -->
1441 * <!-- end-user-doc -->
1442 * @generated
1443 */
1444 public EReference getGenerationTask_PartialModel()
1445 {
1446 return (EReference)generationTaskEClass.getEStructuralFeatures().get(1);
1447 }
1448
1449 /**
1450 * <!-- begin-user-doc -->
1451 * <!-- end-user-doc -->
1452 * @generated
1453 */
1454 public EReference getGenerationTask_Patterns()
1455 {
1456 return (EReference)generationTaskEClass.getEStructuralFeatures().get(2);
1457 }
1458
1459 /**
1460 * <!-- begin-user-doc -->
1461 * <!-- end-user-doc -->
1462 * @generated
1463 */
1464 public EReference getGenerationTask_Scope()
1465 {
1466 return (EReference)generationTaskEClass.getEStructuralFeatures().get(3);
1467 }
1468
1469 /**
1470 * <!-- begin-user-doc -->
1471 * <!-- end-user-doc -->
1472 * @generated
1473 */
1474 public EAttribute getGenerationTask_Number()
1475 {
1476 return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(4);
1477 }
1478
1479 /**
1480 * <!-- begin-user-doc -->
1481 * <!-- end-user-doc -->
1482 * @generated
1483 */
1484 public EAttribute getGenerationTask_Runs()
1485 {
1486 return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5);
1487 }
1488
1489 /**
1490 * <!-- begin-user-doc -->
1491 * <!-- end-user-doc -->
1492 * @generated
1493 */
1494 public EAttribute getGenerationTask_Solver()
1495 {
1496 return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6);
1497 }
1498
1499 /**
1500 * <!-- begin-user-doc -->
1501 * <!-- end-user-doc -->
1502 * @generated
1503 */
1504 public EReference getGenerationTask_Config()
1505 {
1506 return (EReference)generationTaskEClass.getEStructuralFeatures().get(7);
1507 }
1508
1509 /**
1510 * <!-- begin-user-doc -->
1511 * <!-- end-user-doc -->
1512 * @generated
1513 */
1514 public EReference getGenerationTask_TagetFolder()
1515 {
1516 return (EReference)generationTaskEClass.getEStructuralFeatures().get(8);
1517 }
1518
1519 /**
1520 * <!-- begin-user-doc -->
1521 * <!-- end-user-doc -->
1522 * @generated
1523 */
1524 public EReference getGenerationTask_DebugFolder()
1525 {
1526 return (EReference)generationTaskEClass.getEStructuralFeatures().get(9);
1527 }
1528
1529 /**
1530 * <!-- begin-user-doc -->
1531 * <!-- end-user-doc -->
1532 * @generated
1533 */
1534 public EReference getGenerationTask_TargetLogFile()
1535 {
1536 return (EReference)generationTaskEClass.getEStructuralFeatures().get(10);
1537 }
1538
1539 /**
1540 * <!-- begin-user-doc -->
1541 * <!-- end-user-doc -->
1542 * @generated
1543 */
1544 public EReference getGenerationTask_TargetStatisticsFile()
1545 {
1546 return (EReference)generationTaskEClass.getEStructuralFeatures().get(11);
1547 }
1548
1549 /**
1550 * <!-- begin-user-doc -->
1551 * <!-- end-user-doc -->
1552 * @generated
1553 */
1554 public EClass getIntegerScope()
1555 {
1556 return integerScopeEClass;
1557 }
1558
1559 /**
1560 * <!-- begin-user-doc -->
1561 * <!-- end-user-doc -->
1562 * @generated
1563 */
1564 public EClass getRealScope()
1565 {
1566 return realScopeEClass;
1567 }
1568
1569 /**
1570 * <!-- begin-user-doc -->
1571 * <!-- end-user-doc -->
1572 * @generated
1573 */
1574 public EClass getStringScope()
1575 {
1576 return stringScopeEClass;
1577 }
1578
1579 /**
1580 * <!-- begin-user-doc -->
1581 * <!-- end-user-doc -->
1582 * @generated
1583 */
1584 public EEnum getSolver()
1585 {
1586 return solverEEnum;
446 } 1587 }
447 1588
448 /** 1589 /**
@@ -481,8 +1622,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
481 1622
482 commandEClass = createEClass(COMMAND); 1623 commandEClass = createEClass(COMMAND);
483 1624
484 declarationEClass = createEClass(DECLARATION);
485
486 importEClass = createEClass(IMPORT); 1625 importEClass = createEClass(IMPORT);
487 1626
488 ePackageImportEClass = createEClass(EPACKAGE_IMPORT); 1627 ePackageImportEClass = createEClass(EPACKAGE_IMPORT);
@@ -491,6 +1630,20 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
491 viatraImportEClass = createEClass(VIATRA_IMPORT); 1630 viatraImportEClass = createEClass(VIATRA_IMPORT);
492 createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); 1631 createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA);
493 1632
1633 declarationEClass = createEClass(DECLARATION);
1634 createEAttribute(declarationEClass, DECLARATION__NAME);
1635
1636 fileSpecificationEClass = createEClass(FILE_SPECIFICATION);
1637 createEAttribute(fileSpecificationEClass, FILE_SPECIFICATION__PATH);
1638
1639 fileDeclarationEClass = createEClass(FILE_DECLARATION);
1640 createEReference(fileDeclarationEClass, FILE_DECLARATION__SPECIFICATION);
1641
1642 fileReferenceEClass = createEClass(FILE_REFERENCE);
1643 createEReference(fileReferenceEClass, FILE_REFERENCE__REFERRED);
1644
1645 fileEClass = createEClass(FILE);
1646
494 metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION); 1647 metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION);
495 createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES); 1648 createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES);
496 1649
@@ -505,13 +1658,124 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
505 createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE); 1658 createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE);
506 1659
507 metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION); 1660 metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION);
508 createEAttribute(metamodelDeclarationEClass, METAMODEL_DECLARATION__NAME);
509 createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION); 1661 createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION);
510 1662
511 metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE); 1663 metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE);
512 createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED); 1664 createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED);
513 1665
514 metamodelEClass = createEClass(METAMODEL); 1666 metamodelEClass = createEClass(METAMODEL);
1667
1668 partialModelSpecificationEClass = createEClass(PARTIAL_MODEL_SPECIFICATION);
1669 createEReference(partialModelSpecificationEClass, PARTIAL_MODEL_SPECIFICATION__ENTRY);
1670
1671 partialModelEntryEClass = createEClass(PARTIAL_MODEL_ENTRY);
1672 createEReference(partialModelEntryEClass, PARTIAL_MODEL_ENTRY__PATH);
1673
1674 modelEntryEClass = createEClass(MODEL_ENTRY);
1675
1676 folderEntryEClass = createEClass(FOLDER_ENTRY);
1677 createEReference(folderEntryEClass, FOLDER_ENTRY__EXCLUSION);
1678
1679 partialModelDeclarationEClass = createEClass(PARTIAL_MODEL_DECLARATION);
1680 createEReference(partialModelDeclarationEClass, PARTIAL_MODEL_DECLARATION__SPECIFICATION);
1681
1682 partialModelReferenceEClass = createEClass(PARTIAL_MODEL_REFERENCE);
1683 createEReference(partialModelReferenceEClass, PARTIAL_MODEL_REFERENCE__REFERRED);
1684
1685 partialModelEClass = createEClass(PARTIAL_MODEL);
1686
1687 patternSpecificationEClass = createEClass(PATTERN_SPECIFICATION);
1688 createEReference(patternSpecificationEClass, PATTERN_SPECIFICATION__ENTRIES);
1689
1690 patternEntryEClass = createEClass(PATTERN_ENTRY);
1691 createEReference(patternEntryEClass, PATTERN_ENTRY__PACKAGE);
1692
1693 allPatternEntryEClass = createEClass(ALL_PATTERN_ENTRY);
1694 createEReference(allPatternEntryEClass, ALL_PATTERN_ENTRY__EXCLUSUION);
1695
1696 patternElementEClass = createEClass(PATTERN_ELEMENT);
1697 createEReference(patternElementEClass, PATTERN_ELEMENT__PATTERN);
1698
1699 graphPatternDeclarationEClass = createEClass(GRAPH_PATTERN_DECLARATION);
1700 createEReference(graphPatternDeclarationEClass, GRAPH_PATTERN_DECLARATION__SPECIFICATION);
1701
1702 graphPatternReferenceEClass = createEClass(GRAPH_PATTERN_REFERENCE);
1703 createEReference(graphPatternReferenceEClass, GRAPH_PATTERN_REFERENCE__REFERRED);
1704
1705 graphPatternEClass = createEClass(GRAPH_PATTERN);
1706
1707 configSpecificationEClass = createEClass(CONFIG_SPECIFICATION);
1708 createEReference(configSpecificationEClass, CONFIG_SPECIFICATION__ENTRIES);
1709
1710 configDeclarationEClass = createEClass(CONFIG_DECLARATION);
1711 createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION);
1712
1713 configEntryEClass = createEClass(CONFIG_ENTRY);
1714 createEAttribute(configEntryEClass, CONFIG_ENTRY__KEY);
1715 createEAttribute(configEntryEClass, CONFIG_ENTRY__VALUE);
1716
1717 configReferenceEClass = createEClass(CONFIG_REFERENCE);
1718 createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG);
1719
1720 configEClass = createEClass(CONFIG);
1721
1722 scopeSpecificationEClass = createEClass(SCOPE_SPECIFICATION);
1723 createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES);
1724
1725 typeScopeEClass = createEClass(TYPE_SCOPE);
1726 createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN);
1727 createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATHER);
1728 createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATER_OR_EQUAL);
1729 createEReference(typeScopeEClass, TYPE_SCOPE__TYPE);
1730 createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS);
1731 createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS_OR_EQUAL);
1732 createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX);
1733
1734 typeReferenceEClass = createEClass(TYPE_REFERENCE);
1735
1736 classReferenceEClass = createEClass(CLASS_REFERENCE);
1737 createEReference(classReferenceEClass, CLASS_REFERENCE__ELEMENT);
1738
1739 objectReferenceEClass = createEClass(OBJECT_REFERENCE);
1740
1741 integerReferenceEClass = createEClass(INTEGER_REFERENCE);
1742
1743 realReferenceEClass = createEClass(REAL_REFERENCE);
1744
1745 stringReferenceEClass = createEClass(STRING_REFERENCE);
1746
1747 scopeDeclarationEClass = createEClass(SCOPE_DECLARATION);
1748 createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION);
1749
1750 scopeReferenceEClass = createEClass(SCOPE_REFERENCE);
1751 createEReference(scopeReferenceEClass, SCOPE_REFERENCE__REFERRED);
1752
1753 scopeEClass = createEClass(SCOPE);
1754
1755 taskEClass = createEClass(TASK);
1756
1757 generationTaskEClass = createEClass(GENERATION_TASK);
1758 createEReference(generationTaskEClass, GENERATION_TASK__METAMODEL);
1759 createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL);
1760 createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS);
1761 createEReference(generationTaskEClass, GENERATION_TASK__SCOPE);
1762 createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER);
1763 createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS);
1764 createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER);
1765 createEReference(generationTaskEClass, GENERATION_TASK__CONFIG);
1766 createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER);
1767 createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER);
1768 createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE);
1769 createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE);
1770
1771 integerScopeEClass = createEClass(INTEGER_SCOPE);
1772
1773 realScopeEClass = createEClass(REAL_SCOPE);
1774
1775 stringScopeEClass = createEClass(STRING_SCOPE);
1776
1777 // Create enums
1778 solverEEnum = createEEnum(SOLVER);
515 } 1779 }
516 1780
517 /** 1781 /**
@@ -547,14 +1811,43 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
547 // Set bounds for type parameters 1811 // Set bounds for type parameters
548 1812
549 // Add supertypes to classes 1813 // Add supertypes to classes
550 declarationEClass.getESuperTypes().add(this.getCommand());
551 ePackageImportEClass.getESuperTypes().add(this.getImport()); 1814 ePackageImportEClass.getESuperTypes().add(this.getImport());
552 viatraImportEClass.getESuperTypes().add(this.getImport()); 1815 viatraImportEClass.getESuperTypes().add(this.getImport());
1816 declarationEClass.getESuperTypes().add(this.getCommand());
1817 fileSpecificationEClass.getESuperTypes().add(this.getFile());
1818 fileDeclarationEClass.getESuperTypes().add(this.getDeclaration());
1819 fileReferenceEClass.getESuperTypes().add(this.getFile());
553 metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel()); 1820 metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel());
554 allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry()); 1821 allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry());
555 metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry()); 1822 metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry());
556 metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); 1823 metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration());
557 metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel()); 1824 metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel());
1825 partialModelSpecificationEClass.getESuperTypes().add(this.getPartialModel());
1826 modelEntryEClass.getESuperTypes().add(this.getPartialModelEntry());
1827 folderEntryEClass.getESuperTypes().add(this.getPartialModelEntry());
1828 partialModelDeclarationEClass.getESuperTypes().add(this.getDeclaration());
1829 partialModelReferenceEClass.getESuperTypes().add(this.getPartialModel());
1830 patternSpecificationEClass.getESuperTypes().add(this.getGraphPattern());
1831 allPatternEntryEClass.getESuperTypes().add(this.getPatternEntry());
1832 patternElementEClass.getESuperTypes().add(this.getPatternEntry());
1833 graphPatternDeclarationEClass.getESuperTypes().add(this.getDeclaration());
1834 graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern());
1835 configSpecificationEClass.getESuperTypes().add(this.getConfig());
1836 configDeclarationEClass.getESuperTypes().add(this.getDeclaration());
1837 configReferenceEClass.getESuperTypes().add(this.getConfig());
1838 scopeSpecificationEClass.getESuperTypes().add(this.getScope());
1839 classReferenceEClass.getESuperTypes().add(this.getTypeReference());
1840 objectReferenceEClass.getESuperTypes().add(this.getTypeReference());
1841 integerReferenceEClass.getESuperTypes().add(this.getTypeReference());
1842 realReferenceEClass.getESuperTypes().add(this.getTypeReference());
1843 stringReferenceEClass.getESuperTypes().add(this.getTypeReference());
1844 scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration());
1845 scopeReferenceEClass.getESuperTypes().add(this.getScope());
1846 taskEClass.getESuperTypes().add(this.getCommand());
1847 generationTaskEClass.getESuperTypes().add(this.getTask());
1848 integerScopeEClass.getESuperTypes().add(this.getIntegerReference());
1849 realScopeEClass.getESuperTypes().add(this.getRealReference());
1850 stringScopeEClass.getESuperTypes().add(this.getStringReference());
558 1851
559 // Initialize classes and features; add operations and parameters 1852 // Initialize classes and features; add operations and parameters
560 initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1853 initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -563,8 +1856,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
563 1856
564 initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1857 initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
565 1858
566 initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
567
568 initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1859 initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
569 1860
570 initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1861 initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -573,6 +1864,20 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
573 initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1864 initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
574 initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1865 initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
575 1866
1867 initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1868 initEAttribute(getDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1869
1870 initEClass(fileSpecificationEClass, FileSpecification.class, "FileSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1871 initEAttribute(getFileSpecification_Path(), theEcorePackage.getEString(), "path", null, 0, 1, FileSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1872
1873 initEClass(fileDeclarationEClass, FileDeclaration.class, "FileDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1874 initEReference(getFileDeclaration_Specification(), this.getFileSpecification(), null, "specification", null, 0, 1, FileDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1875
1876 initEClass(fileReferenceEClass, FileReference.class, "FileReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1877 initEReference(getFileReference_Referred(), this.getFileDeclaration(), null, "referred", null, 0, 1, FileReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1878
1879 initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1880
576 initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1881 initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
577 initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1882 initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
578 1883
@@ -587,7 +1892,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
587 initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1892 initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
588 1893
589 initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1894 initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
590 initEAttribute(getMetamodelDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
591 initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 1895 initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
592 1896
593 initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1897 initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -595,6 +1899,121 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
595 1899
596 initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 1900 initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
597 1901
1902 initEClass(partialModelSpecificationEClass, PartialModelSpecification.class, "PartialModelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1903 initEReference(getPartialModelSpecification_Entry(), this.getPartialModelEntry(), null, "entry", null, 0, -1, PartialModelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1904
1905 initEClass(partialModelEntryEClass, PartialModelEntry.class, "PartialModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1906 initEReference(getPartialModelEntry_Path(), this.getFile(), null, "path", null, 0, 1, PartialModelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1907
1908 initEClass(modelEntryEClass, ModelEntry.class, "ModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1909
1910 initEClass(folderEntryEClass, FolderEntry.class, "FolderEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1911 initEReference(getFolderEntry_Exclusion(), this.getModelEntry(), null, "exclusion", null, 0, -1, FolderEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1912
1913 initEClass(partialModelDeclarationEClass, PartialModelDeclaration.class, "PartialModelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1914 initEReference(getPartialModelDeclaration_Specification(), this.getPartialModelSpecification(), null, "specification", null, 0, 1, PartialModelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1915
1916 initEClass(partialModelReferenceEClass, PartialModelReference.class, "PartialModelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1917 initEReference(getPartialModelReference_Referred(), this.getPartialModelDeclaration(), null, "referred", null, 0, 1, PartialModelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1918
1919 initEClass(partialModelEClass, PartialModel.class, "PartialModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1920
1921 initEClass(patternSpecificationEClass, PatternSpecification.class, "PatternSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1922 initEReference(getPatternSpecification_Entries(), this.getPatternEntry(), null, "entries", null, 0, -1, PatternSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1923
1924 initEClass(patternEntryEClass, PatternEntry.class, "PatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1925 initEReference(getPatternEntry_Package(), thePatternLanguagePackage.getPatternModel(), null, "package", null, 0, 1, PatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1926
1927 initEClass(allPatternEntryEClass, AllPatternEntry.class, "AllPatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1928 initEReference(getAllPatternEntry_Exclusuion(), this.getPatternElement(), null, "exclusuion", null, 0, -1, AllPatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1929
1930 initEClass(patternElementEClass, PatternElement.class, "PatternElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1931 initEReference(getPatternElement_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, PatternElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1932
1933 initEClass(graphPatternDeclarationEClass, GraphPatternDeclaration.class, "GraphPatternDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1934 initEReference(getGraphPatternDeclaration_Specification(), this.getPatternSpecification(), null, "specification", null, 0, 1, GraphPatternDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1935
1936 initEClass(graphPatternReferenceEClass, GraphPatternReference.class, "GraphPatternReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1937 initEReference(getGraphPatternReference_Referred(), this.getGraphPatternDeclaration(), null, "referred", null, 0, 1, GraphPatternReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1938
1939 initEClass(graphPatternEClass, GraphPattern.class, "GraphPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1940
1941 initEClass(configSpecificationEClass, ConfigSpecification.class, "ConfigSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1942 initEReference(getConfigSpecification_Entries(), this.getConfigEntry(), null, "entries", null, 0, -1, ConfigSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1943
1944 initEClass(configDeclarationEClass, ConfigDeclaration.class, "ConfigDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1945 initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1946
1947 initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1948 initEAttribute(getConfigEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1949 initEAttribute(getConfigEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1950
1951 initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1952 initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1953
1954 initEClass(configEClass, Config.class, "Config", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1955
1956 initEClass(scopeSpecificationEClass, ScopeSpecification.class, "ScopeSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1957 initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1958
1959 initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1960 initEAttribute(getTypeScope_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1961 initEAttribute(getTypeScope_Greather(), theEcorePackage.getEBoolean(), "greather", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1962 initEAttribute(getTypeScope_GreaterOrEqual(), theEcorePackage.getEBoolean(), "greaterOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1963 initEReference(getTypeScope_Type(), this.getTypeReference(), null, "type", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1964 initEAttribute(getTypeScope_Less(), theEcorePackage.getEBoolean(), "less", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1965 initEAttribute(getTypeScope_LessOrEqual(), theEcorePackage.getEBoolean(), "lessOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1966 initEAttribute(getTypeScope_Max(), theEcorePackage.getEInt(), "max", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1967
1968 initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1969
1970 initEClass(classReferenceEClass, ClassReference.class, "ClassReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1971 initEReference(getClassReference_Element(), this.getMetamodelElement(), null, "element", null, 0, 1, ClassReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1972
1973 initEClass(objectReferenceEClass, ObjectReference.class, "ObjectReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1974
1975 initEClass(integerReferenceEClass, IntegerReference.class, "IntegerReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1976
1977 initEClass(realReferenceEClass, RealReference.class, "RealReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1978
1979 initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1980
1981 initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1982 initEReference(getScopeDeclaration_Specification(), this.getScopeSpecification(), null, "specification", null, 0, 1, ScopeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1983
1984 initEClass(scopeReferenceEClass, ScopeReference.class, "ScopeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1985 initEReference(getScopeReference_Referred(), this.getScopeDeclaration(), null, "referred", null, 0, 1, ScopeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1986
1987 initEClass(scopeEClass, Scope.class, "Scope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1988
1989 initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1990
1991 initEClass(generationTaskEClass, GenerationTask.class, "GenerationTask", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1992 initEReference(getGenerationTask_Metamodel(), this.getMetamodel(), null, "metamodel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1993 initEReference(getGenerationTask_PartialModel(), this.getPartialModel(), null, "partialModel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1994 initEReference(getGenerationTask_Patterns(), this.getGraphPattern(), null, "patterns", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1995 initEReference(getGenerationTask_Scope(), this.getScope(), null, "scope", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1996 initEAttribute(getGenerationTask_Number(), theEcorePackage.getEInt(), "number", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1997 initEAttribute(getGenerationTask_Runs(), theEcorePackage.getEInt(), "runs", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1998 initEAttribute(getGenerationTask_Solver(), this.getSolver(), "solver", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1999 initEReference(getGenerationTask_Config(), this.getConfig(), null, "config", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2000 initEReference(getGenerationTask_TagetFolder(), this.getFile(), null, "tagetFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2001 initEReference(getGenerationTask_DebugFolder(), this.getFile(), null, "debugFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2002 initEReference(getGenerationTask_TargetLogFile(), this.getFile(), null, "targetLogFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2003 initEReference(getGenerationTask_TargetStatisticsFile(), this.getFile(), null, "targetStatisticsFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2004
2005 initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2006
2007 initEClass(realScopeEClass, RealScope.class, "RealScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2008
2009 initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2010
2011 // Initialize enums and add enum literals
2012 initEEnum(solverEEnum, Solver.class, "Solver");
2013 addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER);
2014 addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER);
2015 addEEnumLiteral(solverEEnum, Solver.VIATRA_SOLVER);
2016
598 // Create resource 2017 // Create resource
599 createResource(eNS_URI); 2018 createResource(eNS_URI);
600 } 2019 }
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java
index a2124cde..8057f523 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java
@@ -6,18 +6,48 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration;
8 8
9import org.eclipse.emf.common.notify.Notification;
10
9import org.eclipse.emf.ecore.EClass; 11import org.eclipse.emf.ecore.EClass;
10 12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
11/** 15/**
12 * <!-- begin-user-doc --> 16 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Declaration</b></em>'. 17 * An implementation of the model object '<em><b>Declaration</b></em>'.
14 * <!-- end-user-doc --> 18 * <!-- end-user-doc -->
19 * <p>
20 * The following features are implemented:
21 * </p>
22 * <ul>
23 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl#getName <em>Name</em>}</li>
24 * </ul>
15 * 25 *
16 * @generated 26 * @generated
17 */ 27 */
18public class DeclarationImpl extends CommandImpl implements Declaration 28public class DeclarationImpl extends CommandImpl implements Declaration
19{ 29{
20 /** 30 /**
31 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @see #getName()
35 * @generated
36 * @ordered
37 */
38 protected static final String NAME_EDEFAULT = null;
39
40 /**
41 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getName()
45 * @generated
46 * @ordered
47 */
48 protected String name = NAME_EDEFAULT;
49
50 /**
21 * <!-- begin-user-doc --> 51 * <!-- begin-user-doc -->
22 * <!-- end-user-doc --> 52 * <!-- end-user-doc -->
23 * @generated 53 * @generated
@@ -38,4 +68,110 @@ public class DeclarationImpl extends CommandImpl implements Declaration
38 return ApplicationConfigurationPackage.Literals.DECLARATION; 68 return ApplicationConfigurationPackage.Literals.DECLARATION;
39 } 69 }
40 70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 public String getName()
77 {
78 return name;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 public void setName(String newName)
87 {
88 String oldName = name;
89 name = newName;
90 if (eNotificationRequired())
91 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name));
92 }
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 @Override
100 public Object eGet(int featureID, boolean resolve, boolean coreType)
101 {
102 switch (featureID)
103 {
104 case ApplicationConfigurationPackage.DECLARATION__NAME:
105 return getName();
106 }
107 return super.eGet(featureID, resolve, coreType);
108 }
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 @Override
116 public void eSet(int featureID, Object newValue)
117 {
118 switch (featureID)
119 {
120 case ApplicationConfigurationPackage.DECLARATION__NAME:
121 setName((String)newValue);
122 return;
123 }
124 super.eSet(featureID, newValue);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public void eUnset(int featureID)
134 {
135 switch (featureID)
136 {
137 case ApplicationConfigurationPackage.DECLARATION__NAME:
138 setName(NAME_EDEFAULT);
139 return;
140 }
141 super.eUnset(featureID);
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public boolean eIsSet(int featureID)
151 {
152 switch (featureID)
153 {
154 case ApplicationConfigurationPackage.DECLARATION__NAME:
155 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
156 }
157 return super.eIsSet(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public String toString()
167 {
168 if (eIsProxy()) return super.toString();
169
170 StringBuffer result = new StringBuffer(super.toString());
171 result.append(" (name: ");
172 result.append(name);
173 result.append(')');
174 return result.toString();
175 }
176
41} //DeclarationImpl 177} //DeclarationImpl
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java
index 3458c16a..b689d2e0 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java
@@ -23,7 +23,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
23 * The following features are implemented: 23 * The following features are implemented:
24 * </p> 24 * </p>
25 * <ul> 25 * <ul>
26 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getName <em>Name</em>}</li>
27 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification <em>Specification</em>}</li> 26 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification <em>Specification</em>}</li>
28 * </ul> 27 * </ul>
29 * 28 *
@@ -32,26 +31,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
32public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration 31public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration
33{ 32{
34 /** 33 /**
35 * The default value of the '{@link #getName() <em>Name</em>}' attribute.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @see #getName()
39 * @generated
40 * @ordered
41 */
42 protected static final String NAME_EDEFAULT = null;
43
44 /**
45 * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @see #getName()
49 * @generated
50 * @ordered
51 */
52 protected String name = NAME_EDEFAULT;
53
54 /**
55 * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference. 34 * The cached value of the '{@link #getSpecification() <em>Specification</em>}' containment reference.
56 * <!-- begin-user-doc --> 35 * <!-- begin-user-doc -->
57 * <!-- end-user-doc --> 36 * <!-- end-user-doc -->
@@ -87,29 +66,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod
87 * <!-- end-user-doc --> 66 * <!-- end-user-doc -->
88 * @generated 67 * @generated
89 */ 68 */
90 public String getName()
91 {
92 return name;
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 public void setName(String newName)
101 {
102 String oldName = name;
103 name = newName;
104 if (eNotificationRequired())
105 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME, oldName, name));
106 }
107
108 /**
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @generated
112 */
113 public MetamodelSpecification getSpecification() 69 public MetamodelSpecification getSpecification()
114 { 70 {
115 return specification; 71 return specification;
@@ -179,8 +135,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod
179 { 135 {
180 switch (featureID) 136 switch (featureID)
181 { 137 {
182 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME:
183 return getName();
184 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: 138 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION:
185 return getSpecification(); 139 return getSpecification();
186 } 140 }
@@ -197,9 +151,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod
197 { 151 {
198 switch (featureID) 152 switch (featureID)
199 { 153 {
200 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME:
201 setName((String)newValue);
202 return;
203 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: 154 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION:
204 setSpecification((MetamodelSpecification)newValue); 155 setSpecification((MetamodelSpecification)newValue);
205 return; 156 return;
@@ -217,9 +168,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod
217 { 168 {
218 switch (featureID) 169 switch (featureID)
219 { 170 {
220 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME:
221 setName(NAME_EDEFAULT);
222 return;
223 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: 171 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION:
224 setSpecification((MetamodelSpecification)null); 172 setSpecification((MetamodelSpecification)null);
225 return; 173 return;
@@ -237,29 +185,10 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod
237 { 185 {
238 switch (featureID) 186 switch (featureID)
239 { 187 {
240 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME:
241 return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
242 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: 188 case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION:
243 return specification != null; 189 return specification != null;
244 } 190 }
245 return super.eIsSet(featureID); 191 return super.eIsSet(featureID);
246 } 192 }
247 193
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 @Override
254 public String toString()
255 {
256 if (eIsProxy()) return super.toString();
257
258 StringBuffer result = new StringBuffer(super.toString());
259 result.append(" (name: ");
260 result.append(name);
261 result.append(')');
262 return result.toString();
263 }
264
265} //MetamodelDeclarationImpl 194} //MetamodelDeclarationImpl