From 0de1dbfaed208ba70863abe3671f868f168bc9cd Mon Sep 17 00:00:00 2001 From: Aren Babikian Date: Thu, 14 Jan 2021 13:07:08 -0500 Subject: Adjust vsconfig xtext to consider reals as EDouble rather than EBigDecimals --- .../util/ApplicationConfigurationSwitch.java | 3872 ++++++++++---------- 1 file changed, 1936 insertions(+), 1936 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java') 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 e526fac8..cc80500e 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 @@ -1,1936 +1,1936 @@ -/** - * generated by Xtext 2.21.0 - */ -package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; - -import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -/** - * - * The Switch for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the caseXXX method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage - * @generated - */ -public class ApplicationConfigurationSwitch extends Switch -{ - /** - * The cached model package - * - * - * @generated - */ - protected static ApplicationConfigurationPackage modelPackage; - - /** - * Creates an instance of the switch. - * - * - * @generated - */ - public ApplicationConfigurationSwitch() - { - if (modelPackage == null) - { - modelPackage = ApplicationConfigurationPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * - * - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) - { - return ePackage == modelPackage; - } - - /** - * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. - * - * - * @return the first non-null result returned by a caseXXX call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) - { - switch (classifierID) - { - case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: - { - ConfigurationScript configurationScript = (ConfigurationScript)theEObject; - T result = caseConfigurationScript(configurationScript); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.COMMAND: - { - Command command = (Command)theEObject; - T result = caseCommand(command); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.IMPORT: - { - Import import_ = (Import)theEObject; - T result = caseImport(import_); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.EPACKAGE_IMPORT: - { - EPackageImport ePackageImport = (EPackageImport)theEObject; - T result = caseEPackageImport(ePackageImport); - if (result == null) result = caseImport(ePackageImport); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.VIATRA_IMPORT: - { - ViatraImport viatraImport = (ViatraImport)theEObject; - T result = caseViatraImport(viatraImport); - if (result == null) result = caseImport(viatraImport); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.DECLARATION: - { - Declaration declaration = (Declaration)theEObject; - T result = caseDeclaration(declaration); - if (result == null) result = caseCommand(declaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_SPECIFICATION: - { - FileSpecification fileSpecification = (FileSpecification)theEObject; - T result = caseFileSpecification(fileSpecification); - if (result == null) result = caseFile(fileSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_DECLARATION: - { - FileDeclaration fileDeclaration = (FileDeclaration)theEObject; - T result = caseFileDeclaration(fileDeclaration); - if (result == null) result = caseDeclaration(fileDeclaration); - if (result == null) result = caseCommand(fileDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE_REFERENCE: - { - FileReference fileReference = (FileReference)theEObject; - T result = caseFileReference(fileReference); - if (result == null) result = caseFile(fileReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FILE: - { - File file = (File)theEObject; - T result = caseFile(file); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: - { - MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; - T result = caseMetamodelSpecification(metamodelSpecification); - if (result == null) result = caseMetamodel(metamodelSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_ENTRY: - { - MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; - T result = caseMetamodelEntry(metamodelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: - { - AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; - T result = caseAllPackageEntry(allPackageEntry); - if (result == null) result = caseMetamodelEntry(allPackageEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_ELEMENT: - { - MetamodelElement metamodelElement = (MetamodelElement)theEObject; - T result = caseMetamodelElement(metamodelElement); - if (result == null) result = caseMetamodelEntry(metamodelElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_DECLARATION: - { - MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; - T result = caseMetamodelDeclaration(metamodelDeclaration); - if (result == null) result = caseDeclaration(metamodelDeclaration); - if (result == null) result = caseCommand(metamodelDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL_REFERENCE: - { - MetamodelReference metamodelReference = (MetamodelReference)theEObject; - T result = caseMetamodelReference(metamodelReference); - if (result == null) result = caseMetamodel(metamodelReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.METAMODEL: - { - Metamodel metamodel = (Metamodel)theEObject; - T result = caseMetamodel(metamodel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: - { - PartialModelSpecification partialModelSpecification = (PartialModelSpecification)theEObject; - T result = casePartialModelSpecification(partialModelSpecification); - if (result == null) result = casePartialModel(partialModelSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: - { - PartialModelEntry partialModelEntry = (PartialModelEntry)theEObject; - T result = casePartialModelEntry(partialModelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.MODEL_ENTRY: - { - ModelEntry modelEntry = (ModelEntry)theEObject; - T result = caseModelEntry(modelEntry); - if (result == null) result = casePartialModelEntry(modelEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.FOLDER_ENTRY: - { - FolderEntry folderEntry = (FolderEntry)theEObject; - T result = caseFolderEntry(folderEntry); - if (result == null) result = casePartialModelEntry(folderEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: - { - PartialModelDeclaration partialModelDeclaration = (PartialModelDeclaration)theEObject; - T result = casePartialModelDeclaration(partialModelDeclaration); - if (result == null) result = caseDeclaration(partialModelDeclaration); - if (result == null) result = caseCommand(partialModelDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: - { - PartialModelReference partialModelReference = (PartialModelReference)theEObject; - T result = casePartialModelReference(partialModelReference); - if (result == null) result = casePartialModel(partialModelReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PARTIAL_MODEL: - { - PartialModel partialModel = (PartialModel)theEObject; - T result = casePartialModel(partialModel); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: - { - PatternSpecification patternSpecification = (PatternSpecification)theEObject; - T result = casePatternSpecification(patternSpecification); - if (result == null) result = caseGraphPattern(patternSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_ENTRY: - { - PatternEntry patternEntry = (PatternEntry)theEObject; - T result = casePatternEntry(patternEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: - { - AllPatternEntry allPatternEntry = (AllPatternEntry)theEObject; - T result = caseAllPatternEntry(allPatternEntry); - if (result == null) result = casePatternEntry(allPatternEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.PATTERN_ELEMENT: - { - PatternElement patternElement = (PatternElement)theEObject; - T result = casePatternElement(patternElement); - if (result == null) result = casePatternEntry(patternElement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: - { - GraphPatternDeclaration graphPatternDeclaration = (GraphPatternDeclaration)theEObject; - T result = caseGraphPatternDeclaration(graphPatternDeclaration); - if (result == null) result = caseDeclaration(graphPatternDeclaration); - if (result == null) result = caseCommand(graphPatternDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: - { - GraphPatternReference graphPatternReference = (GraphPatternReference)theEObject; - T result = caseGraphPatternReference(graphPatternReference); - if (result == null) result = caseGraphPattern(graphPatternReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GRAPH_PATTERN: - { - GraphPattern graphPattern = (GraphPattern)theEObject; - T result = caseGraphPattern(graphPattern); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: - { - ObjectiveSpecification objectiveSpecification = (ObjectiveSpecification)theEObject; - T result = caseObjectiveSpecification(objectiveSpecification); - if (result == null) result = caseObjective(objectiveSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE_ENTRY: - { - ObjectiveEntry objectiveEntry = (ObjectiveEntry)theEObject; - T result = caseObjectiveEntry(objectiveEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: - { - OptimizationEntry optimizationEntry = (OptimizationEntry)theEObject; - T result = caseOptimizationEntry(optimizationEntry); - if (result == null) result = caseObjectiveEntry(optimizationEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.THRESHOLD_ENTRY: - { - ThresholdEntry thresholdEntry = (ThresholdEntry)theEObject; - T result = caseThresholdEntry(thresholdEntry); - if (result == null) result = caseObjectiveEntry(thresholdEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: - { - ObjectiveFunction objectiveFunction = (ObjectiveFunction)theEObject; - T result = caseObjectiveFunction(objectiveFunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: - { - CostObjectiveFunction costObjectiveFunction = (CostObjectiveFunction)theEObject; - T result = caseCostObjectiveFunction(costObjectiveFunction); - if (result == null) result = caseObjectiveFunction(costObjectiveFunction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.COST_ENTRY: - { - CostEntry costEntry = (CostEntry)theEObject; - T result = caseCostEntry(costEntry); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: - { - ObjectiveDeclaration objectiveDeclaration = (ObjectiveDeclaration)theEObject; - T result = caseObjectiveDeclaration(objectiveDeclaration); - if (result == null) result = caseDeclaration(objectiveDeclaration); - if (result == null) result = caseCommand(objectiveDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: - { - ObjectiveReference objectiveReference = (ObjectiveReference)theEObject; - T result = caseObjectiveReference(objectiveReference); - if (result == null) result = caseObjective(objectiveReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECTIVE: - { - Objective objective = (Objective)theEObject; - T result = caseObjective(objective); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: - { - ConfigSpecification configSpecification = (ConfigSpecification)theEObject; - T result = caseConfigSpecification(configSpecification); - if (result == null) result = caseConfig(configSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_DECLARATION: - { - ConfigDeclaration configDeclaration = (ConfigDeclaration)theEObject; - T result = caseConfigDeclaration(configDeclaration); - if (result == null) result = caseDeclaration(configDeclaration); - if (result == null) result = caseCommand(configDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG_ENTRY: - { - ConfigEntry configEntry = (ConfigEntry)theEObject; - T result = caseConfigEntry(configEntry); - 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; - T result = caseConfigReference(configReference); - if (result == null) result = caseConfig(configReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CONFIG: - { - Config config = (Config)theEObject; - T result = caseConfig(config); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: - { - ScopeSpecification scopeSpecification = (ScopeSpecification)theEObject; - T result = caseScopeSpecification(scopeSpecification); - if (result == null) result = caseScope(scopeSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TYPE_SCOPE: - { - TypeScope typeScope = (TypeScope)theEObject; - T result = caseTypeScope(typeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: - { - ClassTypeScope classTypeScope = (ClassTypeScope)theEObject; - T result = caseClassTypeScope(classTypeScope); - if (result == null) result = caseTypeScope(classTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: - { - ObjectTypeScope objectTypeScope = (ObjectTypeScope)theEObject; - T result = caseObjectTypeScope(objectTypeScope); - if (result == null) result = caseTypeScope(objectTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: - { - IntegerTypeScope integerTypeScope = (IntegerTypeScope)theEObject; - T result = caseIntegerTypeScope(integerTypeScope); - if (result == null) result = caseTypeScope(integerTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: - { - RealTypeScope realTypeScope = (RealTypeScope)theEObject; - T result = caseRealTypeScope(realTypeScope); - if (result == null) result = caseTypeScope(realTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: - { - StringTypeScope stringTypeScope = (StringTypeScope)theEObject; - T result = caseStringTypeScope(stringTypeScope); - if (result == null) result = caseTypeScope(stringTypeScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TYPE_REFERENCE: - { - TypeReference typeReference = (TypeReference)theEObject; - T result = caseTypeReference(typeReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.CLASS_REFERENCE: - { - ClassReference classReference = (ClassReference)theEObject; - T result = caseClassReference(classReference); - if (result == null) result = caseTypeReference(classReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.OBJECT_REFERENCE: - { - ObjectReference objectReference = (ObjectReference)theEObject; - T result = caseObjectReference(objectReference); - if (result == null) result = caseTypeReference(objectReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_REFERENCE: - { - IntegerReference integerReference = (IntegerReference)theEObject; - T result = caseIntegerReference(integerReference); - if (result == null) result = caseTypeReference(integerReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_REFERENCE: - { - RealReference realReference = (RealReference)theEObject; - T result = caseRealReference(realReference); - if (result == null) result = caseTypeReference(realReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_REFERENCE: - { - StringReference stringReference = (StringReference)theEObject; - T result = caseStringReference(stringReference); - if (result == null) result = caseTypeReference(stringReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: - { - NumberSpecification numberSpecification = (NumberSpecification)theEObject; - T result = caseNumberSpecification(numberSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.EXACT_NUMBER: - { - ExactNumber exactNumber = (ExactNumber)theEObject; - T result = caseExactNumber(exactNumber); - if (result == null) result = caseNumberSpecification(exactNumber); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTERVALL_NUMBER: - { - IntervallNumber intervallNumber = (IntervallNumber)theEObject; - T result = caseIntervallNumber(intervallNumber); - if (result == null) result = caseNumberSpecification(intervallNumber); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INT_ENUMBERATION: - { - IntEnumberation intEnumberation = (IntEnumberation)theEObject; - T result = caseIntEnumberation(intEnumberation); - if (result == null) result = caseNumberSpecification(intEnumberation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_ENUMERATION: - { - RealEnumeration realEnumeration = (RealEnumeration)theEObject; - T result = caseRealEnumeration(realEnumeration); - if (result == null) result = caseNumberSpecification(realEnumeration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_ENUMERATION: - { - StringEnumeration stringEnumeration = (StringEnumeration)theEObject; - T result = caseStringEnumeration(stringEnumeration); - if (result == null) result = caseNumberSpecification(stringEnumeration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_DECLARATION: - { - ScopeDeclaration scopeDeclaration = (ScopeDeclaration)theEObject; - T result = caseScopeDeclaration(scopeDeclaration); - if (result == null) result = caseDeclaration(scopeDeclaration); - if (result == null) result = caseCommand(scopeDeclaration); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE_REFERENCE: - { - ScopeReference scopeReference = (ScopeReference)theEObject; - T result = caseScopeReference(scopeReference); - if (result == null) result = caseScope(scopeReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.SCOPE: - { - Scope scope = (Scope)theEObject; - T result = caseScope(scope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.TASK: - { - Task task = (Task)theEObject; - T result = caseTask(task); - if (result == null) result = caseCommand(task); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.GENERATION_TASK: - { - GenerationTask generationTask = (GenerationTask)theEObject; - T result = caseGenerationTask(generationTask); - if (result == null) result = caseTask(generationTask); - if (result == null) result = caseCommand(generationTask); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.INTEGER_SCOPE: - { - IntegerScope integerScope = (IntegerScope)theEObject; - T result = caseIntegerScope(integerScope); - if (result == null) result = caseIntegerReference(integerScope); - if (result == null) result = caseTypeReference(integerScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.REAL_SCOPE: - { - RealScope realScope = (RealScope)theEObject; - T result = caseRealScope(realScope); - if (result == null) result = caseRealReference(realScope); - if (result == null) result = caseTypeReference(realScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ApplicationConfigurationPackage.STRING_SCOPE: - { - StringScope stringScope = (StringScope)theEObject; - T result = caseStringScope(stringScope); - if (result == null) result = caseStringReference(stringScope); - if (result == null) result = caseTypeReference(stringScope); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of 'Configuration Script'. - * - * 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 'Configuration Script'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigurationScript(ConfigurationScript object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Command'. - * - * 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 'Command'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCommand(Command object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Import'. - * - * 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 'Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseImport(Import object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EPackage Import'. - * - * 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 'EPackage Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEPackageImport(EPackageImport object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Viatra Import'. - * - * 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 'Viatra Import'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseViatraImport(ViatraImport object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Declaration'. - * - * 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 'Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDeclaration(Declaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Specification'. - * - * 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 'File Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileSpecification(FileSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Declaration'. - * - * 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 'File Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileDeclaration(FileDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File Reference'. - * - * 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 'File Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFileReference(FileReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'File'. - * - * 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 'File'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFile(File object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Specification'. - * - * 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 'Metamodel Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelSpecification(MetamodelSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel 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 'Metamodel Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelEntry(MetamodelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'All Package 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 'All Package Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllPackageEntry(AllPackageEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Element'. - * - * 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 'Metamodel Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelElement(MetamodelElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Declaration'. - * - * 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 'Metamodel Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelDeclaration(MetamodelDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel Reference'. - * - * 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 'Metamodel Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodelReference(MetamodelReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Metamodel'. - * - * 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 'Metamodel'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMetamodel(Metamodel object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Specification'. - * - * 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 'Partial Model Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelSpecification(PartialModelSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model 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 'Partial Model Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelEntry(PartialModelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Model 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 'Model Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseModelEntry(ModelEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Folder 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 'Folder Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFolderEntry(FolderEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Declaration'. - * - * 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 'Partial Model Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelDeclaration(PartialModelDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model Reference'. - * - * 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 'Partial Model Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModelReference(PartialModelReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Partial Model'. - * - * 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 'Partial Model'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePartialModel(PartialModel object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern Specification'. - * - * 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 'Pattern Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternSpecification(PatternSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern 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 'Pattern Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternEntry(PatternEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'All Pattern 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 'All Pattern Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllPatternEntry(AllPatternEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Pattern Element'. - * - * 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 'Pattern Element'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePatternElement(PatternElement object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern Declaration'. - * - * 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 'Graph Pattern Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPatternDeclaration(GraphPatternDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern Reference'. - * - * 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 'Graph Pattern Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPatternReference(GraphPatternReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Graph Pattern'. - * - * 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 'Graph Pattern'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGraphPattern(GraphPattern object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Specification'. - * - * 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 'Objective Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveSpecification(ObjectiveSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective 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 'Objective Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveEntry(ObjectiveEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Optimization 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 'Optimization Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOptimizationEntry(OptimizationEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Threshold 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 'Threshold Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseThresholdEntry(ThresholdEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Function'. - * - * 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 'Objective Function'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveFunction(ObjectiveFunction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cost Objective Function'. - * - * 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 'Cost Objective Function'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCostObjectiveFunction(CostObjectiveFunction object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Cost 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 'Cost Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCostEntry(CostEntry object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Declaration'. - * - * 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 'Objective Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveDeclaration(ObjectiveDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective Reference'. - * - * 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 'Objective Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectiveReference(ObjectiveReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Objective'. - * - * 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 'Objective'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjective(Objective object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Specification'. - * - * 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 'Config Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigSpecification(ConfigSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config Declaration'. - * - * 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 'Config Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigDeclaration(ConfigDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config 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 'Config Entry'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigEntry(ConfigEntry object) - { - 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'. - * - * 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 'Config Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfigReference(ConfigReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Config'. - * - * 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 'Config'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConfig(Config object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Specification'. - * - * 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 'Scope Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeSpecification(ScopeSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Type Scope'. - * - * 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 'Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypeScope(TypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Type Scope'. - * - * 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 'Class Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassTypeScope(ClassTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Object Type Scope'. - * - * 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 'Object Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectTypeScope(ObjectTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Type Scope'. - * - * 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 'Integer Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerTypeScope(IntegerTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Type Scope'. - * - * 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 'Real Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealTypeScope(RealTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Type Scope'. - * - * 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 'String Type Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringTypeScope(StringTypeScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Type Reference'. - * - * 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 'Type Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTypeReference(TypeReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Class Reference'. - * - * 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 'Class Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassReference(ClassReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Object Reference'. - * - * 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 'Object Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseObjectReference(ObjectReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Reference'. - * - * 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 'Integer Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerReference(IntegerReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Reference'. - * - * 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 'Real Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealReference(RealReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Reference'. - * - * 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 'String Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringReference(StringReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Number Specification'. - * - * 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 'Number Specification'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNumberSpecification(NumberSpecification object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Exact Number'. - * - * 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 'Exact Number'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExactNumber(ExactNumber object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Intervall Number'. - * - * 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 'Intervall Number'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntervallNumber(IntervallNumber object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Int Enumberation'. - * - * 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 'Int Enumberation'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntEnumberation(IntEnumberation object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Enumeration'. - * - * 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 'Real Enumeration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealEnumeration(RealEnumeration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Enumeration'. - * - * 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 'String Enumeration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringEnumeration(StringEnumeration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Declaration'. - * - * 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 'Scope Declaration'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeDeclaration(ScopeDeclaration object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope Reference'. - * - * 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 'Scope Reference'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScopeReference(ScopeReference object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Scope'. - * - * 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 'Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseScope(Scope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Task'. - * - * 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 'Task'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTask(Task object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Generation Task'. - * - * 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 'Generation Task'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseGenerationTask(GenerationTask object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Integer Scope'. - * - * 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 'Integer Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseIntegerScope(IntegerScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'Real Scope'. - * - * 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 'Real Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRealScope(RealScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'String Scope'. - * - * 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 'String Scope'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStringScope(StringScope object) - { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EObject'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) - { - return null; - } - -} //ApplicationConfigurationSwitch +/** + * generated by Xtext 2.21.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.util; + +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage + * @generated + */ +public class ApplicationConfigurationSwitch extends Switch +{ + /** + * The cached model package + * + * + * @generated + */ + protected static ApplicationConfigurationPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public ApplicationConfigurationSwitch() + { + if (modelPackage == null) + { + modelPackage = ApplicationConfigurationPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) + { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: + { + ConfigurationScript configurationScript = (ConfigurationScript)theEObject; + T result = caseConfigurationScript(configurationScript); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.COMMAND: + { + Command command = (Command)theEObject; + T result = caseCommand(command); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.IMPORT: + { + Import import_ = (Import)theEObject; + T result = caseImport(import_); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.EPACKAGE_IMPORT: + { + EPackageImport ePackageImport = (EPackageImport)theEObject; + T result = caseEPackageImport(ePackageImport); + if (result == null) result = caseImport(ePackageImport); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.VIATRA_IMPORT: + { + ViatraImport viatraImport = (ViatraImport)theEObject; + T result = caseViatraImport(viatraImport); + if (result == null) result = caseImport(viatraImport); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.DECLARATION: + { + Declaration declaration = (Declaration)theEObject; + T result = caseDeclaration(declaration); + if (result == null) result = caseCommand(declaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_SPECIFICATION: + { + FileSpecification fileSpecification = (FileSpecification)theEObject; + T result = caseFileSpecification(fileSpecification); + if (result == null) result = caseFile(fileSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_DECLARATION: + { + FileDeclaration fileDeclaration = (FileDeclaration)theEObject; + T result = caseFileDeclaration(fileDeclaration); + if (result == null) result = caseDeclaration(fileDeclaration); + if (result == null) result = caseCommand(fileDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_REFERENCE: + { + FileReference fileReference = (FileReference)theEObject; + T result = caseFileReference(fileReference); + if (result == null) result = caseFile(fileReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE: + { + File file = (File)theEObject; + T result = caseFile(file); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: + { + MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; + T result = caseMetamodelSpecification(metamodelSpecification); + if (result == null) result = caseMetamodel(metamodelSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_ENTRY: + { + MetamodelEntry metamodelEntry = (MetamodelEntry)theEObject; + T result = caseMetamodelEntry(metamodelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: + { + AllPackageEntry allPackageEntry = (AllPackageEntry)theEObject; + T result = caseAllPackageEntry(allPackageEntry); + if (result == null) result = caseMetamodelEntry(allPackageEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_ELEMENT: + { + MetamodelElement metamodelElement = (MetamodelElement)theEObject; + T result = caseMetamodelElement(metamodelElement); + if (result == null) result = caseMetamodelEntry(metamodelElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_DECLARATION: + { + MetamodelDeclaration metamodelDeclaration = (MetamodelDeclaration)theEObject; + T result = caseMetamodelDeclaration(metamodelDeclaration); + if (result == null) result = caseDeclaration(metamodelDeclaration); + if (result == null) result = caseCommand(metamodelDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL_REFERENCE: + { + MetamodelReference metamodelReference = (MetamodelReference)theEObject; + T result = caseMetamodelReference(metamodelReference); + if (result == null) result = caseMetamodel(metamodelReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.METAMODEL: + { + Metamodel metamodel = (Metamodel)theEObject; + T result = caseMetamodel(metamodel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: + { + PartialModelSpecification partialModelSpecification = (PartialModelSpecification)theEObject; + T result = casePartialModelSpecification(partialModelSpecification); + if (result == null) result = casePartialModel(partialModelSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: + { + PartialModelEntry partialModelEntry = (PartialModelEntry)theEObject; + T result = casePartialModelEntry(partialModelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MODEL_ENTRY: + { + ModelEntry modelEntry = (ModelEntry)theEObject; + T result = caseModelEntry(modelEntry); + if (result == null) result = casePartialModelEntry(modelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FOLDER_ENTRY: + { + FolderEntry folderEntry = (FolderEntry)theEObject; + T result = caseFolderEntry(folderEntry); + if (result == null) result = casePartialModelEntry(folderEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: + { + PartialModelDeclaration partialModelDeclaration = (PartialModelDeclaration)theEObject; + T result = casePartialModelDeclaration(partialModelDeclaration); + if (result == null) result = caseDeclaration(partialModelDeclaration); + if (result == null) result = caseCommand(partialModelDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: + { + PartialModelReference partialModelReference = (PartialModelReference)theEObject; + T result = casePartialModelReference(partialModelReference); + if (result == null) result = casePartialModel(partialModelReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL: + { + PartialModel partialModel = (PartialModel)theEObject; + T result = casePartialModel(partialModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: + { + PatternSpecification patternSpecification = (PatternSpecification)theEObject; + T result = casePatternSpecification(patternSpecification); + if (result == null) result = caseGraphPattern(patternSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ENTRY: + { + PatternEntry patternEntry = (PatternEntry)theEObject; + T result = casePatternEntry(patternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: + { + AllPatternEntry allPatternEntry = (AllPatternEntry)theEObject; + T result = caseAllPatternEntry(allPatternEntry); + if (result == null) result = casePatternEntry(allPatternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ELEMENT: + { + PatternElement patternElement = (PatternElement)theEObject; + T result = casePatternElement(patternElement); + if (result == null) result = casePatternEntry(patternElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: + { + GraphPatternDeclaration graphPatternDeclaration = (GraphPatternDeclaration)theEObject; + T result = caseGraphPatternDeclaration(graphPatternDeclaration); + if (result == null) result = caseDeclaration(graphPatternDeclaration); + if (result == null) result = caseCommand(graphPatternDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: + { + GraphPatternReference graphPatternReference = (GraphPatternReference)theEObject; + T result = caseGraphPatternReference(graphPatternReference); + if (result == null) result = caseGraphPattern(graphPatternReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN: + { + GraphPattern graphPattern = (GraphPattern)theEObject; + T result = caseGraphPattern(graphPattern); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_SPECIFICATION: + { + ObjectiveSpecification objectiveSpecification = (ObjectiveSpecification)theEObject; + T result = caseObjectiveSpecification(objectiveSpecification); + if (result == null) result = caseObjective(objectiveSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_ENTRY: + { + ObjectiveEntry objectiveEntry = (ObjectiveEntry)theEObject; + T result = caseObjectiveEntry(objectiveEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OPTIMIZATION_ENTRY: + { + OptimizationEntry optimizationEntry = (OptimizationEntry)theEObject; + T result = caseOptimizationEntry(optimizationEntry); + if (result == null) result = caseObjectiveEntry(optimizationEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.THRESHOLD_ENTRY: + { + ThresholdEntry thresholdEntry = (ThresholdEntry)theEObject; + T result = caseThresholdEntry(thresholdEntry); + if (result == null) result = caseObjectiveEntry(thresholdEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_FUNCTION: + { + ObjectiveFunction objectiveFunction = (ObjectiveFunction)theEObject; + T result = caseObjectiveFunction(objectiveFunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.COST_OBJECTIVE_FUNCTION: + { + CostObjectiveFunction costObjectiveFunction = (CostObjectiveFunction)theEObject; + T result = caseCostObjectiveFunction(costObjectiveFunction); + if (result == null) result = caseObjectiveFunction(costObjectiveFunction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.COST_ENTRY: + { + CostEntry costEntry = (CostEntry)theEObject; + T result = caseCostEntry(costEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_DECLARATION: + { + ObjectiveDeclaration objectiveDeclaration = (ObjectiveDeclaration)theEObject; + T result = caseObjectiveDeclaration(objectiveDeclaration); + if (result == null) result = caseDeclaration(objectiveDeclaration); + if (result == null) result = caseCommand(objectiveDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE_REFERENCE: + { + ObjectiveReference objectiveReference = (ObjectiveReference)theEObject; + T result = caseObjectiveReference(objectiveReference); + if (result == null) result = caseObjective(objectiveReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECTIVE: + { + Objective objective = (Objective)theEObject; + T result = caseObjective(objective); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: + { + ConfigSpecification configSpecification = (ConfigSpecification)theEObject; + T result = caseConfigSpecification(configSpecification); + if (result == null) result = caseConfig(configSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_DECLARATION: + { + ConfigDeclaration configDeclaration = (ConfigDeclaration)theEObject; + T result = caseConfigDeclaration(configDeclaration); + if (result == null) result = caseDeclaration(configDeclaration); + if (result == null) result = caseCommand(configDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_ENTRY: + { + ConfigEntry configEntry = (ConfigEntry)theEObject; + T result = caseConfigEntry(configEntry); + 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; + T result = caseConfigReference(configReference); + if (result == null) result = caseConfig(configReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG: + { + Config config = (Config)theEObject; + T result = caseConfig(config); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: + { + ScopeSpecification scopeSpecification = (ScopeSpecification)theEObject; + T result = caseScopeSpecification(scopeSpecification); + if (result == null) result = caseScope(scopeSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_SCOPE: + { + TypeScope typeScope = (TypeScope)theEObject; + T result = caseTypeScope(typeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CLASS_TYPE_SCOPE: + { + ClassTypeScope classTypeScope = (ClassTypeScope)theEObject; + T result = caseClassTypeScope(classTypeScope); + if (result == null) result = caseTypeScope(classTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECT_TYPE_SCOPE: + { + ObjectTypeScope objectTypeScope = (ObjectTypeScope)theEObject; + T result = caseObjectTypeScope(objectTypeScope); + if (result == null) result = caseTypeScope(objectTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_TYPE_SCOPE: + { + IntegerTypeScope integerTypeScope = (IntegerTypeScope)theEObject; + T result = caseIntegerTypeScope(integerTypeScope); + if (result == null) result = caseTypeScope(integerTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_TYPE_SCOPE: + { + RealTypeScope realTypeScope = (RealTypeScope)theEObject; + T result = caseRealTypeScope(realTypeScope); + if (result == null) result = caseTypeScope(realTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_TYPE_SCOPE: + { + StringTypeScope stringTypeScope = (StringTypeScope)theEObject; + T result = caseStringTypeScope(stringTypeScope); + if (result == null) result = caseTypeScope(stringTypeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_REFERENCE: + { + TypeReference typeReference = (TypeReference)theEObject; + T result = caseTypeReference(typeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CLASS_REFERENCE: + { + ClassReference classReference = (ClassReference)theEObject; + T result = caseClassReference(classReference); + if (result == null) result = caseTypeReference(classReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECT_REFERENCE: + { + ObjectReference objectReference = (ObjectReference)theEObject; + T result = caseObjectReference(objectReference); + if (result == null) result = caseTypeReference(objectReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_REFERENCE: + { + IntegerReference integerReference = (IntegerReference)theEObject; + T result = caseIntegerReference(integerReference); + if (result == null) result = caseTypeReference(integerReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_REFERENCE: + { + RealReference realReference = (RealReference)theEObject; + T result = caseRealReference(realReference); + if (result == null) result = caseTypeReference(realReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_REFERENCE: + { + StringReference stringReference = (StringReference)theEObject; + T result = caseStringReference(stringReference); + if (result == null) result = caseTypeReference(stringReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.NUMBER_SPECIFICATION: + { + NumberSpecification numberSpecification = (NumberSpecification)theEObject; + T result = caseNumberSpecification(numberSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.EXACT_NUMBER: + { + ExactNumber exactNumber = (ExactNumber)theEObject; + T result = caseExactNumber(exactNumber); + if (result == null) result = caseNumberSpecification(exactNumber); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTERVALL_NUMBER: + { + IntervallNumber intervallNumber = (IntervallNumber)theEObject; + T result = caseIntervallNumber(intervallNumber); + if (result == null) result = caseNumberSpecification(intervallNumber); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INT_ENUMBERATION: + { + IntEnumberation intEnumberation = (IntEnumberation)theEObject; + T result = caseIntEnumberation(intEnumberation); + if (result == null) result = caseNumberSpecification(intEnumberation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_ENUMERATION: + { + RealEnumeration realEnumeration = (RealEnumeration)theEObject; + T result = caseRealEnumeration(realEnumeration); + if (result == null) result = caseNumberSpecification(realEnumeration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_ENUMERATION: + { + StringEnumeration stringEnumeration = (StringEnumeration)theEObject; + T result = caseStringEnumeration(stringEnumeration); + if (result == null) result = caseNumberSpecification(stringEnumeration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_DECLARATION: + { + ScopeDeclaration scopeDeclaration = (ScopeDeclaration)theEObject; + T result = caseScopeDeclaration(scopeDeclaration); + if (result == null) result = caseDeclaration(scopeDeclaration); + if (result == null) result = caseCommand(scopeDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_REFERENCE: + { + ScopeReference scopeReference = (ScopeReference)theEObject; + T result = caseScopeReference(scopeReference); + if (result == null) result = caseScope(scopeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE: + { + Scope scope = (Scope)theEObject; + T result = caseScope(scope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TASK: + { + Task task = (Task)theEObject; + T result = caseTask(task); + if (result == null) result = caseCommand(task); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GENERATION_TASK: + { + GenerationTask generationTask = (GenerationTask)theEObject; + T result = caseGenerationTask(generationTask); + if (result == null) result = caseTask(generationTask); + if (result == null) result = caseCommand(generationTask); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_SCOPE: + { + IntegerScope integerScope = (IntegerScope)theEObject; + T result = caseIntegerScope(integerScope); + if (result == null) result = caseIntegerReference(integerScope); + if (result == null) result = caseTypeReference(integerScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_SCOPE: + { + RealScope realScope = (RealScope)theEObject; + T result = caseRealScope(realScope); + if (result == null) result = caseRealReference(realScope); + if (result == null) result = caseTypeReference(realScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_SCOPE: + { + StringScope stringScope = (StringScope)theEObject; + T result = caseStringScope(stringScope); + if (result == null) result = caseStringReference(stringScope); + if (result == null) result = caseTypeReference(stringScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Configuration Script'. + * + * 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 'Configuration Script'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigurationScript(ConfigurationScript object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Command'. + * + * 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 'Command'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCommand(Command object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Import'. + * + * 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 'Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EPackage Import'. + * + * 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 'EPackage Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEPackageImport(EPackageImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Viatra Import'. + * + * 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 'Viatra Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViatraImport(ViatraImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Declaration'. + * + * 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 'Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDeclaration(Declaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Specification'. + * + * 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 'File Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileSpecification(FileSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Declaration'. + * + * 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 'File Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileDeclaration(FileDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File Reference'. + * + * 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 'File Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFileReference(FileReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File'. + * + * 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 'File'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFile(File object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Specification'. + * + * 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 'Metamodel Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelSpecification(MetamodelSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel 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 'Metamodel Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelEntry(MetamodelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'All Package 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 'All Package Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllPackageEntry(AllPackageEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Element'. + * + * 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 'Metamodel Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelElement(MetamodelElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Declaration'. + * + * 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 'Metamodel Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelDeclaration(MetamodelDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel Reference'. + * + * 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 'Metamodel Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodelReference(MetamodelReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Metamodel'. + * + * 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 'Metamodel'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMetamodel(Metamodel object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Specification'. + * + * 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 'Partial Model Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelSpecification(PartialModelSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model 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 'Partial Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelEntry(PartialModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Model 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 'Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelEntry(ModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Folder 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 'Folder Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFolderEntry(FolderEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Declaration'. + * + * 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 'Partial Model Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelDeclaration(PartialModelDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Reference'. + * + * 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 'Partial Model Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelReference(PartialModelReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model'. + * + * 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 'Partial Model'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModel(PartialModel object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Specification'. + * + * 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 'Pattern Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternSpecification(PatternSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern 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 'Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternEntry(PatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'All Pattern 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 'All Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllPatternEntry(AllPatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Element'. + * + * 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 'Pattern Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternElement(PatternElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Declaration'. + * + * 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 'Graph Pattern Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternDeclaration(GraphPatternDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Reference'. + * + * 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 'Graph Pattern Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternReference(GraphPatternReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern'. + * + * 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 'Graph Pattern'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPattern(GraphPattern object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Specification'. + * + * 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 'Objective Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveSpecification(ObjectiveSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective 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 'Objective Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveEntry(ObjectiveEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Optimization 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 'Optimization Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOptimizationEntry(OptimizationEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Threshold 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 'Threshold Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseThresholdEntry(ThresholdEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Function'. + * + * 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 'Objective Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveFunction(ObjectiveFunction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Cost Objective Function'. + * + * 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 'Cost Objective Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCostObjectiveFunction(CostObjectiveFunction object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Cost 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 'Cost Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCostEntry(CostEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Declaration'. + * + * 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 'Objective Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveDeclaration(ObjectiveDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective Reference'. + * + * 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 'Objective Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectiveReference(ObjectiveReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Objective'. + * + * 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 'Objective'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjective(Objective object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Specification'. + * + * 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 'Config Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigSpecification(ConfigSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Declaration'. + * + * 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 'Config Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigDeclaration(ConfigDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config 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 'Config Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigEntry(ConfigEntry object) + { + 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'. + * + * 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 'Config Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigReference(ConfigReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config'. + * + * 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 'Config'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfig(Config object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Specification'. + * + * 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 'Scope Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeSpecification(ScopeSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Scope'. + * + * 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 'Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeScope(TypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Type Scope'. + * + * 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 'Class Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassTypeScope(ClassTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Object Type Scope'. + * + * 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 'Object Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectTypeScope(ObjectTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Type Scope'. + * + * 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 'Integer Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerTypeScope(IntegerTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Type Scope'. + * + * 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 'Real Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealTypeScope(RealTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Type Scope'. + * + * 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 'String Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringTypeScope(StringTypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Reference'. + * + * 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 'Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeReference(TypeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Reference'. + * + * 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 'Class Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassReference(ClassReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Object Reference'. + * + * 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 'Object Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectReference(ObjectReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Reference'. + * + * 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 'Integer Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerReference(IntegerReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Reference'. + * + * 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 'Real Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealReference(RealReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Reference'. + * + * 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 'String Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringReference(StringReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Number Specification'. + * + * 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 'Number Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNumberSpecification(NumberSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exact Number'. + * + * 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 'Exact Number'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExactNumber(ExactNumber object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Intervall Number'. + * + * 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 'Intervall Number'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntervallNumber(IntervallNumber object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Enumberation'. + * + * 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 'Int Enumberation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntEnumberation(IntEnumberation object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Enumeration'. + * + * 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 'Real Enumeration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealEnumeration(RealEnumeration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Enumeration'. + * + * 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 'String Enumeration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringEnumeration(StringEnumeration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Declaration'. + * + * 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 'Scope Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeDeclaration(ScopeDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Reference'. + * + * 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 'Scope Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeReference(ScopeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope'. + * + * 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 'Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScope(Scope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Task'. + * + * 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 'Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTask(Task object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Generation Task'. + * + * 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 'Generation Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenerationTask(GenerationTask object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Scope'. + * + * 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 'Integer Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerScope(IntegerScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Scope'. + * + * 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 'Real Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealScope(RealScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Scope'. + * + * 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 'String Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringScope(StringScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) + { + return null; + } + +} //ApplicationConfigurationSwitch -- cgit v1.2.3-54-g00ecf