geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r239937 [41/73] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.core/src/org/apache/geronimo/core/operations/ org.apache.geronimo.deployment.model/src/org/apac...
Date Wed, 24 Aug 2005 21:36:53 GMT
Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebAppType.java Wed Aug 24 14:34:34 2005
@@ -1,379 +1,379 @@
-/**
- * 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{
-    /**
-     * 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
+/**
+ * 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{
+    /**
+     * 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:eol-style = native

Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebContainerType.java Wed Aug 24 14:34:34 2005
@@ -1,144 +1,144 @@
-/**
- * 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 {
-    /**
-     * 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
+/**
+ * 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 {
+    /**
+     * 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:eol-style = native

Modified: 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=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/web/WebFactory.java Wed Aug 24 14:34:34 2005
@@ -1,82 +1,82 @@
-/**
- * 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{
-    /**
-     * 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
+/**
+ * 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{
+    /**
+     * 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:eol-style = native



Mime
View raw message