geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r239937 [6/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/apach...
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/deployment/impl/AttributeTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/AttributeTypeImpl.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/deployment/impl/AttributeTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/AttributeTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,279 +1,279 @@
-/**
- * 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.deployment.impl;
-
-import org.apache.geronimo.xml.ns.deployment.AttributeType;
-import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
-
-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>Attribute Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getValue <em>Value</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getName <em>Name</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AttributeTypeImpl extends EObjectImpl implements AttributeType {
-    /**
-     * 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 #getName() <em>Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName()
-     * @generated
-     * @ordered
-     */
-    protected static final String NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName()
-     * @generated
-     * @ordered
-     */
-    protected String name = NAME_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getType() <em>Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getType()
-     * @generated
-     * @ordered
-     */
-    protected static final String TYPE_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getType()
-     * @generated
-     * @ordered
-     */
-    protected String type = TYPE_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected AttributeTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getAttributeType();
-    }
-
-    /**
-     * <!-- 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, DeploymentPackage.ATTRIBUTE_TYPE__VALUE, oldValue, value));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setName(String newName) {
-        String oldName = name;
-        name = newName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.ATTRIBUTE_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getType() {
-        return type;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setType(String newType) {
-        String oldType = type;
-        type = newType;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.ATTRIBUTE_TYPE__TYPE, oldType, type));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
-                return getValue();
-            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
-                return getName();
-            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
-                return getType();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
-                setValue((String)newValue);
-                return;
-            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
-                setName((String)newValue);
-                return;
-            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
-                setType((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
-                setValue(VALUE_EDEFAULT);
-                return;
-            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
-                setType(TYPE_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
-                return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
-            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
-                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
-        }
-        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(", name: ");
-        result.append(name);
-        result.append(", type: ");
-        result.append(type);
-        result.append(')');
-        return result.toString();
-    }
-
-} //AttributeTypeImpl
+/**
+ * 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.deployment.impl;
+
+import org.apache.geronimo.xml.ns.deployment.AttributeType;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+
+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>Attribute Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getValue <em>Value</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getName <em>Name</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.AttributeTypeImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AttributeTypeImpl extends EObjectImpl implements AttributeType {
+    /**
+     * 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 #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected static final String NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName()
+     * @generated
+     * @ordered
+     */
+    protected String name = NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getType()
+     * @generated
+     * @ordered
+     */
+    protected static final String TYPE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getType()
+     * @generated
+     * @ordered
+     */
+    protected String type = TYPE_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected AttributeTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getAttributeType();
+    }
+
+    /**
+     * <!-- 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, DeploymentPackage.ATTRIBUTE_TYPE__VALUE, oldValue, value));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setName(String newName) {
+        String oldName = name;
+        name = newName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.ATTRIBUTE_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setType(String newType) {
+        String oldType = type;
+        type = newType;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.ATTRIBUTE_TYPE__TYPE, oldType, type));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
+                return getValue();
+            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
+                return getName();
+            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
+                return getType();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
+                setValue((String)newValue);
+                return;
+            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
+                setName((String)newValue);
+                return;
+            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
+                setType((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
+                setValue(VALUE_EDEFAULT);
+                return;
+            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
+                setType(TYPE_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.ATTRIBUTE_TYPE__VALUE:
+                return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+            case DeploymentPackage.ATTRIBUTE_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+            case DeploymentPackage.ATTRIBUTE_TYPE__TYPE:
+                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+        }
+        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(", name: ");
+        result.append(name);
+        result.append(", type: ");
+        result.append(type);
+        result.append(')');
+        return result.toString();
+    }
+
+} //AttributeTypeImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/AttributeTypeImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.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/deployment/impl/ConfigurationTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,467 +1,467 @@
-/**
- * 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.deployment.impl;
-
-import java.util.Collection;
-
-import org.apache.geronimo.xml.ns.deployment.ConfigurationType;
-import org.apache.geronimo.xml.ns.deployment.DependencyType;
-import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
-import org.apache.geronimo.xml.ns.deployment.GbeanType;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Configuration Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getInclude <em>Include</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getDependency <em>Dependency</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getGbean <em>Gbean</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getConfigId <em>Config Id</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getDomain <em>Domain</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getParentId <em>Parent Id</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getServer <em>Server</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConfigurationTypeImpl extends EObjectImpl implements ConfigurationType {
-    /**
-     * The cached value of the '{@link #getInclude() <em>Include</em>}' containment reference list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getInclude()
-     * @generated
-     * @ordered
-     */
-    protected EList include = null;
-
-    /**
-     * The cached value of the '{@link #getDependency() <em>Dependency</em>}' containment reference list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getDependency()
-     * @generated
-     * @ordered
-     */
-    protected EList dependency = null;
-
-    /**
-     * The cached value of the '{@link #getGbean() <em>Gbean</em>}' containment reference list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGbean()
-     * @generated
-     * @ordered
-     */
-    protected EList gbean = null;
-
-    /**
-     * The default value of the '{@link #getConfigId() <em>Config Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getConfigId()
-     * @generated
-     * @ordered
-     */
-    protected static final String CONFIG_ID_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getConfigId() <em>Config Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getConfigId()
-     * @generated
-     * @ordered
-     */
-    protected String configId = CONFIG_ID_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getDomain() <em>Domain</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getDomain()
-     * @generated
-     * @ordered
-     */
-    protected static final String DOMAIN_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getDomain() <em>Domain</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getDomain()
-     * @generated
-     * @ordered
-     */
-    protected String domain = DOMAIN_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getParentId()
-     * @generated
-     * @ordered
-     */
-    protected static final String PARENT_ID_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getParentId()
-     * @generated
-     * @ordered
-     */
-    protected String parentId = PARENT_ID_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getServer() <em>Server</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getServer()
-     * @generated
-     * @ordered
-     */
-    protected static final String SERVER_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getServer() <em>Server</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getServer()
-     * @generated
-     * @ordered
-     */
-    protected String server = SERVER_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected ConfigurationTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getConfigurationType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getInclude() {
-        if (include == null) {
-            include = new EObjectContainmentEList(DependencyType.class, this, DeploymentPackage.CONFIGURATION_TYPE__INCLUDE);
-        }
-        return include;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getDependency() {
-        if (dependency == null) {
-            dependency = new EObjectContainmentEList(DependencyType.class, this, DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY);
-        }
-        return dependency;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getGbean() {
-        if (gbean == null) {
-            gbean = new EObjectContainmentEList(GbeanType.class, this, DeploymentPackage.CONFIGURATION_TYPE__GBEAN);
-        }
-        return gbean;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getConfigId() {
-        return configId;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setConfigId(String newConfigId) {
-        String oldConfigId = configId;
-        configId = newConfigId;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID, oldConfigId, configId));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getDomain() {
-        return domain;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setDomain(String newDomain) {
-        String oldDomain = domain;
-        domain = newDomain;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__DOMAIN, oldDomain, domain));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getParentId() {
-        return parentId;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setParentId(String newParentId) {
-        String oldParentId = parentId;
-        parentId = newParentId;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID, oldParentId, parentId));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getServer() {
-        return server;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setServer(String newServer) {
-        String oldServer = server;
-        server = newServer;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__SERVER, oldServer, server));
-    }
-
-    /**
-     * <!-- 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 DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
-                    return ((InternalEList)getInclude()).basicRemove(otherEnd, msgs);
-                case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
-                    return ((InternalEList)getDependency()).basicRemove(otherEnd, msgs);
-                case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
-                    return ((InternalEList)getGbean()).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 DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
-                return getInclude();
-            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
-                return getDependency();
-            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
-                return getGbean();
-            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
-                return getConfigId();
-            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
-                return getDomain();
-            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
-                return getParentId();
-            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
-                return getServer();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
-                getInclude().clear();
-                getInclude().addAll((Collection)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
-                getDependency().clear();
-                getDependency().addAll((Collection)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
-                getGbean().clear();
-                getGbean().addAll((Collection)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
-                setConfigId((String)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
-                setDomain((String)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
-                setParentId((String)newValue);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
-                setServer((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
-                getInclude().clear();
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
-                getDependency().clear();
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
-                getGbean().clear();
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
-                setConfigId(CONFIG_ID_EDEFAULT);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
-                setDomain(DOMAIN_EDEFAULT);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
-                setParentId(PARENT_ID_EDEFAULT);
-                return;
-            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
-                setServer(SERVER_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
-                return include != null && !include.isEmpty();
-            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
-                return dependency != null && !dependency.isEmpty();
-            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
-                return gbean != null && !gbean.isEmpty();
-            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
-                return CONFIG_ID_EDEFAULT == null ? configId != null : !CONFIG_ID_EDEFAULT.equals(configId);
-            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
-                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
-            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
-                return PARENT_ID_EDEFAULT == null ? parentId != null : !PARENT_ID_EDEFAULT.equals(parentId);
-            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
-                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
-        }
-        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(" (configId: ");
-        result.append(configId);
-        result.append(", domain: ");
-        result.append(domain);
-        result.append(", parentId: ");
-        result.append(parentId);
-        result.append(", server: ");
-        result.append(server);
-        result.append(')');
-        return result.toString();
-    }
-
-} //ConfigurationTypeImpl
+/**
+ * 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.deployment.impl;
+
+import java.util.Collection;
+
+import org.apache.geronimo.xml.ns.deployment.ConfigurationType;
+import org.apache.geronimo.xml.ns.deployment.DependencyType;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.GbeanType;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+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.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Configuration Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getInclude <em>Include</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getDependency <em>Dependency</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getGbean <em>Gbean</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getConfigId <em>Config Id</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getDomain <em>Domain</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getParentId <em>Parent Id</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ConfigurationTypeImpl#getServer <em>Server</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConfigurationTypeImpl extends EObjectImpl implements ConfigurationType {
+    /**
+     * The cached value of the '{@link #getInclude() <em>Include</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getInclude()
+     * @generated
+     * @ordered
+     */
+    protected EList include = null;
+
+    /**
+     * The cached value of the '{@link #getDependency() <em>Dependency</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDependency()
+     * @generated
+     * @ordered
+     */
+    protected EList dependency = null;
+
+    /**
+     * The cached value of the '{@link #getGbean() <em>Gbean</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGbean()
+     * @generated
+     * @ordered
+     */
+    protected EList gbean = null;
+
+    /**
+     * The default value of the '{@link #getConfigId() <em>Config Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getConfigId()
+     * @generated
+     * @ordered
+     */
+    protected static final String CONFIG_ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getConfigId() <em>Config Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getConfigId()
+     * @generated
+     * @ordered
+     */
+    protected String configId = CONFIG_ID_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getDomain() <em>Domain</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDomain()
+     * @generated
+     * @ordered
+     */
+    protected static final String DOMAIN_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getDomain() <em>Domain</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getDomain()
+     * @generated
+     * @ordered
+     */
+    protected String domain = DOMAIN_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getParentId()
+     * @generated
+     * @ordered
+     */
+    protected static final String PARENT_ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getParentId() <em>Parent Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getParentId()
+     * @generated
+     * @ordered
+     */
+    protected String parentId = PARENT_ID_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getServer() <em>Server</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getServer()
+     * @generated
+     * @ordered
+     */
+    protected static final String SERVER_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getServer() <em>Server</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getServer()
+     * @generated
+     * @ordered
+     */
+    protected String server = SERVER_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected ConfigurationTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getConfigurationType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getInclude() {
+        if (include == null) {
+            include = new EObjectContainmentEList(DependencyType.class, this, DeploymentPackage.CONFIGURATION_TYPE__INCLUDE);
+        }
+        return include;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getDependency() {
+        if (dependency == null) {
+            dependency = new EObjectContainmentEList(DependencyType.class, this, DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY);
+        }
+        return dependency;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getGbean() {
+        if (gbean == null) {
+            gbean = new EObjectContainmentEList(GbeanType.class, this, DeploymentPackage.CONFIGURATION_TYPE__GBEAN);
+        }
+        return gbean;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getConfigId() {
+        return configId;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setConfigId(String newConfigId) {
+        String oldConfigId = configId;
+        configId = newConfigId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID, oldConfigId, configId));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getDomain() {
+        return domain;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setDomain(String newDomain) {
+        String oldDomain = domain;
+        domain = newDomain;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__DOMAIN, oldDomain, domain));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getParentId() {
+        return parentId;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setParentId(String newParentId) {
+        String oldParentId = parentId;
+        parentId = newParentId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID, oldParentId, parentId));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getServer() {
+        return server;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setServer(String newServer) {
+        String oldServer = server;
+        server = newServer;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.CONFIGURATION_TYPE__SERVER, oldServer, server));
+    }
+
+    /**
+     * <!-- 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 DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
+                    return ((InternalEList)getInclude()).basicRemove(otherEnd, msgs);
+                case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
+                    return ((InternalEList)getDependency()).basicRemove(otherEnd, msgs);
+                case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
+                    return ((InternalEList)getGbean()).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 DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
+                return getInclude();
+            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
+                return getDependency();
+            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
+                return getGbean();
+            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
+                return getConfigId();
+            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
+                return getDomain();
+            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
+                return getParentId();
+            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
+                return getServer();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
+                getInclude().clear();
+                getInclude().addAll((Collection)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
+                getDependency().clear();
+                getDependency().addAll((Collection)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
+                getGbean().clear();
+                getGbean().addAll((Collection)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
+                setConfigId((String)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
+                setDomain((String)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
+                setParentId((String)newValue);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
+                setServer((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
+                getInclude().clear();
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
+                getDependency().clear();
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
+                getGbean().clear();
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
+                setConfigId(CONFIG_ID_EDEFAULT);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
+                setDomain(DOMAIN_EDEFAULT);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
+                setParentId(PARENT_ID_EDEFAULT);
+                return;
+            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
+                setServer(SERVER_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.CONFIGURATION_TYPE__INCLUDE:
+                return include != null && !include.isEmpty();
+            case DeploymentPackage.CONFIGURATION_TYPE__DEPENDENCY:
+                return dependency != null && !dependency.isEmpty();
+            case DeploymentPackage.CONFIGURATION_TYPE__GBEAN:
+                return gbean != null && !gbean.isEmpty();
+            case DeploymentPackage.CONFIGURATION_TYPE__CONFIG_ID:
+                return CONFIG_ID_EDEFAULT == null ? configId != null : !CONFIG_ID_EDEFAULT.equals(configId);
+            case DeploymentPackage.CONFIGURATION_TYPE__DOMAIN:
+                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+            case DeploymentPackage.CONFIGURATION_TYPE__PARENT_ID:
+                return PARENT_ID_EDEFAULT == null ? parentId != null : !PARENT_ID_EDEFAULT.equals(parentId);
+            case DeploymentPackage.CONFIGURATION_TYPE__SERVER:
+                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+        }
+        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(" (configId: ");
+        result.append(configId);
+        result.append(", domain: ");
+        result.append(domain);
+        result.append(", parentId: ");
+        result.append(parentId);
+        result.append(", server: ");
+        result.append(server);
+        result.append(')');
+        return result.toString();
+    }
+
+} //ConfigurationTypeImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.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/deployment/impl/DependencyTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,387 +1,387 @@
-/**
- * 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.deployment.impl;
-
-import org.apache.geronimo.xml.ns.deployment.DependencyType;
-import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
-
-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>Dependency Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getGroupId <em>Group Id</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getType <em>Type</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getArtifactId <em>Artifact Id</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getVersion <em>Version</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getUri <em>Uri</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DependencyTypeImpl extends EObjectImpl implements DependencyType {
-    /**
-     * The default value of the '{@link #getGroupId() <em>Group Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGroupId()
-     * @generated
-     * @ordered
-     */
-    protected static final String GROUP_ID_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getGroupId() <em>Group Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGroupId()
-     * @generated
-     * @ordered
-     */
-    protected String groupId = GROUP_ID_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getType() <em>Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getType()
-     * @generated
-     * @ordered
-     */
-    protected static final String TYPE_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getType()
-     * @generated
-     * @ordered
-     */
-    protected String type = TYPE_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getArtifactId() <em>Artifact Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getArtifactId()
-     * @generated
-     * @ordered
-     */
-    protected static final String ARTIFACT_ID_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getArtifactId() <em>Artifact Id</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getArtifactId()
-     * @generated
-     * @ordered
-     */
-    protected String artifactId = ARTIFACT_ID_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getVersion()
-     * @generated
-     * @ordered
-     */
-    protected static final String VERSION_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getVersion()
-     * @generated
-     * @ordered
-     */
-    protected String version = VERSION_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getUri() <em>Uri</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getUri()
-     * @generated
-     * @ordered
-     */
-    protected static final String URI_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getUri() <em>Uri</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getUri()
-     * @generated
-     * @ordered
-     */
-    protected String uri = URI_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected DependencyTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getDependencyType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getGroupId() {
-        return groupId;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setGroupId(String newGroupId) {
-        String oldGroupId = groupId;
-        groupId = newGroupId;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID, oldGroupId, groupId));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getType() {
-        return type;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setType(String newType) {
-        String oldType = type;
-        type = newType;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__TYPE, oldType, type));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getArtifactId() {
-        return artifactId;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setArtifactId(String newArtifactId) {
-        String oldArtifactId = artifactId;
-        artifactId = newArtifactId;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID, oldArtifactId, artifactId));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getVersion() {
-        return version;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setVersion(String newVersion) {
-        String oldVersion = version;
-        version = newVersion;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__VERSION, oldVersion, version));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getUri() {
-        return uri;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setUri(String newUri) {
-        String oldUri = uri;
-        uri = newUri;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__URI, oldUri, uri));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
-                return getGroupId();
-            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
-                return getType();
-            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
-                return getArtifactId();
-            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
-                return getVersion();
-            case DeploymentPackage.DEPENDENCY_TYPE__URI:
-                return getUri();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
-                setGroupId((String)newValue);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
-                setType((String)newValue);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
-                setArtifactId((String)newValue);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
-                setVersion((String)newValue);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__URI:
-                setUri((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
-                setGroupId(GROUP_ID_EDEFAULT);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
-                setType(TYPE_EDEFAULT);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
-                setArtifactId(ARTIFACT_ID_EDEFAULT);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
-                setVersion(VERSION_EDEFAULT);
-                return;
-            case DeploymentPackage.DEPENDENCY_TYPE__URI:
-                setUri(URI_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
-                return GROUP_ID_EDEFAULT == null ? groupId != null : !GROUP_ID_EDEFAULT.equals(groupId);
-            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
-                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
-            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
-                return ARTIFACT_ID_EDEFAULT == null ? artifactId != null : !ARTIFACT_ID_EDEFAULT.equals(artifactId);
-            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
-                return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
-            case DeploymentPackage.DEPENDENCY_TYPE__URI:
-                return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
-        }
-        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(" (groupId: ");
-        result.append(groupId);
-        result.append(", type: ");
-        result.append(type);
-        result.append(", artifactId: ");
-        result.append(artifactId);
-        result.append(", version: ");
-        result.append(version);
-        result.append(", uri: ");
-        result.append(uri);
-        result.append(')');
-        return result.toString();
-    }
-
-} //DependencyTypeImpl
+/**
+ * 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.deployment.impl;
+
+import org.apache.geronimo.xml.ns.deployment.DependencyType;
+import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
+
+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>Dependency Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getGroupId <em>Group Id</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getType <em>Type</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getArtifactId <em>Artifact Id</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getVersion <em>Version</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.DependencyTypeImpl#getUri <em>Uri</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DependencyTypeImpl extends EObjectImpl implements DependencyType {
+    /**
+     * The default value of the '{@link #getGroupId() <em>Group Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupId()
+     * @generated
+     * @ordered
+     */
+    protected static final String GROUP_ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getGroupId() <em>Group Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupId()
+     * @generated
+     * @ordered
+     */
+    protected String groupId = GROUP_ID_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getType()
+     * @generated
+     * @ordered
+     */
+    protected static final String TYPE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getType()
+     * @generated
+     * @ordered
+     */
+    protected String type = TYPE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getArtifactId() <em>Artifact Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getArtifactId()
+     * @generated
+     * @ordered
+     */
+    protected static final String ARTIFACT_ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getArtifactId() <em>Artifact Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getArtifactId()
+     * @generated
+     * @ordered
+     */
+    protected String artifactId = ARTIFACT_ID_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVersion()
+     * @generated
+     * @ordered
+     */
+    protected static final String VERSION_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getVersion()
+     * @generated
+     * @ordered
+     */
+    protected String version = VERSION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getUri() <em>Uri</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getUri()
+     * @generated
+     * @ordered
+     */
+    protected static final String URI_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getUri() <em>Uri</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getUri()
+     * @generated
+     * @ordered
+     */
+    protected String uri = URI_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DependencyTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getDependencyType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGroupId() {
+        return groupId;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGroupId(String newGroupId) {
+        String oldGroupId = groupId;
+        groupId = newGroupId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID, oldGroupId, groupId));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setType(String newType) {
+        String oldType = type;
+        type = newType;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__TYPE, oldType, type));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getArtifactId() {
+        return artifactId;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setArtifactId(String newArtifactId) {
+        String oldArtifactId = artifactId;
+        artifactId = newArtifactId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID, oldArtifactId, artifactId));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getVersion() {
+        return version;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setVersion(String newVersion) {
+        String oldVersion = version;
+        version = newVersion;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__VERSION, oldVersion, version));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getUri() {
+        return uri;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setUri(String newUri) {
+        String oldUri = uri;
+        uri = newUri;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.DEPENDENCY_TYPE__URI, oldUri, uri));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
+                return getGroupId();
+            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
+                return getType();
+            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
+                return getArtifactId();
+            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
+                return getVersion();
+            case DeploymentPackage.DEPENDENCY_TYPE__URI:
+                return getUri();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
+                setGroupId((String)newValue);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
+                setType((String)newValue);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
+                setArtifactId((String)newValue);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
+                setVersion((String)newValue);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__URI:
+                setUri((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
+                setGroupId(GROUP_ID_EDEFAULT);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
+                setType(TYPE_EDEFAULT);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
+                setArtifactId(ARTIFACT_ID_EDEFAULT);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
+                setVersion(VERSION_EDEFAULT);
+                return;
+            case DeploymentPackage.DEPENDENCY_TYPE__URI:
+                setUri(URI_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.DEPENDENCY_TYPE__GROUP_ID:
+                return GROUP_ID_EDEFAULT == null ? groupId != null : !GROUP_ID_EDEFAULT.equals(groupId);
+            case DeploymentPackage.DEPENDENCY_TYPE__TYPE:
+                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+            case DeploymentPackage.DEPENDENCY_TYPE__ARTIFACT_ID:
+                return ARTIFACT_ID_EDEFAULT == null ? artifactId != null : !ARTIFACT_ID_EDEFAULT.equals(artifactId);
+            case DeploymentPackage.DEPENDENCY_TYPE__VERSION:
+                return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
+            case DeploymentPackage.DEPENDENCY_TYPE__URI:
+                return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri);
+        }
+        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(" (groupId: ");
+        result.append(groupId);
+        result.append(", type: ");
+        result.append(type);
+        result.append(", artifactId: ");
+        result.append(artifactId);
+        result.append(", version: ");
+        result.append(version);
+        result.append(", uri: ");
+        result.append(uri);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DependencyTypeImpl

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DeploymentFactoryImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DeploymentFactoryImpl.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/deployment/impl/DeploymentFactoryImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DeploymentFactoryImpl.java Wed Aug 24 14:34:34 2005
@@ -1,172 +1,172 @@
-/**
- * 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.deployment.impl;
-
-import org.apache.geronimo.xml.ns.deployment.*;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class DeploymentFactoryImpl extends EFactoryImpl implements DeploymentFactory {
-    /**
-     * Creates an instance of the factory.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public DeploymentFactoryImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EObject create(EClass eClass) {
-        switch (eClass.getClassifierID()) {
-            case DeploymentPackage.ATTRIBUTE_TYPE: return createAttributeType();
-            case DeploymentPackage.CONFIGURATION_TYPE: return createConfigurationType();
-            case DeploymentPackage.DEPENDENCY_TYPE: return createDependencyType();
-            case DeploymentPackage.DOCUMENT_ROOT: return createDocumentRoot();
-            case DeploymentPackage.GBEAN_TYPE: return createGbeanType();
-            case DeploymentPackage.PATTERN_TYPE: return createPatternType();
-            case DeploymentPackage.REFERENCES_TYPE: return createReferencesType();
-            case DeploymentPackage.REFERENCE_TYPE: return createReferenceType();
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE: return createXmlAttributeType();
-            default:
-                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
-        }
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public AttributeType createAttributeType() {
-        AttributeTypeImpl attributeType = new AttributeTypeImpl();
-        return attributeType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public ConfigurationType createConfigurationType() {
-        ConfigurationTypeImpl configurationType = new ConfigurationTypeImpl();
-        return configurationType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public DependencyType createDependencyType() {
-        DependencyTypeImpl dependencyType = new DependencyTypeImpl();
-        return dependencyType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public DocumentRoot createDocumentRoot() {
-        DocumentRootImpl documentRoot = new DocumentRootImpl();
-        return documentRoot;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public GbeanType createGbeanType() {
-        GbeanTypeImpl gbeanType = new GbeanTypeImpl();
-        return gbeanType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public PatternType createPatternType() {
-        PatternTypeImpl patternType = new PatternTypeImpl();
-        return patternType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public ReferencesType createReferencesType() {
-        ReferencesTypeImpl referencesType = new ReferencesTypeImpl();
-        return referencesType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public ReferenceType createReferenceType() {
-        ReferenceTypeImpl referenceType = new ReferenceTypeImpl();
-        return referenceType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public XmlAttributeType createXmlAttributeType() {
-        XmlAttributeTypeImpl xmlAttributeType = new XmlAttributeTypeImpl();
-        return xmlAttributeType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public DeploymentPackage getDeploymentPackage() {
-        return (DeploymentPackage)getEPackage();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @deprecated
-     * @generated
-     */
-    public static DeploymentPackage getPackage() {
-        return DeploymentPackage.eINSTANCE;
-    }
-
-} //DeploymentFactoryImpl
+/**
+ * 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.deployment.impl;
+
+import org.apache.geronimo.xml.ns.deployment.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DeploymentFactoryImpl extends EFactoryImpl implements DeploymentFactory {
+    /**
+     * Creates an instance of the factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DeploymentFactoryImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EObject create(EClass eClass) {
+        switch (eClass.getClassifierID()) {
+            case DeploymentPackage.ATTRIBUTE_TYPE: return createAttributeType();
+            case DeploymentPackage.CONFIGURATION_TYPE: return createConfigurationType();
+            case DeploymentPackage.DEPENDENCY_TYPE: return createDependencyType();
+            case DeploymentPackage.DOCUMENT_ROOT: return createDocumentRoot();
+            case DeploymentPackage.GBEAN_TYPE: return createGbeanType();
+            case DeploymentPackage.PATTERN_TYPE: return createPatternType();
+            case DeploymentPackage.REFERENCES_TYPE: return createReferencesType();
+            case DeploymentPackage.REFERENCE_TYPE: return createReferenceType();
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE: return createXmlAttributeType();
+            default:
+                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+        }
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public AttributeType createAttributeType() {
+        AttributeTypeImpl attributeType = new AttributeTypeImpl();
+        return attributeType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ConfigurationType createConfigurationType() {
+        ConfigurationTypeImpl configurationType = new ConfigurationTypeImpl();
+        return configurationType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DependencyType createDependencyType() {
+        DependencyTypeImpl dependencyType = new DependencyTypeImpl();
+        return dependencyType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DocumentRoot createDocumentRoot() {
+        DocumentRootImpl documentRoot = new DocumentRootImpl();
+        return documentRoot;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public GbeanType createGbeanType() {
+        GbeanTypeImpl gbeanType = new GbeanTypeImpl();
+        return gbeanType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PatternType createPatternType() {
+        PatternTypeImpl patternType = new PatternTypeImpl();
+        return patternType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ReferencesType createReferencesType() {
+        ReferencesTypeImpl referencesType = new ReferencesTypeImpl();
+        return referencesType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ReferenceType createReferenceType() {
+        ReferenceTypeImpl referenceType = new ReferenceTypeImpl();
+        return referenceType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public XmlAttributeType createXmlAttributeType() {
+        XmlAttributeTypeImpl xmlAttributeType = new XmlAttributeTypeImpl();
+        return xmlAttributeType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DeploymentPackage getDeploymentPackage() {
+        return (DeploymentPackage)getEPackage();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @deprecated
+     * @generated
+     */
+    public static DeploymentPackage getPackage() {
+        return DeploymentPackage.eINSTANCE;
+    }
+
+} //DeploymentFactoryImpl



Mime
View raw message