| /******************************************************************************* |
| * Copyright (c) 2009, 2019 Xored Software Inc and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * Xored Software Inc - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| package org.eclipse.rcptt.ecl.data.commands.util; |
| |
| import java.util.List; |
| |
| |
| |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.rcptt.ecl.core.Command; |
| import org.eclipse.rcptt.ecl.data.commands.*; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Switch</b> for the model's inheritance hierarchy. |
| * It supports the call {@link #doSwitch(EObject) doSwitch(object)} |
| * to invoke the <code>caseXXX</code> 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. |
| * <!-- end-user-doc --> |
| * @see org.eclipse.rcptt.ecl.data.commands.CommandsPackage |
| * @generated |
| */ |
| public class CommandsSwitch<T> { |
| /** |
| * The cached model package |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected static CommandsPackage modelPackage; |
| |
| /** |
| * Creates an instance of the switch. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public CommandsSwitch() { |
| if (modelPackage == null) { |
| modelPackage = CommandsPackage.eINSTANCE; |
| } |
| } |
| |
| /** |
| * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the first non-null result returned by a <code>caseXXX</code> call. |
| * @generated |
| */ |
| public T doSwitch(EObject theEObject) { |
| return doSwitch(theEObject.eClass(), theEObject); |
| } |
| |
| /** |
| * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the first non-null result returned by a <code>caseXXX</code> call. |
| * @generated |
| */ |
| protected T doSwitch(EClass theEClass, EObject theEObject) { |
| if (theEClass.eContainer() == modelPackage) { |
| return doSwitch(theEClass.getClassifierID(), theEObject); |
| } |
| else { |
| List<EClass> eSuperTypes = theEClass.getESuperTypes(); |
| return |
| eSuperTypes.isEmpty() ? |
| defaultCase(theEObject) : |
| doSwitch(eSuperTypes.get(0), theEObject); |
| } |
| } |
| |
| /** |
| * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the first non-null result returned by a <code>caseXXX</code> call. |
| * @generated |
| */ |
| protected T doSwitch(int classifierID, EObject theEObject) { |
| switch (classifierID) { |
| case CommandsPackage.READ_CSV_FILE: { |
| ReadCsvFile readCsvFile = (ReadCsvFile)theEObject; |
| T result = caseReadCsvFile(readCsvFile); |
| if (result == null) result = caseCommand(readCsvFile); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.PRINT: { |
| Print print = (Print)theEObject; |
| T result = casePrint(print); |
| if (result == null) result = caseCommand(print); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.WRITE_CSV_FILE: { |
| WriteCsvFile writeCsvFile = (WriteCsvFile)theEObject; |
| T result = caseWriteCsvFile(writeCsvFile); |
| if (result == null) result = caseCommand(writeCsvFile); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.EXCLUDE_COLUMNS: { |
| ExcludeColumns excludeColumns = (ExcludeColumns)theEObject; |
| T result = caseExcludeColumns(excludeColumns); |
| if (result == null) result = caseCommand(excludeColumns); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.SELECT_COLUMNS: { |
| SelectColumns selectColumns = (SelectColumns)theEObject; |
| T result = caseSelectColumns(selectColumns); |
| if (result == null) result = caseCommand(selectColumns); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.ASSERT_TABLES_MATCH: { |
| AssertTablesMatch assertTablesMatch = (AssertTablesMatch)theEObject; |
| T result = caseAssertTablesMatch(assertTablesMatch); |
| if (result == null) result = caseCommand(assertTablesMatch); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.WRITE_LINES: { |
| WriteLines writeLines = (WriteLines)theEObject; |
| T result = caseWriteLines(writeLines); |
| if (result == null) result = caseCommand(writeLines); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.READ_LINES: { |
| ReadLines readLines = (ReadLines)theEObject; |
| T result = caseReadLines(readLines); |
| if (result == null) result = caseCommand(readLines); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.SELECT_ROWS: { |
| SelectRows selectRows = (SelectRows)theEObject; |
| T result = caseSelectRows(selectRows); |
| if (result == null) result = caseCommand(selectRows); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.EXCLUDE_ROWS: { |
| ExcludeRows excludeRows = (ExcludeRows)theEObject; |
| T result = caseExcludeRows(excludeRows); |
| if (result == null) result = caseCommand(excludeRows); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.AS_TABLE_DATA: { |
| AsTableData asTableData = (AsTableData)theEObject; |
| T result = caseAsTableData(asTableData); |
| if (result == null) result = caseCommand(asTableData); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.READ_PROPERTIES: { |
| ReadProperties readProperties = (ReadProperties)theEObject; |
| T result = caseReadProperties(readProperties); |
| if (result == null) result = caseCommand(readProperties); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.READ_FILE: { |
| ReadFile readFile = (ReadFile)theEObject; |
| T result = caseReadFile(readFile); |
| if (result == null) result = caseCommand(readFile); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.SET_PAGE_NAME: { |
| SetPageName setPageName = (SetPageName)theEObject; |
| T result = caseSetPageName(setPageName); |
| if (result == null) result = caseCommand(setPageName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.LIST_AS_TABLE_DATA: { |
| ListAsTableData listAsTableData = (ListAsTableData)theEObject; |
| T result = caseListAsTableData(listAsTableData); |
| if (result == null) result = caseCommand(listAsTableData); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.READ_XML_FILE: { |
| ReadXmlFile readXmlFile = (ReadXmlFile)theEObject; |
| T result = caseReadXmlFile(readXmlFile); |
| if (result == null) result = caseCommand(readXmlFile); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.WRITE_XML_FILE: { |
| WriteXmlFile writeXmlFile = (WriteXmlFile)theEObject; |
| T result = caseWriteXmlFile(writeXmlFile); |
| if (result == null) result = caseCommand(writeXmlFile); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.TREE_NODE: { |
| TreeNode treeNode = (TreeNode)theEObject; |
| T result = caseTreeNode(treeNode); |
| if (result == null) result = caseCommand(treeNode); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.GET_ATTRS: { |
| GetAttrs getAttrs = (GetAttrs)theEObject; |
| T result = caseGetAttrs(getAttrs); |
| if (result == null) result = caseCommand(getAttrs); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.GET_ATTR: { |
| GetAttr getAttr = (GetAttr)theEObject; |
| T result = caseGetAttr(getAttr); |
| if (result == null) result = caseCommand(getAttr); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.SET_ATTR: { |
| SetAttr setAttr = (SetAttr)theEObject; |
| T result = caseSetAttr(setAttr); |
| if (result == null) result = caseCommand(setAttr); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.HAS_ATTR: { |
| HasAttr hasAttr = (HasAttr)theEObject; |
| T result = caseHasAttr(hasAttr); |
| if (result == null) result = caseCommand(hasAttr); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.GET_NODES: { |
| GetNodes getNodes = (GetNodes)theEObject; |
| T result = caseGetNodes(getNodes); |
| if (result == null) result = caseCommand(getNodes); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.APPEND: { |
| Append append = (Append)theEObject; |
| T result = caseAppend(append); |
| if (result == null) result = caseCommand(append); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case CommandsPackage.REMOVE: { |
| Remove remove = (Remove)theEObject; |
| T result = caseRemove(remove); |
| if (result == null) result = caseCommand(remove); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| default: return defaultCase(theEObject); |
| } |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Read Csv File</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Read Csv File</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseReadCsvFile(ReadCsvFile object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Print</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Print</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T casePrint(Print object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Write Csv File</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Write Csv File</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseWriteCsvFile(WriteCsvFile object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Exclude Columns</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Exclude Columns</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseExcludeColumns(ExcludeColumns object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Select Columns</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Select Columns</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseSelectColumns(SelectColumns object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Assert Tables Match</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Assert Tables Match</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseAssertTablesMatch(AssertTablesMatch object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Write Lines</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Write Lines</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseWriteLines(WriteLines object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Read Lines</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Read Lines</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseReadLines(ReadLines object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Select Rows</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Select Rows</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseSelectRows(SelectRows object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Exclude Rows</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Exclude Rows</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseExcludeRows(ExcludeRows object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>As Table Data</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>As Table Data</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseAsTableData(AsTableData object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Read Properties</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Read Properties</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseReadProperties(ReadProperties object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Read File</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Read File</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseReadFile(ReadFile object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Set Page Name</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Set Page Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseSetPageName(SetPageName object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>List As Table Data</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>List As Table Data</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseListAsTableData(ListAsTableData object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Read Xml File</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Read Xml File</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseReadXmlFile(ReadXmlFile object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Write Xml File</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Write Xml File</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseWriteXmlFile(WriteXmlFile object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Tree Node</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Tree Node</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseTreeNode(TreeNode object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Get Attrs</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Get Attrs</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseGetAttrs(GetAttrs object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Get Attr</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Get Attr</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseGetAttr(GetAttr object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Set Attr</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Set Attr</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseSetAttr(SetAttr object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Has Attr</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Has Attr</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseHasAttr(HasAttr object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Get Nodes</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Get Nodes</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseGetNodes(GetNodes object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Append</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Append</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseAppend(Append object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Remove</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Remove</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public T caseRemove(Remove object) { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpreting the object as an instance of '<em>Command</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>Command</em>'. |
| * @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 '<em>EObject</em>'. |
| * <!-- begin-user-doc --> |
| * This implementation returns null; |
| * returning a non-null result will terminate the switch, but this is the last case anyway. |
| * <!-- end-user-doc --> |
| * @param object the target of the switch. |
| * @return the result of interpreting the object as an instance of '<em>EObject</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
| * @generated |
| */ |
| public T defaultCase(EObject object) { |
| return null; |
| } |
| |
| } //CommandsSwitch |