Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util')
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapAdapterFactory.java816
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapSwitch.java932
2 files changed, 0 insertions, 1748 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapAdapterFactory.java
deleted file mode 100644
index b6fc28354..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapAdapterFactory.java
+++ /dev/null
@@ -1,816 +0,0 @@
-/*******************************************************************************
- * 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.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-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>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JaxrpcmapPackage
- * @generated
- */
-public class JaxrpcmapAdapterFactory extends AdapterFactoryImpl
-{
-
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static JaxrpcmapPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JaxrpcmapAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = JaxrpcmapPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected JaxrpcmapSwitch modelSwitch =
- new JaxrpcmapSwitch()
- {
- public Object caseJavaWSDLMapping(JavaWSDLMapping object)
- {
- return createJavaWSDLMappingAdapter();
- }
- public Object casePackageMapping(PackageMapping object)
- {
- return createPackageMappingAdapter();
- }
- public Object caseJavaXMLTypeMapping(JavaXMLTypeMapping object)
- {
- return createJavaXMLTypeMappingAdapter();
- }
- public Object caseExceptionMapping(ExceptionMapping object)
- {
- return createExceptionMappingAdapter();
- }
- public Object caseServiceInterfaceMapping(ServiceInterfaceMapping object)
- {
- return createServiceInterfaceMappingAdapter();
- }
- public Object caseServiceEndpointInterfaceMapping(ServiceEndpointInterfaceMapping object)
- {
- return createServiceEndpointInterfaceMappingAdapter();
- }
- public Object casePackageType(PackageType object)
- {
- return createPackageTypeAdapter();
- }
- public Object caseClassType(ClassType object)
- {
- return createClassTypeAdapter();
- }
- public Object caseRootTypeQname(RootTypeQname object)
- {
- return createRootTypeQnameAdapter();
- }
- public Object caseQnameScope(QnameScope object)
- {
- return createQnameScopeAdapter();
- }
- public Object caseVariableMapping(VariableMapping object)
- {
- return createVariableMappingAdapter();
- }
- public Object caseExceptionType(ExceptionType object)
- {
- return createExceptionTypeAdapter();
- }
- public Object caseWSDLMessage(WSDLMessage object)
- {
- return createWSDLMessageAdapter();
- }
- public Object caseConstructorParameterOrder(ConstructorParameterOrder object)
- {
- return createConstructorParameterOrderAdapter();
- }
- public Object caseJavaVariableName(JavaVariableName object)
- {
- return createJavaVariableNameAdapter();
- }
- public Object caseXMLElementName(XMLElementName object)
- {
- return createXMLElementNameAdapter();
- }
- public Object caseElementName(ElementName object)
- {
- return createElementNameAdapter();
- }
- public Object caseWSDLServiceName(WSDLServiceName object)
- {
- return createWSDLServiceNameAdapter();
- }
- public Object casePortMapping(PortMapping object)
- {
- return createPortMappingAdapter();
- }
- public Object caseJavaPortName(JavaPortName object)
- {
- return createJavaPortNameAdapter();
- }
- public Object caseWSDLPortType(WSDLPortType object)
- {
- return createWSDLPortTypeAdapter();
- }
- public Object caseWSDLBinding(WSDLBinding object)
- {
- return createWSDLBindingAdapter();
- }
- public Object caseServiceEndpointMethodMapping(ServiceEndpointMethodMapping object)
- {
- return createServiceEndpointMethodMappingAdapter();
- }
- public Object caseJavaMethodName(JavaMethodName object)
- {
- return createJavaMethodNameAdapter();
- }
- public Object caseWSDLOperation(WSDLOperation object)
- {
- return createWSDLOperationAdapter();
- }
- public Object caseMethodParamPartsMapping(MethodParamPartsMapping object)
- {
- return createMethodParamPartsMappingAdapter();
- }
- public Object caseWSDLReturnValueMapping(WSDLReturnValueMapping object)
- {
- return createWSDLReturnValueMappingAdapter();
- }
- public Object caseParamPosition(ParamPosition object)
- {
- return createParamPositionAdapter();
- }
- public Object caseParamType(ParamType object)
- {
- return createParamTypeAdapter();
- }
- public Object caseWSDLMessageMapping(WSDLMessageMapping object)
- {
- return createWSDLMessageMappingAdapter();
- }
- public Object caseWSDLMessagePartName(WSDLMessagePartName object)
- {
- return createWSDLMessagePartNameAdapter();
- }
- public Object caseParameterMode(ParameterMode object)
- {
- return createParameterModeAdapter();
- }
- public Object caseMethodReturnValue(MethodReturnValue object)
- {
- return createMethodReturnValueAdapter();
- }
- public Object caseInterfaceMapping(InterfaceMapping object)
- {
- return createInterfaceMappingAdapter();
- }
- public Object caseQName(QName object)
- {
- return createQNameAdapter();
- }
- public Object defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- public Adapter createAdapter(Notifier target)
- {
- return (Adapter)modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaWSDLMapping <em>Java WSDL Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaWSDLMapping
- * @generated
- */
- public Adapter createJavaWSDLMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PackageMapping <em>Package Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PackageMapping
- * @generated
- */
- public Adapter createPackageMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaXMLTypeMapping <em>Java XML Type Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaXMLTypeMapping
- * @generated
- */
- public Adapter createJavaXMLTypeMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ExceptionMapping <em>Exception Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ExceptionMapping
- * @generated
- */
- public Adapter createExceptionMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceInterfaceMapping <em>Service Interface Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceInterfaceMapping
- * @generated
- */
- public Adapter createServiceInterfaceMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping <em>Service Endpoint Interface Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping
- * @generated
- */
- public Adapter createServiceEndpointInterfaceMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PackageType <em>Package Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PackageType
- * @generated
- */
- public Adapter createPackageTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ClassType <em>Class Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ClassType
- * @generated
- */
- public Adapter createClassTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.RootTypeQname <em>Root Type Qname</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.RootTypeQname
- * @generated
- */
- public Adapter createRootTypeQnameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.QnameScope <em>Qname Scope</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.QnameScope
- * @generated
- */
- public Adapter createQnameScopeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.VariableMapping <em>Variable Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.VariableMapping
- * @generated
- */
- public Adapter createVariableMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ExceptionType <em>Exception Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ExceptionType
- * @generated
- */
- public Adapter createExceptionTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessage <em>WSDL Message</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessage
- * @generated
- */
- public Adapter createWSDLMessageAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ConstructorParameterOrder <em>Constructor Parameter Order</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ConstructorParameterOrder
- * @generated
- */
- public Adapter createConstructorParameterOrderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaVariableName <em>Java Variable Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaVariableName
- * @generated
- */
- public Adapter createJavaVariableNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.XMLElementName <em>XML Element Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.XMLElementName
- * @generated
- */
- public Adapter createXMLElementNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ElementName <em>Element Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ElementName
- * @generated
- */
- public Adapter createElementNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLServiceName <em>WSDL Service Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLServiceName
- * @generated
- */
- public Adapter createWSDLServiceNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PortMapping <em>Port Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.PortMapping
- * @generated
- */
- public Adapter createPortMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaPortName <em>Java Port Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaPortName
- * @generated
- */
- public Adapter createJavaPortNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLPortType <em>WSDL Port Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLPortType
- * @generated
- */
- public Adapter createWSDLPortTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLBinding <em>WSDL Binding</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLBinding
- * @generated
- */
- public Adapter createWSDLBindingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceEndpointMethodMapping <em>Service Endpoint Method Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ServiceEndpointMethodMapping
- * @generated
- */
- public Adapter createServiceEndpointMethodMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaMethodName <em>Java Method Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JavaMethodName
- * @generated
- */
- public Adapter createJavaMethodNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLOperation <em>WSDL Operation</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLOperation
- * @generated
- */
- public Adapter createWSDLOperationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.MethodParamPartsMapping <em>Method Param Parts Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.MethodParamPartsMapping
- * @generated
- */
- public Adapter createMethodParamPartsMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLReturnValueMapping <em>WSDL Return Value Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLReturnValueMapping
- * @generated
- */
- public Adapter createWSDLReturnValueMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParamPosition <em>Param Position</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParamPosition
- * @generated
- */
- public Adapter createParamPositionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParamType <em>Param Type</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParamType
- * @generated
- */
- public Adapter createParamTypeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessageMapping <em>WSDL Message Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessageMapping
- * @generated
- */
- public Adapter createWSDLMessageMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessagePartName <em>WSDL Message Part Name</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.WSDLMessagePartName
- * @generated
- */
- public Adapter createWSDLMessagePartNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParameterMode <em>Parameter Mode</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.ParameterMode
- * @generated
- */
- public Adapter createParameterModeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.MethodReturnValue <em>Method Return Value</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.MethodReturnValue
- * @generated
- */
- public Adapter createMethodReturnValueAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.InterfaceMapping <em>Interface Mapping</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.InterfaceMapping
- * @generated
- */
- public Adapter createInterfaceMappingAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.internal.common.QName <em>QName</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.jst.j2ee.internal.common.QName
- * @generated
- */
- public Adapter createQNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //JaxrpcmapAdapterFactory
diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapSwitch.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapSwitch.java
deleted file mode 100644
index 291fbe506..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/util/JaxrpcmapSwitch.java
+++ /dev/null
@@ -1,932 +0,0 @@
-/*******************************************************************************
- * 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

Back to the top