diff options
author | 2018-02-24 19:37:32 -0500 | |
---|---|---|
committer | 2018-02-24 19:37:32 -0500 | |
commit | 455c332357a1da6ee8073811b6aa72fc5edda51e (patch) | |
tree | d3db6b7c4244ee5b01f1b9704db02a62ef7ce364 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | |
parent | Translated PQueryies are added to annotation. (diff) | |
download | VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.tar.gz VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.tar.zst VIATRA-Generator-455c332357a1da6ee8073811b6aa72fc5edda51e.zip |
Application configuration update
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java')
-rw-r--r-- | Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java | 74 |
1 files changed, 74 insertions, 0 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 8ecf838a..d20c3046 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 | |||
@@ -100,6 +100,10 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
100 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); | 100 | case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); |
101 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); | 101 | case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); |
102 | case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); | 102 | case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); |
103 | case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); | ||
104 | case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); | ||
105 | case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); | ||
106 | case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); | ||
103 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); | 107 | case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); |
104 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); | 108 | case ApplicationConfigurationPackage.CONFIG: return createConfig(); |
105 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); | 109 | case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); |
@@ -144,6 +148,8 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
144 | { | 148 | { |
145 | switch (eDataType.getClassifierID()) | 149 | switch (eDataType.getClassifierID()) |
146 | { | 150 | { |
151 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: | ||
152 | return createDocumentLevelSpecificationFromString(eDataType, initialValue); | ||
147 | case ApplicationConfigurationPackage.SOLVER: | 153 | case ApplicationConfigurationPackage.SOLVER: |
148 | return createSolverFromString(eDataType, initialValue); | 154 | return createSolverFromString(eDataType, initialValue); |
149 | default: | 155 | default: |
@@ -161,6 +167,8 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
161 | { | 167 | { |
162 | switch (eDataType.getClassifierID()) | 168 | switch (eDataType.getClassifierID()) |
163 | { | 169 | { |
170 | case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: | ||
171 | return convertDocumentLevelSpecificationToString(eDataType, instanceValue); | ||
164 | case ApplicationConfigurationPackage.SOLVER: | 172 | case ApplicationConfigurationPackage.SOLVER: |
165 | return convertSolverToString(eDataType, instanceValue); | 173 | return convertSolverToString(eDataType, instanceValue); |
166 | default: | 174 | default: |
@@ -547,6 +555,50 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
547 | * <!-- end-user-doc --> | 555 | * <!-- end-user-doc --> |
548 | * @generated | 556 | * @generated |
549 | */ | 557 | */ |
558 | public DocumentationEntry createDocumentationEntry() | ||
559 | { | ||
560 | DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); | ||
561 | return documentationEntry; | ||
562 | } | ||
563 | |||
564 | /** | ||
565 | * <!-- begin-user-doc --> | ||
566 | * <!-- end-user-doc --> | ||
567 | * @generated | ||
568 | */ | ||
569 | public RuntimeEntry createRuntimeEntry() | ||
570 | { | ||
571 | RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); | ||
572 | return runtimeEntry; | ||
573 | } | ||
574 | |||
575 | /** | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | */ | ||
580 | public MemoryEntry createMemoryEntry() | ||
581 | { | ||
582 | MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); | ||
583 | return memoryEntry; | ||
584 | } | ||
585 | |||
586 | /** | ||
587 | * <!-- begin-user-doc --> | ||
588 | * <!-- end-user-doc --> | ||
589 | * @generated | ||
590 | */ | ||
591 | public CustomEntry createCustomEntry() | ||
592 | { | ||
593 | CustomEntryImpl customEntry = new CustomEntryImpl(); | ||
594 | return customEntry; | ||
595 | } | ||
596 | |||
597 | /** | ||
598 | * <!-- begin-user-doc --> | ||
599 | * <!-- end-user-doc --> | ||
600 | * @generated | ||
601 | */ | ||
550 | public ConfigReference createConfigReference() | 602 | public ConfigReference createConfigReference() |
551 | { | 603 | { |
552 | ConfigReferenceImpl configReference = new ConfigReferenceImpl(); | 604 | ConfigReferenceImpl configReference = new ConfigReferenceImpl(); |
@@ -866,6 +918,28 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements | |||
866 | * <!-- end-user-doc --> | 918 | * <!-- end-user-doc --> |
867 | * @generated | 919 | * @generated |
868 | */ | 920 | */ |
921 | public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) | ||
922 | { | ||
923 | DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); | ||
924 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
925 | return result; | ||
926 | } | ||
927 | |||
928 | /** | ||
929 | * <!-- begin-user-doc --> | ||
930 | * <!-- end-user-doc --> | ||
931 | * @generated | ||
932 | */ | ||
933 | public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) | ||
934 | { | ||
935 | return instanceValue == null ? null : instanceValue.toString(); | ||
936 | } | ||
937 | |||
938 | /** | ||
939 | * <!-- begin-user-doc --> | ||
940 | * <!-- end-user-doc --> | ||
941 | * @generated | ||
942 | */ | ||
869 | public Solver createSolverFromString(EDataType eDataType, String initialValue) | 943 | public Solver createSolverFromString(EDataType eDataType, String initialValue) |
870 | { | 944 | { |
871 | Solver result = Solver.get(initialValue); | 945 | Solver result = Solver.get(initialValue); |