| /******************************************************************************* |
| * Copyright (c) 2001, 2004 IBM Corporation 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 |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.util; |
| |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.jst.j2ee.common.QName; |
| import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ClassType; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionType; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaMethodName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaPortName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaVariableName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodReturnValue; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageType; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamPosition; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamType; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParameterMode; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.QnameScope; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName; |
| import org.eclipse.jst.j2ee.webservice.jaxrpcmap.XMLElementName; |
| |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Switch</b> for the model's inheritance hierarchy. |
| * It supports the call {@link #doSwitch 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.jst.j2ee.internal.webservice.jaxrpcmap.JaxrpcmapPackage |
| * @generated |
| */ |
| public class JaxrpcmapSwitch |
| { |
| /** |
| * The cached model package |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected static JaxrpcmapPackage modelPackage; |
| |
| /** |
| * Creates an instance of the switch. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public JaxrpcmapSwitch() |
| { |
| if (modelPackage == null) |
| { |
| modelPackage = JaxrpcmapPackage.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 Object doSwitch(EObject theEObject) |
| { |
| EClass theEClass = theEObject.eClass(); |
| if (theEClass.eContainer() == modelPackage) |
| { |
| switch (theEClass.getClassifierID()) |
| { |
| case JaxrpcmapPackage.JAVA_WSDL_MAPPING: |
| { |
| JavaWSDLMapping javaWSDLMapping = (JavaWSDLMapping)theEObject; |
| Object result = caseJavaWSDLMapping(javaWSDLMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PACKAGE_MAPPING: |
| { |
| PackageMapping packageMapping = (PackageMapping)theEObject; |
| Object result = casePackageMapping(packageMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING: |
| { |
| JavaXMLTypeMapping javaXMLTypeMapping = (JavaXMLTypeMapping)theEObject; |
| Object result = caseJavaXMLTypeMapping(javaXMLTypeMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.EXCEPTION_MAPPING: |
| { |
| ExceptionMapping exceptionMapping = (ExceptionMapping)theEObject; |
| Object result = caseExceptionMapping(exceptionMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING: |
| { |
| ServiceInterfaceMapping serviceInterfaceMapping = (ServiceInterfaceMapping)theEObject; |
| Object result = caseServiceInterfaceMapping(serviceInterfaceMapping); |
| if (result == null) result = caseInterfaceMapping(serviceInterfaceMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING: |
| { |
| ServiceEndpointInterfaceMapping serviceEndpointInterfaceMapping = (ServiceEndpointInterfaceMapping)theEObject; |
| Object result = caseServiceEndpointInterfaceMapping(serviceEndpointInterfaceMapping); |
| if (result == null) result = caseInterfaceMapping(serviceEndpointInterfaceMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PACKAGE_TYPE: |
| { |
| PackageType packageType = (PackageType)theEObject; |
| Object result = casePackageType(packageType); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.CLASS_TYPE: |
| { |
| ClassType classType = (ClassType)theEObject; |
| Object result = caseClassType(classType); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.ROOT_TYPE_QNAME: |
| { |
| RootTypeQname rootTypeQname = (RootTypeQname)theEObject; |
| Object result = caseRootTypeQname(rootTypeQname); |
| if (result == null) result = caseQName(rootTypeQname); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.QNAME_SCOPE: |
| { |
| QnameScope qnameScope = (QnameScope)theEObject; |
| Object result = caseQnameScope(qnameScope); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.VARIABLE_MAPPING: |
| { |
| VariableMapping variableMapping = (VariableMapping)theEObject; |
| Object result = caseVariableMapping(variableMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.EXCEPTION_TYPE: |
| { |
| ExceptionType exceptionType = (ExceptionType)theEObject; |
| Object result = caseExceptionType(exceptionType); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_MESSAGE: |
| { |
| WSDLMessage wsdlMessage = (WSDLMessage)theEObject; |
| Object result = caseWSDLMessage(wsdlMessage); |
| if (result == null) result = caseQName(wsdlMessage); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER: |
| { |
| ConstructorParameterOrder constructorParameterOrder = (ConstructorParameterOrder)theEObject; |
| Object result = caseConstructorParameterOrder(constructorParameterOrder); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.JAVA_VARIABLE_NAME: |
| { |
| JavaVariableName javaVariableName = (JavaVariableName)theEObject; |
| Object result = caseJavaVariableName(javaVariableName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.XML_ELEMENT_NAME: |
| { |
| XMLElementName xmlElementName = (XMLElementName)theEObject; |
| Object result = caseXMLElementName(xmlElementName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.ELEMENT_NAME: |
| { |
| ElementName elementName = (ElementName)theEObject; |
| Object result = caseElementName(elementName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_SERVICE_NAME: |
| { |
| WSDLServiceName wsdlServiceName = (WSDLServiceName)theEObject; |
| Object result = caseWSDLServiceName(wsdlServiceName); |
| if (result == null) result = caseQName(wsdlServiceName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PORT_MAPPING: |
| { |
| PortMapping portMapping = (PortMapping)theEObject; |
| Object result = casePortMapping(portMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.JAVA_PORT_NAME: |
| { |
| JavaPortName javaPortName = (JavaPortName)theEObject; |
| Object result = caseJavaPortName(javaPortName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_PORT_TYPE: |
| { |
| WSDLPortType wsdlPortType = (WSDLPortType)theEObject; |
| Object result = caseWSDLPortType(wsdlPortType); |
| if (result == null) result = caseQName(wsdlPortType); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_BINDING: |
| { |
| WSDLBinding wsdlBinding = (WSDLBinding)theEObject; |
| Object result = caseWSDLBinding(wsdlBinding); |
| if (result == null) result = caseQName(wsdlBinding); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING: |
| { |
| ServiceEndpointMethodMapping serviceEndpointMethodMapping = (ServiceEndpointMethodMapping)theEObject; |
| Object result = caseServiceEndpointMethodMapping(serviceEndpointMethodMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.JAVA_METHOD_NAME: |
| { |
| JavaMethodName javaMethodName = (JavaMethodName)theEObject; |
| Object result = caseJavaMethodName(javaMethodName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_OPERATION: |
| { |
| WSDLOperation wsdlOperation = (WSDLOperation)theEObject; |
| Object result = caseWSDLOperation(wsdlOperation); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING: |
| { |
| MethodParamPartsMapping methodParamPartsMapping = (MethodParamPartsMapping)theEObject; |
| Object result = caseMethodParamPartsMapping(methodParamPartsMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING: |
| { |
| WSDLReturnValueMapping wsdlReturnValueMapping = (WSDLReturnValueMapping)theEObject; |
| Object result = caseWSDLReturnValueMapping(wsdlReturnValueMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PARAM_POSITION: |
| { |
| ParamPosition paramPosition = (ParamPosition)theEObject; |
| Object result = caseParamPosition(paramPosition); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PARAM_TYPE: |
| { |
| ParamType paramType = (ParamType)theEObject; |
| Object result = caseParamType(paramType); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING: |
| { |
| WSDLMessageMapping wsdlMessageMapping = (WSDLMessageMapping)theEObject; |
| Object result = caseWSDLMessageMapping(wsdlMessageMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME: |
| { |
| WSDLMessagePartName wsdlMessagePartName = (WSDLMessagePartName)theEObject; |
| Object result = caseWSDLMessagePartName(wsdlMessagePartName); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.PARAMETER_MODE: |
| { |
| ParameterMode parameterMode = (ParameterMode)theEObject; |
| Object result = caseParameterMode(parameterMode); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.METHOD_RETURN_VALUE: |
| { |
| MethodReturnValue methodReturnValue = (MethodReturnValue)theEObject; |
| Object result = caseMethodReturnValue(methodReturnValue); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| case JaxrpcmapPackage.INTERFACE_MAPPING: |
| { |
| InterfaceMapping interfaceMapping = (InterfaceMapping)theEObject; |
| Object result = caseInterfaceMapping(interfaceMapping); |
| if (result == null) result = defaultCase(theEObject); |
| return result; |
| } |
| default: return defaultCase(theEObject); |
| } |
| } |
| return defaultCase(theEObject); |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Java WSDL Mapping</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 interpretting the object as an instance of '<em>Java WSDL Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseJavaWSDLMapping(JavaWSDLMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Package Mapping</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 interpretting the object as an instance of '<em>Package Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object casePackageMapping(PackageMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Java XML Type Mapping</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 interpretting the object as an instance of '<em>Java XML Type Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseJavaXMLTypeMapping(JavaXMLTypeMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Exception Mapping</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 interpretting the object as an instance of '<em>Exception Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseExceptionMapping(ExceptionMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Service Interface Mapping</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 interpretting the object as an instance of '<em>Service Interface Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseServiceInterfaceMapping(ServiceInterfaceMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Service Endpoint Interface Mapping</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 interpretting the object as an instance of '<em>Service Endpoint Interface Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseServiceEndpointInterfaceMapping(ServiceEndpointInterfaceMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Package Type</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 interpretting the object as an instance of '<em>Package Type</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object casePackageType(PackageType object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Class Type</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 interpretting the object as an instance of '<em>Class Type</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseClassType(ClassType object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Root Type Qname</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 interpretting the object as an instance of '<em>Root Type Qname</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseRootTypeQname(RootTypeQname object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Qname Scope</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 interpretting the object as an instance of '<em>Qname Scope</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseQnameScope(QnameScope object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Variable Mapping</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 interpretting the object as an instance of '<em>Variable Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseVariableMapping(VariableMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Exception Type</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 interpretting the object as an instance of '<em>Exception Type</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseExceptionType(ExceptionType object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Message</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 interpretting the object as an instance of '<em>WSDL Message</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLMessage(WSDLMessage object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Constructor Parameter Order</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 interpretting the object as an instance of '<em>Constructor Parameter Order</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseConstructorParameterOrder(ConstructorParameterOrder object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Java Variable 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 interpretting the object as an instance of '<em>Java Variable Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseJavaVariableName(JavaVariableName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>XML Element 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 interpretting the object as an instance of '<em>XML Element Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseXMLElementName(XMLElementName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Element 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 interpretting the object as an instance of '<em>Element Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseElementName(ElementName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Service 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 interpretting the object as an instance of '<em>WSDL Service Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLServiceName(WSDLServiceName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Port Mapping</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 interpretting the object as an instance of '<em>Port Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object casePortMapping(PortMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Java Port 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 interpretting the object as an instance of '<em>Java Port Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseJavaPortName(JavaPortName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Port Type</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 interpretting the object as an instance of '<em>WSDL Port Type</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLPortType(WSDLPortType object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Binding</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 interpretting the object as an instance of '<em>WSDL Binding</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLBinding(WSDLBinding object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Service Endpoint Method Mapping</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 interpretting the object as an instance of '<em>Service Endpoint Method Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseServiceEndpointMethodMapping(ServiceEndpointMethodMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Java Method 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 interpretting the object as an instance of '<em>Java Method Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseJavaMethodName(JavaMethodName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Operation</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 interpretting the object as an instance of '<em>WSDL Operation</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLOperation(WSDLOperation object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Method Param Parts Mapping</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 interpretting the object as an instance of '<em>Method Param Parts Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseMethodParamPartsMapping(MethodParamPartsMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Return Value Mapping</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 interpretting the object as an instance of '<em>WSDL Return Value Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLReturnValueMapping(WSDLReturnValueMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Param Position</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 interpretting the object as an instance of '<em>Param Position</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseParamPosition(ParamPosition object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Param Type</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 interpretting the object as an instance of '<em>Param Type</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseParamType(ParamType object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Message Mapping</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 interpretting the object as an instance of '<em>WSDL Message Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLMessageMapping(WSDLMessageMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>WSDL Message Part 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 interpretting the object as an instance of '<em>WSDL Message Part Name</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseWSDLMessagePartName(WSDLMessagePartName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Parameter Mode</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 interpretting the object as an instance of '<em>Parameter Mode</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseParameterMode(ParameterMode object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Method Return Value</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 interpretting the object as an instance of '<em>Method Return Value</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseMethodReturnValue(MethodReturnValue object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>Interface Mapping</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 interpretting the object as an instance of '<em>Interface Mapping</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseInterfaceMapping(InterfaceMapping object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting the object as an instance of '<em>QName</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 interpretting the object as an instance of '<em>QName</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| * @generated |
| */ |
| public Object caseQName(QName object) |
| { |
| return null; |
| } |
| |
| /** |
| * Returns the result of interpretting 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 interpretting the object as an instance of '<em>EObject</em>'. |
| * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
| * @generated |
| */ |
| public Object defaultCase(EObject object) |
| { |
| return null; |
| } |
| |
| } //JaxrpcmapSwitch |