From 455c332357a1da6ee8073811b6aa72fc5edda51e Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Sat, 24 Feb 2018 19:37:32 -0500 Subject: Application configuration update --- .../ApplicationConfigurationFactory.java | 36 +++ .../ApplicationConfigurationPackage.java | 358 ++++++++++++++++++--- .../applicationConfiguration/ConfigEntry.java | 59 ---- .../applicationConfiguration/CustomEntry.java | 78 +++++ .../DocumentLevelSpecification.java | 257 +++++++++++++++ .../DocumentationEntry.java | 54 ++++ .../applicationConfiguration/MemoryEntry.java | 51 +++ .../applicationConfiguration/RuntimeEntry.java | 51 +++ .../impl/ApplicationConfigurationFactoryImpl.java | 74 +++++ .../impl/ApplicationConfigurationPackageImpl.java | 168 +++++++++- .../impl/ConfigEntryImpl.java | 191 ----------- .../impl/CustomEntryImpl.java | 233 ++++++++++++++ .../impl/DocumentationEntryImpl.java | 178 ++++++++++ .../impl/MemoryEntryImpl.java | 177 ++++++++++ .../impl/RuntimeEntryImpl.java | 177 ++++++++++ .../ApplicationConfigurationAdapterFactory.java | 80 +++++ .../util/ApplicationConfigurationSwitch.java | 96 ++++++ 17 files changed, 2016 insertions(+), 302 deletions(-) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/CustomEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DocumentationEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MemoryEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RuntimeEntryImpl.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index 11e54727..f9e9e934 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java @@ -329,6 +329,42 @@ public interface ApplicationConfigurationFactory extends EFactory */ ConfigEntry createConfigEntry(); + /** + * Returns a new object of class 'Documentation Entry'. + * + * + * @return a new object of class 'Documentation Entry'. + * @generated + */ + DocumentationEntry createDocumentationEntry(); + + /** + * Returns a new object of class 'Runtime Entry'. + * + * + * @return a new object of class 'Runtime Entry'. + * @generated + */ + RuntimeEntry createRuntimeEntry(); + + /** + * Returns a new object of class 'Memory Entry'. + * + * + * @return a new object of class 'Memory Entry'. + * @generated + */ + MemoryEntry createMemoryEntry(); + + /** + * Returns a new object of class 'Custom Entry'. + * + * + * @return a new object of class 'Custom Entry'. + * @generated + */ + CustomEntry createCustomEntry(); + /** * Returns a new object of class 'Config Reference'. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java index 2046ffa8..dc6658e6 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java @@ -979,7 +979,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() * @generated */ - int CONFIG = 35; + int CONFIG = 39; /** * The number of structural features of the 'Config' class. @@ -1065,6 +1065,109 @@ public interface ApplicationConfigurationPackage extends EPackage */ int CONFIG_ENTRY = 33; + /** + * The number of structural features of the 'Config Entry' class. + * + * + * @generated + * @ordered + */ + int CONFIG_ENTRY_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() + * @generated + */ + int DOCUMENTATION_ENTRY = 34; + + /** + * The feature id for the 'Level' attribute. + * + * + * @generated + * @ordered + */ + int DOCUMENTATION_ENTRY__LEVEL = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Documentation Entry' class. + * + * + * @generated + * @ordered + */ + int DOCUMENTATION_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() + * @generated + */ + int RUNTIME_ENTRY = 35; + + /** + * The feature id for the 'Millisec Limit' attribute. + * + * + * @generated + * @ordered + */ + int RUNTIME_ENTRY__MILLISEC_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Runtime Entry' class. + * + * + * @generated + * @ordered + */ + int RUNTIME_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() + * @generated + */ + int MEMORY_ENTRY = 36; + + /** + * The feature id for the 'Megabyte Limit' attribute. + * + * + * @generated + * @ordered + */ + int MEMORY_ENTRY__MEGABYTE_LIMIT = CONFIG_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Memory Entry' class. + * + * + * @generated + * @ordered + */ + int MEMORY_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() + * @generated + */ + int CUSTOM_ENTRY = 37; + /** * The feature id for the 'Key' attribute. * @@ -1072,7 +1175,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int CONFIG_ENTRY__KEY = 0; + int CUSTOM_ENTRY__KEY = CONFIG_ENTRY_FEATURE_COUNT + 0; /** * The feature id for the 'Value' attribute. @@ -1081,16 +1184,16 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int CONFIG_ENTRY__VALUE = 1; + int CUSTOM_ENTRY__VALUE = CONFIG_ENTRY_FEATURE_COUNT + 1; /** - * The number of structural features of the 'Config Entry' class. + * The number of structural features of the 'Custom Entry' class. * * * @generated * @ordered */ - int CONFIG_ENTRY_FEATURE_COUNT = 2; + int CUSTOM_ENTRY_FEATURE_COUNT = CONFIG_ENTRY_FEATURE_COUNT + 2; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. @@ -1100,7 +1203,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() * @generated */ - int CONFIG_REFERENCE = 34; + int CONFIG_REFERENCE = 38; /** * The feature id for the 'Config' reference. @@ -1128,7 +1231,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() * @generated */ - int SCOPE = 57; + int SCOPE = 61; /** * The number of structural features of the 'Scope' class. @@ -1147,7 +1250,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() * @generated */ - int SCOPE_SPECIFICATION = 36; + int SCOPE_SPECIFICATION = 40; /** * The feature id for the 'Scopes' containment reference list. @@ -1175,7 +1278,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() * @generated */ - int TYPE_SCOPE = 37; + int TYPE_SCOPE = 41; /** * The feature id for the 'Sets New' attribute. @@ -1221,7 +1324,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassTypeScope() * @generated */ - int CLASS_TYPE_SCOPE = 38; + int CLASS_TYPE_SCOPE = 42; /** * The feature id for the 'Sets New' attribute. @@ -1276,7 +1379,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectTypeScope() * @generated */ - int OBJECT_TYPE_SCOPE = 39; + int OBJECT_TYPE_SCOPE = 43; /** * The feature id for the 'Sets New' attribute. @@ -1331,7 +1434,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerTypeScope() * @generated */ - int INTEGER_TYPE_SCOPE = 40; + int INTEGER_TYPE_SCOPE = 44; /** * The feature id for the 'Sets New' attribute. @@ -1386,7 +1489,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealTypeScope() * @generated */ - int REAL_TYPE_SCOPE = 41; + int REAL_TYPE_SCOPE = 45; /** * The feature id for the 'Sets New' attribute. @@ -1441,7 +1544,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringTypeScope() * @generated */ - int STRING_TYPE_SCOPE = 42; + int STRING_TYPE_SCOPE = 46; /** * The feature id for the 'Sets New' attribute. @@ -1496,7 +1599,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() * @generated */ - int TYPE_REFERENCE = 43; + int TYPE_REFERENCE = 47; /** * The number of structural features of the 'Type Reference' class. @@ -1515,7 +1618,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() * @generated */ - int CLASS_REFERENCE = 44; + int CLASS_REFERENCE = 48; /** * The feature id for the 'Element' containment reference. @@ -1543,7 +1646,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() * @generated */ - int OBJECT_REFERENCE = 45; + int OBJECT_REFERENCE = 49; /** * The number of structural features of the 'Object Reference' class. @@ -1562,7 +1665,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() * @generated */ - int INTEGER_REFERENCE = 46; + int INTEGER_REFERENCE = 50; /** * The number of structural features of the 'Integer Reference' class. @@ -1581,7 +1684,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() * @generated */ - int REAL_REFERENCE = 47; + int REAL_REFERENCE = 51; /** * The number of structural features of the 'Real Reference' class. @@ -1600,7 +1703,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() * @generated */ - int STRING_REFERENCE = 48; + int STRING_REFERENCE = 52; /** * The number of structural features of the 'String Reference' class. @@ -1619,7 +1722,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getNumberSpecification() * @generated */ - int NUMBER_SPECIFICATION = 49; + int NUMBER_SPECIFICATION = 53; /** * The number of structural features of the 'Number Specification' class. @@ -1638,7 +1741,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getExactNumber() * @generated */ - int EXACT_NUMBER = 50; + int EXACT_NUMBER = 54; /** * The feature id for the 'Exact Number' attribute. @@ -1675,7 +1778,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntervallNumber() * @generated */ - int INTERVALL_NUMBER = 51; + int INTERVALL_NUMBER = 55; /** * The feature id for the 'Min' attribute. @@ -1721,7 +1824,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntEnumberation() * @generated */ - int INT_ENUMBERATION = 52; + int INT_ENUMBERATION = 56; /** * The feature id for the 'Entry' attribute list. @@ -1749,7 +1852,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealEnumeration() * @generated */ - int REAL_ENUMERATION = 53; + int REAL_ENUMERATION = 57; /** * The feature id for the 'Entry' attribute list. @@ -1777,7 +1880,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringEnumeration() * @generated */ - int STRING_ENUMERATION = 54; + int STRING_ENUMERATION = 58; /** * The feature id for the 'Entry' attribute list. @@ -1805,7 +1908,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() * @generated */ - int SCOPE_DECLARATION = 55; + int SCOPE_DECLARATION = 59; /** * The feature id for the 'Name' attribute. @@ -1842,7 +1945,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() * @generated */ - int SCOPE_REFERENCE = 56; + int SCOPE_REFERENCE = 60; /** * The feature id for the 'Referred' reference. @@ -1870,7 +1973,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() * @generated */ - int TASK = 58; + int TASK = 62; /** * The number of structural features of the 'Task' class. @@ -1889,7 +1992,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() * @generated */ - int GENERATION_TASK = 59; + int GENERATION_TASK = 63; /** * The feature id for the 'Metamodel' containment reference. @@ -2034,7 +2137,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() * @generated */ - int INTEGER_SCOPE = 60; + int INTEGER_SCOPE = 64; /** * The number of structural features of the 'Integer Scope' class. @@ -2053,7 +2156,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() * @generated */ - int REAL_SCOPE = 61; + int REAL_SCOPE = 65; /** * The number of structural features of the 'Real Scope' class. @@ -2072,7 +2175,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() * @generated */ - int STRING_SCOPE = 62; + int STRING_SCOPE = 66; /** * The number of structural features of the 'String Scope' class. @@ -2083,6 +2186,16 @@ public interface ApplicationConfigurationPackage extends EPackage */ int STRING_SCOPE_FEATURE_COUNT = STRING_REFERENCE_FEATURE_COUNT + 0; + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() + * @generated + */ + int DOCUMENT_LEVEL_SPECIFICATION = 67; + /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. * @@ -2091,7 +2204,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() * @generated */ - int SOLVER = 63; + int SOLVER = 68; /** @@ -2743,26 +2856,99 @@ public interface ApplicationConfigurationPackage extends EPackage EClass getConfigEntry(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey Key}'. + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. + * + * + * @return the meta object for class 'Documentation Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry + * @generated + */ + EClass getDocumentationEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}'. + * + * + * @return the meta object for the attribute 'Level'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel() + * @see #getDocumentationEntry() + * @generated + */ + EAttribute getDocumentationEntry_Level(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. + * + * + * @return the meta object for class 'Runtime Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry + * @generated + */ + EClass getRuntimeEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}'. + * + * + * @return the meta object for the attribute 'Millisec Limit'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit() + * @see #getRuntimeEntry() + * @generated + */ + EAttribute getRuntimeEntry_MillisecLimit(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. + * + * + * @return the meta object for class 'Memory Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry + * @generated + */ + EClass getMemoryEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}'. + * + * + * @return the meta object for the attribute 'Megabyte Limit'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit() + * @see #getMemoryEntry() + * @generated + */ + EAttribute getMemoryEntry_MegabyteLimit(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. + * + * + * @return the meta object for class 'Custom Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry + * @generated + */ + EClass getCustomEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}'. * * * @return the meta object for the attribute 'Key'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey() - * @see #getConfigEntry() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey() + * @see #getCustomEntry() * @generated */ - EAttribute getConfigEntry_Key(); + EAttribute getCustomEntry_Key(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue Value}'. + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}'. * * * @return the meta object for the attribute 'Value'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue() - * @see #getConfigEntry() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue() + * @see #getCustomEntry() * @generated */ - EAttribute getConfigEntry_Value(); + EAttribute getCustomEntry_Value(); /** * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. @@ -3439,6 +3625,16 @@ public interface ApplicationConfigurationPackage extends EPackage */ EClass getStringScope(); + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}'. + * + * + * @return the meta object for enum 'Document Level Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @generated + */ + EEnum getDocumentLevelSpecification(); + /** * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}'. * @@ -4036,13 +4232,77 @@ public interface ApplicationConfigurationPackage extends EPackage */ EClass CONFIG_ENTRY = eINSTANCE.getConfigEntry(); + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl Documentation Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DocumentationEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentationEntry() + * @generated + */ + EClass DOCUMENTATION_ENTRY = eINSTANCE.getDocumentationEntry(); + + /** + * The meta object literal for the 'Level' attribute feature. + * + * + * @generated + */ + EAttribute DOCUMENTATION_ENTRY__LEVEL = eINSTANCE.getDocumentationEntry_Level(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl Runtime Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RuntimeEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRuntimeEntry() + * @generated + */ + EClass RUNTIME_ENTRY = eINSTANCE.getRuntimeEntry(); + + /** + * The meta object literal for the 'Millisec Limit' attribute feature. + * + * + * @generated + */ + EAttribute RUNTIME_ENTRY__MILLISEC_LIMIT = eINSTANCE.getRuntimeEntry_MillisecLimit(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl Memory Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MemoryEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMemoryEntry() + * @generated + */ + EClass MEMORY_ENTRY = eINSTANCE.getMemoryEntry(); + + /** + * The meta object literal for the 'Megabyte Limit' attribute feature. + * + * + * @generated + */ + EAttribute MEMORY_ENTRY__MEGABYTE_LIMIT = eINSTANCE.getMemoryEntry_MegabyteLimit(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl Custom Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CustomEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCustomEntry() + * @generated + */ + EClass CUSTOM_ENTRY = eINSTANCE.getCustomEntry(); + /** * The meta object literal for the 'Key' attribute feature. * * * @generated */ - EAttribute CONFIG_ENTRY__KEY = eINSTANCE.getConfigEntry_Key(); + EAttribute CUSTOM_ENTRY__KEY = eINSTANCE.getCustomEntry_Key(); /** * The meta object literal for the 'Value' attribute feature. @@ -4050,7 +4310,7 @@ public interface ApplicationConfigurationPackage extends EPackage * * @generated */ - EAttribute CONFIG_ENTRY__VALUE = eINSTANCE.getConfigEntry_Value(); + EAttribute CUSTOM_ENTRY__VALUE = eINSTANCE.getCustomEntry_Value(); /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. @@ -4622,6 +4882,16 @@ public interface ApplicationConfigurationPackage extends EPackage */ EClass STRING_SCOPE = eINSTANCE.getStringScope(); + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification Document Level Specification}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDocumentLevelSpecification() + * @generated + */ + EEnum DOCUMENT_LEVEL_SPECIFICATION = eINSTANCE.getDocumentLevelSpecification(); + /** * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java index 7c0e90e2..6408c59a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java @@ -10,13 +10,6 @@ import org.eclipse.emf.ecore.EObject; * A representation of the model object 'Config Entry'. * * - *

- * The following features are supported: - *

- * * * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry() * @model @@ -24,56 +17,4 @@ import org.eclipse.emf.ecore.EObject; */ public interface ConfigEntry extends EObject { - /** - * Returns the value of the 'Key' attribute. - * - *

- * If the meaning of the 'Key' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Key' attribute. - * @see #setKey(String) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Key() - * @model - * @generated - */ - String getKey(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey Key}' attribute. - * - * - * @param value the new value of the 'Key' attribute. - * @see #getKey() - * @generated - */ - void setKey(String value); - - /** - * Returns the value of the 'Value' attribute. - * - *

- * If the meaning of the 'Value' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Value' attribute. - * @see #setValue(String) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Value() - * @model - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue Value}' attribute. - * - * - * @param value the new value of the 'Value' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - } // ConfigEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java new file mode 100644 index 00000000..23fe93ed --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/CustomEntry.java @@ -0,0 +1,78 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Custom Entry'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCustomEntry() + * @model + * @generated + */ +public interface CustomEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Key' attribute. + * + *

+ * If the meaning of the 'Key' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Key' attribute. + * @see #setKey(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCustomEntry_Key() + * @model + * @generated + */ + String getKey(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getKey Key}' attribute. + * + * + * @param value the new value of the 'Key' attribute. + * @see #getKey() + * @generated + */ + void setKey(String value); + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getCustomEntry_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // CustomEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java new file mode 100644 index 00000000..d57ccf81 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentLevelSpecification.java @@ -0,0 +1,257 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Document Level Specification', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentLevelSpecification() + * @model + * @generated + */ +public enum DocumentLevelSpecification implements Enumerator +{ + /** + * The 'None' literal object. + * + * + * @see #NONE_VALUE + * @generated + * @ordered + */ + NONE(0, "none", "none"), + + /** + * The 'Normal' literal object. + * + * + * @see #NORMAL_VALUE + * @generated + * @ordered + */ + NORMAL(1, "normal", "normal"), + + /** + * The 'Full' literal object. + * + * + * @see #FULL_VALUE + * @generated + * @ordered + */ + FULL(2, "full", "full"); + + /** + * The 'None' literal value. + * + *

+ * If the meaning of 'None' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NONE + * @model name="none" + * @generated + * @ordered + */ + public static final int NONE_VALUE = 0; + + /** + * The 'Normal' literal value. + * + *

+ * If the meaning of 'Normal' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #NORMAL + * @model name="normal" + * @generated + * @ordered + */ + public static final int NORMAL_VALUE = 1; + + /** + * The 'Full' literal value. + * + *

+ * If the meaning of 'Full' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #FULL + * @model name="full" + * @generated + * @ordered + */ + public static final int FULL_VALUE = 2; + + /** + * An array of all the 'Document Level Specification' enumerators. + * + * + * @generated + */ + private static final DocumentLevelSpecification[] VALUES_ARRAY = + new DocumentLevelSpecification[] + { + NONE, + NORMAL, + FULL, + }; + + /** + * A public read-only list of all the 'Document Level Specification' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Document Level Specification' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DocumentLevelSpecification result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Document Level Specification' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + DocumentLevelSpecification result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Document Level Specification' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static DocumentLevelSpecification get(int value) + { + switch (value) + { + case NONE_VALUE: return NONE; + case NORMAL_VALUE: return NORMAL; + case FULL_VALUE: return FULL; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private DocumentLevelSpecification(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //DocumentLevelSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java new file mode 100644 index 00000000..ba647799 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/DocumentationEntry.java @@ -0,0 +1,54 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Documentation Entry'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry() + * @model + * @generated + */ +public interface DocumentationEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Level' attribute. + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification}. + * + *

+ * If the meaning of the 'Level' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Level' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see #setLevel(DocumentLevelSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDocumentationEntry_Level() + * @model + * @generated + */ + DocumentLevelSpecification getLevel(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry#getLevel Level}' attribute. + * + * + * @param value the new value of the 'Level' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification + * @see #getLevel() + * @generated + */ + void setLevel(DocumentLevelSpecification value); + +} // DocumentationEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java new file mode 100644 index 00000000..5002785c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MemoryEntry.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Memory Entry'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry() + * @model + * @generated + */ +public interface MemoryEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Megabyte Limit' attribute. + * + *

+ * If the meaning of the 'Megabyte Limit' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Megabyte Limit' attribute. + * @see #setMegabyteLimit(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMemoryEntry_MegabyteLimit() + * @model + * @generated + */ + int getMegabyteLimit(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry#getMegabyteLimit Megabyte Limit}' attribute. + * + * + * @param value the new value of the 'Megabyte Limit' attribute. + * @see #getMegabyteLimit() + * @generated + */ + void setMegabyteLimit(int value); + +} // MemoryEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java new file mode 100644 index 00000000..09edd8aa --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RuntimeEntry.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Runtime Entry'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry() + * @model + * @generated + */ +public interface RuntimeEntry extends ConfigEntry +{ + /** + * Returns the value of the 'Millisec Limit' attribute. + * + *

+ * If the meaning of the 'Millisec Limit' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Millisec Limit' attribute. + * @see #setMillisecLimit(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRuntimeEntry_MillisecLimit() + * @model + * @generated + */ + int getMillisecLimit(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry#getMillisecLimit Millisec Limit}' attribute. + * + * + * @param value the new value of the 'Millisec Limit' attribute. + * @see #getMillisecLimit() + * @generated + */ + void setMillisecLimit(int value); + +} // RuntimeEntry 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 case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: return createDocumentationEntry(); + case ApplicationConfigurationPackage.RUNTIME_ENTRY: return createRuntimeEntry(); + case ApplicationConfigurationPackage.MEMORY_ENTRY: return createMemoryEntry(); + case ApplicationConfigurationPackage.CUSTOM_ENTRY: return createCustomEntry(); case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); case ApplicationConfigurationPackage.CONFIG: return createConfig(); case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); @@ -144,6 +148,8 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements { switch (eDataType.getClassifierID()) { + case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: + return createDocumentLevelSpecificationFromString(eDataType, initialValue); case ApplicationConfigurationPackage.SOLVER: return createSolverFromString(eDataType, initialValue); default: @@ -161,6 +167,8 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements { switch (eDataType.getClassifierID()) { + case ApplicationConfigurationPackage.DOCUMENT_LEVEL_SPECIFICATION: + return convertDocumentLevelSpecificationToString(eDataType, instanceValue); case ApplicationConfigurationPackage.SOLVER: return convertSolverToString(eDataType, instanceValue); default: @@ -542,6 +550,50 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return configEntry; } + /** + * + * + * @generated + */ + public DocumentationEntry createDocumentationEntry() + { + DocumentationEntryImpl documentationEntry = new DocumentationEntryImpl(); + return documentationEntry; + } + + /** + * + * + * @generated + */ + public RuntimeEntry createRuntimeEntry() + { + RuntimeEntryImpl runtimeEntry = new RuntimeEntryImpl(); + return runtimeEntry; + } + + /** + * + * + * @generated + */ + public MemoryEntry createMemoryEntry() + { + MemoryEntryImpl memoryEntry = new MemoryEntryImpl(); + return memoryEntry; + } + + /** + * + * + * @generated + */ + public CustomEntry createCustomEntry() + { + CustomEntryImpl customEntry = new CustomEntryImpl(); + return customEntry; + } + /** * * @@ -861,6 +913,28 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return stringScope; } + /** + * + * + * @generated + */ + public DocumentLevelSpecification createDocumentLevelSpecificationFromString(EDataType eDataType, String initialValue) + { + DocumentLevelSpecification result = DocumentLevelSpecification.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertDocumentLevelSpecificationToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + /** * * 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 import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ExactNumber; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; @@ -34,6 +37,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerRe import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerTypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntervallNumber; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; @@ -56,6 +60,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealEnume import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealTypeScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; @@ -327,6 +332,34 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ private EClass configEntryEClass = null; + /** + * + * + * @generated + */ + private EClass documentationEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass runtimeEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass memoryEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass customEntryEClass = null; + /** * * @@ -530,6 +563,13 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ private EClass stringScopeEClass = null; + /** + * + * + * @generated + */ + private EEnum documentLevelSpecificationEEnum = null; + /** * * @@ -1229,9 +1269,29 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getConfigEntry_Key() + public EClass getDocumentationEntry() + { + return documentationEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getDocumentationEntry_Level() + { + return (EAttribute)documentationEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getRuntimeEntry() { - return (EAttribute)configEntryEClass.getEStructuralFeatures().get(0); + return runtimeEntryEClass; } /** @@ -1239,9 +1299,59 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getConfigEntry_Value() + public EAttribute getRuntimeEntry_MillisecLimit() { - return (EAttribute)configEntryEClass.getEStructuralFeatures().get(1); + return (EAttribute)runtimeEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMemoryEntry() + { + return memoryEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getMemoryEntry_MegabyteLimit() + { + return (EAttribute)memoryEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getCustomEntry() + { + return customEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getCustomEntry_Key() + { + return (EAttribute)customEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getCustomEntry_Value() + { + return (EAttribute)customEntryEClass.getEStructuralFeatures().get(1); } /** @@ -1884,6 +1994,16 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements return stringScopeEClass; } + /** + * + * + * @generated + */ + public EEnum getDocumentLevelSpecification() + { + return documentLevelSpecificationEEnum; + } + /** * * @@ -2019,8 +2139,19 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION); configEntryEClass = createEClass(CONFIG_ENTRY); - createEAttribute(configEntryEClass, CONFIG_ENTRY__KEY); - createEAttribute(configEntryEClass, CONFIG_ENTRY__VALUE); + + documentationEntryEClass = createEClass(DOCUMENTATION_ENTRY); + createEAttribute(documentationEntryEClass, DOCUMENTATION_ENTRY__LEVEL); + + runtimeEntryEClass = createEClass(RUNTIME_ENTRY); + createEAttribute(runtimeEntryEClass, RUNTIME_ENTRY__MILLISEC_LIMIT); + + memoryEntryEClass = createEClass(MEMORY_ENTRY); + createEAttribute(memoryEntryEClass, MEMORY_ENTRY__MEGABYTE_LIMIT); + + customEntryEClass = createEClass(CUSTOM_ENTRY); + createEAttribute(customEntryEClass, CUSTOM_ENTRY__KEY); + createEAttribute(customEntryEClass, CUSTOM_ENTRY__VALUE); configReferenceEClass = createEClass(CONFIG_REFERENCE); createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG); @@ -2116,6 +2247,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements stringScopeEClass = createEClass(STRING_SCOPE); // Create enums + documentLevelSpecificationEEnum = createEEnum(DOCUMENT_LEVEL_SPECIFICATION); solverEEnum = createEEnum(SOLVER); } @@ -2175,6 +2307,10 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern()); configSpecificationEClass.getESuperTypes().add(this.getConfig()); configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + documentationEntryEClass.getESuperTypes().add(this.getConfigEntry()); + runtimeEntryEClass.getESuperTypes().add(this.getConfigEntry()); + memoryEntryEClass.getESuperTypes().add(this.getConfigEntry()); + customEntryEClass.getESuperTypes().add(this.getConfigEntry()); configReferenceEClass.getESuperTypes().add(this.getConfig()); scopeSpecificationEClass.getESuperTypes().add(this.getScope()); classTypeScopeEClass.getESuperTypes().add(this.getTypeScope()); @@ -2296,8 +2432,19 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements 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); initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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); - 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); + + initEClass(documentationEntryEClass, DocumentationEntry.class, "DocumentationEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + initEClass(runtimeEntryEClass, RuntimeEntry.class, "RuntimeEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + initEClass(memoryEntryEClass, MemoryEntry.class, "MemoryEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + initEClass(customEntryEClass, CustomEntry.class, "CustomEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + 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); initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 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 initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); // Initialize enums and add enum literals + initEEnum(documentLevelSpecificationEEnum, DocumentLevelSpecification.class, "DocumentLevelSpecification"); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NONE); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.NORMAL); + addEEnumLiteral(documentLevelSpecificationEEnum, DocumentLevelSpecification.FULL); + initEEnum(solverEEnum, Solver.class, "Solver"); addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER); 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,69 +6,19 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; -import org.eclipse.emf.common.notify.Notification; - import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; /** * * An implementation of the model object 'Config Entry'. * - *

- * The following features are implemented: - *

- * * * @generated */ public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry { - /** - * The default value of the '{@link #getKey() Key}' attribute. - * - * - * @see #getKey() - * @generated - * @ordered - */ - protected static final String KEY_EDEFAULT = null; - - /** - * The cached value of the '{@link #getKey() Key}' attribute. - * - * - * @see #getKey() - * @generated - * @ordered - */ - protected String key = KEY_EDEFAULT; - - /** - * The default value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() Value}' attribute. - * - * - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - /** * * @@ -90,145 +40,4 @@ public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements Con return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; } - /** - * - * - * @generated - */ - public String getKey() - { - return key; - } - - /** - * - * - * @generated - */ - public void setKey(String newKey) - { - String oldKey = key; - key = newKey; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__KEY, oldKey, key)); - } - - /** - * - * - * @generated - */ - public String getValue() - { - return value; - } - - /** - * - * - * @generated - */ - public void setValue(String newValue) - { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE, oldValue, value)); - } - - /** - * - * - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: - return getKey(); - case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * - * - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: - setKey((String)newValue); - return; - case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * - * - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: - setKey(KEY_EDEFAULT); - return; - case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * - * - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: - return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); - case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - return super.eIsSet(featureID); - } - - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (key: "); - result.append(key); - result.append(", value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - } //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 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Custom Entry'. + * + *

+ * The following features are implemented: + *

+ * + * + * @generated + */ +public class CustomEntryImpl extends ConfigEntryImpl implements CustomEntry +{ + /** + * The default value of the '{@link #getKey() Key}' attribute. + * + * + * @see #getKey() + * @generated + * @ordered + */ + protected static final String KEY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getKey() Key}' attribute. + * + * + * @see #getKey() + * @generated + * @ordered + */ + protected String key = KEY_EDEFAULT; + + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected CustomEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CUSTOM_ENTRY; + } + + /** + * + * + * @generated + */ + public String getKey() + { + return key; + } + + /** + * + * + * @generated + */ + public void setKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY, oldKey, key)); + } + + /** + * + * + * @generated + */ + public String getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(String newValue) + { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + return getKey(); + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + setKey((String)newValue); + return; + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + setKey(KEY_EDEFAULT); + return; + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CUSTOM_ENTRY__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case ApplicationConfigurationPackage.CUSTOM_ENTRY__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (key: "); + result.append(key); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //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 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentLevelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Documentation Entry'. + * + *

+ * The following features are implemented: + *

+ * + * + * @generated + */ +public class DocumentationEntryImpl extends ConfigEntryImpl implements DocumentationEntry +{ + /** + * The default value of the '{@link #getLevel() Level}' attribute. + * + * + * @see #getLevel() + * @generated + * @ordered + */ + protected static final DocumentLevelSpecification LEVEL_EDEFAULT = DocumentLevelSpecification.NONE; + + /** + * The cached value of the '{@link #getLevel() Level}' attribute. + * + * + * @see #getLevel() + * @generated + * @ordered + */ + protected DocumentLevelSpecification level = LEVEL_EDEFAULT; + + /** + * + * + * @generated + */ + protected DocumentationEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.DOCUMENTATION_ENTRY; + } + + /** + * + * + * @generated + */ + public DocumentLevelSpecification getLevel() + { + return level; + } + + /** + * + * + * @generated + */ + public void setLevel(DocumentLevelSpecification newLevel) + { + DocumentLevelSpecification oldLevel = level; + level = newLevel == null ? LEVEL_EDEFAULT : newLevel; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL, oldLevel, level)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + return getLevel(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + setLevel((DocumentLevelSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + setLevel(LEVEL_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY__LEVEL: + return level != LEVEL_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (level: "); + result.append(level); + result.append(')'); + return result.toString(); + } + +} //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 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Memory Entry'. + * + *

+ * The following features are implemented: + *

+ * + * + * @generated + */ +public class MemoryEntryImpl extends ConfigEntryImpl implements MemoryEntry +{ + /** + * The default value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. + * + * + * @see #getMegabyteLimit() + * @generated + * @ordered + */ + protected static final int MEGABYTE_LIMIT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMegabyteLimit() Megabyte Limit}' attribute. + * + * + * @see #getMegabyteLimit() + * @generated + * @ordered + */ + protected int megabyteLimit = MEGABYTE_LIMIT_EDEFAULT; + + /** + * + * + * @generated + */ + protected MemoryEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.MEMORY_ENTRY; + } + + /** + * + * + * @generated + */ + public int getMegabyteLimit() + { + return megabyteLimit; + } + + /** + * + * + * @generated + */ + public void setMegabyteLimit(int newMegabyteLimit) + { + int oldMegabyteLimit = megabyteLimit; + megabyteLimit = newMegabyteLimit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT, oldMegabyteLimit, megabyteLimit)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + return getMegabyteLimit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + setMegabyteLimit((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + setMegabyteLimit(MEGABYTE_LIMIT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.MEMORY_ENTRY__MEGABYTE_LIMIT: + return megabyteLimit != MEGABYTE_LIMIT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (megabyteLimit: "); + result.append(megabyteLimit); + result.append(')'); + return result.toString(); + } + +} //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 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Runtime Entry'. + * + *

+ * The following features are implemented: + *

+ * + * + * @generated + */ +public class RuntimeEntryImpl extends ConfigEntryImpl implements RuntimeEntry +{ + /** + * The default value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. + * + * + * @see #getMillisecLimit() + * @generated + * @ordered + */ + protected static final int MILLISEC_LIMIT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMillisecLimit() Millisec Limit}' attribute. + * + * + * @see #getMillisecLimit() + * @generated + * @ordered + */ + protected int millisecLimit = MILLISEC_LIMIT_EDEFAULT; + + /** + * + * + * @generated + */ + protected RuntimeEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.RUNTIME_ENTRY; + } + + /** + * + * + * @generated + */ + public int getMillisecLimit() + { + return millisecLimit; + } + + /** + * + * + * @generated + */ + public void setMillisecLimit(int newMillisecLimit) + { + int oldMillisecLimit = millisecLimit; + millisecLimit = newMillisecLimit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT, oldMillisecLimit, millisecLimit)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + return getMillisecLimit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + setMillisecLimit((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + setMillisecLimit(MILLISEC_LIMIT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.RUNTIME_ENTRY__MILLISEC_LIMIT: + return millisecLimit != MILLISEC_LIMIT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (millisecLimit: "); + result.append(millisecLimit); + result.append(')'); + return result.toString(); + } + +} //RuntimeEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index 7a472842..94789600 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java @@ -246,6 +246,26 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createConfigEntryAdapter(); } @Override + public Adapter caseDocumentationEntry(DocumentationEntry object) + { + return createDocumentationEntryAdapter(); + } + @Override + public Adapter caseRuntimeEntry(RuntimeEntry object) + { + return createRuntimeEntryAdapter(); + } + @Override + public Adapter caseMemoryEntry(MemoryEntry object) + { + return createMemoryEntryAdapter(); + } + @Override + public Adapter caseCustomEntry(CustomEntry object) + { + return createCustomEntryAdapter(); + } + @Override public Adapter caseConfigReference(ConfigReference object) { return createConfigReferenceAdapter(); @@ -922,6 +942,66 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return null; } + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry Documentation Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.DocumentationEntry + * @generated + */ + public Adapter createDocumentationEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry Runtime Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RuntimeEntry + * @generated + */ + public Adapter createRuntimeEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry Memory Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MemoryEntry + * @generated + */ + public Adapter createMemoryEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry Custom Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.CustomEntry + * @generated + */ + public Adapter createCustomEntryAdapter() + { + return null; + } + /** * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index a579f3f1..cf485639 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java @@ -339,6 +339,38 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } + case ApplicationConfigurationPackage.DOCUMENTATION_ENTRY: + { + DocumentationEntry documentationEntry = (DocumentationEntry)theEObject; + T result = caseDocumentationEntry(documentationEntry); + if (result == null) result = caseConfigEntry(documentationEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.RUNTIME_ENTRY: + { + RuntimeEntry runtimeEntry = (RuntimeEntry)theEObject; + T result = caseRuntimeEntry(runtimeEntry); + if (result == null) result = caseConfigEntry(runtimeEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MEMORY_ENTRY: + { + MemoryEntry memoryEntry = (MemoryEntry)theEObject; + T result = caseMemoryEntry(memoryEntry); + if (result == null) result = caseConfigEntry(memoryEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CUSTOM_ENTRY: + { + CustomEntry customEntry = (CustomEntry)theEObject; + T result = caseCustomEntry(customEntry); + if (result == null) result = caseConfigEntry(customEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } case ApplicationConfigurationPackage.CONFIG_REFERENCE: { ConfigReference configReference = (ConfigReference)theEObject; @@ -1119,6 +1151,70 @@ public class ApplicationConfigurationSwitch extends Switch return null; } + /** + * Returns the result of interpreting the object as an instance of 'Documentation Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Documentation Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDocumentationEntry(DocumentationEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Runtime Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Runtime Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRuntimeEntry(RuntimeEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Memory Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Memory Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMemoryEntry(MemoryEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Custom Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Custom Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCustomEntry(CustomEntry object) + { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'Config Reference'. * -- cgit v1.2.3-70-g09d2