geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r233044 [14/33] - in /geronimo/trunk/sandbox/eclipse-plugin: ./ org.apache.geronimo.core/ org.apache.geronimo.core/META-INF/ org.apache.geronimo.core/serverdef/ org.apache.geronimo.core/src/ org.apache.geronimo.core/src/org/ org.apache.gero...
Date Tue, 16 Aug 2005 19:47:05 GMT
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/XmlAttributeType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/XmlAttributeType.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/XmlAttributeType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/XmlAttributeType.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,91 @@
+/**
+ * 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;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Attribute Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.XmlAttributeType#getAny <em>Any</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.XmlAttributeType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getXmlAttributeType()
+ * @model extendedMetaData="name='xml-attributeType' kind='elementOnly'"
+ * @generated
+ */
+public interface XmlAttributeType extends EObject {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * Returns the value of the '<em><b>Any</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>Any</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>Any</em>' attribute list.
+     * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getXmlAttributeType_Any()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" required="true"
+     *        extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='lax'"
+     * @generated
+     */
+    FeatureMap getAny();
+
+    /**
+     * 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.deployment.DeploymentPackage#getXmlAttributeType_Name()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+     *        extendedMetaData="kind='attribute' name='name'"
+     * @generated
+     */
+    String getName();
+
+    /**
+     * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.XmlAttributeType#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);
+
+} // XmlAttributeType

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

Added: 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=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/AttributeTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/AttributeTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,286 @@
+/**
+ * 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 {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The 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:executable = *

Added: 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=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ConfigurationTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,474 @@
+/**
+ * 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 {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The cached 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:executable = *

Added: 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=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DependencyTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,340 @@
+/**
+ * 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#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 {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * The 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 #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 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__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__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__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__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(", 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:executable = *

Added: 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=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DeploymentFactoryImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/DeploymentFactoryImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,179 @@
+/**
+ * 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 {
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+    /**
+     * 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

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



Mime
View raw message