geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r233071 [18/22] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/ org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.deployment.model/META-INF/ org.apache.geronimo.deployment.model/emf/ ...
Date Tue, 16 Aug 2005 22:40:54 GMT
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,368 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+import org.openejb.xml.ns.openejb.jar.TransportGuaranteeType;
+import org.openejb.xml.ns.openejb.jar.WebServiceSecurityType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Web Service Security Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getSecurityRealmName <em>Security Realm Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getRealmName <em>Realm Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getTransportGuarantee <em>Transport Guarantee</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getAuthMethod <em>Auth Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class WebServiceSecurityTypeImpl extends EObjectImpl implements WebServiceSecurityType {
+    /**
+     * The default value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSecurityRealmName()
+     * @generated
+     * @ordered
+     */
+    protected static final String SECURITY_REALM_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSecurityRealmName()
+     * @generated
+     * @ordered
+     */
+    protected String securityRealmName = SECURITY_REALM_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected static final String REALM_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected String realmName = REALM_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTransportGuarantee()
+     * @generated
+     * @ordered
+     */
+    protected static final TransportGuaranteeType TRANSPORT_GUARANTEE_EDEFAULT = TransportGuaranteeType.NONE_LITERAL;
+
+    /**
+     * The cached value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTransportGuarantee()
+     * @generated
+     * @ordered
+     */
+    protected TransportGuaranteeType transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
+
+    /**
+     * This is true if the Transport Guarantee attribute has been set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    protected boolean transportGuaranteeESet = false;
+
+    /**
+     * The default value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAuthMethod()
+     * @generated
+     * @ordered
+     */
+    protected static final String AUTH_METHOD_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAuthMethod()
+     * @generated
+     * @ordered
+     */
+    protected String authMethod = AUTH_METHOD_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected WebServiceSecurityTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getWebServiceSecurityType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getSecurityRealmName() {
+        return securityRealmName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setSecurityRealmName(String newSecurityRealmName) {
+        String oldSecurityRealmName = securityRealmName;
+        securityRealmName = newSecurityRealmName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME, oldSecurityRealmName, securityRealmName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getRealmName() {
+        return realmName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setRealmName(String newRealmName) {
+        String oldRealmName = realmName;
+        realmName = newRealmName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME, oldRealmName, realmName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public TransportGuaranteeType getTransportGuarantee() {
+        return transportGuarantee;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTransportGuarantee(TransportGuaranteeType newTransportGuarantee) {
+        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
+        transportGuarantee = newTransportGuarantee == null ? TRANSPORT_GUARANTEE_EDEFAULT : newTransportGuarantee;
+        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
+        transportGuaranteeESet = true;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, transportGuarantee, !oldTransportGuaranteeESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void unsetTransportGuarantee() {
+        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
+        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
+        transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
+        transportGuaranteeESet = false;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.UNSET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, TRANSPORT_GUARANTEE_EDEFAULT, oldTransportGuaranteeESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean isSetTransportGuarantee() {
+        return transportGuaranteeESet;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getAuthMethod() {
+        return authMethod;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setAuthMethod(String newAuthMethod) {
+        String oldAuthMethod = authMethod;
+        authMethod = newAuthMethod;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD, oldAuthMethod, authMethod));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                return getSecurityRealmName();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                return getRealmName();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                return getTransportGuarantee();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                return getAuthMethod();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                setSecurityRealmName((String)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                setRealmName((String)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                setTransportGuarantee((TransportGuaranteeType)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                setAuthMethod((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                setSecurityRealmName(SECURITY_REALM_NAME_EDEFAULT);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                setRealmName(REALM_NAME_EDEFAULT);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                unsetTransportGuarantee();
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                setAuthMethod(AUTH_METHOD_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                return SECURITY_REALM_NAME_EDEFAULT == null ? securityRealmName != null : !SECURITY_REALM_NAME_EDEFAULT.equals(securityRealmName);
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                return REALM_NAME_EDEFAULT == null ? realmName != null : !REALM_NAME_EDEFAULT.equals(realmName);
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                return isSetTransportGuarantee();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                return AUTH_METHOD_EDEFAULT == null ? authMethod != null : !AUTH_METHOD_EDEFAULT.equals(authMethod);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (securityRealmName: ");
+        result.append(securityRealmName);
+        result.append(", realmName: ");
+        result.append(realmName);
+        result.append(", transportGuarantee: ");
+        if (transportGuaranteeESet) result.append(transportGuarantee); else result.append("<unset>");
+        result.append(", authMethod: ");
+        result.append(authMethod);
+        result.append(')');
+        return result.toString();
+    }
+
+} //WebServiceSecurityTypeImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarAdapterFactory.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarAdapterFactory.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarAdapterFactory.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarAdapterFactory.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,571 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.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.openejb.xml.ns.openejb.jar.*;
+
+/**
+ * <!-- 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.openejb.xml.ns.openejb.jar.JarPackage
+ * @generated
+ */
+public class JarAdapterFactory extends AdapterFactoryImpl {
+    /**
+     * The cached model package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static JarPackage modelPackage;
+
+    /**
+     * Creates an instance of the adapter factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public JarAdapterFactory() {
+        if (modelPackage == null) {
+            modelPackage = JarPackage.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 JarSwitch modelSwitch =
+        new JarSwitch() {
+            public Object caseActivationConfigPropertyType(ActivationConfigPropertyType object) {
+                return createActivationConfigPropertyTypeAdapter();
+            }
+            public Object caseActivationConfigType(ActivationConfigType object) {
+                return createActivationConfigTypeAdapter();
+            }
+            public Object caseCmpFieldGroupMappingType(CmpFieldGroupMappingType object) {
+                return createCmpFieldGroupMappingTypeAdapter();
+            }
+            public Object caseCmpFieldMappingType(CmpFieldMappingType object) {
+                return createCmpFieldMappingTypeAdapter();
+            }
+            public Object caseCmrFieldGroupMappingType(CmrFieldGroupMappingType object) {
+                return createCmrFieldGroupMappingTypeAdapter();
+            }
+            public Object caseCmrFieldMappingType(CmrFieldMappingType object) {
+                return createCmrFieldMappingTypeAdapter();
+            }
+            public Object caseCmrFieldType(CmrFieldType object) {
+                return createCmrFieldTypeAdapter();
+            }
+            public Object caseCmrFieldType1(CmrFieldType1 object) {
+                return createCmrFieldType1Adapter();
+            }
+            public Object caseDocumentRoot(DocumentRoot object) {
+                return createDocumentRootAdapter();
+            }
+            public Object caseEjbRelationshipRoleType(EjbRelationshipRoleType object) {
+                return createEjbRelationshipRoleTypeAdapter();
+            }
+            public Object caseEjbRelationType(EjbRelationType object) {
+                return createEjbRelationTypeAdapter();
+            }
+            public Object caseEnterpriseBeansType(EnterpriseBeansType object) {
+                return createEnterpriseBeansTypeAdapter();
+            }
+            public Object caseEntityBeanType(EntityBeanType object) {
+                return createEntityBeanTypeAdapter();
+            }
+            public Object caseEntityGroupMappingType(EntityGroupMappingType object) {
+                return createEntityGroupMappingTypeAdapter();
+            }
+            public Object caseGroupType(GroupType object) {
+                return createGroupTypeAdapter();
+            }
+            public Object caseMessageDrivenBeanType(MessageDrivenBeanType object) {
+                return createMessageDrivenBeanTypeAdapter();
+            }
+            public Object caseMethodParamsType(MethodParamsType object) {
+                return createMethodParamsTypeAdapter();
+            }
+            public Object caseOpenejbJarType(OpenejbJarType object) {
+                return createOpenejbJarTypeAdapter();
+            }
+            public Object casePrefetchGroupType(PrefetchGroupType object) {
+                return createPrefetchGroupTypeAdapter();
+            }
+            public Object caseQueryMethodType(QueryMethodType object) {
+                return createQueryMethodTypeAdapter();
+            }
+            public Object caseQueryType(QueryType object) {
+                return createQueryTypeAdapter();
+            }
+            public Object caseRelationshipRoleSourceType(RelationshipRoleSourceType object) {
+                return createRelationshipRoleSourceTypeAdapter();
+            }
+            public Object caseRelationshipsType(RelationshipsType object) {
+                return createRelationshipsTypeAdapter();
+            }
+            public Object caseRoleMappingType(RoleMappingType object) {
+                return createRoleMappingTypeAdapter();
+            }
+            public Object caseSessionBeanType(SessionBeanType object) {
+                return createSessionBeanTypeAdapter();
+            }
+            public Object caseTssType(TssType object) {
+                return createTssTypeAdapter();
+            }
+            public Object caseWebServiceSecurityType(WebServiceSecurityType object) {
+                return createWebServiceSecurityTypeAdapter();
+            }
+            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.openejb.xml.ns.openejb.jar.ActivationConfigPropertyType <em>Activation Config Property 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.openejb.xml.ns.openejb.jar.ActivationConfigPropertyType
+     * @generated
+     */
+    public Adapter createActivationConfigPropertyTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.ActivationConfigType <em>Activation Config 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.openejb.xml.ns.openejb.jar.ActivationConfigType
+     * @generated
+     */
+    public Adapter createActivationConfigTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmpFieldGroupMappingType <em>Cmp Field Group Mapping 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.openejb.xml.ns.openejb.jar.CmpFieldGroupMappingType
+     * @generated
+     */
+    public Adapter createCmpFieldGroupMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmpFieldMappingType <em>Cmp Field Mapping 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.openejb.xml.ns.openejb.jar.CmpFieldMappingType
+     * @generated
+     */
+    public Adapter createCmpFieldMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmrFieldGroupMappingType <em>Cmr Field Group Mapping 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.openejb.xml.ns.openejb.jar.CmrFieldGroupMappingType
+     * @generated
+     */
+    public Adapter createCmrFieldGroupMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmrFieldMappingType <em>Cmr Field Mapping 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.openejb.xml.ns.openejb.jar.CmrFieldMappingType
+     * @generated
+     */
+    public Adapter createCmrFieldMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmrFieldType <em>Cmr Field 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.openejb.xml.ns.openejb.jar.CmrFieldType
+     * @generated
+     */
+    public Adapter createCmrFieldTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.CmrFieldType1 <em>Cmr Field Type1</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.openejb.xml.ns.openejb.jar.CmrFieldType1
+     * @generated
+     */
+    public Adapter createCmrFieldType1Adapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.DocumentRoot <em>Document Root</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.openejb.xml.ns.openejb.jar.DocumentRoot
+     * @generated
+     */
+    public Adapter createDocumentRootAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.EjbRelationshipRoleType <em>Ejb Relationship Role 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.openejb.xml.ns.openejb.jar.EjbRelationshipRoleType
+     * @generated
+     */
+    public Adapter createEjbRelationshipRoleTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.EjbRelationType <em>Ejb Relation 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.openejb.xml.ns.openejb.jar.EjbRelationType
+     * @generated
+     */
+    public Adapter createEjbRelationTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.EnterpriseBeansType <em>Enterprise Beans 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.openejb.xml.ns.openejb.jar.EnterpriseBeansType
+     * @generated
+     */
+    public Adapter createEnterpriseBeansTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.EntityBeanType <em>Entity Bean 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.openejb.xml.ns.openejb.jar.EntityBeanType
+     * @generated
+     */
+    public Adapter createEntityBeanTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.EntityGroupMappingType <em>Entity Group Mapping 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.openejb.xml.ns.openejb.jar.EntityGroupMappingType
+     * @generated
+     */
+    public Adapter createEntityGroupMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.GroupType <em>Group 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.openejb.xml.ns.openejb.jar.GroupType
+     * @generated
+     */
+    public Adapter createGroupTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.MessageDrivenBeanType <em>Message Driven Bean 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.openejb.xml.ns.openejb.jar.MessageDrivenBeanType
+     * @generated
+     */
+    public Adapter createMessageDrivenBeanTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.MethodParamsType <em>Method Params 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.openejb.xml.ns.openejb.jar.MethodParamsType
+     * @generated
+     */
+    public Adapter createMethodParamsTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.OpenejbJarType <em>Openejb Jar 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.openejb.xml.ns.openejb.jar.OpenejbJarType
+     * @generated
+     */
+    public Adapter createOpenejbJarTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.PrefetchGroupType <em>Prefetch Group 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.openejb.xml.ns.openejb.jar.PrefetchGroupType
+     * @generated
+     */
+    public Adapter createPrefetchGroupTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.QueryMethodType <em>Query Method 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.openejb.xml.ns.openejb.jar.QueryMethodType
+     * @generated
+     */
+    public Adapter createQueryMethodTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.QueryType <em>Query 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.openejb.xml.ns.openejb.jar.QueryType
+     * @generated
+     */
+    public Adapter createQueryTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.RelationshipRoleSourceType <em>Relationship Role Source 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.openejb.xml.ns.openejb.jar.RelationshipRoleSourceType
+     * @generated
+     */
+    public Adapter createRelationshipRoleSourceTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.RelationshipsType <em>Relationships 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.openejb.xml.ns.openejb.jar.RelationshipsType
+     * @generated
+     */
+    public Adapter createRelationshipsTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.RoleMappingType <em>Role Mapping 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.openejb.xml.ns.openejb.jar.RoleMappingType
+     * @generated
+     */
+    public Adapter createRoleMappingTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.SessionBeanType <em>Session Bean 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.openejb.xml.ns.openejb.jar.SessionBeanType
+     * @generated
+     */
+    public Adapter createSessionBeanTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.TssType <em>Tss 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.openejb.xml.ns.openejb.jar.TssType
+     * @generated
+     */
+    public Adapter createTssTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType <em>Web Service Security 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.openejb.xml.ns.openejb.jar.WebServiceSecurityType
+     * @generated
+     */
+    public Adapter createWebServiceSecurityTypeAdapter() {
+        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;
+    }
+
+} //JarAdapterFactory

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarAdapterFactory.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceFactoryImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceFactoryImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceFactoryImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceFactoryImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,62 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.openejb.jar.util.JarResourceImpl
+ * @generated
+ */
+public class JarResourceFactoryImpl extends ResourceFactoryImpl {
+    /**
+     * Creates an instance of the resource factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public JarResourceFactoryImpl() {
+        super();
+    }
+
+    /**
+     * Creates an instance of the resource.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Resource createResource(URI uri) {
+        XMLResource result = new JarResourceImpl(uri);
+        result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+        result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+        result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+        result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+        result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+        return result;
+    }
+
+} //JarResourceFactoryImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceFactoryImpl.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,41 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.openejb.jar.util.JarResourceFactoryImpl
+ * @generated
+ */
+public class JarResourceImpl extends XMLResourceImpl {
+    /**
+     * Creates an instance of the resource.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param uri the URI of the new resource.
+     * @generated
+     */
+    public JarResourceImpl(URI uri) {
+        super(uri);
+    }
+
+} //JarResourceImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarResourceImpl.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarSwitch.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarSwitch.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarSwitch.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarSwitch.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,685 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.openejb.xml.ns.openejb.jar.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage
+ * @generated
+ */
+public class JarSwitch {
+    /**
+     * The cached model package
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static JarPackage modelPackage;
+
+    /**
+     * Creates an instance of the switch.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public JarSwitch() {
+        if (modelPackage == null) {
+            modelPackage = JarPackage.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) {
+        return doSwitch(theEObject.eClass(), theEObject);
+    }
+
+    /**
+     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the first non-null result returned by a <code>caseXXX</code> call.
+     * @generated
+     */
+    protected Object doSwitch(EClass theEClass, EObject theEObject) {
+        if (theEClass.eContainer() == modelPackage) {
+            return doSwitch(theEClass.getClassifierID(), theEObject);
+        }
+        else {
+            List eSuperTypes = theEClass.getESuperTypes();
+            return
+                eSuperTypes.isEmpty() ?
+                    defaultCase(theEObject) :
+                    doSwitch((EClass)eSuperTypes.get(0), theEObject);
+        }
+    }
+
+    /**
+     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the first non-null result returned by a <code>caseXXX</code> call.
+     * @generated
+     */
+    protected Object doSwitch(int classifierID, EObject theEObject) {
+        switch (classifierID) {
+            case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE: {
+                ActivationConfigPropertyType activationConfigPropertyType = (ActivationConfigPropertyType)theEObject;
+                Object result = caseActivationConfigPropertyType(activationConfigPropertyType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.ACTIVATION_CONFIG_TYPE: {
+                ActivationConfigType activationConfigType = (ActivationConfigType)theEObject;
+                Object result = caseActivationConfigType(activationConfigType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE: {
+                CmpFieldGroupMappingType cmpFieldGroupMappingType = (CmpFieldGroupMappingType)theEObject;
+                Object result = caseCmpFieldGroupMappingType(cmpFieldGroupMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMP_FIELD_MAPPING_TYPE: {
+                CmpFieldMappingType cmpFieldMappingType = (CmpFieldMappingType)theEObject;
+                Object result = caseCmpFieldMappingType(cmpFieldMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE: {
+                CmrFieldGroupMappingType cmrFieldGroupMappingType = (CmrFieldGroupMappingType)theEObject;
+                Object result = caseCmrFieldGroupMappingType(cmrFieldGroupMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMR_FIELD_MAPPING_TYPE: {
+                CmrFieldMappingType cmrFieldMappingType = (CmrFieldMappingType)theEObject;
+                Object result = caseCmrFieldMappingType(cmrFieldMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMR_FIELD_TYPE: {
+                CmrFieldType cmrFieldType = (CmrFieldType)theEObject;
+                Object result = caseCmrFieldType(cmrFieldType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.CMR_FIELD_TYPE1: {
+                CmrFieldType1 cmrFieldType1 = (CmrFieldType1)theEObject;
+                Object result = caseCmrFieldType1(cmrFieldType1);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.DOCUMENT_ROOT: {
+                DocumentRoot documentRoot = (DocumentRoot)theEObject;
+                Object result = caseDocumentRoot(documentRoot);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.EJB_RELATIONSHIP_ROLE_TYPE: {
+                EjbRelationshipRoleType ejbRelationshipRoleType = (EjbRelationshipRoleType)theEObject;
+                Object result = caseEjbRelationshipRoleType(ejbRelationshipRoleType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.EJB_RELATION_TYPE: {
+                EjbRelationType ejbRelationType = (EjbRelationType)theEObject;
+                Object result = caseEjbRelationType(ejbRelationType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.ENTERPRISE_BEANS_TYPE: {
+                EnterpriseBeansType enterpriseBeansType = (EnterpriseBeansType)theEObject;
+                Object result = caseEnterpriseBeansType(enterpriseBeansType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.ENTITY_BEAN_TYPE: {
+                EntityBeanType entityBeanType = (EntityBeanType)theEObject;
+                Object result = caseEntityBeanType(entityBeanType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE: {
+                EntityGroupMappingType entityGroupMappingType = (EntityGroupMappingType)theEObject;
+                Object result = caseEntityGroupMappingType(entityGroupMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.GROUP_TYPE: {
+                GroupType groupType = (GroupType)theEObject;
+                Object result = caseGroupType(groupType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.MESSAGE_DRIVEN_BEAN_TYPE: {
+                MessageDrivenBeanType messageDrivenBeanType = (MessageDrivenBeanType)theEObject;
+                Object result = caseMessageDrivenBeanType(messageDrivenBeanType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.METHOD_PARAMS_TYPE: {
+                MethodParamsType methodParamsType = (MethodParamsType)theEObject;
+                Object result = caseMethodParamsType(methodParamsType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.OPENEJB_JAR_TYPE: {
+                OpenejbJarType openejbJarType = (OpenejbJarType)theEObject;
+                Object result = caseOpenejbJarType(openejbJarType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.PREFETCH_GROUP_TYPE: {
+                PrefetchGroupType prefetchGroupType = (PrefetchGroupType)theEObject;
+                Object result = casePrefetchGroupType(prefetchGroupType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.QUERY_METHOD_TYPE: {
+                QueryMethodType queryMethodType = (QueryMethodType)theEObject;
+                Object result = caseQueryMethodType(queryMethodType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.QUERY_TYPE: {
+                QueryType queryType = (QueryType)theEObject;
+                Object result = caseQueryType(queryType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.RELATIONSHIP_ROLE_SOURCE_TYPE: {
+                RelationshipRoleSourceType relationshipRoleSourceType = (RelationshipRoleSourceType)theEObject;
+                Object result = caseRelationshipRoleSourceType(relationshipRoleSourceType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.RELATIONSHIPS_TYPE: {
+                RelationshipsType relationshipsType = (RelationshipsType)theEObject;
+                Object result = caseRelationshipsType(relationshipsType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.ROLE_MAPPING_TYPE: {
+                RoleMappingType roleMappingType = (RoleMappingType)theEObject;
+                Object result = caseRoleMappingType(roleMappingType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.SESSION_BEAN_TYPE: {
+                SessionBeanType sessionBeanType = (SessionBeanType)theEObject;
+                Object result = caseSessionBeanType(sessionBeanType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.TSS_TYPE: {
+                TssType tssType = (TssType)theEObject;
+                Object result = caseTssType(tssType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE: {
+                WebServiceSecurityType webServiceSecurityType = (WebServiceSecurityType)theEObject;
+                Object result = caseWebServiceSecurityType(webServiceSecurityType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            default: return defaultCase(theEObject);
+        }
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Activation Config Property 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>Activation Config Property Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseActivationConfigPropertyType(ActivationConfigPropertyType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Activation Config 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>Activation Config Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseActivationConfigType(ActivationConfigType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmp Field Group Mapping 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>Cmp Field Group Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmpFieldGroupMappingType(CmpFieldGroupMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmp Field Mapping 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>Cmp Field Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmpFieldMappingType(CmpFieldMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmr Field Group Mapping 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>Cmr Field Group Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmrFieldGroupMappingType(CmrFieldGroupMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmr Field Mapping 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>Cmr Field Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmrFieldMappingType(CmrFieldMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmr Field 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>Cmr Field Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmrFieldType(CmrFieldType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Cmr Field Type1</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>Cmr Field Type1</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseCmrFieldType1(CmrFieldType1 object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Document Root</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>Document Root</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseDocumentRoot(DocumentRoot object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Ejb Relationship Role 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>Ejb Relationship Role Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseEjbRelationshipRoleType(EjbRelationshipRoleType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Ejb Relation 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>Ejb Relation Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseEjbRelationType(EjbRelationType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Enterprise Beans 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>Enterprise Beans Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseEnterpriseBeansType(EnterpriseBeansType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Entity Bean 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>Entity Bean Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseEntityBeanType(EntityBeanType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Entity Group Mapping 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>Entity Group Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseEntityGroupMappingType(EntityGroupMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Group 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>Group Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseGroupType(GroupType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Message Driven Bean 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>Message Driven Bean Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseMessageDrivenBeanType(MessageDrivenBeanType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Method Params 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>Method Params Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseMethodParamsType(MethodParamsType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Openejb Jar 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>Openejb Jar Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseOpenejbJarType(OpenejbJarType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Prefetch Group 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>Prefetch Group Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object casePrefetchGroupType(PrefetchGroupType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Query Method 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>Query Method Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseQueryMethodType(QueryMethodType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Query 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>Query Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseQueryType(QueryType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Relationship Role Source 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>Relationship Role Source Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRelationshipRoleSourceType(RelationshipRoleSourceType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Relationships 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>Relationships Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRelationshipsType(RelationshipsType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Role Mapping 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>Role Mapping Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRoleMappingType(RoleMappingType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Session Bean 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>Session Bean Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseSessionBeanType(SessionBeanType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Tss 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>Tss Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseTssType(TssType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Web Service Security 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>Web Service Security Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseWebServiceSecurityType(WebServiceSecurityType 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;
+    }
+
+} //JarSwitch

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/util/JarSwitch.java
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message