diff options
author | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-02-15 22:55:47 +0100 |
---|---|---|
committer | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-02-15 22:55:47 +0100 |
commit | 0be8ac9989d7af31c7e3b9f923fbbd7ed9f540ea (patch) | |
tree | 711125f4701dc14d6201ed782ca9de0b79616938 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl | |
parent | Eclass trace notation changed from "[X]" to "<X>". (diff) | |
download | VIATRA-Generator-0be8ac9989d7af31c7e3b9f923fbbd7ed9f540ea.tar.gz VIATRA-Generator-0be8ac9989d7af31c7e3b9f923fbbd7ed9f540ea.tar.zst VIATRA-Generator-0be8ac9989d7af31c7e3b9f923fbbd7ed9f540ea.zip |
First complete scope grammar
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl')
15 files changed, 2802 insertions, 309 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 465297bb..8ecf838a 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 | |||
@@ -104,12 +104,23 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
104 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); | 104 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); |
105 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); | 105 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); |
106 | case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); | 106 | case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); |
107 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: return createClassTypeScope(); | ||
108 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: return createObjectTypeScope(); | ||
109 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: return createIntegerTypeScope(); | ||
110 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: return createRealTypeScope(); | ||
111 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: return createStringTypeScope(); | ||
107 | case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); | 112 | case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); |
108 | case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); | 113 | case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); |
109 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); | 114 | case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); |
110 | case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); | 115 | case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); |
111 | case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); | 116 | case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); |
112 | case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); | 117 | case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); |
118 | case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: return createNumberSpecification(); | ||
119 | case ApplicationConfigurationPackage.EXACT_NUMBER: return createExactNumber(); | ||
120 | case ApplicationConfigurationPackage.INTERVALL_NUMBER: return createIntervallNumber(); | ||
121 | case ApplicationConfigurationPackage.INT_ENUMBERATION: return createIntEnumberation(); | ||
122 | case ApplicationConfigurationPackage.REAL_ENUMERATION: return createRealEnumeration(); | ||
123 | case ApplicationConfigurationPackage.STRING_ENUMERATION: return createStringEnumeration(); | ||
113 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); | 124 | case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); |
114 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); | 125 | case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); |
115 | case ApplicationConfigurationPackage.SCOPE: return createScope(); | 126 | case ApplicationConfigurationPackage.SCOPE: return createScope(); |
@@ -580,6 +591,61 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
580 | * <!-- end-user-doc --> | 591 | * <!-- end-user-doc --> |
581 | * @generated | 592 | * @generated |
582 | */ | 593 | */ |
594 | public ClassTypeScope createClassTypeScope() | ||
595 | { | ||
596 | ClassTypeScopeImpl classTypeScope = new ClassTypeScopeImpl(); | ||
597 | return classTypeScope; | ||
598 | } | ||
599 | |||
600 | /** | ||
601 | * <!-- begin-user-doc --> | ||
602 | * <!-- end-user-doc --> | ||
603 | * @generated | ||
604 | */ | ||
605 | public ObjectTypeScope createObjectTypeScope() | ||
606 | { | ||
607 | ObjectTypeScopeImpl objectTypeScope = new ObjectTypeScopeImpl(); | ||
608 | return objectTypeScope; | ||
609 | } | ||
610 | |||
611 | /** | ||
612 | * <!-- begin-user-doc --> | ||
613 | * <!-- end-user-doc --> | ||
614 | * @generated | ||
615 | */ | ||
616 | public IntegerTypeScope createIntegerTypeScope() | ||
617 | { | ||
618 | IntegerTypeScopeImpl integerTypeScope = new IntegerTypeScopeImpl(); | ||
619 | return integerTypeScope; | ||
620 | } | ||
621 | |||
622 | /** | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | */ | ||
627 | public RealTypeScope createRealTypeScope() | ||
628 | { | ||
629 | RealTypeScopeImpl realTypeScope = new RealTypeScopeImpl(); | ||
630 | return realTypeScope; | ||
631 | } | ||
632 | |||
633 | /** | ||
634 | * <!-- begin-user-doc --> | ||
635 | * <!-- end-user-doc --> | ||
636 | * @generated | ||
637 | */ | ||
638 | public StringTypeScope createStringTypeScope() | ||
639 | { | ||
640 | StringTypeScopeImpl stringTypeScope = new StringTypeScopeImpl(); | ||
641 | return stringTypeScope; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * <!-- begin-user-doc --> | ||
646 | * <!-- end-user-doc --> | ||
647 | * @generated | ||
648 | */ | ||
583 | public TypeReference createTypeReference() | 649 | public TypeReference createTypeReference() |
584 | { | 650 | { |
585 | TypeReferenceImpl typeReference = new TypeReferenceImpl(); | 651 | TypeReferenceImpl typeReference = new TypeReferenceImpl(); |
@@ -646,6 +712,72 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
646 | * <!-- end-user-doc --> | 712 | * <!-- end-user-doc --> |
647 | * @generated | 713 | * @generated |
648 | */ | 714 | */ |
715 | public NumberSpecification createNumberSpecification() | ||
716 | { | ||
717 | NumberSpecificationImpl numberSpecification = new NumberSpecificationImpl(); | ||
718 | return numberSpecification; | ||
719 | } | ||
720 | |||
721 | /** | ||
722 | * <!-- begin-user-doc --> | ||
723 | * <!-- end-user-doc --> | ||
724 | * @generated | ||
725 | */ | ||
726 | public ExactNumber createExactNumber() | ||
727 | { | ||
728 | ExactNumberImpl exactNumber = new ExactNumberImpl(); | ||
729 | return exactNumber; | ||
730 | } | ||
731 | |||
732 | /** | ||
733 | * <!-- begin-user-doc --> | ||
734 | * <!-- end-user-doc --> | ||
735 | * @generated | ||
736 | */ | ||
737 | public IntervallNumber createIntervallNumber() | ||
738 | { | ||
739 | IntervallNumberImpl intervallNumber = new IntervallNumberImpl(); | ||
740 | return intervallNumber; | ||
741 | } | ||
742 | |||
743 | /** | ||
744 | * <!-- begin-user-doc --> | ||
745 | * <!-- end-user-doc --> | ||
746 | * @generated | ||
747 | */ | ||
748 | public IntEnumberation createIntEnumberation() | ||
749 | { | ||
750 | IntEnumberationImpl intEnumberation = new IntEnumberationImpl(); | ||
751 | return intEnumberation; | ||
752 | } | ||
753 | |||
754 | /** | ||
755 | * <!-- begin-user-doc --> | ||
756 | * <!-- end-user-doc --> | ||
757 | * @generated | ||
758 | */ | ||
759 | public RealEnumeration createRealEnumeration() | ||
760 | { | ||
761 | RealEnumerationImpl realEnumeration = new RealEnumerationImpl(); | ||
762 | return realEnumeration; | ||
763 | } | ||
764 | |||
765 | /** | ||
766 | * <!-- begin-user-doc --> | ||
767 | * <!-- end-user-doc --> | ||
768 | * @generated | ||
769 | */ | ||
770 | public StringEnumeration createStringEnumeration() | ||
771 | { | ||
772 | StringEnumerationImpl stringEnumeration = new StringEnumerationImpl(); | ||
773 | return stringEnumeration; | ||
774 | } | ||
775 | |||
776 | /** | ||
777 | * <!-- begin-user-doc --> | ||
778 | * <!-- end-user-doc --> | ||
779 | * @generated | ||
780 | */ | ||
649 | public ScopeDeclaration createScopeDeclaration() | 781 | public ScopeDeclaration createScopeDeclaration() |
650 | { | 782 | { |
651 | ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); | 783 | ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); |
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 ece5be15..dd103901 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 | |||
@@ -8,6 +8,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatter | |||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; |
9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 9 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; | 10 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; |
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; | ||
11 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; | 12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; |
12 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; | 13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; |
13 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; | 14 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; |
@@ -17,6 +18,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpe | |||
17 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; | 18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; |
18 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; | 19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; |
19 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; | 20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; |
21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; | ||
20 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; | 22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; |
21 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; | 23 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; |
22 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; | 24 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; |
@@ -27,8 +29,11 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatt | |||
27 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; | 29 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; |
28 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; | 30 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; |
29 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; | 31 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; |
32 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; | ||
30 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; | 33 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; |
31 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; | 34 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; |
35 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; | ||
36 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; | ||
32 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; | 37 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; |
33 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; | 38 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; |
34 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; | 39 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; |
@@ -36,7 +41,9 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel | |||
36 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; | 41 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; |
37 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; | 42 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; |
38 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; | 43 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; |
44 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; | ||
39 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; | 45 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; |
46 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; | ||
40 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; | 47 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; |
41 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; | 48 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; |
42 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; | 49 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; |
@@ -45,15 +52,19 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialMo | |||
45 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; | 52 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; |
46 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; | 53 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; |
47 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; | 54 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; |
55 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; | ||
48 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; | 56 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; |
49 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; | 57 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; |
58 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; | ||
50 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; | 59 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; |
51 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; | 60 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; |
52 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; | 61 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; |
53 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; | 62 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; |
54 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; | 63 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; |
64 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; | ||
55 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; | 65 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; |
56 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; | 66 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; |
67 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; | ||
57 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; | 68 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; |
58 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; | 69 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; |
59 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; | 70 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; |
@@ -349,6 +360,41 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
349 | * <!-- end-user-doc --> | 360 | * <!-- end-user-doc --> |
350 | * @generated | 361 | * @generated |
351 | */ | 362 | */ |
363 | private EClass classTypeScopeEClass = null; | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | private EClass objectTypeScopeEClass = null; | ||
371 | |||
372 | /** | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | */ | ||
377 | private EClass integerTypeScopeEClass = null; | ||
378 | |||
379 | /** | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | */ | ||
384 | private EClass realTypeScopeEClass = null; | ||
385 | |||
386 | /** | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @generated | ||
390 | */ | ||
391 | private EClass stringTypeScopeEClass = null; | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
352 | private EClass typeReferenceEClass = null; | 398 | private EClass typeReferenceEClass = null; |
353 | 399 | ||
354 | /** | 400 | /** |
@@ -391,6 +437,48 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
391 | * <!-- end-user-doc --> | 437 | * <!-- end-user-doc --> |
392 | * @generated | 438 | * @generated |
393 | */ | 439 | */ |
440 | private EClass numberSpecificationEClass = null; | ||
441 | |||
442 | /** | ||
443 | * <!-- begin-user-doc --> | ||
444 | * <!-- end-user-doc --> | ||
445 | * @generated | ||
446 | */ | ||
447 | private EClass exactNumberEClass = null; | ||
448 | |||
449 | /** | ||
450 | * <!-- begin-user-doc --> | ||
451 | * <!-- end-user-doc --> | ||
452 | * @generated | ||
453 | */ | ||
454 | private EClass intervallNumberEClass = null; | ||
455 | |||
456 | /** | ||
457 | * <!-- begin-user-doc --> | ||
458 | * <!-- end-user-doc --> | ||
459 | * @generated | ||
460 | */ | ||
461 | private EClass intEnumberationEClass = null; | ||
462 | |||
463 | /** | ||
464 | * <!-- begin-user-doc --> | ||
465 | * <!-- end-user-doc --> | ||
466 | * @generated | ||
467 | */ | ||
468 | private EClass realEnumerationEClass = null; | ||
469 | |||
470 | /** | ||
471 | * <!-- begin-user-doc --> | ||
472 | * <!-- end-user-doc --> | ||
473 | * @generated | ||
474 | */ | ||
475 | private EClass stringEnumerationEClass = null; | ||
476 | |||
477 | /** | ||
478 | * <!-- begin-user-doc --> | ||
479 | * <!-- end-user-doc --> | ||
480 | * @generated | ||
481 | */ | ||
394 | private EClass scopeDeclarationEClass = null; | 482 | private EClass scopeDeclarationEClass = null; |
395 | 483 | ||
396 | /** | 484 | /** |
@@ -1221,9 +1309,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1221 | * <!-- end-user-doc --> | 1309 | * <!-- end-user-doc --> |
1222 | * @generated | 1310 | * @generated |
1223 | */ | 1311 | */ |
1224 | public EReference getTypeScope_Type() | 1312 | public EAttribute getTypeScope_SetsNew() |
1225 | { | 1313 | { |
1226 | return (EReference)typeScopeEClass.getEStructuralFeatures().get(0); | 1314 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); |
1227 | } | 1315 | } |
1228 | 1316 | ||
1229 | /** | 1317 | /** |
@@ -1231,7 +1319,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1231 | * <!-- end-user-doc --> | 1319 | * <!-- end-user-doc --> |
1232 | * @generated | 1320 | * @generated |
1233 | */ | 1321 | */ |
1234 | public EAttribute getTypeScope_SetsNew() | 1322 | public EAttribute getTypeScope_SetsSum() |
1235 | { | 1323 | { |
1236 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); | 1324 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); |
1237 | } | 1325 | } |
@@ -1241,9 +1329,69 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1241 | * <!-- end-user-doc --> | 1329 | * <!-- end-user-doc --> |
1242 | * @generated | 1330 | * @generated |
1243 | */ | 1331 | */ |
1244 | public EAttribute getTypeScope_SetsSum() | 1332 | public EReference getTypeScope_Number() |
1333 | { | ||
1334 | return (EReference)typeScopeEClass.getEStructuralFeatures().get(2); | ||
1335 | } | ||
1336 | |||
1337 | /** | ||
1338 | * <!-- begin-user-doc --> | ||
1339 | * <!-- end-user-doc --> | ||
1340 | * @generated | ||
1341 | */ | ||
1342 | public EClass getClassTypeScope() | ||
1343 | { | ||
1344 | return classTypeScopeEClass; | ||
1345 | } | ||
1346 | |||
1347 | /** | ||
1348 | * <!-- begin-user-doc --> | ||
1349 | * <!-- end-user-doc --> | ||
1350 | * @generated | ||
1351 | */ | ||
1352 | public EReference getClassTypeScope_Type() | ||
1353 | { | ||
1354 | return (EReference)classTypeScopeEClass.getEStructuralFeatures().get(0); | ||
1355 | } | ||
1356 | |||
1357 | /** | ||
1358 | * <!-- begin-user-doc --> | ||
1359 | * <!-- end-user-doc --> | ||
1360 | * @generated | ||
1361 | */ | ||
1362 | public EClass getObjectTypeScope() | ||
1363 | { | ||
1364 | return objectTypeScopeEClass; | ||
1365 | } | ||
1366 | |||
1367 | /** | ||
1368 | * <!-- begin-user-doc --> | ||
1369 | * <!-- end-user-doc --> | ||
1370 | * @generated | ||
1371 | */ | ||
1372 | public EReference getObjectTypeScope_Type() | ||
1373 | { | ||
1374 | return (EReference)objectTypeScopeEClass.getEStructuralFeatures().get(0); | ||
1375 | } | ||
1376 | |||
1377 | /** | ||
1378 | * <!-- begin-user-doc --> | ||
1379 | * <!-- end-user-doc --> | ||
1380 | * @generated | ||
1381 | */ | ||
1382 | public EClass getIntegerTypeScope() | ||
1383 | { | ||
1384 | return integerTypeScopeEClass; | ||
1385 | } | ||
1386 | |||
1387 | /** | ||
1388 | * <!-- begin-user-doc --> | ||
1389 | * <!-- end-user-doc --> | ||
1390 | * @generated | ||
1391 | */ | ||
1392 | public EReference getIntegerTypeScope_Type() | ||
1245 | { | 1393 | { |
1246 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2); | 1394 | return (EReference)integerTypeScopeEClass.getEStructuralFeatures().get(0); |
1247 | } | 1395 | } |
1248 | 1396 | ||
1249 | /** | 1397 | /** |
@@ -1251,9 +1399,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1251 | * <!-- end-user-doc --> | 1399 | * <!-- end-user-doc --> |
1252 | * @generated | 1400 | * @generated |
1253 | */ | 1401 | */ |
1254 | public EAttribute getTypeScope_Min() | 1402 | public EClass getRealTypeScope() |
1255 | { | 1403 | { |
1256 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(3); | 1404 | return realTypeScopeEClass; |
1257 | } | 1405 | } |
1258 | 1406 | ||
1259 | /** | 1407 | /** |
@@ -1261,9 +1409,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1261 | * <!-- end-user-doc --> | 1409 | * <!-- end-user-doc --> |
1262 | * @generated | 1410 | * @generated |
1263 | */ | 1411 | */ |
1264 | public EAttribute getTypeScope_MaxUnlimited() | 1412 | public EReference getRealTypeScope_Type() |
1265 | { | 1413 | { |
1266 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4); | 1414 | return (EReference)realTypeScopeEClass.getEStructuralFeatures().get(0); |
1267 | } | 1415 | } |
1268 | 1416 | ||
1269 | /** | 1417 | /** |
@@ -1271,9 +1419,19 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1271 | * <!-- end-user-doc --> | 1419 | * <!-- end-user-doc --> |
1272 | * @generated | 1420 | * @generated |
1273 | */ | 1421 | */ |
1274 | public EAttribute getTypeScope_Max() | 1422 | public EClass getStringTypeScope() |
1275 | { | 1423 | { |
1276 | return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); | 1424 | return stringTypeScopeEClass; |
1425 | } | ||
1426 | |||
1427 | /** | ||
1428 | * <!-- begin-user-doc --> | ||
1429 | * <!-- end-user-doc --> | ||
1430 | * @generated | ||
1431 | */ | ||
1432 | public EReference getStringTypeScope_Type() | ||
1433 | { | ||
1434 | return (EReference)stringTypeScopeEClass.getEStructuralFeatures().get(0); | ||
1277 | } | 1435 | } |
1278 | 1436 | ||
1279 | /** | 1437 | /** |
@@ -1351,6 +1509,146 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1351 | * <!-- end-user-doc --> | 1509 | * <!-- end-user-doc --> |
1352 | * @generated | 1510 | * @generated |
1353 | */ | 1511 | */ |
1512 | public EClass getNumberSpecification() | ||
1513 | { | ||
1514 | return numberSpecificationEClass; | ||
1515 | } | ||
1516 | |||
1517 | /** | ||
1518 | * <!-- begin-user-doc --> | ||
1519 | * <!-- end-user-doc --> | ||
1520 | * @generated | ||
1521 | */ | ||
1522 | public EClass getExactNumber() | ||
1523 | { | ||
1524 | return exactNumberEClass; | ||
1525 | } | ||
1526 | |||
1527 | /** | ||
1528 | * <!-- begin-user-doc --> | ||
1529 | * <!-- end-user-doc --> | ||
1530 | * @generated | ||
1531 | */ | ||
1532 | public EAttribute getExactNumber_ExactNumber() | ||
1533 | { | ||
1534 | return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(0); | ||
1535 | } | ||
1536 | |||
1537 | /** | ||
1538 | * <!-- begin-user-doc --> | ||
1539 | * <!-- end-user-doc --> | ||
1540 | * @generated | ||
1541 | */ | ||
1542 | public EAttribute getExactNumber_ExactUnlimited() | ||
1543 | { | ||
1544 | return (EAttribute)exactNumberEClass.getEStructuralFeatures().get(1); | ||
1545 | } | ||
1546 | |||
1547 | /** | ||
1548 | * <!-- begin-user-doc --> | ||
1549 | * <!-- end-user-doc --> | ||
1550 | * @generated | ||
1551 | */ | ||
1552 | public EClass getIntervallNumber() | ||
1553 | { | ||
1554 | return intervallNumberEClass; | ||
1555 | } | ||
1556 | |||
1557 | /** | ||
1558 | * <!-- begin-user-doc --> | ||
1559 | * <!-- end-user-doc --> | ||
1560 | * @generated | ||
1561 | */ | ||
1562 | public EAttribute getIntervallNumber_Min() | ||
1563 | { | ||
1564 | return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(0); | ||
1565 | } | ||
1566 | |||
1567 | /** | ||
1568 | * <!-- begin-user-doc --> | ||
1569 | * <!-- end-user-doc --> | ||
1570 | * @generated | ||
1571 | */ | ||
1572 | public EAttribute getIntervallNumber_MaxNumber() | ||
1573 | { | ||
1574 | return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(1); | ||
1575 | } | ||
1576 | |||
1577 | /** | ||
1578 | * <!-- begin-user-doc --> | ||
1579 | * <!-- end-user-doc --> | ||
1580 | * @generated | ||
1581 | */ | ||
1582 | public EAttribute getIntervallNumber_MaxUnlimited() | ||
1583 | { | ||
1584 | return (EAttribute)intervallNumberEClass.getEStructuralFeatures().get(2); | ||
1585 | } | ||
1586 | |||
1587 | /** | ||
1588 | * <!-- begin-user-doc --> | ||
1589 | * <!-- end-user-doc --> | ||
1590 | * @generated | ||
1591 | */ | ||
1592 | public EClass getIntEnumberation() | ||
1593 | { | ||
1594 | return intEnumberationEClass; | ||
1595 | } | ||
1596 | |||
1597 | /** | ||
1598 | * <!-- begin-user-doc --> | ||
1599 | * <!-- end-user-doc --> | ||
1600 | * @generated | ||
1601 | */ | ||
1602 | public EAttribute getIntEnumberation_Entry() | ||
1603 | { | ||
1604 | return (EAttribute)intEnumberationEClass.getEStructuralFeatures().get(0); | ||
1605 | } | ||
1606 | |||
1607 | /** | ||
1608 | * <!-- begin-user-doc --> | ||
1609 | * <!-- end-user-doc --> | ||
1610 | * @generated | ||
1611 | */ | ||
1612 | public EClass getRealEnumeration() | ||
1613 | { | ||
1614 | return realEnumerationEClass; | ||
1615 | } | ||
1616 | |||
1617 | /** | ||
1618 | * <!-- begin-user-doc --> | ||
1619 | * <!-- end-user-doc --> | ||
1620 | * @generated | ||
1621 | */ | ||
1622 | public EAttribute getRealEnumeration_Entry() | ||
1623 | { | ||
1624 | return (EAttribute)realEnumerationEClass.getEStructuralFeatures().get(0); | ||
1625 | } | ||
1626 | |||
1627 | /** | ||
1628 | * <!-- begin-user-doc --> | ||
1629 | * <!-- end-user-doc --> | ||
1630 | * @generated | ||
1631 | */ | ||
1632 | public EClass getStringEnumeration() | ||
1633 | { | ||
1634 | return stringEnumerationEClass; | ||
1635 | } | ||
1636 | |||
1637 | /** | ||
1638 | * <!-- begin-user-doc --> | ||
1639 | * <!-- end-user-doc --> | ||
1640 | * @generated | ||
1641 | */ | ||
1642 | public EAttribute getStringEnumeration_Entry() | ||
1643 | { | ||
1644 | return (EAttribute)stringEnumerationEClass.getEStructuralFeatures().get(0); | ||
1645 | } | ||
1646 | |||
1647 | /** | ||
1648 | * <!-- begin-user-doc --> | ||
1649 | * <!-- end-user-doc --> | ||
1650 | * @generated | ||
1651 | */ | ||
1354 | public EClass getScopeDeclaration() | 1652 | public EClass getScopeDeclaration() |
1355 | { | 1653 | { |
1356 | return scopeDeclarationEClass; | 1654 | return scopeDeclarationEClass; |
@@ -1461,7 +1759,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1461 | * <!-- end-user-doc --> | 1759 | * <!-- end-user-doc --> |
1462 | * @generated | 1760 | * @generated |
1463 | */ | 1761 | */ |
1464 | public EAttribute getGenerationTask_Number() | 1762 | public EAttribute getGenerationTask_NumberSpecified() |
1465 | { | 1763 | { |
1466 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(4); | 1764 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(4); |
1467 | } | 1765 | } |
@@ -1471,7 +1769,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1471 | * <!-- end-user-doc --> | 1769 | * <!-- end-user-doc --> |
1472 | * @generated | 1770 | * @generated |
1473 | */ | 1771 | */ |
1474 | public EAttribute getGenerationTask_Runs() | 1772 | public EAttribute getGenerationTask_Number() |
1475 | { | 1773 | { |
1476 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5); | 1774 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5); |
1477 | } | 1775 | } |
@@ -1481,7 +1779,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1481 | * <!-- end-user-doc --> | 1779 | * <!-- end-user-doc --> |
1482 | * @generated | 1780 | * @generated |
1483 | */ | 1781 | */ |
1484 | public EAttribute getGenerationTask_Solver() | 1782 | public EAttribute getGenerationTask_RunSpecified() |
1485 | { | 1783 | { |
1486 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6); | 1784 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6); |
1487 | } | 1785 | } |
@@ -1491,9 +1789,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1491 | * <!-- end-user-doc --> | 1789 | * <!-- end-user-doc --> |
1492 | * @generated | 1790 | * @generated |
1493 | */ | 1791 | */ |
1494 | public EReference getGenerationTask_Config() | 1792 | public EAttribute getGenerationTask_Runs() |
1495 | { | 1793 | { |
1496 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(7); | 1794 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(7); |
1497 | } | 1795 | } |
1498 | 1796 | ||
1499 | /** | 1797 | /** |
@@ -1501,9 +1799,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1501 | * <!-- end-user-doc --> | 1799 | * <!-- end-user-doc --> |
1502 | * @generated | 1800 | * @generated |
1503 | */ | 1801 | */ |
1504 | public EReference getGenerationTask_TagetFolder() | 1802 | public EAttribute getGenerationTask_Solver() |
1505 | { | 1803 | { |
1506 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(8); | 1804 | return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(8); |
1507 | } | 1805 | } |
1508 | 1806 | ||
1509 | /** | 1807 | /** |
@@ -1511,7 +1809,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1511 | * <!-- end-user-doc --> | 1809 | * <!-- end-user-doc --> |
1512 | * @generated | 1810 | * @generated |
1513 | */ | 1811 | */ |
1514 | public EReference getGenerationTask_DebugFolder() | 1812 | public EReference getGenerationTask_Config() |
1515 | { | 1813 | { |
1516 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(9); | 1814 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(9); |
1517 | } | 1815 | } |
@@ -1521,7 +1819,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1521 | * <!-- end-user-doc --> | 1819 | * <!-- end-user-doc --> |
1522 | * @generated | 1820 | * @generated |
1523 | */ | 1821 | */ |
1524 | public EReference getGenerationTask_TargetLogFile() | 1822 | public EReference getGenerationTask_DebugFolder() |
1525 | { | 1823 | { |
1526 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(10); | 1824 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(10); |
1527 | } | 1825 | } |
@@ -1531,7 +1829,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1531 | * <!-- end-user-doc --> | 1829 | * <!-- end-user-doc --> |
1532 | * @generated | 1830 | * @generated |
1533 | */ | 1831 | */ |
1534 | public EReference getGenerationTask_TargetStatisticsFile() | 1832 | public EReference getGenerationTask_TargetLogFile() |
1535 | { | 1833 | { |
1536 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(11); | 1834 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(11); |
1537 | } | 1835 | } |
@@ -1541,6 +1839,26 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1541 | * <!-- end-user-doc --> | 1839 | * <!-- end-user-doc --> |
1542 | * @generated | 1840 | * @generated |
1543 | */ | 1841 | */ |
1842 | public EReference getGenerationTask_TargetStatisticsFile() | ||
1843 | { | ||
1844 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(12); | ||
1845 | } | ||
1846 | |||
1847 | /** | ||
1848 | * <!-- begin-user-doc --> | ||
1849 | * <!-- end-user-doc --> | ||
1850 | * @generated | ||
1851 | */ | ||
1852 | public EReference getGenerationTask_TagetFolder() | ||
1853 | { | ||
1854 | return (EReference)generationTaskEClass.getEStructuralFeatures().get(13); | ||
1855 | } | ||
1856 | |||
1857 | /** | ||
1858 | * <!-- begin-user-doc --> | ||
1859 | * <!-- end-user-doc --> | ||
1860 | * @generated | ||
1861 | */ | ||
1544 | public EClass getIntegerScope() | 1862 | public EClass getIntegerScope() |
1545 | { | 1863 | { |
1546 | return integerScopeEClass; | 1864 | return integerScopeEClass; |
@@ -1713,12 +2031,24 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1713 | createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); | 2031 | createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); |
1714 | 2032 | ||
1715 | typeScopeEClass = createEClass(TYPE_SCOPE); | 2033 | typeScopeEClass = createEClass(TYPE_SCOPE); |
1716 | createEReference(typeScopeEClass, TYPE_SCOPE__TYPE); | ||
1717 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_NEW); | 2034 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_NEW); |
1718 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); | 2035 | createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); |
1719 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN); | 2036 | createEReference(typeScopeEClass, TYPE_SCOPE__NUMBER); |
1720 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX_UNLIMITED); | 2037 | |
1721 | createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX); | 2038 | classTypeScopeEClass = createEClass(CLASS_TYPE_SCOPE); |
2039 | createEReference(classTypeScopeEClass, CLASS_TYPE_SCOPE__TYPE); | ||
2040 | |||
2041 | objectTypeScopeEClass = createEClass(OBJECT_TYPE_SCOPE); | ||
2042 | createEReference(objectTypeScopeEClass, OBJECT_TYPE_SCOPE__TYPE); | ||
2043 | |||
2044 | integerTypeScopeEClass = createEClass(INTEGER_TYPE_SCOPE); | ||
2045 | createEReference(integerTypeScopeEClass, INTEGER_TYPE_SCOPE__TYPE); | ||
2046 | |||
2047 | realTypeScopeEClass = createEClass(REAL_TYPE_SCOPE); | ||
2048 | createEReference(realTypeScopeEClass, REAL_TYPE_SCOPE__TYPE); | ||
2049 | |||
2050 | stringTypeScopeEClass = createEClass(STRING_TYPE_SCOPE); | ||
2051 | createEReference(stringTypeScopeEClass, STRING_TYPE_SCOPE__TYPE); | ||
1722 | 2052 | ||
1723 | typeReferenceEClass = createEClass(TYPE_REFERENCE); | 2053 | typeReferenceEClass = createEClass(TYPE_REFERENCE); |
1724 | 2054 | ||
@@ -1733,6 +2063,26 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1733 | 2063 | ||
1734 | stringReferenceEClass = createEClass(STRING_REFERENCE); | 2064 | stringReferenceEClass = createEClass(STRING_REFERENCE); |
1735 | 2065 | ||
2066 | numberSpecificationEClass = createEClass(NUMBER_SPECIFICATION); | ||
2067 | |||
2068 | exactNumberEClass = createEClass(EXACT_NUMBER); | ||
2069 | createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_NUMBER); | ||
2070 | createEAttribute(exactNumberEClass, EXACT_NUMBER__EXACT_UNLIMITED); | ||
2071 | |||
2072 | intervallNumberEClass = createEClass(INTERVALL_NUMBER); | ||
2073 | createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MIN); | ||
2074 | createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_NUMBER); | ||
2075 | createEAttribute(intervallNumberEClass, INTERVALL_NUMBER__MAX_UNLIMITED); | ||
2076 | |||
2077 | intEnumberationEClass = createEClass(INT_ENUMBERATION); | ||
2078 | createEAttribute(intEnumberationEClass, INT_ENUMBERATION__ENTRY); | ||
2079 | |||
2080 | realEnumerationEClass = createEClass(REAL_ENUMERATION); | ||
2081 | createEAttribute(realEnumerationEClass, REAL_ENUMERATION__ENTRY); | ||
2082 | |||
2083 | stringEnumerationEClass = createEClass(STRING_ENUMERATION); | ||
2084 | createEAttribute(stringEnumerationEClass, STRING_ENUMERATION__ENTRY); | ||
2085 | |||
1736 | scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); | 2086 | scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); |
1737 | createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION); | 2087 | createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION); |
1738 | 2088 | ||
@@ -1748,14 +2098,16 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1748 | createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL); | 2098 | createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL); |
1749 | createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS); | 2099 | createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS); |
1750 | createEReference(generationTaskEClass, GENERATION_TASK__SCOPE); | 2100 | createEReference(generationTaskEClass, GENERATION_TASK__SCOPE); |
2101 | createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER_SPECIFIED); | ||
1751 | createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER); | 2102 | createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER); |
2103 | createEAttribute(generationTaskEClass, GENERATION_TASK__RUN_SPECIFIED); | ||
1752 | createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS); | 2104 | createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS); |
1753 | createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER); | 2105 | createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER); |
1754 | createEReference(generationTaskEClass, GENERATION_TASK__CONFIG); | 2106 | createEReference(generationTaskEClass, GENERATION_TASK__CONFIG); |
1755 | createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER); | ||
1756 | createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER); | 2107 | createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER); |
1757 | createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE); | 2108 | createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE); |
1758 | createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE); | 2109 | createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE); |
2110 | createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER); | ||
1759 | 2111 | ||
1760 | integerScopeEClass = createEClass(INTEGER_SCOPE); | 2112 | integerScopeEClass = createEClass(INTEGER_SCOPE); |
1761 | 2113 | ||
@@ -1825,11 +2177,21 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1825 | configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); | 2177 | configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); |
1826 | configReferenceEClass.getESuperTypes().add(this.getConfig()); | 2178 | configReferenceEClass.getESuperTypes().add(this.getConfig()); |
1827 | scopeSpecificationEClass.getESuperTypes().add(this.getScope()); | 2179 | scopeSpecificationEClass.getESuperTypes().add(this.getScope()); |
2180 | classTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); | ||
2181 | objectTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); | ||
2182 | integerTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); | ||
2183 | realTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); | ||
2184 | stringTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); | ||
1828 | classReferenceEClass.getESuperTypes().add(this.getTypeReference()); | 2185 | classReferenceEClass.getESuperTypes().add(this.getTypeReference()); |
1829 | objectReferenceEClass.getESuperTypes().add(this.getTypeReference()); | 2186 | objectReferenceEClass.getESuperTypes().add(this.getTypeReference()); |
1830 | integerReferenceEClass.getESuperTypes().add(this.getTypeReference()); | 2187 | integerReferenceEClass.getESuperTypes().add(this.getTypeReference()); |
1831 | realReferenceEClass.getESuperTypes().add(this.getTypeReference()); | 2188 | realReferenceEClass.getESuperTypes().add(this.getTypeReference()); |
1832 | stringReferenceEClass.getESuperTypes().add(this.getTypeReference()); | 2189 | stringReferenceEClass.getESuperTypes().add(this.getTypeReference()); |
2190 | exactNumberEClass.getESuperTypes().add(this.getNumberSpecification()); | ||
2191 | intervallNumberEClass.getESuperTypes().add(this.getNumberSpecification()); | ||
2192 | intEnumberationEClass.getESuperTypes().add(this.getNumberSpecification()); | ||
2193 | realEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); | ||
2194 | stringEnumerationEClass.getESuperTypes().add(this.getNumberSpecification()); | ||
1833 | scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration()); | 2195 | scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration()); |
1834 | scopeReferenceEClass.getESuperTypes().add(this.getScope()); | 2196 | scopeReferenceEClass.getESuperTypes().add(this.getScope()); |
1835 | taskEClass.getESuperTypes().add(this.getCommand()); | 2197 | taskEClass.getESuperTypes().add(this.getCommand()); |
@@ -1946,12 +2308,24 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1946 | 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); | 2308 | 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); |
1947 | 2309 | ||
1948 | initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2310 | initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1949 | 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); | ||
1950 | initEAttribute(getTypeScope_SetsNew(), theEcorePackage.getEBoolean(), "setsNew", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 2311 | initEAttribute(getTypeScope_SetsNew(), theEcorePackage.getEBoolean(), "setsNew", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1951 | initEAttribute(getTypeScope_SetsSum(), theEcorePackage.getEBoolean(), "setsSum", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 2312 | initEAttribute(getTypeScope_SetsSum(), theEcorePackage.getEBoolean(), "setsSum", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1952 | 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); | 2313 | initEReference(getTypeScope_Number(), this.getNumberSpecification(), null, "number", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1953 | initEAttribute(getTypeScope_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 2314 | |
1954 | 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); | 2315 | initEClass(classTypeScopeEClass, ClassTypeScope.class, "ClassTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
2316 | initEReference(getClassTypeScope_Type(), this.getClassReference(), null, "type", null, 0, 1, ClassTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2317 | |||
2318 | initEClass(objectTypeScopeEClass, ObjectTypeScope.class, "ObjectTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2319 | initEReference(getObjectTypeScope_Type(), this.getObjectReference(), null, "type", null, 0, 1, ObjectTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2320 | |||
2321 | initEClass(integerTypeScopeEClass, IntegerTypeScope.class, "IntegerTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2322 | initEReference(getIntegerTypeScope_Type(), this.getIntegerReference(), null, "type", null, 0, 1, IntegerTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2323 | |||
2324 | initEClass(realTypeScopeEClass, RealTypeScope.class, "RealTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2325 | initEReference(getRealTypeScope_Type(), this.getRealReference(), null, "type", null, 0, 1, RealTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2326 | |||
2327 | initEClass(stringTypeScopeEClass, StringTypeScope.class, "StringTypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2328 | initEReference(getStringTypeScope_Type(), this.getStringReference(), null, "type", null, 0, 1, StringTypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1955 | 2329 | ||
1956 | initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2330 | initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1957 | 2331 | ||
@@ -1966,6 +2340,26 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1966 | 2340 | ||
1967 | initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2341 | initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1968 | 2342 | ||
2343 | initEClass(numberSpecificationEClass, NumberSpecification.class, "NumberSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2344 | |||
2345 | initEClass(exactNumberEClass, ExactNumber.class, "ExactNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2346 | initEAttribute(getExactNumber_ExactNumber(), theEcorePackage.getEInt(), "exactNumber", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2347 | initEAttribute(getExactNumber_ExactUnlimited(), theEcorePackage.getEBoolean(), "exactUnlimited", null, 0, 1, ExactNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2348 | |||
2349 | initEClass(intervallNumberEClass, IntervallNumber.class, "IntervallNumber", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2350 | initEAttribute(getIntervallNumber_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2351 | initEAttribute(getIntervallNumber_MaxNumber(), theEcorePackage.getEInt(), "maxNumber", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2352 | initEAttribute(getIntervallNumber_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", null, 0, 1, IntervallNumber.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2353 | |||
2354 | initEClass(intEnumberationEClass, IntEnumberation.class, "IntEnumberation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2355 | initEAttribute(getIntEnumberation_Entry(), theEcorePackage.getEInt(), "entry", null, 0, -1, IntEnumberation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2356 | |||
2357 | initEClass(realEnumerationEClass, RealEnumeration.class, "RealEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2358 | initEAttribute(getRealEnumeration_Entry(), theEcorePackage.getEInt(), "entry", null, 0, -1, RealEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2359 | |||
2360 | initEClass(stringEnumerationEClass, StringEnumeration.class, "StringEnumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
2361 | initEAttribute(getStringEnumeration_Entry(), theEcorePackage.getEString(), "entry", null, 0, -1, StringEnumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
2362 | |||
1969 | initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2363 | initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1970 | 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); | 2364 | 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); |
1971 | 2365 | ||
@@ -1981,14 +2375,16 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements | |||
1981 | 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); | 2375 | 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); |
1982 | 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); | 2376 | 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); |
1983 | 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); | 2377 | 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); |
2378 | initEAttribute(getGenerationTask_NumberSpecified(), theEcorePackage.getEBoolean(), "numberSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1984 | 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); | 2379 | 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); |
2380 | initEAttribute(getGenerationTask_RunSpecified(), theEcorePackage.getEBoolean(), "runSpecified", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1985 | 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); | 2381 | 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); |
1986 | 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); | 2382 | 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); |
1987 | 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); | 2383 | 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); |
1988 | 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); | ||
1989 | 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); | 2384 | 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); |
1990 | 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); | 2385 | 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); |
1991 | 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); | 2386 | 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); |
2387 | 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); | ||
1992 | 2388 | ||
1993 | initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 2389 | initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1994 | 2390 | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java new file mode 100644 index 00000000..ad6ab237 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassTypeScopeImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassTypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Class Type Scope</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassTypeScopeImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ClassTypeScopeImpl extends TypeScopeImpl implements ClassTypeScope | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ClassReference type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ClassTypeScopeImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.CLASS_TYPE_SCOPE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public ClassReference getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(ClassReference newType, NotificationChain msgs) | ||
80 | { | ||
81 | ClassReference oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(ClassReference newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: | ||
155 | setType((ClassReference)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: | ||
172 | setType((ClassReference)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //ClassTypeScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java new file mode 100644 index 00000000..4a51e291 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ExactNumberImpl.java | |||
@@ -0,0 +1,233 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Exact Number</b></em>'. | ||
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.ExactNumberImpl#getExactNumber <em>Exact Number</em>}</li> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ExactNumberImpl#isExactUnlimited <em>Exact Unlimited</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class ExactNumberImpl extends NumberSpecificationImpl implements ExactNumber | ||
30 | { | ||
31 | /** | ||
32 | * The default value of the '{@link #getExactNumber() <em>Exact Number</em>}' attribute. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getExactNumber() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected static final int EXACT_NUMBER_EDEFAULT = 0; | ||
40 | |||
41 | /** | ||
42 | * The cached value of the '{@link #getExactNumber() <em>Exact Number</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #getExactNumber() | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | protected int exactNumber = EXACT_NUMBER_EDEFAULT; | ||
50 | |||
51 | /** | ||
52 | * The default value of the '{@link #isExactUnlimited() <em>Exact Unlimited</em>}' attribute. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #isExactUnlimited() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected static final boolean EXACT_UNLIMITED_EDEFAULT = false; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #isExactUnlimited() <em>Exact Unlimited</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #isExactUnlimited() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected boolean exactUnlimited = EXACT_UNLIMITED_EDEFAULT; | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | protected ExactNumberImpl() | ||
77 | { | ||
78 | super(); | ||
79 | } | ||
80 | |||
81 | /** | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @generated | ||
85 | */ | ||
86 | @Override | ||
87 | protected EClass eStaticClass() | ||
88 | { | ||
89 | return ApplicationConfigurationPackage.Literals.EXACT_NUMBER; | ||
90 | } | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | public int getExactNumber() | ||
98 | { | ||
99 | return exactNumber; | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | public void setExactNumber(int newExactNumber) | ||
108 | { | ||
109 | int oldExactNumber = exactNumber; | ||
110 | exactNumber = newExactNumber; | ||
111 | if (eNotificationRequired()) | ||
112 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER, oldExactNumber, exactNumber)); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | public boolean isExactUnlimited() | ||
121 | { | ||
122 | return exactUnlimited; | ||
123 | } | ||
124 | |||
125 | /** | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @generated | ||
129 | */ | ||
130 | public void setExactUnlimited(boolean newExactUnlimited) | ||
131 | { | ||
132 | boolean oldExactUnlimited = exactUnlimited; | ||
133 | exactUnlimited = newExactUnlimited; | ||
134 | if (eNotificationRequired()) | ||
135 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED, oldExactUnlimited, exactUnlimited)); | ||
136 | } | ||
137 | |||
138 | /** | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @generated | ||
142 | */ | ||
143 | @Override | ||
144 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
145 | { | ||
146 | switch (featureID) | ||
147 | { | ||
148 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: | ||
149 | return getExactNumber(); | ||
150 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: | ||
151 | return isExactUnlimited(); | ||
152 | } | ||
153 | return super.eGet(featureID, resolve, coreType); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | public void eSet(int featureID, Object newValue) | ||
163 | { | ||
164 | switch (featureID) | ||
165 | { | ||
166 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: | ||
167 | setExactNumber((Integer)newValue); | ||
168 | return; | ||
169 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: | ||
170 | setExactUnlimited((Boolean)newValue); | ||
171 | return; | ||
172 | } | ||
173 | super.eSet(featureID, newValue); | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public void eUnset(int featureID) | ||
183 | { | ||
184 | switch (featureID) | ||
185 | { | ||
186 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: | ||
187 | setExactNumber(EXACT_NUMBER_EDEFAULT); | ||
188 | return; | ||
189 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: | ||
190 | setExactUnlimited(EXACT_UNLIMITED_EDEFAULT); | ||
191 | return; | ||
192 | } | ||
193 | super.eUnset(featureID); | ||
194 | } | ||
195 | |||
196 | /** | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @generated | ||
200 | */ | ||
201 | @Override | ||
202 | public boolean eIsSet(int featureID) | ||
203 | { | ||
204 | switch (featureID) | ||
205 | { | ||
206 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_NUMBER: | ||
207 | return exactNumber != EXACT_NUMBER_EDEFAULT; | ||
208 | case ApplicationConfigurationPackage.EXACT_NUMBER__EXACT_UNLIMITED: | ||
209 | return exactUnlimited != EXACT_UNLIMITED_EDEFAULT; | ||
210 | } | ||
211 | return super.eIsSet(featureID); | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * <!-- begin-user-doc --> | ||
216 | * <!-- end-user-doc --> | ||
217 | * @generated | ||
218 | */ | ||
219 | @Override | ||
220 | public String toString() | ||
221 | { | ||
222 | if (eIsProxy()) return super.toString(); | ||
223 | |||
224 | StringBuffer result = new StringBuffer(super.toString()); | ||
225 | result.append(" (exactNumber: "); | ||
226 | result.append(exactNumber); | ||
227 | result.append(", exactUnlimited: "); | ||
228 | result.append(exactUnlimited); | ||
229 | result.append(')'); | ||
230 | return result.toString(); | ||
231 | } | ||
232 | |||
233 | } //ExactNumberImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java index a4c27c8d..7ce5ec94 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java | |||
@@ -33,14 +33,16 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel <em>Partial Model</em>}</li> | 33 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel <em>Partial Model</em>}</li> |
34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns <em>Patterns</em>}</li> | 34 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns <em>Patterns</em>}</li> |
35 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope <em>Scope</em>}</li> | 35 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope <em>Scope</em>}</li> |
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isNumberSpecified <em>Number Specified</em>}</li> | ||
36 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber <em>Number</em>}</li> | 37 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber <em>Number</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#isRunSpecified <em>Run Specified</em>}</li> | ||
37 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns <em>Runs</em>}</li> | 39 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns <em>Runs</em>}</li> |
38 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver <em>Solver</em>}</li> | 40 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver <em>Solver</em>}</li> |
39 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig <em>Config</em>}</li> | 41 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig <em>Config</em>}</li> |
40 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder <em>Taget Folder</em>}</li> | ||
41 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder <em>Debug Folder</em>}</li> | 42 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder <em>Debug Folder</em>}</li> |
42 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile <em>Target Log File</em>}</li> | 43 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile <em>Target Log File</em>}</li> |
43 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile <em>Target Statistics File</em>}</li> | 44 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile <em>Target Statistics File</em>}</li> |
45 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder <em>Taget Folder</em>}</li> | ||
44 | * </ul> | 46 | * </ul> |
45 | * | 47 | * |
46 | * @generated | 48 | * @generated |
@@ -88,6 +90,26 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
88 | protected Scope scope; | 90 | protected Scope scope; |
89 | 91 | ||
90 | /** | 92 | /** |
93 | * The default value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @see #isNumberSpecified() | ||
97 | * @generated | ||
98 | * @ordered | ||
99 | */ | ||
100 | protected static final boolean NUMBER_SPECIFIED_EDEFAULT = false; | ||
101 | |||
102 | /** | ||
103 | * The cached value of the '{@link #isNumberSpecified() <em>Number Specified</em>}' attribute. | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @see #isNumberSpecified() | ||
107 | * @generated | ||
108 | * @ordered | ||
109 | */ | ||
110 | protected boolean numberSpecified = NUMBER_SPECIFIED_EDEFAULT; | ||
111 | |||
112 | /** | ||
91 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. | 113 | * The default value of the '{@link #getNumber() <em>Number</em>}' attribute. |
92 | * <!-- begin-user-doc --> | 114 | * <!-- begin-user-doc --> |
93 | * <!-- end-user-doc --> | 115 | * <!-- end-user-doc --> |
@@ -108,6 +130,26 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
108 | protected int number = NUMBER_EDEFAULT; | 130 | protected int number = NUMBER_EDEFAULT; |
109 | 131 | ||
110 | /** | 132 | /** |
133 | * The default value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. | ||
134 | * <!-- begin-user-doc --> | ||
135 | * <!-- end-user-doc --> | ||
136 | * @see #isRunSpecified() | ||
137 | * @generated | ||
138 | * @ordered | ||
139 | */ | ||
140 | protected static final boolean RUN_SPECIFIED_EDEFAULT = false; | ||
141 | |||
142 | /** | ||
143 | * The cached value of the '{@link #isRunSpecified() <em>Run Specified</em>}' attribute. | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @see #isRunSpecified() | ||
147 | * @generated | ||
148 | * @ordered | ||
149 | */ | ||
150 | protected boolean runSpecified = RUN_SPECIFIED_EDEFAULT; | ||
151 | |||
152 | /** | ||
111 | * The default value of the '{@link #getRuns() <em>Runs</em>}' attribute. | 153 | * The default value of the '{@link #getRuns() <em>Runs</em>}' attribute. |
112 | * <!-- begin-user-doc --> | 154 | * <!-- begin-user-doc --> |
113 | * <!-- end-user-doc --> | 155 | * <!-- end-user-doc --> |
@@ -158,16 +200,6 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
158 | protected Config config; | 200 | protected Config config; |
159 | 201 | ||
160 | /** | 202 | /** |
161 | * The cached value of the '{@link #getTagetFolder() <em>Taget Folder</em>}' containment reference. | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @see #getTagetFolder() | ||
165 | * @generated | ||
166 | * @ordered | ||
167 | */ | ||
168 | protected File tagetFolder; | ||
169 | |||
170 | /** | ||
171 | * The cached value of the '{@link #getDebugFolder() <em>Debug Folder</em>}' containment reference. | 203 | * The cached value of the '{@link #getDebugFolder() <em>Debug Folder</em>}' containment reference. |
172 | * <!-- begin-user-doc --> | 204 | * <!-- begin-user-doc --> |
173 | * <!-- end-user-doc --> | 205 | * <!-- end-user-doc --> |
@@ -198,6 +230,16 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
198 | protected File targetStatisticsFile; | 230 | protected File targetStatisticsFile; |
199 | 231 | ||
200 | /** | 232 | /** |
233 | * The cached value of the '{@link #getTagetFolder() <em>Taget Folder</em>}' containment reference. | ||
234 | * <!-- begin-user-doc --> | ||
235 | * <!-- end-user-doc --> | ||
236 | * @see #getTagetFolder() | ||
237 | * @generated | ||
238 | * @ordered | ||
239 | */ | ||
240 | protected File tagetFolder; | ||
241 | |||
242 | /** | ||
201 | * <!-- begin-user-doc --> | 243 | * <!-- begin-user-doc --> |
202 | * <!-- end-user-doc --> | 244 | * <!-- end-user-doc --> |
203 | * @generated | 245 | * @generated |
@@ -415,6 +457,29 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
415 | * <!-- end-user-doc --> | 457 | * <!-- end-user-doc --> |
416 | * @generated | 458 | * @generated |
417 | */ | 459 | */ |
460 | public boolean isNumberSpecified() | ||
461 | { | ||
462 | return numberSpecified; | ||
463 | } | ||
464 | |||
465 | /** | ||
466 | * <!-- begin-user-doc --> | ||
467 | * <!-- end-user-doc --> | ||
468 | * @generated | ||
469 | */ | ||
470 | public void setNumberSpecified(boolean newNumberSpecified) | ||
471 | { | ||
472 | boolean oldNumberSpecified = numberSpecified; | ||
473 | numberSpecified = newNumberSpecified; | ||
474 | if (eNotificationRequired()) | ||
475 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED, oldNumberSpecified, numberSpecified)); | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * <!-- begin-user-doc --> | ||
480 | * <!-- end-user-doc --> | ||
481 | * @generated | ||
482 | */ | ||
418 | public int getNumber() | 483 | public int getNumber() |
419 | { | 484 | { |
420 | return number; | 485 | return number; |
@@ -438,6 +503,29 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
438 | * <!-- end-user-doc --> | 503 | * <!-- end-user-doc --> |
439 | * @generated | 504 | * @generated |
440 | */ | 505 | */ |
506 | public boolean isRunSpecified() | ||
507 | { | ||
508 | return runSpecified; | ||
509 | } | ||
510 | |||
511 | /** | ||
512 | * <!-- begin-user-doc --> | ||
513 | * <!-- end-user-doc --> | ||
514 | * @generated | ||
515 | */ | ||
516 | public void setRunSpecified(boolean newRunSpecified) | ||
517 | { | ||
518 | boolean oldRunSpecified = runSpecified; | ||
519 | runSpecified = newRunSpecified; | ||
520 | if (eNotificationRequired()) | ||
521 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED, oldRunSpecified, runSpecified)); | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * <!-- begin-user-doc --> | ||
526 | * <!-- end-user-doc --> | ||
527 | * @generated | ||
528 | */ | ||
441 | public int getRuns() | 529 | public int getRuns() |
442 | { | 530 | { |
443 | return runs; | 531 | return runs; |
@@ -532,54 +620,6 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
532 | * <!-- end-user-doc --> | 620 | * <!-- end-user-doc --> |
533 | * @generated | 621 | * @generated |
534 | */ | 622 | */ |
535 | public File getTagetFolder() | ||
536 | { | ||
537 | return tagetFolder; | ||
538 | } | ||
539 | |||
540 | /** | ||
541 | * <!-- begin-user-doc --> | ||
542 | * <!-- end-user-doc --> | ||
543 | * @generated | ||
544 | */ | ||
545 | public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) | ||
546 | { | ||
547 | File oldTagetFolder = tagetFolder; | ||
548 | tagetFolder = newTagetFolder; | ||
549 | if (eNotificationRequired()) | ||
550 | { | ||
551 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); | ||
552 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
553 | } | ||
554 | return msgs; | ||
555 | } | ||
556 | |||
557 | /** | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | */ | ||
562 | public void setTagetFolder(File newTagetFolder) | ||
563 | { | ||
564 | if (newTagetFolder != tagetFolder) | ||
565 | { | ||
566 | NotificationChain msgs = null; | ||
567 | if (tagetFolder != null) | ||
568 | msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
569 | if (newTagetFolder != null) | ||
570 | msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
571 | msgs = basicSetTagetFolder(newTagetFolder, msgs); | ||
572 | if (msgs != null) msgs.dispatch(); | ||
573 | } | ||
574 | else if (eNotificationRequired()) | ||
575 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); | ||
576 | } | ||
577 | |||
578 | /** | ||
579 | * <!-- begin-user-doc --> | ||
580 | * <!-- end-user-doc --> | ||
581 | * @generated | ||
582 | */ | ||
583 | public File getDebugFolder() | 623 | public File getDebugFolder() |
584 | { | 624 | { |
585 | return debugFolder; | 625 | return debugFolder; |
@@ -724,6 +764,54 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
724 | * <!-- end-user-doc --> | 764 | * <!-- end-user-doc --> |
725 | * @generated | 765 | * @generated |
726 | */ | 766 | */ |
767 | public File getTagetFolder() | ||
768 | { | ||
769 | return tagetFolder; | ||
770 | } | ||
771 | |||
772 | /** | ||
773 | * <!-- begin-user-doc --> | ||
774 | * <!-- end-user-doc --> | ||
775 | * @generated | ||
776 | */ | ||
777 | public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) | ||
778 | { | ||
779 | File oldTagetFolder = tagetFolder; | ||
780 | tagetFolder = newTagetFolder; | ||
781 | if (eNotificationRequired()) | ||
782 | { | ||
783 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); | ||
784 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
785 | } | ||
786 | return msgs; | ||
787 | } | ||
788 | |||
789 | /** | ||
790 | * <!-- begin-user-doc --> | ||
791 | * <!-- end-user-doc --> | ||
792 | * @generated | ||
793 | */ | ||
794 | public void setTagetFolder(File newTagetFolder) | ||
795 | { | ||
796 | if (newTagetFolder != tagetFolder) | ||
797 | { | ||
798 | NotificationChain msgs = null; | ||
799 | if (tagetFolder != null) | ||
800 | msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
801 | if (newTagetFolder != null) | ||
802 | msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); | ||
803 | msgs = basicSetTagetFolder(newTagetFolder, msgs); | ||
804 | if (msgs != null) msgs.dispatch(); | ||
805 | } | ||
806 | else if (eNotificationRequired()) | ||
807 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); | ||
808 | } | ||
809 | |||
810 | /** | ||
811 | * <!-- begin-user-doc --> | ||
812 | * <!-- end-user-doc --> | ||
813 | * @generated | ||
814 | */ | ||
727 | @Override | 815 | @Override |
728 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | 816 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) |
729 | { | 817 | { |
@@ -739,14 +827,14 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
739 | return basicSetScope(null, msgs); | 827 | return basicSetScope(null, msgs); |
740 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 828 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
741 | return basicSetConfig(null, msgs); | 829 | return basicSetConfig(null, msgs); |
742 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
743 | return basicSetTagetFolder(null, msgs); | ||
744 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 830 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
745 | return basicSetDebugFolder(null, msgs); | 831 | return basicSetDebugFolder(null, msgs); |
746 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 832 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
747 | return basicSetTargetLogFile(null, msgs); | 833 | return basicSetTargetLogFile(null, msgs); |
748 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 834 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
749 | return basicSetTargetStatisticsFile(null, msgs); | 835 | return basicSetTargetStatisticsFile(null, msgs); |
836 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
837 | return basicSetTagetFolder(null, msgs); | ||
750 | } | 838 | } |
751 | return super.eInverseRemove(otherEnd, featureID, msgs); | 839 | return super.eInverseRemove(otherEnd, featureID, msgs); |
752 | } | 840 | } |
@@ -769,22 +857,26 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
769 | return getPatterns(); | 857 | return getPatterns(); |
770 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 858 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
771 | return getScope(); | 859 | return getScope(); |
860 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | ||
861 | return isNumberSpecified(); | ||
772 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 862 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
773 | return getNumber(); | 863 | return getNumber(); |
864 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
865 | return isRunSpecified(); | ||
774 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 866 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
775 | return getRuns(); | 867 | return getRuns(); |
776 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 868 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: |
777 | return getSolver(); | 869 | return getSolver(); |
778 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 870 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
779 | return getConfig(); | 871 | return getConfig(); |
780 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
781 | return getTagetFolder(); | ||
782 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 872 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
783 | return getDebugFolder(); | 873 | return getDebugFolder(); |
784 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 874 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
785 | return getTargetLogFile(); | 875 | return getTargetLogFile(); |
786 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 876 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
787 | return getTargetStatisticsFile(); | 877 | return getTargetStatisticsFile(); |
878 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
879 | return getTagetFolder(); | ||
788 | } | 880 | } |
789 | return super.eGet(featureID, resolve, coreType); | 881 | return super.eGet(featureID, resolve, coreType); |
790 | } | 882 | } |
@@ -811,9 +903,15 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
811 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 903 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
812 | setScope((Scope)newValue); | 904 | setScope((Scope)newValue); |
813 | return; | 905 | return; |
906 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | ||
907 | setNumberSpecified((Boolean)newValue); | ||
908 | return; | ||
814 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 909 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
815 | setNumber((Integer)newValue); | 910 | setNumber((Integer)newValue); |
816 | return; | 911 | return; |
912 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
913 | setRunSpecified((Boolean)newValue); | ||
914 | return; | ||
817 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 915 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
818 | setRuns((Integer)newValue); | 916 | setRuns((Integer)newValue); |
819 | return; | 917 | return; |
@@ -823,9 +921,6 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
823 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 921 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
824 | setConfig((Config)newValue); | 922 | setConfig((Config)newValue); |
825 | return; | 923 | return; |
826 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
827 | setTagetFolder((File)newValue); | ||
828 | return; | ||
829 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 924 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
830 | setDebugFolder((File)newValue); | 925 | setDebugFolder((File)newValue); |
831 | return; | 926 | return; |
@@ -835,6 +930,9 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
835 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 930 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
836 | setTargetStatisticsFile((File)newValue); | 931 | setTargetStatisticsFile((File)newValue); |
837 | return; | 932 | return; |
933 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
934 | setTagetFolder((File)newValue); | ||
935 | return; | ||
838 | } | 936 | } |
839 | super.eSet(featureID, newValue); | 937 | super.eSet(featureID, newValue); |
840 | } | 938 | } |
@@ -861,9 +959,15 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
861 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 959 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
862 | setScope((Scope)null); | 960 | setScope((Scope)null); |
863 | return; | 961 | return; |
962 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | ||
963 | setNumberSpecified(NUMBER_SPECIFIED_EDEFAULT); | ||
964 | return; | ||
864 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 965 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
865 | setNumber(NUMBER_EDEFAULT); | 966 | setNumber(NUMBER_EDEFAULT); |
866 | return; | 967 | return; |
968 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
969 | setRunSpecified(RUN_SPECIFIED_EDEFAULT); | ||
970 | return; | ||
867 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 971 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
868 | setRuns(RUNS_EDEFAULT); | 972 | setRuns(RUNS_EDEFAULT); |
869 | return; | 973 | return; |
@@ -873,9 +977,6 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
873 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 977 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
874 | setConfig((Config)null); | 978 | setConfig((Config)null); |
875 | return; | 979 | return; |
876 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
877 | setTagetFolder((File)null); | ||
878 | return; | ||
879 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 980 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
880 | setDebugFolder((File)null); | 981 | setDebugFolder((File)null); |
881 | return; | 982 | return; |
@@ -885,6 +986,9 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
885 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 986 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
886 | setTargetStatisticsFile((File)null); | 987 | setTargetStatisticsFile((File)null); |
887 | return; | 988 | return; |
989 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
990 | setTagetFolder((File)null); | ||
991 | return; | ||
888 | } | 992 | } |
889 | super.eUnset(featureID); | 993 | super.eUnset(featureID); |
890 | } | 994 | } |
@@ -907,22 +1011,26 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
907 | return patterns != null; | 1011 | return patterns != null; |
908 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: | 1012 | case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: |
909 | return scope != null; | 1013 | return scope != null; |
1014 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER_SPECIFIED: | ||
1015 | return numberSpecified != NUMBER_SPECIFIED_EDEFAULT; | ||
910 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: | 1016 | case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: |
911 | return number != NUMBER_EDEFAULT; | 1017 | return number != NUMBER_EDEFAULT; |
1018 | case ApplicationConfigurationPackage.GENERATION_TASK__RUN_SPECIFIED: | ||
1019 | return runSpecified != RUN_SPECIFIED_EDEFAULT; | ||
912 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: | 1020 | case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: |
913 | return runs != RUNS_EDEFAULT; | 1021 | return runs != RUNS_EDEFAULT; |
914 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: | 1022 | case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: |
915 | return solver != SOLVER_EDEFAULT; | 1023 | return solver != SOLVER_EDEFAULT; |
916 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: | 1024 | case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: |
917 | return config != null; | 1025 | return config != null; |
918 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
919 | return tagetFolder != null; | ||
920 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: | 1026 | case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: |
921 | return debugFolder != null; | 1027 | return debugFolder != null; |
922 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: | 1028 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: |
923 | return targetLogFile != null; | 1029 | return targetLogFile != null; |
924 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: | 1030 | case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: |
925 | return targetStatisticsFile != null; | 1031 | return targetStatisticsFile != null; |
1032 | case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: | ||
1033 | return tagetFolder != null; | ||
926 | } | 1034 | } |
927 | return super.eIsSet(featureID); | 1035 | return super.eIsSet(featureID); |
928 | } | 1036 | } |
@@ -938,8 +1046,12 @@ public class GenerationTaskImpl extends TaskImpl implements GenerationTask | |||
938 | if (eIsProxy()) return super.toString(); | 1046 | if (eIsProxy()) return super.toString(); |
939 | 1047 | ||
940 | StringBuffer result = new StringBuffer(super.toString()); | 1048 | StringBuffer result = new StringBuffer(super.toString()); |
941 | result.append(" (number: "); | 1049 | result.append(" (numberSpecified: "); |
1050 | result.append(numberSpecified); | ||
1051 | result.append(", number: "); | ||
942 | result.append(number); | 1052 | result.append(number); |
1053 | result.append(", runSpecified: "); | ||
1054 | result.append(runSpecified); | ||
943 | result.append(", runs: "); | 1055 | result.append(", runs: "); |
944 | result.append(runs); | 1056 | result.append(runs); |
945 | result.append(", solver: "); | 1057 | result.append(", solver: "); |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java new file mode 100644 index 00000000..bf59967e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntEnumberationImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntEnumberation; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EDataTypeEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Int Enumberation</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntEnumberationImpl#getEntry <em>Entry</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class IntEnumberationImpl extends NumberSpecificationImpl implements IntEnumberation | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' attribute list. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getEntry() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected EList<Integer> entry; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected IntEnumberationImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.INT_ENUMBERATION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public EList<Integer> getEntry() | ||
69 | { | ||
70 | if (entry == null) | ||
71 | { | ||
72 | entry = new EDataTypeEList<Integer>(Integer.class, this, ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY); | ||
73 | } | ||
74 | return entry; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
84 | { | ||
85 | switch (featureID) | ||
86 | { | ||
87 | case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: | ||
88 | return getEntry(); | ||
89 | } | ||
90 | return super.eGet(featureID, resolve, coreType); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @SuppressWarnings("unchecked") | ||
99 | @Override | ||
100 | public void eSet(int featureID, Object newValue) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: | ||
105 | getEntry().clear(); | ||
106 | getEntry().addAll((Collection<? extends Integer>)newValue); | ||
107 | return; | ||
108 | } | ||
109 | super.eSet(featureID, newValue); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eUnset(int featureID) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: | ||
123 | getEntry().clear(); | ||
124 | return; | ||
125 | } | ||
126 | super.eUnset(featureID); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public boolean eIsSet(int featureID) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case ApplicationConfigurationPackage.INT_ENUMBERATION__ENTRY: | ||
140 | return entry != null && !entry.isEmpty(); | ||
141 | } | ||
142 | return super.eIsSet(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public String toString() | ||
152 | { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (entry: "); | ||
157 | result.append(entry); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //IntEnumberationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java new file mode 100644 index 00000000..644eb55c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerTypeScopeImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Integer Type Scope</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerTypeScopeImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class IntegerTypeScopeImpl extends TypeScopeImpl implements IntegerTypeScope | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected IntegerReference type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected IntegerTypeScopeImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.INTEGER_TYPE_SCOPE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public IntegerReference getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(IntegerReference newType, NotificationChain msgs) | ||
80 | { | ||
81 | IntegerReference oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(IntegerReference newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: | ||
155 | setType((IntegerReference)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: | ||
172 | setType((IntegerReference)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //IntegerTypeScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java new file mode 100644 index 00000000..6079cc3a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntervallNumberImpl.java | |||
@@ -0,0 +1,289 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Intervall Number</b></em>'. | ||
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.IntervallNumberImpl#getMin <em>Min</em>}</li> | ||
24 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#getMaxNumber <em>Max Number</em>}</li> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntervallNumberImpl#isMaxUnlimited <em>Max Unlimited</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class IntervallNumberImpl extends NumberSpecificationImpl implements IntervallNumber | ||
31 | { | ||
32 | /** | ||
33 | * The default value of the '{@link #getMin() <em>Min</em>}' attribute. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getMin() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected static final int MIN_EDEFAULT = 0; | ||
41 | |||
42 | /** | ||
43 | * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @see #getMin() | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | protected int min = MIN_EDEFAULT; | ||
51 | |||
52 | /** | ||
53 | * The default value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #getMaxNumber() | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | protected static final int MAX_NUMBER_EDEFAULT = 0; | ||
61 | |||
62 | /** | ||
63 | * The cached value of the '{@link #getMaxNumber() <em>Max Number</em>}' attribute. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #getMaxNumber() | ||
67 | * @generated | ||
68 | * @ordered | ||
69 | */ | ||
70 | protected int maxNumber = MAX_NUMBER_EDEFAULT; | ||
71 | |||
72 | /** | ||
73 | * The default value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
74 | * <!-- begin-user-doc --> | ||
75 | * <!-- end-user-doc --> | ||
76 | * @see #isMaxUnlimited() | ||
77 | * @generated | ||
78 | * @ordered | ||
79 | */ | ||
80 | protected static final boolean MAX_UNLIMITED_EDEFAULT = false; | ||
81 | |||
82 | /** | ||
83 | * The cached value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
84 | * <!-- begin-user-doc --> | ||
85 | * <!-- end-user-doc --> | ||
86 | * @see #isMaxUnlimited() | ||
87 | * @generated | ||
88 | * @ordered | ||
89 | */ | ||
90 | protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT; | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | protected IntervallNumberImpl() | ||
98 | { | ||
99 | super(); | ||
100 | } | ||
101 | |||
102 | /** | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @generated | ||
106 | */ | ||
107 | @Override | ||
108 | protected EClass eStaticClass() | ||
109 | { | ||
110 | return ApplicationConfigurationPackage.Literals.INTERVALL_NUMBER; | ||
111 | } | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | public int getMin() | ||
119 | { | ||
120 | return min; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * <!-- begin-user-doc --> | ||
125 | * <!-- end-user-doc --> | ||
126 | * @generated | ||
127 | */ | ||
128 | public void setMin(int newMin) | ||
129 | { | ||
130 | int oldMin = min; | ||
131 | min = newMin; | ||
132 | if (eNotificationRequired()) | ||
133 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN, oldMin, min)); | ||
134 | } | ||
135 | |||
136 | /** | ||
137 | * <!-- begin-user-doc --> | ||
138 | * <!-- end-user-doc --> | ||
139 | * @generated | ||
140 | */ | ||
141 | public int getMaxNumber() | ||
142 | { | ||
143 | return maxNumber; | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | public void setMaxNumber(int newMaxNumber) | ||
152 | { | ||
153 | int oldMaxNumber = maxNumber; | ||
154 | maxNumber = newMaxNumber; | ||
155 | if (eNotificationRequired()) | ||
156 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER, oldMaxNumber, maxNumber)); | ||
157 | } | ||
158 | |||
159 | /** | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @generated | ||
163 | */ | ||
164 | public boolean isMaxUnlimited() | ||
165 | { | ||
166 | return maxUnlimited; | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | public void setMaxUnlimited(boolean newMaxUnlimited) | ||
175 | { | ||
176 | boolean oldMaxUnlimited = maxUnlimited; | ||
177 | maxUnlimited = newMaxUnlimited; | ||
178 | if (eNotificationRequired()) | ||
179 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); | ||
180 | } | ||
181 | |||
182 | /** | ||
183 | * <!-- begin-user-doc --> | ||
184 | * <!-- end-user-doc --> | ||
185 | * @generated | ||
186 | */ | ||
187 | @Override | ||
188 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
189 | { | ||
190 | switch (featureID) | ||
191 | { | ||
192 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: | ||
193 | return getMin(); | ||
194 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: | ||
195 | return getMaxNumber(); | ||
196 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: | ||
197 | return isMaxUnlimited(); | ||
198 | } | ||
199 | return super.eGet(featureID, resolve, coreType); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public void eSet(int featureID, Object newValue) | ||
209 | { | ||
210 | switch (featureID) | ||
211 | { | ||
212 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: | ||
213 | setMin((Integer)newValue); | ||
214 | return; | ||
215 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: | ||
216 | setMaxNumber((Integer)newValue); | ||
217 | return; | ||
218 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: | ||
219 | setMaxUnlimited((Boolean)newValue); | ||
220 | return; | ||
221 | } | ||
222 | super.eSet(featureID, newValue); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public void eUnset(int featureID) | ||
232 | { | ||
233 | switch (featureID) | ||
234 | { | ||
235 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: | ||
236 | setMin(MIN_EDEFAULT); | ||
237 | return; | ||
238 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: | ||
239 | setMaxNumber(MAX_NUMBER_EDEFAULT); | ||
240 | return; | ||
241 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: | ||
242 | setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); | ||
243 | return; | ||
244 | } | ||
245 | super.eUnset(featureID); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public boolean eIsSet(int featureID) | ||
255 | { | ||
256 | switch (featureID) | ||
257 | { | ||
258 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MIN: | ||
259 | return min != MIN_EDEFAULT; | ||
260 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_NUMBER: | ||
261 | return maxNumber != MAX_NUMBER_EDEFAULT; | ||
262 | case ApplicationConfigurationPackage.INTERVALL_NUMBER__MAX_UNLIMITED: | ||
263 | return maxUnlimited != MAX_UNLIMITED_EDEFAULT; | ||
264 | } | ||
265 | return super.eIsSet(featureID); | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | @Override | ||
274 | public String toString() | ||
275 | { | ||
276 | if (eIsProxy()) return super.toString(); | ||
277 | |||
278 | StringBuffer result = new StringBuffer(super.toString()); | ||
279 | result.append(" (min: "); | ||
280 | result.append(min); | ||
281 | result.append(", maxNumber: "); | ||
282 | result.append(maxNumber); | ||
283 | result.append(", maxUnlimited: "); | ||
284 | result.append(maxUnlimited); | ||
285 | result.append(')'); | ||
286 | return result.toString(); | ||
287 | } | ||
288 | |||
289 | } //IntervallNumberImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java new file mode 100644 index 00000000..b10ce009 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/NumberSpecificationImpl.java | |||
@@ -0,0 +1,43 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; | ||
8 | |||
9 | import org.eclipse.emf.ecore.EClass; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | /** | ||
14 | * <!-- begin-user-doc --> | ||
15 | * An implementation of the model object '<em><b>Number Specification</b></em>'. | ||
16 | * <!-- end-user-doc --> | ||
17 | * | ||
18 | * @generated | ||
19 | */ | ||
20 | public class NumberSpecificationImpl extends MinimalEObjectImpl.Container implements NumberSpecification | ||
21 | { | ||
22 | /** | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @generated | ||
26 | */ | ||
27 | protected NumberSpecificationImpl() | ||
28 | { | ||
29 | super(); | ||
30 | } | ||
31 | |||
32 | /** | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | @Override | ||
38 | protected EClass eStaticClass() | ||
39 | { | ||
40 | return ApplicationConfigurationPackage.Literals.NUMBER_SPECIFICATION; | ||
41 | } | ||
42 | |||
43 | } //NumberSpecificationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java new file mode 100644 index 00000000..738ad0e2 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectTypeScopeImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectTypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Object Type Scope</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectTypeScopeImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class ObjectTypeScopeImpl extends TypeScopeImpl implements ObjectTypeScope | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected ObjectReference type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected ObjectTypeScopeImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.OBJECT_TYPE_SCOPE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public ObjectReference getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(ObjectReference newType, NotificationChain msgs) | ||
80 | { | ||
81 | ObjectReference oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(ObjectReference newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: | ||
155 | setType((ObjectReference)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: | ||
172 | setType((ObjectReference)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //ObjectTypeScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java new file mode 100644 index 00000000..0025b61a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealEnumerationImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnumeration; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EDataTypeEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Real Enumeration</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealEnumerationImpl#getEntry <em>Entry</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class RealEnumerationImpl extends NumberSpecificationImpl implements RealEnumeration | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' attribute list. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getEntry() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected EList<Integer> entry; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected RealEnumerationImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.REAL_ENUMERATION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public EList<Integer> getEntry() | ||
69 | { | ||
70 | if (entry == null) | ||
71 | { | ||
72 | entry = new EDataTypeEList<Integer>(Integer.class, this, ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY); | ||
73 | } | ||
74 | return entry; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
84 | { | ||
85 | switch (featureID) | ||
86 | { | ||
87 | case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: | ||
88 | return getEntry(); | ||
89 | } | ||
90 | return super.eGet(featureID, resolve, coreType); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @SuppressWarnings("unchecked") | ||
99 | @Override | ||
100 | public void eSet(int featureID, Object newValue) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: | ||
105 | getEntry().clear(); | ||
106 | getEntry().addAll((Collection<? extends Integer>)newValue); | ||
107 | return; | ||
108 | } | ||
109 | super.eSet(featureID, newValue); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eUnset(int featureID) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: | ||
123 | getEntry().clear(); | ||
124 | return; | ||
125 | } | ||
126 | super.eUnset(featureID); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public boolean eIsSet(int featureID) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case ApplicationConfigurationPackage.REAL_ENUMERATION__ENTRY: | ||
140 | return entry != null && !entry.isEmpty(); | ||
141 | } | ||
142 | return super.eIsSet(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public String toString() | ||
152 | { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (entry: "); | ||
157 | result.append(entry); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //RealEnumerationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java new file mode 100644 index 00000000..91cdf9e4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealTypeScopeImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>Real Type Scope</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealTypeScopeImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class RealTypeScopeImpl extends TypeScopeImpl implements RealTypeScope | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected RealReference type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected RealTypeScopeImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.REAL_TYPE_SCOPE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public RealReference getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(RealReference newType, NotificationChain msgs) | ||
80 | { | ||
81 | RealReference oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(RealReference newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | ||
155 | setType((RealReference)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | ||
172 | setType((RealReference)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.REAL_TYPE_SCOPE__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //RealTypeScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java new file mode 100644 index 00000000..7cd6f6f2 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringEnumerationImpl.java | |||
@@ -0,0 +1,162 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringEnumeration; | ||
8 | |||
9 | import java.util.Collection; | ||
10 | |||
11 | import org.eclipse.emf.common.util.EList; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | |||
15 | import org.eclipse.emf.ecore.util.EDataTypeEList; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>String Enumeration</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringEnumerationImpl#getEntry <em>Entry</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public class StringEnumerationImpl extends NumberSpecificationImpl implements StringEnumeration | ||
31 | { | ||
32 | /** | ||
33 | * The cached value of the '{@link #getEntry() <em>Entry</em>}' attribute list. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @see #getEntry() | ||
37 | * @generated | ||
38 | * @ordered | ||
39 | */ | ||
40 | protected EList<String> entry; | ||
41 | |||
42 | /** | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @generated | ||
46 | */ | ||
47 | protected StringEnumerationImpl() | ||
48 | { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | protected EClass eStaticClass() | ||
59 | { | ||
60 | return ApplicationConfigurationPackage.Literals.STRING_ENUMERATION; | ||
61 | } | ||
62 | |||
63 | /** | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | public EList<String> getEntry() | ||
69 | { | ||
70 | if (entry == null) | ||
71 | { | ||
72 | entry = new EDataTypeEList<String>(String.class, this, ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY); | ||
73 | } | ||
74 | return entry; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
84 | { | ||
85 | switch (featureID) | ||
86 | { | ||
87 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | ||
88 | return getEntry(); | ||
89 | } | ||
90 | return super.eGet(featureID, resolve, coreType); | ||
91 | } | ||
92 | |||
93 | /** | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @generated | ||
97 | */ | ||
98 | @SuppressWarnings("unchecked") | ||
99 | @Override | ||
100 | public void eSet(int featureID, Object newValue) | ||
101 | { | ||
102 | switch (featureID) | ||
103 | { | ||
104 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | ||
105 | getEntry().clear(); | ||
106 | getEntry().addAll((Collection<? extends String>)newValue); | ||
107 | return; | ||
108 | } | ||
109 | super.eSet(featureID, newValue); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public void eUnset(int featureID) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | ||
123 | getEntry().clear(); | ||
124 | return; | ||
125 | } | ||
126 | super.eUnset(featureID); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public boolean eIsSet(int featureID) | ||
136 | { | ||
137 | switch (featureID) | ||
138 | { | ||
139 | case ApplicationConfigurationPackage.STRING_ENUMERATION__ENTRY: | ||
140 | return entry != null && !entry.isEmpty(); | ||
141 | } | ||
142 | return super.eIsSet(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public String toString() | ||
152 | { | ||
153 | if (eIsProxy()) return super.toString(); | ||
154 | |||
155 | StringBuffer result = new StringBuffer(super.toString()); | ||
156 | result.append(" (entry: "); | ||
157 | result.append(entry); | ||
158 | result.append(')'); | ||
159 | return result.toString(); | ||
160 | } | ||
161 | |||
162 | } //StringEnumerationImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java new file mode 100644 index 00000000..6d6c41de --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringTypeScopeImpl.java | |||
@@ -0,0 +1,194 @@ | |||
1 | /** | ||
2 | * generated by Xtext 2.10.0 | ||
3 | */ | ||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | ||
5 | |||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | ||
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; | ||
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringTypeScope; | ||
9 | |||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | ||
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | |||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * An implementation of the model object '<em><b>String Type Scope</b></em>'. | ||
21 | * <!-- end-user-doc --> | ||
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringTypeScopeImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | ||
29 | * @generated | ||
30 | */ | ||
31 | public class StringTypeScopeImpl extends TypeScopeImpl implements StringTypeScope | ||
32 | { | ||
33 | /** | ||
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected StringReference type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | protected StringTypeScopeImpl() | ||
49 | { | ||
50 | super(); | ||
51 | } | ||
52 | |||
53 | /** | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | @Override | ||
59 | protected EClass eStaticClass() | ||
60 | { | ||
61 | return ApplicationConfigurationPackage.Literals.STRING_TYPE_SCOPE; | ||
62 | } | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public StringReference getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(StringReference newType, NotificationChain msgs) | ||
80 | { | ||
81 | StringReference oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(StringReference newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: | ||
155 | setType((StringReference)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: | ||
172 | setType((StringReference)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case ApplicationConfigurationPackage.STRING_TYPE_SCOPE__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //StringTypeScopeImpl | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java index 0cc0e0bf..cbce6d18 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java | |||
@@ -4,7 +4,7 @@ | |||
4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; | 4 | package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; |
5 | 5 | ||
6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; | 6 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; |
7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; | 7 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.NumberSpecification; |
8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; | 8 | import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; |
9 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | 10 | import org.eclipse.emf.common.notify.Notification; |
@@ -24,12 +24,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | |||
24 | * The following features are implemented: | 24 | * The following features are implemented: |
25 | * </p> | 25 | * </p> |
26 | * <ul> | 26 | * <ul> |
27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getType <em>Type</em>}</li> | ||
28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew <em>Sets New</em>}</li> | 27 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew <em>Sets New</em>}</li> |
29 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum <em>Sets Sum</em>}</li> | 28 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum <em>Sets Sum</em>}</li> |
30 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMin <em>Min</em>}</li> | 29 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getNumber <em>Number</em>}</li> |
31 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isMaxUnlimited <em>Max Unlimited</em>}</li> | ||
32 | * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMax <em>Max</em>}</li> | ||
33 | * </ul> | 30 | * </ul> |
34 | * | 31 | * |
35 | * @generated | 32 | * @generated |
@@ -37,16 +34,6 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | |||
37 | public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope | 34 | public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope |
38 | { | 35 | { |
39 | /** | 36 | /** |
40 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getType() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected TypeReference type; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. | 37 | * The default value of the '{@link #isSetsNew() <em>Sets New</em>}' attribute. |
51 | * <!-- begin-user-doc --> | 38 | * <!-- begin-user-doc --> |
52 | * <!-- end-user-doc --> | 39 | * <!-- end-user-doc --> |
@@ -87,64 +74,14 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
87 | protected boolean setsSum = SETS_SUM_EDEFAULT; | 74 | protected boolean setsSum = SETS_SUM_EDEFAULT; |
88 | 75 | ||
89 | /** | 76 | /** |
90 | * The default value of the '{@link #getMin() <em>Min</em>}' attribute. | 77 | * The cached value of the '{@link #getNumber() <em>Number</em>}' containment reference. |
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @see #getMin() | ||
94 | * @generated | ||
95 | * @ordered | ||
96 | */ | ||
97 | protected static final int MIN_EDEFAULT = 0; | ||
98 | |||
99 | /** | ||
100 | * The cached value of the '{@link #getMin() <em>Min</em>}' attribute. | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @see #getMin() | ||
104 | * @generated | ||
105 | * @ordered | ||
106 | */ | ||
107 | protected int min = MIN_EDEFAULT; | ||
108 | |||
109 | /** | ||
110 | * The default value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
111 | * <!-- begin-user-doc --> | 78 | * <!-- begin-user-doc --> |
112 | * <!-- end-user-doc --> | 79 | * <!-- end-user-doc --> |
113 | * @see #isMaxUnlimited() | 80 | * @see #getNumber() |
114 | * @generated | 81 | * @generated |
115 | * @ordered | 82 | * @ordered |
116 | */ | 83 | */ |
117 | protected static final boolean MAX_UNLIMITED_EDEFAULT = false; | 84 | protected NumberSpecification number; |
118 | |||
119 | /** | ||
120 | * The cached value of the '{@link #isMaxUnlimited() <em>Max Unlimited</em>}' attribute. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @see #isMaxUnlimited() | ||
124 | * @generated | ||
125 | * @ordered | ||
126 | */ | ||
127 | protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT; | ||
128 | |||
129 | /** | ||
130 | * The default value of the '{@link #getMax() <em>Max</em>}' attribute. | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @see #getMax() | ||
134 | * @generated | ||
135 | * @ordered | ||
136 | */ | ||
137 | protected static final int MAX_EDEFAULT = 0; | ||
138 | |||
139 | /** | ||
140 | * The cached value of the '{@link #getMax() <em>Max</em>}' attribute. | ||
141 | * <!-- begin-user-doc --> | ||
142 | * <!-- end-user-doc --> | ||
143 | * @see #getMax() | ||
144 | * @generated | ||
145 | * @ordered | ||
146 | */ | ||
147 | protected int max = MAX_EDEFAULT; | ||
148 | 85 | ||
149 | /** | 86 | /** |
150 | * <!-- begin-user-doc --> | 87 | * <!-- begin-user-doc --> |
@@ -172,54 +109,6 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
172 | * <!-- end-user-doc --> | 109 | * <!-- end-user-doc --> |
173 | * @generated | 110 | * @generated |
174 | */ | 111 | */ |
175 | public TypeReference getType() | ||
176 | { | ||
177 | return type; | ||
178 | } | ||
179 | |||
180 | /** | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | public NotificationChain basicSetType(TypeReference newType, NotificationChain msgs) | ||
186 | { | ||
187 | TypeReference oldType = type; | ||
188 | type = newType; | ||
189 | if (eNotificationRequired()) | ||
190 | { | ||
191 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, oldType, newType); | ||
192 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
193 | } | ||
194 | return msgs; | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | public void setType(TypeReference newType) | ||
203 | { | ||
204 | if (newType != type) | ||
205 | { | ||
206 | NotificationChain msgs = null; | ||
207 | if (type != null) | ||
208 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); | ||
209 | if (newType != null) | ||
210 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); | ||
211 | msgs = basicSetType(newType, msgs); | ||
212 | if (msgs != null) msgs.dispatch(); | ||
213 | } | ||
214 | else if (eNotificationRequired()) | ||
215 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, newType, newType)); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public boolean isSetsNew() | 112 | public boolean isSetsNew() |
224 | { | 113 | { |
225 | return setsNew; | 114 | return setsNew; |
@@ -266,32 +155,9 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
266 | * <!-- end-user-doc --> | 155 | * <!-- end-user-doc --> |
267 | * @generated | 156 | * @generated |
268 | */ | 157 | */ |
269 | public int getMin() | 158 | public NumberSpecification getNumber() |
270 | { | ||
271 | return min; | ||
272 | } | ||
273 | |||
274 | /** | ||
275 | * <!-- begin-user-doc --> | ||
276 | * <!-- end-user-doc --> | ||
277 | * @generated | ||
278 | */ | ||
279 | public void setMin(int newMin) | ||
280 | { | ||
281 | int oldMin = min; | ||
282 | min = newMin; | ||
283 | if (eNotificationRequired()) | ||
284 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MIN, oldMin, min)); | ||
285 | } | ||
286 | |||
287 | /** | ||
288 | * <!-- begin-user-doc --> | ||
289 | * <!-- end-user-doc --> | ||
290 | * @generated | ||
291 | */ | ||
292 | public boolean isMaxUnlimited() | ||
293 | { | 159 | { |
294 | return maxUnlimited; | 160 | return number; |
295 | } | 161 | } |
296 | 162 | ||
297 | /** | 163 | /** |
@@ -299,22 +165,16 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
299 | * <!-- end-user-doc --> | 165 | * <!-- end-user-doc --> |
300 | * @generated | 166 | * @generated |
301 | */ | 167 | */ |
302 | public void setMaxUnlimited(boolean newMaxUnlimited) | 168 | public NotificationChain basicSetNumber(NumberSpecification newNumber, NotificationChain msgs) |
303 | { | 169 | { |
304 | boolean oldMaxUnlimited = maxUnlimited; | 170 | NumberSpecification oldNumber = number; |
305 | maxUnlimited = newMaxUnlimited; | 171 | number = newNumber; |
306 | if (eNotificationRequired()) | 172 | if (eNotificationRequired()) |
307 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); | 173 | { |
308 | } | 174 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, oldNumber, newNumber); |
309 | 175 | if (msgs == null) msgs = notification; else msgs.add(notification); | |
310 | /** | 176 | } |
311 | * <!-- begin-user-doc --> | 177 | return msgs; |
312 | * <!-- end-user-doc --> | ||
313 | * @generated | ||
314 | */ | ||
315 | public int getMax() | ||
316 | { | ||
317 | return max; | ||
318 | } | 178 | } |
319 | 179 | ||
320 | /** | 180 | /** |
@@ -322,12 +182,20 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
322 | * <!-- end-user-doc --> | 182 | * <!-- end-user-doc --> |
323 | * @generated | 183 | * @generated |
324 | */ | 184 | */ |
325 | public void setMax(int newMax) | 185 | public void setNumber(NumberSpecification newNumber) |
326 | { | 186 | { |
327 | int oldMax = max; | 187 | if (newNumber != number) |
328 | max = newMax; | 188 | { |
329 | if (eNotificationRequired()) | 189 | NotificationChain msgs = null; |
330 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX, oldMax, max)); | 190 | if (number != null) |
191 | msgs = ((InternalEObject)number).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); | ||
192 | if (newNumber != null) | ||
193 | msgs = ((InternalEObject)newNumber).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, null, msgs); | ||
194 | msgs = basicSetNumber(newNumber, msgs); | ||
195 | if (msgs != null) msgs.dispatch(); | ||
196 | } | ||
197 | else if (eNotificationRequired()) | ||
198 | eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER, newNumber, newNumber)); | ||
331 | } | 199 | } |
332 | 200 | ||
333 | /** | 201 | /** |
@@ -340,8 +208,8 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
340 | { | 208 | { |
341 | switch (featureID) | 209 | switch (featureID) |
342 | { | 210 | { |
343 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | 211 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
344 | return basicSetType(null, msgs); | 212 | return basicSetNumber(null, msgs); |
345 | } | 213 | } |
346 | return super.eInverseRemove(otherEnd, featureID, msgs); | 214 | return super.eInverseRemove(otherEnd, featureID, msgs); |
347 | } | 215 | } |
@@ -356,18 +224,12 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
356 | { | 224 | { |
357 | switch (featureID) | 225 | switch (featureID) |
358 | { | 226 | { |
359 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
360 | return getType(); | ||
361 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 227 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
362 | return isSetsNew(); | 228 | return isSetsNew(); |
363 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 229 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
364 | return isSetsSum(); | 230 | return isSetsSum(); |
365 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | 231 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
366 | return getMin(); | 232 | return getNumber(); |
367 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
368 | return isMaxUnlimited(); | ||
369 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
370 | return getMax(); | ||
371 | } | 233 | } |
372 | return super.eGet(featureID, resolve, coreType); | 234 | return super.eGet(featureID, resolve, coreType); |
373 | } | 235 | } |
@@ -382,23 +244,14 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
382 | { | 244 | { |
383 | switch (featureID) | 245 | switch (featureID) |
384 | { | 246 | { |
385 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
386 | setType((TypeReference)newValue); | ||
387 | return; | ||
388 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 247 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
389 | setSetsNew((Boolean)newValue); | 248 | setSetsNew((Boolean)newValue); |
390 | return; | 249 | return; |
391 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 250 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
392 | setSetsSum((Boolean)newValue); | 251 | setSetsSum((Boolean)newValue); |
393 | return; | 252 | return; |
394 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | 253 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
395 | setMin((Integer)newValue); | 254 | setNumber((NumberSpecification)newValue); |
396 | return; | ||
397 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
398 | setMaxUnlimited((Boolean)newValue); | ||
399 | return; | ||
400 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
401 | setMax((Integer)newValue); | ||
402 | return; | 255 | return; |
403 | } | 256 | } |
404 | super.eSet(featureID, newValue); | 257 | super.eSet(featureID, newValue); |
@@ -414,23 +267,14 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
414 | { | 267 | { |
415 | switch (featureID) | 268 | switch (featureID) |
416 | { | 269 | { |
417 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
418 | setType((TypeReference)null); | ||
419 | return; | ||
420 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 270 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
421 | setSetsNew(SETS_NEW_EDEFAULT); | 271 | setSetsNew(SETS_NEW_EDEFAULT); |
422 | return; | 272 | return; |
423 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 273 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
424 | setSetsSum(SETS_SUM_EDEFAULT); | 274 | setSetsSum(SETS_SUM_EDEFAULT); |
425 | return; | 275 | return; |
426 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | 276 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
427 | setMin(MIN_EDEFAULT); | 277 | setNumber((NumberSpecification)null); |
428 | return; | ||
429 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
430 | setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); | ||
431 | return; | ||
432 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
433 | setMax(MAX_EDEFAULT); | ||
434 | return; | 278 | return; |
435 | } | 279 | } |
436 | super.eUnset(featureID); | 280 | super.eUnset(featureID); |
@@ -446,18 +290,12 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
446 | { | 290 | { |
447 | switch (featureID) | 291 | switch (featureID) |
448 | { | 292 | { |
449 | case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: | ||
450 | return type != null; | ||
451 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: | 293 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: |
452 | return setsNew != SETS_NEW_EDEFAULT; | 294 | return setsNew != SETS_NEW_EDEFAULT; |
453 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: | 295 | case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: |
454 | return setsSum != SETS_SUM_EDEFAULT; | 296 | return setsSum != SETS_SUM_EDEFAULT; |
455 | case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: | 297 | case ApplicationConfigurationPackage.TYPE_SCOPE__NUMBER: |
456 | return min != MIN_EDEFAULT; | 298 | return number != null; |
457 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: | ||
458 | return maxUnlimited != MAX_UNLIMITED_EDEFAULT; | ||
459 | case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: | ||
460 | return max != MAX_EDEFAULT; | ||
461 | } | 299 | } |
462 | return super.eIsSet(featureID); | 300 | return super.eIsSet(featureID); |
463 | } | 301 | } |
@@ -477,12 +315,6 @@ public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeS | |||
477 | result.append(setsNew); | 315 | result.append(setsNew); |
478 | result.append(", setsSum: "); | 316 | result.append(", setsSum: "); |
479 | result.append(setsSum); | 317 | result.append(setsSum); |
480 | result.append(", min: "); | ||
481 | result.append(min); | ||
482 | result.append(", maxUnlimited: "); | ||
483 | result.append(maxUnlimited); | ||
484 | result.append(", max: "); | ||
485 | result.append(max); | ||
486 | result.append(')'); | 318 | result.append(')'); |
487 | return result.toString(); | 319 | return result.toString(); |
488 | } | 320 | } |