diff options
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | 545 |
1 files changed, 535 insertions, 10 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; | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | import org.eclipse.emf.ecore.EDataType; | ||
9 | import org.eclipse.emf.ecore.EObject; | 10 | import org.eclipse.emf.ecore.EObject; |
10 | import org.eclipse.emf.ecore.EPackage; | 11 | import 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(); |