aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl
diff options
context:
space:
mode:
authorLibravatar OszkarSemerath <oszkar.semerath@gmail.com>2018-02-24 19:37:32 -0500
committerLibravatar OszkarSemerath <oszkar.semerath@gmail.com>2018-02-24 19:37:32 -0500
commit455c332357a1da6ee8073811b6aa72fc5edda51e (patch)
treed3db6b7c4244ee5b01f1b9704db02a62ef7ce364 /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl
parentTranslated PQueryies are added to annotation. (diff)
downloadVIATRA-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')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java74
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java168
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java191
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java233
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java178
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java177
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java177
7 files changed, 999 insertions, 199 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);
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 dd103901..ebf447ca 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
@@ -16,7 +16,10 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEnt
16import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; 16import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference;
17import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; 17import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification;
18import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; 18import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript;
19import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry;
19import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; 20import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration;
21import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification;
22import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry;
20import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; 23import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport;
21import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; 24import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber;
22import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; 25import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File;
@@ -34,6 +37,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerRe
34import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; 37import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope;
35import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; 38import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope;
36import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; 39import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber;
40import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry;
37import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; 41import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel;
38import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; 42import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration;
39import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; 43import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement;
@@ -56,6 +60,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnume
56import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; 60import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference;
57import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; 61import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope;
58import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; 62import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope;
63import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry;
59import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; 64import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope;
60import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; 65import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration;
61import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; 66import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference;
@@ -332,6 +337,34 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
332 * <!-- end-user-doc --> 337 * <!-- end-user-doc -->
333 * @generated 338 * @generated
334 */ 339 */
340 private EClass documentationEntryEClass = null;
341
342 /**
343 * <!-- begin-user-doc -->
344 * <!-- end-user-doc -->
345 * @generated
346 */
347 private EClass runtimeEntryEClass = null;
348
349 /**
350 * <!-- begin-user-doc -->
351 * <!-- end-user-doc -->
352 * @generated
353 */
354 private EClass memoryEntryEClass = null;
355
356 /**
357 * <!-- begin-user-doc -->
358 * <!-- end-user-doc -->
359 * @generated
360 */
361 private EClass customEntryEClass = null;
362
363 /**
364 * <!-- begin-user-doc -->
365 * <!-- end-user-doc -->
366 * @generated
367 */
335 private EClass configReferenceEClass = null; 368 private EClass configReferenceEClass = null;
336 369
337 /** 370 /**
@@ -535,6 +568,13 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
535 * <!-- end-user-doc --> 568 * <!-- end-user-doc -->
536 * @generated 569 * @generated
537 */ 570 */
571 private EEnum documentLevelSpecificationEEnum = null;
572
573 /**
574 * <!-- begin-user-doc -->
575 * <!-- end-user-doc -->
576 * @generated
577 */
538 private EEnum solverEEnum = null; 578 private EEnum solverEEnum = null;
539 579
540 /** 580 /**
@@ -1229,9 +1269,29 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
1229 * <!-- end-user-doc --> 1269 * <!-- end-user-doc -->
1230 * @generated 1270 * @generated
1231 */ 1271 */
1232 public EAttribute getConfigEntry_Key() 1272 public EClass getDocumentationEntry()
1273 {
1274 return documentationEntryEClass;
1275 }
1276
1277 /**
1278 * <!-- begin-user-doc -->
1279 * <!-- end-user-doc -->
1280 * @generated
1281 */
1282 public EAttribute getDocumentationEntry_Level()
1283 {
1284 return (EAttribute)documentationEntryEClass.getEStructuralFeatures().get(0);
1285 }
1286
1287 /**
1288 * <!-- begin-user-doc -->
1289 * <!-- end-user-doc -->
1290 * @generated
1291 */
1292 public EClass getRuntimeEntry()
1233 { 1293 {
1234 return (EAttribute)configEntryEClass.getEStructuralFeatures().get(0); 1294 return runtimeEntryEClass;
1235 } 1295 }
1236 1296
1237 /** 1297 /**
@@ -1239,9 +1299,59 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
1239 * <!-- end-user-doc --> 1299 * <!-- end-user-doc -->
1240 * @generated 1300 * @generated
1241 */ 1301 */
1242 public EAttribute getConfigEntry_Value() 1302 public EAttribute getRuntimeEntry_MillisecLimit()
1243 { 1303 {
1244 return (EAttribute)configEntryEClass.getEStructuralFeatures().get(1); 1304 return (EAttribute)runtimeEntryEClass.getEStructuralFeatures().get(0);
1305 }
1306
1307 /**
1308 * <!-- begin-user-doc -->
1309 * <!-- end-user-doc -->
1310 * @generated
1311 */
1312 public EClass getMemoryEntry()
1313 {
1314 return memoryEntryEClass;
1315 }
1316
1317 /**
1318 * <!-- begin-user-doc -->
1319 * <!-- end-user-doc -->
1320 * @generated
1321 */
1322 public EAttribute getMemoryEntry_MegabyteLimit()
1323 {
1324 return (EAttribute)memoryEntryEClass.getEStructuralFeatures().get(0);
1325 }
1326
1327 /**
1328 * <!-- begin-user-doc -->
1329 * <!-- end-user-doc -->
1330 * @generated
1331 */
1332 public EClass getCustomEntry()
1333 {
1334 return customEntryEClass;
1335 }
1336
1337 /**
1338 * <!-- begin-user-doc -->
1339 * <!-- end-user-doc -->
1340 * @generated
1341 */
1342 public EAttribute getCustomEntry_Key()
1343 {
1344 return (EAttribute)customEntryEClass.getEStructuralFeatures().get(0);
1345 }
1346
1347 /**
1348 * <!-- begin-user-doc -->
1349 * <!-- end-user-doc -->
1350 * @generated
1351 */
1352 public EAttribute getCustomEntry_Value()
1353 {
1354 return (EAttribute)customEntryEClass.getEStructuralFeatures().get(1);
1245 } 1355 }
1246 1356
1247 /** 1357 /**
@@ -1889,6 +1999,16 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
1889 * <!-- end-user-doc --> 1999 * <!-- end-user-doc -->
1890 * @generated 2000 * @generated
1891 */ 2001 */
2002 public EEnum getDocumentLevelSpecification()
2003 {
2004 return documentLevelSpecificationEEnum;
2005 }
2006
2007 /**
2008 * <!-- begin-user-doc -->
2009 * <!-- end-user-doc -->
2010 * @generated
2011 */
1892 public EEnum getSolver() 2012 public EEnum getSolver()
1893 { 2013 {
1894 return solverEEnum; 2014 return solverEEnum;
@@ -2019,8 +2139,19 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
2019 createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION); 2139 createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION);
2020 2140
2021 configEntryEClass = createEClass(CONFIG_ENTRY); 2141 configEntryEClass = createEClass(CONFIG_ENTRY);
2022 createEAttribute(configEntryEClass, CONFIG_ENTRY__KEY); 2142
2023 createEAttribute(configEntryEClass, CONFIG_ENTRY__VALUE); 2143 documentationEntryEClass = createEClass(DOCUMENTATION_ENTRY);
2144 createEAttribute(documentationEntryEClass, DOCUMENTATION_ENTRY__LEVEL);
2145
2146 runtimeEntryEClass = createEClass(RUNTIME_ENTRY);
2147 createEAttribute(runtimeEntryEClass, RUNTIME_ENTRY__MILLISEC_LIMIT);
2148
2149 memoryEntryEClass = createEClass(MEMORY_ENTRY);
2150 createEAttribute(memoryEntryEClass, MEMORY_ENTRY__MEGABYTE_LIMIT);
2151
2152 customEntryEClass = createEClass(CUSTOM_ENTRY);
2153 createEAttribute(customEntryEClass, CUSTOM_ENTRY__KEY);
2154 createEAttribute(customEntryEClass, CUSTOM_ENTRY__VALUE);
2024 2155
2025 configReferenceEClass = createEClass(CONFIG_REFERENCE); 2156 configReferenceEClass = createEClass(CONFIG_REFERENCE);
2026 createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG); 2157 createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG);
@@ -2116,6 +2247,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
2116 stringScopeEClass = createEClass(STRING_SCOPE); 2247 stringScopeEClass = createEClass(STRING_SCOPE);
2117 2248
2118 // Create enums 2249 // Create enums
2250 documentLevelSpecificationEEnum = createEEnum(DOCUMENT_LEVEL_SPECIFICATION);
2119 solverEEnum = createEEnum(SOLVER); 2251 solverEEnum = createEEnum(SOLVER);
2120 } 2252 }
2121 2253
@@ -2175,6 +2307,10 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
2175 graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern()); 2307 graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern());
2176 configSpecificationEClass.getESuperTypes().add(this.getConfig()); 2308 configSpecificationEClass.getESuperTypes().add(this.getConfig());
2177 configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); 2309 configDeclarationEClass.getESuperTypes().add(this.getDeclaration());
2310 documentationEntryEClass.getESuperTypes().add(this.getConfigEntry());
2311 runtimeEntryEClass.getESuperTypes().add(this.getConfigEntry());
2312 memoryEntryEClass.getESuperTypes().add(this.getConfigEntry());
2313 customEntryEClass.getESuperTypes().add(this.getConfigEntry());
2178 configReferenceEClass.getESuperTypes().add(this.getConfig()); 2314 configReferenceEClass.getESuperTypes().add(this.getConfig());
2179 scopeSpecificationEClass.getESuperTypes().add(this.getScope()); 2315 scopeSpecificationEClass.getESuperTypes().add(this.getScope());
2180 classTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); 2316 classTypeScopeEClass.getESuperTypes().add(this.getTypeScope());
@@ -2296,8 +2432,19 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
2296 initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 2432 initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2297 2433
2298 initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 2434 initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2299 initEAttribute(getConfigEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 2435
2300 initEAttribute(getConfigEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 2436 initEClass(documentationEntryEClass, DocumentationEntry.class, "DocumentationEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2437 initEAttribute(getDocumentationEntry_Level(), this.getDocumentLevelSpecification(), "level", null, 0, 1, DocumentationEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2438
2439 initEClass(runtimeEntryEClass, RuntimeEntry.class, "RuntimeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2440 initEAttribute(getRuntimeEntry_MillisecLimit(), theEcorePackage.getEInt(), "millisecLimit", null, 0, 1, RuntimeEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2441
2442 initEClass(memoryEntryEClass, MemoryEntry.class, "MemoryEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2443 initEAttribute(getMemoryEntry_MegabyteLimit(), theEcorePackage.getEInt(), "megabyteLimit", null, 0, 1, MemoryEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2444
2445 initEClass(customEntryEClass, CustomEntry.class, "CustomEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2446 initEAttribute(getCustomEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2447 initEAttribute(getCustomEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, CustomEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2301 2448
2302 initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 2449 initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2303 initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); 2450 initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -2393,6 +2540,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements
2393 initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 2540 initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2394 2541
2395 // Initialize enums and add enum literals 2542 // Initialize enums and add enum literals
2543 initEEnum(documentLevelSpecificationEEnum, DocumentLevelSpecification.class, "DocumentLevelSpecification");
2544 addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NONE);
2545 addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NORMAL);
2546 addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.FULL);
2547
2396 initEEnum(solverEEnum, Solver.class, "Solver"); 2548 initEEnum(solverEEnum, Solver.class, "Solver");
2397 addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER); 2549 addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER);
2398 addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER); 2550 addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER);
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java
index 3ab3d587..191664c8 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java
@@ -6,70 +6,20 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; 6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; 7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry;
8 8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass; 9import org.eclipse.emf.ecore.EClass;
12 10
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; 11import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
15 12
16/** 13/**
17 * <!-- begin-user-doc --> 14 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>Config Entry</b></em>'. 15 * An implementation of the model object '<em><b>Config Entry</b></em>'.
19 * <!-- end-user-doc --> 16 * <!-- end-user-doc -->
20 * <p>
21 * The following features are implemented:
22 * </p>
23 * <ul>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getKey <em>Key</em>}</li>
25 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getValue <em>Value</em>}</li>
26 * </ul>
27 * 17 *
28 * @generated 18 * @generated
29 */ 19 */
30public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry 20public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry
31{ 21{
32 /** 22 /**
33 * The default value of the '{@link #getKey() <em>Key</em>}' attribute.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @see #getKey()
37 * @generated
38 * @ordered
39 */
40 protected static final String KEY_EDEFAULT = null;
41
42 /**
43 * The cached value of the '{@link #getKey() <em>Key</em>}' attribute.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @see #getKey()
47 * @generated
48 * @ordered
49 */
50 protected String key = KEY_EDEFAULT;
51
52 /**
53 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @see #getValue()
57 * @generated
58 * @ordered
59 */
60 protected static final String VALUE_EDEFAULT = null;
61
62 /**
63 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @see #getValue()
67 * @generated
68 * @ordered
69 */
70 protected String value = VALUE_EDEFAULT;
71
72 /**
73 * <!-- begin-user-doc --> 23 * <!-- begin-user-doc -->
74 * <!-- end-user-doc --> 24 * <!-- end-user-doc -->
75 * @generated 25 * @generated
@@ -90,145 +40,4 @@ public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements Con
90 return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; 40 return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY;
91 } 41 }
92 42
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 public String getKey()
99 {
100 return key;
101 }
102
103 /**
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @generated
107 */
108 public void setKey(String newKey)
109 {
110 String oldKey = key;
111 key = newKey;
112 if (eNotificationRequired())
113 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__KEY, oldKey, key));
114 }
115
116 /**
117 * <!-- begin-user-doc -->
118 * <!-- end-user-doc -->
119 * @generated
120 */
121 public String getValue()
122 {
123 return value;
124 }
125
126 /**
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @generated
130 */
131 public void setValue(String newValue)
132 {
133 String oldValue = value;
134 value = newValue;
135 if (eNotificationRequired())
136 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE, oldValue, value));
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public Object eGet(int featureID, boolean resolve, boolean coreType)
146 {
147 switch (featureID)
148 {
149 case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY:
150 return getKey();
151 case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE:
152 return getValue();
153 }
154 return super.eGet(featureID, resolve, coreType);
155 }
156
157 /**
158 * <!-- begin-user-doc -->
159 * <!-- end-user-doc -->
160 * @generated
161 */
162 @Override
163 public void eSet(int featureID, Object newValue)
164 {
165 switch (featureID)
166 {
167 case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY:
168 setKey((String)newValue);
169 return;
170 case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE:
171 setValue((String)newValue);
172 return;
173 }
174 super.eSet(featureID, newValue);
175 }
176
177 /**
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @generated
181 */
182 @Override
183 public void eUnset(int featureID)
184 {
185 switch (featureID)
186 {
187 case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY:
188 setKey(KEY_EDEFAULT);
189 return;
190 case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE:
191 setValue(VALUE_EDEFAULT);
192 return;
193 }
194 super.eUnset(featureID);
195 }
196
197 /**
198 * <!-- begin-user-doc -->
199 * <!-- end-user-doc -->
200 * @generated
201 */
202 @Override
203 public boolean eIsSet(int featureID)
204 {
205 switch (featureID)
206 {
207 case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY:
208 return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
209 case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE:
210 return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
211 }
212 return super.eIsSet(featureID);
213 }
214
215 /**
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @generated
219 */
220 @Override
221 public String toString()
222 {
223 if (eIsProxy()) return super.toString();
224
225 StringBuffer result = new StringBuffer(super.toString());
226 result.append(" (key: ");
227 result.append(key);
228 result.append(", value: ");
229 result.append(value);
230 result.append(')');
231 return result.toString();
232 }
233
234} //ConfigEntryImpl 43} //ConfigEntryImpl
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java
new file mode 100644
index 00000000..e25d9093
--- /dev/null
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java
@@ -0,0 +1,233 @@
1/**
2 * generated by Xtext 2.10.0
3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>Custom Entry</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.CustomEntryImpl#getKey <em>Key</em>}</li>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl#getValue <em>Value</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry
30{
31 /**
32 * The default value of the '{@link #getKey() <em>Key</em>}' attribute.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #getKey()
36 * @generated
37 * @ordered
38 */
39 protected static final String KEY_EDEFAULT = null;
40
41 /**
42 * The cached value of the '{@link #getKey() <em>Key</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #getKey()
46 * @generated
47 * @ordered
48 */
49 protected String key = KEY_EDEFAULT;
50
51 /**
52 * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @see #getValue()
56 * @generated
57 * @ordered
58 */
59 protected static final String VALUE_EDEFAULT = null;
60
61 /**
62 * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @see #getValue()
66 * @generated
67 * @ordered
68 */
69 protected String value = VALUE_EDEFAULT;
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 protected CustomEntryImpl()
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.CUSTOM_ENTRY;
90 }
91
92 /**
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @generated
96 */
97 public String getKey()
98 {
99 return key;
100 }
101
102 /**
103 * <!-- begin-user-doc -->
104 * <!-- end-user-doc -->
105 * @generated
106 */
107 public void setKey(String newKey)
108 {
109 String oldKey = key;
110 key = newKey;
111 if (eNotificationRequired())
112 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key));
113 }
114
115 /**
116 * <!-- begin-user-doc -->
117 * <!-- end-user-doc -->
118 * @generated
119 */
120 public String getValue()
121 {
122 return value;
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 public void setValue(String newValue)
131 {
132 String oldValue = value;
133 value = newValue;
134 if (eNotificationRequired())
135 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value));
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.CUSTOM_ENTRY__KEY:
149 return getKey();
150 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
151 return getValue();
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.CUSTOM_ENTRY__KEY:
167 setKey((String)newValue);
168 return;
169 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
170 setValue((String)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.CUSTOM_ENTRY__KEY:
187 setKey(KEY_EDEFAULT);
188 return;
189 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
190 setValue(VALUE_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.CUSTOM_ENTRY__KEY:
207 return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
208 case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE:
209 return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
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(" (key: ");
226 result.append(key);
227 result.append(", value: ");
228 result.append(value);
229 result.append(')');
230 return result.toString();
231 }
232
233} //CustomEntryImpl
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java
new file mode 100644
index 00000000..b3f1b95b
--- /dev/null
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java
@@ -0,0 +1,178 @@
1/**
2 * generated by Xtext 2.10.0
3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification;
8import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry;
9
10import org.eclipse.emf.common.notify.Notification;
11
12import org.eclipse.emf.ecore.EClass;
13
14import org.eclipse.emf.ecore.impl.ENotificationImpl;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model object '<em><b>Documentation Entry</b></em>'.
19 * <!-- end-user-doc -->
20 * <p>
21 * The following features are implemented:
22 * </p>
23 * <ul>
24 * <li>{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl#getLevel <em>Level</em>}</li>
25 * </ul>
26 *
27 * @generated
28 */
29public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry
30{
31 /**
32 * The default value of the '{@link #getLevel() <em>Level</em>}' attribute.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #getLevel()
36 * @generated
37 * @ordered
38 */
39 protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE;
40
41 /**
42 * The cached value of the '{@link #getLevel() <em>Level</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #getLevel()
46 * @generated
47 * @ordered
48 */
49 protected DocumentLevelSpecification level = LEVEL_EDEFAULT;
50
51 /**
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @generated
55 */
56 protected DocumentationEntryImpl()
57 {
58 super();
59 }
60
61 /**
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @generated
65 */
66 @Override
67 protected EClass eStaticClass()
68 {
69 return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY;
70 }
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 public DocumentLevelSpecification getLevel()
78 {
79 return level;
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 public void setLevel(DocumentLevelSpecification newLevel)
88 {
89 DocumentLevelSpecification oldLevel = level;
90 level = newLevel == null ? LEVEL_EDEFAULT : newLevel;
91 if (eNotificationRequired())
92 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level));
93 }
94
95 /**
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @generated
99 */
100 @Override
101 public Object eGet(int featureID, boolean resolve, boolean coreType)
102 {
103 switch (featureID)
104 {
105 case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL:
106 return getLevel();
107 }
108 return super.eGet(featureID, resolve, coreType);
109 }
110
111 /**
112 * <!-- begin-user-doc -->
113 * <!-- end-user-doc -->
114 * @generated
115 */
116 @Override
117 public void eSet(int featureID, Object newValue)
118 {
119 switch (featureID)
120 {
121 case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL:
122 setLevel((DocumentLevelSpecification)newValue);
123 return;
124 }
125 super.eSet(featureID, newValue);
126 }
127
128 /**
129 * <!-- begin-user-doc -->
130 * <!-- end-user-doc -->
131 * @generated
132 */
133 @Override
134 public void eUnset(int featureID)
135 {
136 switch (featureID)
137 {
138 case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL:
139 setLevel(LEVEL_EDEFAULT);
140 return;
141 }
142 super.eUnset(featureID);
143 }
144
145 /**
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 */
150 @Override
151 public boolean eIsSet(int featureID)
152 {
153 switch (featureID)
154 {
155 case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL:
156 return level != LEVEL_EDEFAULT;
157 }
158 return super.eIsSet(featureID);
159 }
160
161 /**
162 * <!-- begin-user-doc -->
163 * <!-- end-user-doc -->
164 * @generated
165 */
166 @Override
167 public String toString()
168 {
169 if (eIsProxy()) return super.toString();
170
171 StringBuffer result = new StringBuffer(super.toString());
172 result.append(" (level: ");
173 result.append(level);
174 result.append(')');
175 return result.toString();
176 }
177
178} //DocumentationEntryImpl
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java
new file mode 100644
index 00000000..7545982e
--- /dev/null
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java
@@ -0,0 +1,177 @@
1/**
2 * generated by Xtext 2.10.0
3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>Memory Entry</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.MemoryEntryImpl#getMegabyteLimit <em>Megabyte Limit</em>}</li>
24 * </ul>
25 *
26 * @generated
27 */
28public class MemoryEntryImpl extends ConfigEntryImpl implements MemoryEntry
29{
30 /**
31 * The default value of the '{@link #getMegabyteLimit() <em>Megabyte Limit</em>}' attribute.
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @see #getMegabyteLimit()
35 * @generated
36 * @ordered
37 */
38 protected static final int MEGABYTE_LIMIT_EDEFAULT = 0;
39
40 /**
41 * The cached value of the '{@link #getMegabyteLimit() <em>Megabyte Limit</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getMegabyteLimit()
45 * @generated
46 * @ordered
47 */
48 protected int megabyteLimit = MEGABYTE_LIMIT_EDEFAULT;
49
50 /**
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @generated
54 */
55 protected MemoryEntryImpl()
56 {
57 super();
58 }
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 @Override
66 protected EClass eStaticClass()
67 {
68 return ApplicationConfigurationPackage.Literals.MEMORY_ENTRY;
69 }
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 public int getMegabyteLimit()
77 {
78 return megabyteLimit;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 public void setMegabyteLimit(int newMegabyteLimit)
87 {
88 int oldMegabyteLimit = megabyteLimit;
89 megabyteLimit = newMegabyteLimit;
90 if (eNotificationRequired())
91 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT, oldMegabyteLimit, megabyteLimit));
92 }
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 @Override
100 public Object eGet(int featureID, boolean resolve, boolean coreType)
101 {
102 switch (featureID)
103 {
104 case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT:
105 return getMegabyteLimit();
106 }
107 return super.eGet(featureID, resolve, coreType);
108 }
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 @Override
116 public void eSet(int featureID, Object newValue)
117 {
118 switch (featureID)
119 {
120 case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT:
121 setMegabyteLimit((Integer)newValue);
122 return;
123 }
124 super.eSet(featureID, newValue);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public void eUnset(int featureID)
134 {
135 switch (featureID)
136 {
137 case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT:
138 setMegabyteLimit(MEGABYTE_LIMIT_EDEFAULT);
139 return;
140 }
141 super.eUnset(featureID);
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public boolean eIsSet(int featureID)
151 {
152 switch (featureID)
153 {
154 case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT:
155 return megabyteLimit != MEGABYTE_LIMIT_EDEFAULT;
156 }
157 return super.eIsSet(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public String toString()
167 {
168 if (eIsProxy()) return super.toString();
169
170 StringBuffer result = new StringBuffer(super.toString());
171 result.append(" (megabyteLimit: ");
172 result.append(megabyteLimit);
173 result.append(')');
174 return result.toString();
175 }
176
177} //MemoryEntryImpl
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java
new file mode 100644
index 00000000..4e25ecb4
--- /dev/null
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java
@@ -0,0 +1,177 @@
1/**
2 * generated by Xtext 2.10.0
3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl;
5
6import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage;
7import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>Runtime Entry</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.RuntimeEntryImpl#getMillisecLimit <em>Millisec Limit</em>}</li>
24 * </ul>
25 *
26 * @generated
27 */
28public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry
29{
30 /**
31 * The default value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute.
32 * <!-- begin-user-doc -->
33 * <!-- end-user-doc -->
34 * @see #getMillisecLimit()
35 * @generated
36 * @ordered
37 */
38 protected static final int MILLISEC_LIMIT_EDEFAULT = 0;
39
40 /**
41 * The cached value of the '{@link #getMillisecLimit() <em>Millisec Limit</em>}' attribute.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getMillisecLimit()
45 * @generated
46 * @ordered
47 */
48 protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT;
49
50 /**
51 * <!-- begin-user-doc -->
52 * <!-- end-user-doc -->
53 * @generated
54 */
55 protected RuntimeEntryImpl()
56 {
57 super();
58 }
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 @Override
66 protected EClass eStaticClass()
67 {
68 return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY;
69 }
70
71 /**
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @generated
75 */
76 public int getMillisecLimit()
77 {
78 return millisecLimit;
79 }
80
81 /**
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 */
86 public void setMillisecLimit(int newMillisecLimit)
87 {
88 int oldMillisecLimit = millisecLimit;
89 millisecLimit = newMillisecLimit;
90 if (eNotificationRequired())
91 eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit));
92 }
93
94 /**
95 * <!-- begin-user-doc -->
96 * <!-- end-user-doc -->
97 * @generated
98 */
99 @Override
100 public Object eGet(int featureID, boolean resolve, boolean coreType)
101 {
102 switch (featureID)
103 {
104 case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT:
105 return getMillisecLimit();
106 }
107 return super.eGet(featureID, resolve, coreType);
108 }
109
110 /**
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 @Override
116 public void eSet(int featureID, Object newValue)
117 {
118 switch (featureID)
119 {
120 case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT:
121 setMillisecLimit((Integer)newValue);
122 return;
123 }
124 super.eSet(featureID, newValue);
125 }
126
127 /**
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 */
132 @Override
133 public void eUnset(int featureID)
134 {
135 switch (featureID)
136 {
137 case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT:
138 setMillisecLimit(MILLISEC_LIMIT_EDEFAULT);
139 return;
140 }
141 super.eUnset(featureID);
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 @Override
150 public boolean eIsSet(int featureID)
151 {
152 switch (featureID)
153 {
154 case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT:
155 return millisecLimit != MILLISEC_LIMIT_EDEFAULT;
156 }
157 return super.eIsSet(featureID);
158 }
159
160 /**
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @generated
164 */
165 @Override
166 public String toString()
167 {
168 if (eIsProxy()) return super.toString();
169
170 StringBuffer result = new StringBuffer(super.toString());
171 result.append(" (millisecLimit: ");
172 result.append(millisecLimit);
173 result.append(')');
174 return result.toString();
175 }
176
177} //RuntimeEntryImpl