You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2005/08/16 21:47:05 UTC

svn commit: r233044 [29/33] - in /geronimo/trunk/sandbox/eclipse-plugin: ./ org.apache.geronimo.core/ org.apache.geronimo.core/META-INF/ org.apache.geronimo.core/serverdef/ org.apache.geronimo.core/src/ org.apache.geronimo.core/src/org/ org.apache.gero...

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/security/util/SecuritySwitch.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,335 @@
+/**
+ * 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.apache.geronimo.xml.ns.security.util;
+
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.security.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- 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.apache.geronimo.xml.ns.security.SecurityPackage
+ * @generated
+ */
+public class SecuritySwitch {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The cached model package
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static SecurityPackage modelPackage;
+
+    /**
+     * Creates an instance of the switch.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SecuritySwitch() {
+        if (modelPackage == null) {
+            modelPackage = SecurityPackage.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 SecurityPackage.DEFAULT_PRINCIPAL_TYPE: {
+                DefaultPrincipalType defaultPrincipalType = (DefaultPrincipalType)theEObject;
+                Object result = caseDefaultPrincipalType(defaultPrincipalType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.DESCRIPTION_TYPE: {
+                DescriptionType descriptionType = (DescriptionType)theEObject;
+                Object result = caseDescriptionType(descriptionType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.DISTINGUISHED_NAME_TYPE: {
+                DistinguishedNameType distinguishedNameType = (DistinguishedNameType)theEObject;
+                Object result = caseDistinguishedNameType(distinguishedNameType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.DOCUMENT_ROOT: {
+                DocumentRoot documentRoot = (DocumentRoot)theEObject;
+                Object result = caseDocumentRoot(documentRoot);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.NAMED_USERNAME_PASSWORD_CREDENTIAL_TYPE: {
+                NamedUsernamePasswordCredentialType namedUsernamePasswordCredentialType = (NamedUsernamePasswordCredentialType)theEObject;
+                Object result = caseNamedUsernamePasswordCredentialType(namedUsernamePasswordCredentialType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.PRINCIPAL_TYPE: {
+                PrincipalType principalType = (PrincipalType)theEObject;
+                Object result = casePrincipalType(principalType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.REALM_TYPE: {
+                RealmType realmType = (RealmType)theEObject;
+                Object result = caseRealmType(realmType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.ROLE_MAPPINGS_TYPE: {
+                RoleMappingsType roleMappingsType = (RoleMappingsType)theEObject;
+                Object result = caseRoleMappingsType(roleMappingsType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.ROLE_TYPE: {
+                RoleType roleType = (RoleType)theEObject;
+                Object result = caseRoleType(roleType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case SecurityPackage.SECURITY_TYPE: {
+                SecurityType securityType = (SecurityType)theEObject;
+                Object result = caseSecurityType(securityType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            default: return defaultCase(theEObject);
+        }
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Default Principal 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>Default Principal Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseDefaultPrincipalType(DefaultPrincipalType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Description 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>Description Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseDescriptionType(DescriptionType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Distinguished Name 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>Distinguished Name Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseDistinguishedNameType(DistinguishedNameType 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>Named Username Password Credential 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>Named Username Password Credential Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseNamedUsernamePasswordCredentialType(NamedUsernamePasswordCredentialType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Principal 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>Principal Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object casePrincipalType(PrincipalType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Realm 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>Realm Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRealmType(RealmType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Role Mappings 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 Mappings Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRoleMappingsType(RoleMappingsType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>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>Role Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseRoleType(RoleType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>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>Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseSecurityType(SecurityType 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;
+    }
+
+} //SecuritySwitch

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

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,106 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Config Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * 
+ *                 The config-paramType contains a name-value pair for a
+ *                 configuration parameter
+ *             
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType()
+ * @model extendedMetaData="name='config-paramType' kind='simple'"
+ * @generated
+ */
+public interface ConfigParamType extends EObject {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * Returns the value of the '<em><b>Value</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Value</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Value</em>' attribute.
+     * @see #setValue(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Value()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="name=':0' kind='simple'"
+     * @generated
+     */
+    String getValue();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getValue <em>Value</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Value</em>' attribute.
+     * @see #getValue()
+     * @generated
+     */
+    void setValue(String value);
+
+    /**
+     * Returns the value of the '<em><b>Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Name</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Name</em>' attribute.
+     * @see #setName(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getConfigParamType_Name()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+     *        extendedMetaData="kind='attribute' name='name'"
+     * @generated
+     */
+    String getName();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ConfigParamType#getName <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Name</em>' attribute.
+     * @see #getName()
+     * @generated
+     */
+    void setName(String value);
+
+} // ConfigParamType

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ConfigParamType.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,145 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Container Config Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * 
+ *                 Holds any configuration settings appropriate to the
+ *                 specific web container this application is targeting.
+ *                 Generally speaking this configuration file reflects
+ *                 the commonalities between web containers, and it's
+ *                 possible for a single container to have additional
+ *                 configuration options.  We recommend these be avoided
+ *                 wherever possible for the sake of portability.
+ * 
+ *                 Known containers are:
+ *                   Tomcat
+ *                   Jetty
+ * 
+ *                 Some known parameters are:
+ *                   Tomcat:  VirtualServer
+ *                   Tomcat:  TomcatRealm
+ *                   Tomcat:  TomcatValveChain
+ *                 An authoritative list is left to the individual container
+ *                 documentation.
+ *             
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getConfigParam <em>Config Param</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType()
+ * @model extendedMetaData="name='container-configType' kind='elementOnly'"
+ * @generated
+ */
+public interface ContainerConfigType extends EObject {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * Returns the value of the '<em><b>Config Param</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.web.ConfigParamType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Config Param</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Config Param</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_ConfigParam()
+     * @model type="org.apache.geronimo.xml.ns.web.ConfigParamType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='config-param' namespace='##targetNamespace'"
+     * @generated
+     */
+    EList getConfigParam();
+
+    /**
+     * Returns the value of the '<em><b>Container</b></em>' attribute.
+     * The default value is <code>"Tomcat"</code>.
+     * The literals are from the enumeration {@link org.apache.geronimo.xml.ns.web.WebContainerType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Container</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Container</em>' attribute.
+     * @see org.apache.geronimo.xml.ns.web.WebContainerType
+     * @see #isSetContainer()
+     * @see #unsetContainer()
+     * @see #setContainer(WebContainerType)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getContainerConfigType_Container()
+     * @model default="Tomcat" unique="false" unsettable="true" required="true"
+     *        extendedMetaData="kind='attribute' name='container'"
+     * @generated
+     */
+    WebContainerType getContainer();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Container</em>' attribute.
+     * @see org.apache.geronimo.xml.ns.web.WebContainerType
+     * @see #isSetContainer()
+     * @see #unsetContainer()
+     * @see #getContainer()
+     * @generated
+     */
+    void setContainer(WebContainerType value);
+
+    /**
+     * Unsets the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isSetContainer()
+     * @see #getContainer()
+     * @see #setContainer(WebContainerType)
+     * @generated
+     */
+    void unsetContainer();
+
+    /**
+     * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.web.ContainerConfigType#getContainer <em>Container</em>}' attribute is set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return whether the value of the '<em>Container</em>' attribute is set.
+     * @see #unsetContainer()
+     * @see #getContainer()
+     * @see #setContainer(WebContainerType)
+     * @generated
+     */
+    boolean isSetContainer();
+
+} // ContainerConfigType

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/ContainerConfigType.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,131 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+     * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Mixed</em>' attribute list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_Mixed()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+     *        extendedMetaData="kind='elementWildcard' name=':mixed'"
+     * @generated
+     */
+    FeatureMap getMixed();
+
+    /**
+     * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+     * The key is of type {@link java.lang.String},
+     * and the value is of type {@link java.lang.String},
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XMLNSPrefixMap()
+     * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+     *        extendedMetaData="kind='attribute' name='xmlns:prefix'"
+     * @generated
+     */
+    EMap getXMLNSPrefixMap();
+
+    /**
+     * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+     * The key is of type {@link java.lang.String},
+     * and the value is of type {@link java.lang.String},
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>XSI Schema Location</em>' map.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_XSISchemaLocation()
+     * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+     *        extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+     * @generated
+     */
+    EMap getXSISchemaLocation();
+
+    /**
+     * Returns the value of the '<em><b>Web App</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Web App</em>' containment reference isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Web App</em>' containment reference.
+     * @see #setWebApp(WebAppType)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getDocumentRoot_WebApp()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='web-app' namespace='##targetNamespace'"
+     * @generated
+     */
+    WebAppType getWebApp();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.DocumentRoot#getWebApp <em>Web App</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Web App</em>' containment reference.
+     * @see #getWebApp()
+     * @generated
+     */
+    void setWebApp(WebAppType value);
+
+} // DocumentRoot

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/DocumentRoot.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,386 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import org.apache.geronimo.xml.ns.security.SecurityType;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>App Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getDependency <em>Dependency</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getContextRoot <em>Context Root</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#isContextPriorityClassloader <em>Context Priority Classloader</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getContainerConfig <em>Container Config</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getSecurityRealmName <em>Security Realm Name</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getSecurity <em>Security</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getEjbRef <em>Ejb Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getServiceRef <em>Service Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getResourceRef <em>Resource Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getResourceEnvRef <em>Resource Env Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getGbean <em>Gbean</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getConfigId <em>Config Id</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.web.WebAppType#getParentId <em>Parent Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType()
+ * @model extendedMetaData="name='web-appType' kind='elementOnly'"
+ * @generated
+ */
+public interface WebAppType extends EObject {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * Returns the value of the '<em><b>Dependency</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.DependencyType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Dependency</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Dependency</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_Dependency()
+     * @model type="org.apache.geronimo.xml.ns.deployment.DependencyType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='dependency' namespace='http://geronimo.apache.org/xml/ns/deployment'"
+     * @generated
+     */
+    EList getDependency();
+
+    /**
+     * Returns the value of the '<em><b>Context Root</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Context Root</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Context Root</em>' attribute.
+     * @see #setContextRoot(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ContextRoot()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='context-root' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getContextRoot();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#getContextRoot <em>Context Root</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Context Root</em>' attribute.
+     * @see #getContextRoot()
+     * @generated
+     */
+    void setContextRoot(String value);
+
+    /**
+     * Returns the value of the '<em><b>Context Priority Classloader</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Context Priority Classloader</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Context Priority Classloader</em>' attribute.
+     * @see #isSetContextPriorityClassloader()
+     * @see #unsetContextPriorityClassloader()
+     * @see #setContextPriorityClassloader(boolean)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ContextPriorityClassloader()
+     * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" required="true"
+     *        extendedMetaData="kind='element' name='context-priority-classloader' namespace='##targetNamespace'"
+     * @generated
+     */
+    boolean isContextPriorityClassloader();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#isContextPriorityClassloader <em>Context Priority Classloader</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Context Priority Classloader</em>' attribute.
+     * @see #isSetContextPriorityClassloader()
+     * @see #unsetContextPriorityClassloader()
+     * @see #isContextPriorityClassloader()
+     * @generated
+     */
+    void setContextPriorityClassloader(boolean value);
+
+    /**
+     * Unsets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#isContextPriorityClassloader <em>Context Priority Classloader</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #isSetContextPriorityClassloader()
+     * @see #isContextPriorityClassloader()
+     * @see #setContextPriorityClassloader(boolean)
+     * @generated
+     */
+    void unsetContextPriorityClassloader();
+
+    /**
+     * Returns whether the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#isContextPriorityClassloader <em>Context Priority Classloader</em>}' attribute is set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return whether the value of the '<em>Context Priority Classloader</em>' attribute is set.
+     * @see #unsetContextPriorityClassloader()
+     * @see #isContextPriorityClassloader()
+     * @see #setContextPriorityClassloader(boolean)
+     * @generated
+     */
+    boolean isSetContextPriorityClassloader();
+
+    /**
+     * Returns the value of the '<em><b>Container Config</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.web.ContainerConfigType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Container Config</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Container Config</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ContainerConfig()
+     * @model type="org.apache.geronimo.xml.ns.web.ContainerConfigType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='container-config' namespace='##targetNamespace'"
+     * @generated
+     */
+    EList getContainerConfig();
+
+    /**
+     * Returns the value of the '<em><b>Security Realm Name</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Security Realm Name</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Security Realm Name</em>' attribute.
+     * @see #setSecurityRealmName(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_SecurityRealmName()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='security-realm-name' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getSecurityRealmName();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#getSecurityRealmName <em>Security Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Security Realm Name</em>' attribute.
+     * @see #getSecurityRealmName()
+     * @generated
+     */
+    void setSecurityRealmName(String value);
+
+    /**
+     * Returns the value of the '<em><b>Security</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Security</em>' containment reference isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Security</em>' containment reference.
+     * @see #setSecurity(SecurityType)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_Security()
+     * @model containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='security' namespace='http://geronimo.apache.org/xml/ns/security'"
+     * @generated
+     */
+    SecurityType getSecurity();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#getSecurity <em>Security</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Security</em>' containment reference.
+     * @see #getSecurity()
+     * @generated
+     */
+    void setSecurity(SecurityType value);
+
+    /**
+     * Returns the value of the '<em><b>Ejb Ref</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.naming.EjbRefType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Ejb Ref</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Ejb Ref</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_EjbRef()
+     * @model type="org.apache.geronimo.xml.ns.naming.EjbRefType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='ejb-ref' namespace='http://geronimo.apache.org/xml/ns/naming'"
+     * @generated
+     */
+    EList getEjbRef();
+
+    /**
+     * Returns the value of the '<em><b>Ejb Local Ref</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.naming.EjbLocalRefType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Ejb Local Ref</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Ejb Local Ref</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_EjbLocalRef()
+     * @model type="org.apache.geronimo.xml.ns.naming.EjbLocalRefType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='ejb-local-ref' namespace='http://geronimo.apache.org/xml/ns/naming'"
+     * @generated
+     */
+    EList getEjbLocalRef();
+
+    /**
+     * Returns the value of the '<em><b>Service Ref</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.naming.ServiceRefType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Service Ref</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Service Ref</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ServiceRef()
+     * @model type="org.apache.geronimo.xml.ns.naming.ServiceRefType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='service-ref' namespace='http://geronimo.apache.org/xml/ns/naming'"
+     * @generated
+     */
+    EList getServiceRef();
+
+    /**
+     * Returns the value of the '<em><b>Resource Ref</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.naming.ResourceRefType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Resource Ref</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Resource Ref</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ResourceRef()
+     * @model type="org.apache.geronimo.xml.ns.naming.ResourceRefType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='resource-ref' namespace='http://geronimo.apache.org/xml/ns/naming'"
+     * @generated
+     */
+    EList getResourceRef();
+
+    /**
+     * Returns the value of the '<em><b>Resource Env Ref</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.naming.ResourceEnvRefType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Resource Env Ref</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Resource Env Ref</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ResourceEnvRef()
+     * @model type="org.apache.geronimo.xml.ns.naming.ResourceEnvRefType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='resource-env-ref' namespace='http://geronimo.apache.org/xml/ns/naming'"
+     * @generated
+     */
+    EList getResourceEnvRef();
+
+    /**
+     * Returns the value of the '<em><b>Gbean</b></em>' containment reference list.
+     * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.GbeanType}.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Gbean</em>' containment reference list isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Gbean</em>' containment reference list.
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_Gbean()
+     * @model type="org.apache.geronimo.xml.ns.deployment.GbeanType" containment="true" resolveProxies="false"
+     *        extendedMetaData="kind='element' name='gbean' namespace='http://geronimo.apache.org/xml/ns/deployment'"
+     * @generated
+     */
+    EList getGbean();
+
+    /**
+     * Returns the value of the '<em><b>Config Id</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Config Id</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Config Id</em>' attribute.
+     * @see #setConfigId(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ConfigId()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+     *        extendedMetaData="kind='attribute' name='configId'"
+     * @generated
+     */
+    String getConfigId();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#getConfigId <em>Config Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Config Id</em>' attribute.
+     * @see #getConfigId()
+     * @generated
+     */
+    void setConfigId(String value);
+
+    /**
+     * Returns the value of the '<em><b>Parent Id</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Parent Id</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Parent Id</em>' attribute.
+     * @see #setParentId(String)
+     * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebAppType_ParentId()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='attribute' name='parentId'"
+     * @generated
+     */
+    String getParentId();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.web.WebAppType#getParentId <em>Parent Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Parent Id</em>' attribute.
+     * @see #getParentId()
+     * @generated
+     */
+    void setParentId(String value);
+
+} // WebAppType

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,151 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.AbstractEnumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Container Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.apache.geronimo.xml.ns.web.WebPackage#getWebContainerType()
+ * @model
+ * @generated
+ */
+public final class WebContainerType extends AbstractEnumerator {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The '<em><b>Tomcat</b></em>' literal value.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of '<em><b>Tomcat</b></em>' literal object isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @see #TOMCAT_LITERAL
+     * @model name="Tomcat"
+     * @generated
+     * @ordered
+     */
+    public static final int TOMCAT = 0;
+
+    /**
+     * The '<em><b>Jetty</b></em>' literal value.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of '<em><b>Jetty</b></em>' literal object isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @see #JETTY_LITERAL
+     * @model name="Jetty"
+     * @generated
+     * @ordered
+     */
+    public static final int JETTY = 1;
+
+    /**
+     * The '<em><b>Tomcat</b></em>' literal object.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #TOMCAT
+     * @generated
+     * @ordered
+     */
+    public static final WebContainerType TOMCAT_LITERAL = new WebContainerType(TOMCAT, "Tomcat");
+
+    /**
+     * The '<em><b>Jetty</b></em>' literal object.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #JETTY
+     * @generated
+     * @ordered
+     */
+    public static final WebContainerType JETTY_LITERAL = new WebContainerType(JETTY, "Jetty");
+
+    /**
+     * An array of all the '<em><b>Container Type</b></em>' enumerators.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private static final WebContainerType[] VALUES_ARRAY =
+        new WebContainerType[] {
+            TOMCAT_LITERAL,
+            JETTY_LITERAL,
+        };
+
+    /**
+     * A public read-only list of all the '<em><b>Container Type</b></em>' enumerators.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+    /**
+     * Returns the '<em><b>Container Type</b></em>' literal with the specified name.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static WebContainerType get(String name) {
+        for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+            WebContainerType result = VALUES_ARRAY[i];
+            if (result.toString().equals(name)) {
+                return result;
+            }
+        }
+        return null;
+    }
+
+    /**
+     * Returns the '<em><b>Container Type</b></em>' literal with the specified value.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static WebContainerType get(int value) {
+        switch (value) {
+            case TOMCAT: return TOMCAT_LITERAL;
+            case JETTY: return JETTY_LITERAL;
+        }
+        return null;	
+    }
+
+    /**
+     * Only this class can construct instances.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    private WebContainerType(int value, String name) {
+        super(value, name);
+    }
+
+} //WebContainerType

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,89 @@
+/**
+ * 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.apache.geronimo.xml.ns.web;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.apache.geronimo.xml.ns.web.WebPackage
+ * @generated
+ */
+public interface WebFactory extends EFactory {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The singleton instance of the factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    WebFactory eINSTANCE = new org.apache.geronimo.xml.ns.web.impl.WebFactoryImpl();
+
+    /**
+     * Returns a new object of class '<em>Config Param Type</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>Config Param Type</em>'.
+     * @generated
+     */
+    ConfigParamType createConfigParamType();
+
+    /**
+     * Returns a new object of class '<em>Container Config Type</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>Container Config Type</em>'.
+     * @generated
+     */
+    ContainerConfigType createContainerConfigType();
+
+    /**
+     * Returns a new object of class '<em>Document Root</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>Document Root</em>'.
+     * @generated
+     */
+    DocumentRoot createDocumentRoot();
+
+    /**
+     * Returns a new object of class '<em>App Type</em>'.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return a new object of class '<em>App Type</em>'.
+     * @generated
+     */
+    WebAppType createWebAppType();
+
+    /**
+     * Returns the package supported by this factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the package supported by this factory.
+     * @generated
+     */
+    WebPackage getWebPackage();
+
+} //WebFactory

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java
------------------------------------------------------------------------------
    svn:executable = *