You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2005/09/14 21:01:03 UTC

svn commit: r280909 [21/52] - in /geronimo/devtools/trunk/modules/eclipse-plugin: ./ features/ features/org.apache.geronimo.feature/ org.apache.geronimo.core/ org.apache.geronimo.deployment.model/ org.apache.geronimo.feature/ org.apache.geronimo.runtim...

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ModuleTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ModuleTypeImpl.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ModuleTypeImpl.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/ModuleTypeImpl.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,509 @@
+/**
+ * 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.j2ee.application.impl;
+
+import java.util.Collection;
+
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+import org.apache.geronimo.xml.ns.j2ee.application.ModuleType;
+import org.apache.geronimo.xml.ns.j2ee.application.PathType;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Module Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getConnector <em>Connector</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getEjb <em>Ejb</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getJava <em>Java</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getWeb <em>Web</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getAltDd <em>Alt Dd</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.ModuleTypeImpl#getAny <em>Any</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ModuleTypeImpl extends EObjectImpl implements ModuleType {
+    /**
+     * The cached value of the '{@link #getConnector() <em>Connector</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getConnector()
+     * @generated
+     * @ordered
+     */
+    protected PathType connector = null;
+
+    /**
+     * The cached value of the '{@link #getEjb() <em>Ejb</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getEjb()
+     * @generated
+     * @ordered
+     */
+    protected PathType ejb = null;
+
+    /**
+     * The cached value of the '{@link #getJava() <em>Java</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJava()
+     * @generated
+     * @ordered
+     */
+    protected PathType java = null;
+
+    /**
+     * The cached value of the '{@link #getWeb() <em>Web</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getWeb()
+     * @generated
+     * @ordered
+     */
+    protected PathType web = null;
+
+    /**
+     * The cached value of the '{@link #getAltDd() <em>Alt Dd</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAltDd()
+     * @generated
+     * @ordered
+     */
+    protected PathType altDd = null;
+
+    /**
+     * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAny()
+     * @generated
+     * @ordered
+     */
+    protected FeatureMap any = null;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected ModuleTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return ApplicationPackage.eINSTANCE.getModuleType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PathType getConnector() {
+        return connector;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetConnector(PathType newConnector, NotificationChain msgs) {
+        PathType oldConnector = connector;
+        connector = newConnector;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__CONNECTOR, oldConnector, newConnector);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setConnector(PathType newConnector) {
+        if (newConnector != connector) {
+            NotificationChain msgs = null;
+            if (connector != null)
+                msgs = ((InternalEObject)connector).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__CONNECTOR, null, msgs);
+            if (newConnector != null)
+                msgs = ((InternalEObject)newConnector).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__CONNECTOR, null, msgs);
+            msgs = basicSetConnector(newConnector, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__CONNECTOR, newConnector, newConnector));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PathType getEjb() {
+        return ejb;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetEjb(PathType newEjb, NotificationChain msgs) {
+        PathType oldEjb = ejb;
+        ejb = newEjb;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__EJB, oldEjb, newEjb);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setEjb(PathType newEjb) {
+        if (newEjb != ejb) {
+            NotificationChain msgs = null;
+            if (ejb != null)
+                msgs = ((InternalEObject)ejb).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__EJB, null, msgs);
+            if (newEjb != null)
+                msgs = ((InternalEObject)newEjb).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__EJB, null, msgs);
+            msgs = basicSetEjb(newEjb, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__EJB, newEjb, newEjb));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PathType getJava() {
+        return java;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetJava(PathType newJava, NotificationChain msgs) {
+        PathType oldJava = java;
+        java = newJava;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__JAVA, oldJava, newJava);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJava(PathType newJava) {
+        if (newJava != java) {
+            NotificationChain msgs = null;
+            if (java != null)
+                msgs = ((InternalEObject)java).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__JAVA, null, msgs);
+            if (newJava != null)
+                msgs = ((InternalEObject)newJava).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__JAVA, null, msgs);
+            msgs = basicSetJava(newJava, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__JAVA, newJava, newJava));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PathType getWeb() {
+        return web;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetWeb(PathType newWeb, NotificationChain msgs) {
+        PathType oldWeb = web;
+        web = newWeb;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__WEB, oldWeb, newWeb);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setWeb(PathType newWeb) {
+        if (newWeb != web) {
+            NotificationChain msgs = null;
+            if (web != null)
+                msgs = ((InternalEObject)web).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__WEB, null, msgs);
+            if (newWeb != null)
+                msgs = ((InternalEObject)newWeb).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__WEB, null, msgs);
+            msgs = basicSetWeb(newWeb, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__WEB, newWeb, newWeb));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PathType getAltDd() {
+        return altDd;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetAltDd(PathType newAltDd, NotificationChain msgs) {
+        PathType oldAltDd = altDd;
+        altDd = newAltDd;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__ALT_DD, oldAltDd, newAltDd);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setAltDd(PathType newAltDd) {
+        if (newAltDd != altDd) {
+            NotificationChain msgs = null;
+            if (altDd != null)
+                msgs = ((InternalEObject)altDd).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__ALT_DD, null, msgs);
+            if (newAltDd != null)
+                msgs = ((InternalEObject)newAltDd).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationPackage.MODULE_TYPE__ALT_DD, null, msgs);
+            msgs = basicSetAltDd(newAltDd, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.MODULE_TYPE__ALT_DD, newAltDd, newAltDd));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public FeatureMap getAny() {
+        if (any == null) {
+            any = new BasicFeatureMap(this, ApplicationPackage.MODULE_TYPE__ANY);
+        }
+        return any;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+        if (featureID >= 0) {
+            switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+                case ApplicationPackage.MODULE_TYPE__CONNECTOR:
+                    return basicSetConnector(null, msgs);
+                case ApplicationPackage.MODULE_TYPE__EJB:
+                    return basicSetEjb(null, msgs);
+                case ApplicationPackage.MODULE_TYPE__JAVA:
+                    return basicSetJava(null, msgs);
+                case ApplicationPackage.MODULE_TYPE__WEB:
+                    return basicSetWeb(null, msgs);
+                case ApplicationPackage.MODULE_TYPE__ALT_DD:
+                    return basicSetAltDd(null, msgs);
+                case ApplicationPackage.MODULE_TYPE__ANY:
+                    return ((InternalEList)getAny()).basicRemove(otherEnd, msgs);
+                default:
+                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+            }
+        }
+        return eBasicSetContainer(null, featureID, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.MODULE_TYPE__CONNECTOR:
+                return getConnector();
+            case ApplicationPackage.MODULE_TYPE__EJB:
+                return getEjb();
+            case ApplicationPackage.MODULE_TYPE__JAVA:
+                return getJava();
+            case ApplicationPackage.MODULE_TYPE__WEB:
+                return getWeb();
+            case ApplicationPackage.MODULE_TYPE__ALT_DD:
+                return getAltDd();
+            case ApplicationPackage.MODULE_TYPE__ANY:
+                return getAny();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.MODULE_TYPE__CONNECTOR:
+                setConnector((PathType)newValue);
+                return;
+            case ApplicationPackage.MODULE_TYPE__EJB:
+                setEjb((PathType)newValue);
+                return;
+            case ApplicationPackage.MODULE_TYPE__JAVA:
+                setJava((PathType)newValue);
+                return;
+            case ApplicationPackage.MODULE_TYPE__WEB:
+                setWeb((PathType)newValue);
+                return;
+            case ApplicationPackage.MODULE_TYPE__ALT_DD:
+                setAltDd((PathType)newValue);
+                return;
+            case ApplicationPackage.MODULE_TYPE__ANY:
+                getAny().clear();
+                getAny().addAll((Collection)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.MODULE_TYPE__CONNECTOR:
+                setConnector((PathType)null);
+                return;
+            case ApplicationPackage.MODULE_TYPE__EJB:
+                setEjb((PathType)null);
+                return;
+            case ApplicationPackage.MODULE_TYPE__JAVA:
+                setJava((PathType)null);
+                return;
+            case ApplicationPackage.MODULE_TYPE__WEB:
+                setWeb((PathType)null);
+                return;
+            case ApplicationPackage.MODULE_TYPE__ALT_DD:
+                setAltDd((PathType)null);
+                return;
+            case ApplicationPackage.MODULE_TYPE__ANY:
+                getAny().clear();
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.MODULE_TYPE__CONNECTOR:
+                return connector != null;
+            case ApplicationPackage.MODULE_TYPE__EJB:
+                return ejb != null;
+            case ApplicationPackage.MODULE_TYPE__JAVA:
+                return java != null;
+            case ApplicationPackage.MODULE_TYPE__WEB:
+                return web != null;
+            case ApplicationPackage.MODULE_TYPE__ALT_DD:
+                return altDd != null;
+            case ApplicationPackage.MODULE_TYPE__ANY:
+                return any != null && !any.isEmpty();
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (any: ");
+        result.append(any);
+        result.append(')');
+        return result.toString();
+    }
+
+} //ModuleTypeImpl

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/PathTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/PathTypeImpl.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/PathTypeImpl.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/PathTypeImpl.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,116 @@
+/**
+ * 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.j2ee.application.impl;
+
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+import org.apache.geronimo.xml.ns.j2ee.application.PathType;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Path Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class PathTypeImpl extends StringImpl implements PathType {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected PathTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return ApplicationPackage.eINSTANCE.getPathType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.PATH_TYPE__VALUE:
+                return getValue();
+            case ApplicationPackage.PATH_TYPE__ID:
+                return getId();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.PATH_TYPE__VALUE:
+                setValue((String)newValue);
+                return;
+            case ApplicationPackage.PATH_TYPE__ID:
+                setId((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.PATH_TYPE__VALUE:
+                setValue(VALUE_EDEFAULT);
+                return;
+            case ApplicationPackage.PATH_TYPE__ID:
+                setId(ID_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.PATH_TYPE__VALUE:
+                return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+            case ApplicationPackage.PATH_TYPE__ID:
+                return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+} //PathTypeImpl

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/StringImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/StringImpl.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/StringImpl.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/impl/StringImpl.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,224 @@
+/**
+ * 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.j2ee.application.impl;
+
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>String</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.StringImpl#getValue <em>Value</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.j2ee.application.impl.StringImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class StringImpl extends EObjectImpl implements org.apache.geronimo.xml.ns.j2ee.application.String {
+    /**
+     * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getValue()
+     * @generated
+     * @ordered
+     */
+    protected static final String VALUE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getValue()
+     * @generated
+     * @ordered
+     */
+    protected String value = VALUE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getId()
+     * @generated
+     * @ordered
+     */
+    protected static final String ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getId()
+     * @generated
+     * @ordered
+     */
+    protected String id = ID_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected StringImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return ApplicationPackage.eINSTANCE.getString();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setValue(String newValue) {
+        String oldValue = value;
+        value = newValue;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.STRING__VALUE, oldValue, value));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setId(String newId) {
+        String oldId = id;
+        id = newId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, ApplicationPackage.STRING__ID, oldId, id));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.STRING__VALUE:
+                return getValue();
+            case ApplicationPackage.STRING__ID:
+                return getId();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.STRING__VALUE:
+                setValue((String)newValue);
+                return;
+            case ApplicationPackage.STRING__ID:
+                setId((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.STRING__VALUE:
+                setValue(VALUE_EDEFAULT);
+                return;
+            case ApplicationPackage.STRING__ID:
+                setId(ID_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case ApplicationPackage.STRING__VALUE:
+                return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+            case ApplicationPackage.STRING__ID:
+                return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (value: ");
+        result.append(value);
+        result.append(", id: ");
+        result.append(id);
+        result.append(')');
+        return result.toString();
+    }
+
+} //StringImpl

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationAdapterFactory.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationAdapterFactory.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationAdapterFactory.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationAdapterFactory.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,219 @@
+/**
+ * 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.j2ee.application.util;
+
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationType;
+import org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot;
+import org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType;
+import org.apache.geronimo.xml.ns.j2ee.application.ModuleType;
+import org.apache.geronimo.xml.ns.j2ee.application.PathType;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage
+ * @generated
+ */
+public class ApplicationAdapterFactory extends AdapterFactoryImpl {
+    /**
+     * The cached model package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static ApplicationPackage modelPackage;
+
+    /**
+     * Creates an instance of the adapter factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ApplicationAdapterFactory() {
+        if (modelPackage == null) {
+            modelPackage = ApplicationPackage.eINSTANCE;
+        }
+    }
+
+    /**
+     * Returns whether this factory is applicable for the type of the object.
+     * <!-- begin-user-doc -->
+     * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+     * <!-- end-user-doc -->
+     * @return whether this factory is applicable for the type of the object.
+     * @generated
+     */
+    public boolean isFactoryForType(Object object) {
+        if (object == modelPackage) {
+            return true;
+        }
+        if (object instanceof EObject) {
+            return ((EObject)object).eClass().getEPackage() == modelPackage;
+        }
+        return false;
+    }
+
+    /**
+     * The switch the delegates to the <code>createXXX</code> methods.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected ApplicationSwitch modelSwitch =
+        new ApplicationSwitch() {
+            public Object caseApplicationType(ApplicationType object) {
+                return createApplicationTypeAdapter();
+            }
+            public Object caseDocumentRoot(DocumentRoot object) {
+                return createDocumentRootAdapter();
+            }
+            public Object caseExtModuleType(ExtModuleType object) {
+                return createExtModuleTypeAdapter();
+            }
+            public Object caseModuleType(ModuleType object) {
+                return createModuleTypeAdapter();
+            }
+            public Object casePathType(PathType object) {
+                return createPathTypeAdapter();
+            }
+            public Object caseString(org.apache.geronimo.xml.ns.j2ee.application.String object) {
+                return createStringAdapter();
+            }
+            public Object defaultCase(EObject object) {
+                return createEObjectAdapter();
+            }
+        };
+
+    /**
+     * Creates an adapter for the <code>target</code>.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param target the object to adapt.
+     * @return the adapter for the <code>target</code>.
+     * @generated
+     */
+    public Adapter createAdapter(Notifier target) {
+        return (Adapter)modelSwitch.doSwitch((EObject)target);
+    }
+
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.ApplicationType <em>Type</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.ApplicationType
+     * @generated
+     */
+    public Adapter createApplicationTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot <em>Document Root</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot
+     * @generated
+     */
+    public Adapter createDocumentRootAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType <em>Ext Module Type</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType
+     * @generated
+     */
+    public Adapter createExtModuleTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.ModuleType <em>Module Type</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.ModuleType
+     * @generated
+     */
+    public Adapter createModuleTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.PathType <em>Path Type</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.PathType
+     * @generated
+     */
+    public Adapter createPathTypeAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.geronimo.xml.ns.j2ee.application.String <em>String</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.geronimo.xml.ns.j2ee.application.String
+     * @generated
+     */
+    public Adapter createStringAdapter() {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for the default case.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @generated
+     */
+    public Adapter createEObjectAdapter() {
+        return null;
+    }
+
+} //ApplicationAdapterFactory

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

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

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationSwitch.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationSwitch.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationSwitch.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/j2ee/application/util/ApplicationSwitch.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,250 @@
+/**
+ * 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.j2ee.application.util;
+
+import java.util.List;
+
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationPackage;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationType;
+import org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot;
+import org.apache.geronimo.xml.ns.j2ee.application.ExtModuleType;
+import org.apache.geronimo.xml.ns.j2ee.application.ModuleType;
+import org.apache.geronimo.xml.ns.j2ee.application.PathType;
+
+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.j2ee.application.ApplicationPackage
+ * @generated
+ */
+public class ApplicationSwitch {
+    /**
+     * The cached model package
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static ApplicationPackage modelPackage;
+
+    /**
+     * Creates an instance of the switch.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ApplicationSwitch() {
+        if (modelPackage == null) {
+            modelPackage = ApplicationPackage.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 ApplicationPackage.APPLICATION_TYPE: {
+                ApplicationType applicationType = (ApplicationType)theEObject;
+                Object result = caseApplicationType(applicationType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case ApplicationPackage.DOCUMENT_ROOT: {
+                DocumentRoot documentRoot = (DocumentRoot)theEObject;
+                Object result = caseDocumentRoot(documentRoot);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case ApplicationPackage.EXT_MODULE_TYPE: {
+                ExtModuleType extModuleType = (ExtModuleType)theEObject;
+                Object result = caseExtModuleType(extModuleType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case ApplicationPackage.MODULE_TYPE: {
+                ModuleType moduleType = (ModuleType)theEObject;
+                Object result = caseModuleType(moduleType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case ApplicationPackage.PATH_TYPE: {
+                PathType pathType = (PathType)theEObject;
+                Object result = casePathType(pathType);
+                if (result == null) result = caseString(pathType);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case ApplicationPackage.STRING: {
+                org.apache.geronimo.xml.ns.j2ee.application.String string = (org.apache.geronimo.xml.ns.j2ee.application.String)theEObject;
+                Object result = caseString(string);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            default: return defaultCase(theEObject);
+        }
+    }
+
+    /**
+     * 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 caseApplicationType(ApplicationType 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>Ext Module 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>Ext Module Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseExtModuleType(ExtModuleType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Module 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>Module Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseModuleType(ModuleType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>Path 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>Path Type</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object casePathType(PathType object) {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>String</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>String</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public Object caseString(org.apache.geronimo.xml.ns.j2ee.application.String 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;
+    }
+
+} //ApplicationSwitch

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/CssType.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/CssType.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/CssType.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/CssType.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,204 @@
+/**
+ * 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.naming;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Css Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getDomain <em>Domain</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getServer <em>Server</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getApplication <em>Application</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getModule <em>Module</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getType <em>Type</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.CssType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType()
+ * @model extendedMetaData="name='cssType' kind='elementOnly'"
+ * @generated
+ */
+public interface CssType extends EObject{
+    /**
+     * Returns the value of the '<em><b>Domain</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Domain</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Domain</em>' attribute.
+     * @see #setDomain(String)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType_Domain()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='domain' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getDomain();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#getDomain <em>Domain</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Domain</em>' attribute.
+     * @see #getDomain()
+     * @generated
+     */
+    void setDomain(String value);
+
+    /**
+     * Returns the value of the '<em><b>Server</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Server</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Server</em>' attribute.
+     * @see #setServer(String)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType_Server()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='server' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getServer();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#getServer <em>Server</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Server</em>' attribute.
+     * @see #getServer()
+     * @generated
+     */
+    void setServer(String value);
+
+    /**
+     * Returns the value of the '<em><b>Application</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Application</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Application</em>' attribute.
+     * @see #setApplication(String)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType_Application()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='application' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getApplication();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#getApplication <em>Application</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Application</em>' attribute.
+     * @see #getApplication()
+     * @generated
+     */
+    void setApplication(String value);
+
+    /**
+     * Returns the value of the '<em><b>Module</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Module</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Module</em>' attribute.
+     * @see #setModule(String)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType_Module()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='module' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getModule();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#getModule <em>Module</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Module</em>' attribute.
+     * @see #getModule()
+     * @generated
+     */
+    void setModule(String value);
+
+    /**
+     * Returns the value of the '<em><b>Type</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Type</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Type</em>' attribute.
+     * @see #setType(String)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getCssType_Type()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='element' name='type' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getType();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#getType <em>Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Type</em>' attribute.
+     * @see #getType()
+     * @generated
+     */
+    void setType(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.naming.NamingPackage#getCssType_Name()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+     *        extendedMetaData="kind='element' name='name' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getName();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.CssType#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);
+
+} // CssType

Added: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/DocumentRoot.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/DocumentRoot.java?rev=280909&view=auto
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/DocumentRoot.java (added)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/DocumentRoot.java Wed Sep 14 11:59:30 2005
@@ -0,0 +1,320 @@
+/**
+ * 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.naming;
+
+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.naming.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getCmpConnectionFactory <em>Cmp Connection Factory</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getEjbRef <em>Ejb Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceAdapter <em>Resource Adapter</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceEnvRef <em>Resource Env Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceRef <em>Resource Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getServiceRef <em>Service Ref</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getWorkmanager <em>Workmanager</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject{
+    /**
+     * 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.naming.NamingPackage#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.naming.NamingPackage#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.naming.NamingPackage#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>Cmp Connection Factory</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Cmp Connection Factory</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>Cmp Connection Factory</em>' containment reference.
+     * @see #setCmpConnectionFactory(ResourceLocatorType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_CmpConnectionFactory()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='cmp-connection-factory' namespace='##targetNamespace'"
+     * @generated
+     */
+    ResourceLocatorType getCmpConnectionFactory();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getCmpConnectionFactory <em>Cmp Connection Factory</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Cmp Connection Factory</em>' containment reference.
+     * @see #getCmpConnectionFactory()
+     * @generated
+     */
+    void setCmpConnectionFactory(ResourceLocatorType value);
+
+    /**
+     * Returns the value of the '<em><b>Ejb Local Ref</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Ejb Local Ref</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>Ejb Local Ref</em>' containment reference.
+     * @see #setEjbLocalRef(EjbLocalRefType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_EjbLocalRef()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='ejb-local-ref' namespace='##targetNamespace'"
+     * @generated
+     */
+    EjbLocalRefType getEjbLocalRef();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getEjbLocalRef <em>Ejb Local Ref</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Ejb Local Ref</em>' containment reference.
+     * @see #getEjbLocalRef()
+     * @generated
+     */
+    void setEjbLocalRef(EjbLocalRefType value);
+
+    /**
+     * Returns the value of the '<em><b>Ejb Ref</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Ejb Ref</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>Ejb Ref</em>' containment reference.
+     * @see #setEjbRef(EjbRefType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_EjbRef()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='ejb-ref' namespace='##targetNamespace'"
+     * @generated
+     */
+    EjbRefType getEjbRef();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getEjbRef <em>Ejb Ref</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Ejb Ref</em>' containment reference.
+     * @see #getEjbRef()
+     * @generated
+     */
+    void setEjbRef(EjbRefType value);
+
+    /**
+     * Returns the value of the '<em><b>Resource Adapter</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Resource Adapter</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>Resource Adapter</em>' containment reference.
+     * @see #setResourceAdapter(ResourceLocatorType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_ResourceAdapter()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='resource-adapter' namespace='##targetNamespace'"
+     * @generated
+     */
+    ResourceLocatorType getResourceAdapter();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceAdapter <em>Resource Adapter</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Resource Adapter</em>' containment reference.
+     * @see #getResourceAdapter()
+     * @generated
+     */
+    void setResourceAdapter(ResourceLocatorType value);
+
+    /**
+     * Returns the value of the '<em><b>Resource Env Ref</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Resource Env Ref</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>Resource Env Ref</em>' containment reference.
+     * @see #setResourceEnvRef(ResourceEnvRefType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_ResourceEnvRef()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='resource-env-ref' namespace='##targetNamespace'"
+     * @generated
+     */
+    ResourceEnvRefType getResourceEnvRef();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceEnvRef <em>Resource Env Ref</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Resource Env Ref</em>' containment reference.
+     * @see #getResourceEnvRef()
+     * @generated
+     */
+    void setResourceEnvRef(ResourceEnvRefType value);
+
+    /**
+     * Returns the value of the '<em><b>Resource Ref</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Resource Ref</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>Resource Ref</em>' containment reference.
+     * @see #setResourceRef(ResourceRefType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_ResourceRef()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='resource-ref' namespace='##targetNamespace'"
+     * @generated
+     */
+    ResourceRefType getResourceRef();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getResourceRef <em>Resource Ref</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Resource Ref</em>' containment reference.
+     * @see #getResourceRef()
+     * @generated
+     */
+    void setResourceRef(ResourceRefType value);
+
+    /**
+     * Returns the value of the '<em><b>Service Ref</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Service Ref</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>Service Ref</em>' containment reference.
+     * @see #setServiceRef(ServiceRefType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_ServiceRef()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='service-ref' namespace='##targetNamespace'"
+     * @generated
+     */
+    ServiceRefType getServiceRef();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getServiceRef <em>Service Ref</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Service Ref</em>' containment reference.
+     * @see #getServiceRef()
+     * @generated
+     */
+    void setServiceRef(ServiceRefType value);
+
+    /**
+     * Returns the value of the '<em><b>Workmanager</b></em>' containment reference.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Workmanager</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>Workmanager</em>' containment reference.
+     * @see #setWorkmanager(GbeanLocatorType)
+     * @see org.apache.geronimo.xml.ns.naming.NamingPackage#getDocumentRoot_Workmanager()
+     * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true"
+     *        extendedMetaData="kind='element' name='workmanager' namespace='##targetNamespace'"
+     * @generated
+     */
+    GbeanLocatorType getWorkmanager();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.naming.DocumentRoot#getWorkmanager <em>Workmanager</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Workmanager</em>' containment reference.
+     * @see #getWorkmanager()
+     * @generated
+     */
+    void setWorkmanager(GbeanLocatorType value);
+
+} // DocumentRoot