You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ge...@apache.org on 2005/08/24 23:36:53 UTC

svn commit: r239937 [10/73] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.core/src/org/apache/geronimo/core/operations/ org.apache.geronimo.deployment.model/src/org/apac...

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/PatternTypeImpl.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/PatternTypeImpl.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/PatternTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/PatternTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,549 +1,549 @@
-/**
- * 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.DeploymentPackage;
-import org.apache.geronimo.xml.ns.deployment.PatternType;
-
-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>Pattern Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getDomain <em>Domain</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getServer <em>Server</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getApplication <em>Application</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getModuleType <em>Module Type</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getModule <em>Module</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getType <em>Type</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getName <em>Name</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getGbeanName <em>Gbean Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PatternTypeImpl extends EObjectImpl implements PatternType {
-    /**
-     * 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 #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;
-
-    /**
-     * The default value of the '{@link #getApplication() <em>Application</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getApplication()
-     * @generated
-     * @ordered
-     */
-    protected static final String APPLICATION_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getApplication() <em>Application</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getApplication()
-     * @generated
-     * @ordered
-     */
-    protected String application = APPLICATION_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getModuleType() <em>Module Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getModuleType()
-     * @generated
-     * @ordered
-     */
-    protected static final String MODULE_TYPE_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getModuleType() <em>Module Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getModuleType()
-     * @generated
-     * @ordered
-     */
-    protected String moduleType = MODULE_TYPE_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getModule() <em>Module</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getModule()
-     * @generated
-     * @ordered
-     */
-    protected static final String MODULE_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getModule() <em>Module</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getModule()
-     * @generated
-     * @ordered
-     */
-    protected String module = MODULE_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 #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 #getGbeanName() <em>Gbean Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGbeanName()
-     * @generated
-     * @ordered
-     */
-    protected static final String GBEAN_NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getGbeanName() <em>Gbean Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGbeanName()
-     * @generated
-     * @ordered
-     */
-    protected String gbeanName = GBEAN_NAME_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected PatternTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getPatternType();
-    }
-
-    /**
-     * <!-- 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.PATTERN_TYPE__DOMAIN, oldDomain, domain));
-    }
-
-    /**
-     * <!-- 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.PATTERN_TYPE__SERVER, oldServer, server));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getApplication() {
-        return application;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setApplication(String newApplication) {
-        String oldApplication = application;
-        application = newApplication;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__APPLICATION, oldApplication, application));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getModuleType() {
-        return moduleType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setModuleType(String newModuleType) {
-        String oldModuleType = moduleType;
-        moduleType = newModuleType;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__MODULE_TYPE, oldModuleType, moduleType));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getModule() {
-        return module;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setModule(String newModule) {
-        String oldModule = module;
-        module = newModule;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__MODULE, oldModule, module));
-    }
-
-    /**
-     * <!-- 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.PATTERN_TYPE__TYPE, oldType, type));
-    }
-
-    /**
-     * <!-- 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.PATTERN_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getGbeanName() {
-        return gbeanName;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setGbeanName(String newGbeanName) {
-        String oldGbeanName = gbeanName;
-        gbeanName = newGbeanName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__GBEAN_NAME, oldGbeanName, gbeanName));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
-                return getDomain();
-            case DeploymentPackage.PATTERN_TYPE__SERVER:
-                return getServer();
-            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
-                return getApplication();
-            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
-                return getModuleType();
-            case DeploymentPackage.PATTERN_TYPE__MODULE:
-                return getModule();
-            case DeploymentPackage.PATTERN_TYPE__TYPE:
-                return getType();
-            case DeploymentPackage.PATTERN_TYPE__NAME:
-                return getName();
-            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
-                return getGbeanName();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
-                setDomain((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__SERVER:
-                setServer((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
-                setApplication((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
-                setModuleType((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__MODULE:
-                setModule((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__TYPE:
-                setType((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__NAME:
-                setName((String)newValue);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
-                setGbeanName((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
-                setDomain(DOMAIN_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__SERVER:
-                setServer(SERVER_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
-                setApplication(APPLICATION_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
-                setModuleType(MODULE_TYPE_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__MODULE:
-                setModule(MODULE_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__TYPE:
-                setType(TYPE_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
-                setGbeanName(GBEAN_NAME_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
-                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
-            case DeploymentPackage.PATTERN_TYPE__SERVER:
-                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
-            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
-                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
-            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
-                return MODULE_TYPE_EDEFAULT == null ? moduleType != null : !MODULE_TYPE_EDEFAULT.equals(moduleType);
-            case DeploymentPackage.PATTERN_TYPE__MODULE:
-                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
-            case DeploymentPackage.PATTERN_TYPE__TYPE:
-                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
-            case DeploymentPackage.PATTERN_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
-                return GBEAN_NAME_EDEFAULT == null ? gbeanName != null : !GBEAN_NAME_EDEFAULT.equals(gbeanName);
-        }
-        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(" (domain: ");
-        result.append(domain);
-        result.append(", server: ");
-        result.append(server);
-        result.append(", application: ");
-        result.append(application);
-        result.append(", moduleType: ");
-        result.append(moduleType);
-        result.append(", module: ");
-        result.append(module);
-        result.append(", type: ");
-        result.append(type);
-        result.append(", name: ");
-        result.append(name);
-        result.append(", gbeanName: ");
-        result.append(gbeanName);
-        result.append(')');
-        return result.toString();
-    }
-
-} //PatternTypeImpl
+/**
+ * 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.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.PatternType;
+
+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>Pattern Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getDomain <em>Domain</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getServer <em>Server</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getApplication <em>Application</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getModuleType <em>Module Type</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getModule <em>Module</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getType <em>Type</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getName <em>Name</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.PatternTypeImpl#getGbeanName <em>Gbean Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PatternTypeImpl extends EObjectImpl implements PatternType {
+    /**
+     * 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 #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;
+
+    /**
+     * The default value of the '{@link #getApplication() <em>Application</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getApplication()
+     * @generated
+     * @ordered
+     */
+    protected static final String APPLICATION_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getApplication() <em>Application</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getApplication()
+     * @generated
+     * @ordered
+     */
+    protected String application = APPLICATION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getModuleType() <em>Module Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getModuleType()
+     * @generated
+     * @ordered
+     */
+    protected static final String MODULE_TYPE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getModuleType() <em>Module Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getModuleType()
+     * @generated
+     * @ordered
+     */
+    protected String moduleType = MODULE_TYPE_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getModule() <em>Module</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getModule()
+     * @generated
+     * @ordered
+     */
+    protected static final String MODULE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getModule() <em>Module</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getModule()
+     * @generated
+     * @ordered
+     */
+    protected String module = MODULE_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 #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 #getGbeanName() <em>Gbean Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGbeanName()
+     * @generated
+     * @ordered
+     */
+    protected static final String GBEAN_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getGbeanName() <em>Gbean Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGbeanName()
+     * @generated
+     * @ordered
+     */
+    protected String gbeanName = GBEAN_NAME_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected PatternTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getPatternType();
+    }
+
+    /**
+     * <!-- 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.PATTERN_TYPE__DOMAIN, oldDomain, domain));
+    }
+
+    /**
+     * <!-- 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.PATTERN_TYPE__SERVER, oldServer, server));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getApplication() {
+        return application;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setApplication(String newApplication) {
+        String oldApplication = application;
+        application = newApplication;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__APPLICATION, oldApplication, application));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getModuleType() {
+        return moduleType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setModuleType(String newModuleType) {
+        String oldModuleType = moduleType;
+        moduleType = newModuleType;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__MODULE_TYPE, oldModuleType, moduleType));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getModule() {
+        return module;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setModule(String newModule) {
+        String oldModule = module;
+        module = newModule;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__MODULE, oldModule, module));
+    }
+
+    /**
+     * <!-- 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.PATTERN_TYPE__TYPE, oldType, type));
+    }
+
+    /**
+     * <!-- 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.PATTERN_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGbeanName() {
+        return gbeanName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGbeanName(String newGbeanName) {
+        String oldGbeanName = gbeanName;
+        gbeanName = newGbeanName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.PATTERN_TYPE__GBEAN_NAME, oldGbeanName, gbeanName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
+                return getDomain();
+            case DeploymentPackage.PATTERN_TYPE__SERVER:
+                return getServer();
+            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
+                return getApplication();
+            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
+                return getModuleType();
+            case DeploymentPackage.PATTERN_TYPE__MODULE:
+                return getModule();
+            case DeploymentPackage.PATTERN_TYPE__TYPE:
+                return getType();
+            case DeploymentPackage.PATTERN_TYPE__NAME:
+                return getName();
+            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
+                return getGbeanName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
+                setDomain((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__SERVER:
+                setServer((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
+                setApplication((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
+                setModuleType((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__MODULE:
+                setModule((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__TYPE:
+                setType((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__NAME:
+                setName((String)newValue);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
+                setGbeanName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
+                setDomain(DOMAIN_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__SERVER:
+                setServer(SERVER_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
+                setApplication(APPLICATION_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
+                setModuleType(MODULE_TYPE_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__MODULE:
+                setModule(MODULE_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__TYPE:
+                setType(TYPE_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
+                setGbeanName(GBEAN_NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.PATTERN_TYPE__DOMAIN:
+                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+            case DeploymentPackage.PATTERN_TYPE__SERVER:
+                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+            case DeploymentPackage.PATTERN_TYPE__APPLICATION:
+                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+            case DeploymentPackage.PATTERN_TYPE__MODULE_TYPE:
+                return MODULE_TYPE_EDEFAULT == null ? moduleType != null : !MODULE_TYPE_EDEFAULT.equals(moduleType);
+            case DeploymentPackage.PATTERN_TYPE__MODULE:
+                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+            case DeploymentPackage.PATTERN_TYPE__TYPE:
+                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+            case DeploymentPackage.PATTERN_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+            case DeploymentPackage.PATTERN_TYPE__GBEAN_NAME:
+                return GBEAN_NAME_EDEFAULT == null ? gbeanName != null : !GBEAN_NAME_EDEFAULT.equals(gbeanName);
+        }
+        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(" (domain: ");
+        result.append(domain);
+        result.append(", server: ");
+        result.append(server);
+        result.append(", application: ");
+        result.append(application);
+        result.append(", moduleType: ");
+        result.append(moduleType);
+        result.append(", module: ");
+        result.append(module);
+        result.append(", type: ");
+        result.append(type);
+        result.append(", name: ");
+        result.append(name);
+        result.append(", gbeanName: ");
+        result.append(gbeanName);
+        result.append(')');
+        return result.toString();
+    }
+
+} //PatternTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ReferenceTypeImpl.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/ReferenceTypeImpl.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/ReferenceTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ReferenceTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,250 +1,250 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.xml.ns.deployment.impl;
-
-import org.apache.geronimo.xml.ns.deployment.DeploymentPackage;
-import org.apache.geronimo.xml.ns.deployment.ReferenceType;
-
-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;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Reference Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferenceTypeImpl#getName1 <em>Name1</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ReferenceTypeImpl extends PatternTypeImpl implements ReferenceType {
-    /**
-     * The default value of the '{@link #getName1() <em>Name1</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName1()
-     * @generated
-     * @ordered
-     */
-    protected static final String NAME1_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getName1() <em>Name1</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getName1()
-     * @generated
-     * @ordered
-     */
-    protected String name1 = NAME1_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected ReferenceTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getReferenceType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getName1() {
-        return name1;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setName1(String newName1) {
-        String oldName1 = name1;
-        name1 = newName1;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.REFERENCE_TYPE__NAME1, oldName1, name1));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
-                return getDomain();
-            case DeploymentPackage.REFERENCE_TYPE__SERVER:
-                return getServer();
-            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
-                return getApplication();
-            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
-                return getModuleType();
-            case DeploymentPackage.REFERENCE_TYPE__MODULE:
-                return getModule();
-            case DeploymentPackage.REFERENCE_TYPE__TYPE:
-                return getType();
-            case DeploymentPackage.REFERENCE_TYPE__NAME:
-                return getName();
-            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
-                return getGbeanName();
-            case DeploymentPackage.REFERENCE_TYPE__NAME1:
-                return getName1();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
-                setDomain((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__SERVER:
-                setServer((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
-                setApplication((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
-                setModuleType((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__MODULE:
-                setModule((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__TYPE:
-                setType((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__NAME:
-                setName((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
-                setGbeanName((String)newValue);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__NAME1:
-                setName1((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
-                setDomain(DOMAIN_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__SERVER:
-                setServer(SERVER_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
-                setApplication(APPLICATION_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
-                setModuleType(MODULE_TYPE_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__MODULE:
-                setModule(MODULE_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__TYPE:
-                setType(TYPE_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
-                setGbeanName(GBEAN_NAME_EDEFAULT);
-                return;
-            case DeploymentPackage.REFERENCE_TYPE__NAME1:
-                setName1(NAME1_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
-                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
-            case DeploymentPackage.REFERENCE_TYPE__SERVER:
-                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
-            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
-                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
-            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
-                return MODULE_TYPE_EDEFAULT == null ? moduleType != null : !MODULE_TYPE_EDEFAULT.equals(moduleType);
-            case DeploymentPackage.REFERENCE_TYPE__MODULE:
-                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
-            case DeploymentPackage.REFERENCE_TYPE__TYPE:
-                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
-            case DeploymentPackage.REFERENCE_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
-                return GBEAN_NAME_EDEFAULT == null ? gbeanName != null : !GBEAN_NAME_EDEFAULT.equals(gbeanName);
-            case DeploymentPackage.REFERENCE_TYPE__NAME1:
-                return NAME1_EDEFAULT == null ? name1 != null : !NAME1_EDEFAULT.equals(name1);
-        }
-        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(" (name1: ");
-        result.append(name1);
-        result.append(')');
-        return result.toString();
-    }
-
-} //ReferenceTypeImpl
+/**
+ * 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.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.ReferenceType;
+
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Reference Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferenceTypeImpl#getName1 <em>Name1</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ReferenceTypeImpl extends PatternTypeImpl implements ReferenceType {
+    /**
+     * The default value of the '{@link #getName1() <em>Name1</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName1()
+     * @generated
+     * @ordered
+     */
+    protected static final String NAME1_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getName1() <em>Name1</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getName1()
+     * @generated
+     * @ordered
+     */
+    protected String name1 = NAME1_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected ReferenceTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getReferenceType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getName1() {
+        return name1;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setName1(String newName1) {
+        String oldName1 = name1;
+        name1 = newName1;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DeploymentPackage.REFERENCE_TYPE__NAME1, oldName1, name1));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
+                return getDomain();
+            case DeploymentPackage.REFERENCE_TYPE__SERVER:
+                return getServer();
+            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
+                return getApplication();
+            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
+                return getModuleType();
+            case DeploymentPackage.REFERENCE_TYPE__MODULE:
+                return getModule();
+            case DeploymentPackage.REFERENCE_TYPE__TYPE:
+                return getType();
+            case DeploymentPackage.REFERENCE_TYPE__NAME:
+                return getName();
+            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
+                return getGbeanName();
+            case DeploymentPackage.REFERENCE_TYPE__NAME1:
+                return getName1();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
+                setDomain((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__SERVER:
+                setServer((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
+                setApplication((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
+                setModuleType((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__MODULE:
+                setModule((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__TYPE:
+                setType((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__NAME:
+                setName((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
+                setGbeanName((String)newValue);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__NAME1:
+                setName1((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
+                setDomain(DOMAIN_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__SERVER:
+                setServer(SERVER_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
+                setApplication(APPLICATION_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
+                setModuleType(MODULE_TYPE_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__MODULE:
+                setModule(MODULE_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__TYPE:
+                setType(TYPE_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
+                setGbeanName(GBEAN_NAME_EDEFAULT);
+                return;
+            case DeploymentPackage.REFERENCE_TYPE__NAME1:
+                setName1(NAME1_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCE_TYPE__DOMAIN:
+                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+            case DeploymentPackage.REFERENCE_TYPE__SERVER:
+                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+            case DeploymentPackage.REFERENCE_TYPE__APPLICATION:
+                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+            case DeploymentPackage.REFERENCE_TYPE__MODULE_TYPE:
+                return MODULE_TYPE_EDEFAULT == null ? moduleType != null : !MODULE_TYPE_EDEFAULT.equals(moduleType);
+            case DeploymentPackage.REFERENCE_TYPE__MODULE:
+                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+            case DeploymentPackage.REFERENCE_TYPE__TYPE:
+                return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+            case DeploymentPackage.REFERENCE_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+            case DeploymentPackage.REFERENCE_TYPE__GBEAN_NAME:
+                return GBEAN_NAME_EDEFAULT == null ? gbeanName != null : !GBEAN_NAME_EDEFAULT.equals(gbeanName);
+            case DeploymentPackage.REFERENCE_TYPE__NAME1:
+                return NAME1_EDEFAULT == null ? name1 != null : !NAME1_EDEFAULT.equals(name1);
+        }
+        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(" (name1: ");
+        result.append(name1);
+        result.append(')');
+        return result.toString();
+    }
+
+} //ReferenceTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ReferencesTypeImpl.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/ReferencesTypeImpl.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/ReferencesTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/ReferencesTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,232 +1,232 @@
-/**
- * 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.DeploymentPackage;
-import org.apache.geronimo.xml.ns.deployment.PatternType;
-import org.apache.geronimo.xml.ns.deployment.ReferencesType;
-
-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>References Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferencesTypeImpl#getPattern <em>Pattern</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferencesTypeImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ReferencesTypeImpl extends EObjectImpl implements ReferencesType {
-    /**
-     * The cached value of the '{@link #getPattern() <em>Pattern</em>}' containment reference list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getPattern()
-     * @generated
-     * @ordered
-     */
-    protected EList pattern = null;
-
-    /**
-     * 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;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected ReferencesTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getReferencesType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getPattern() {
-        if (pattern == null) {
-            pattern = new EObjectContainmentEList(PatternType.class, this, DeploymentPackage.REFERENCES_TYPE__PATTERN);
-        }
-        return pattern;
-    }
-
-    /**
-     * <!-- 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.REFERENCES_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- 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.REFERENCES_TYPE__PATTERN:
-                    return ((InternalEList)getPattern()).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.REFERENCES_TYPE__PATTERN:
-                return getPattern();
-            case DeploymentPackage.REFERENCES_TYPE__NAME:
-                return getName();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
-                getPattern().clear();
-                getPattern().addAll((Collection)newValue);
-                return;
-            case DeploymentPackage.REFERENCES_TYPE__NAME:
-                setName((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
-                getPattern().clear();
-                return;
-            case DeploymentPackage.REFERENCES_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
-                return pattern != null && !pattern.isEmpty();
-            case DeploymentPackage.REFERENCES_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-        }
-        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(" (name: ");
-        result.append(name);
-        result.append(')');
-        return result.toString();
-    }
-
-} //ReferencesTypeImpl
+/**
+ * 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.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.PatternType;
+import org.apache.geronimo.xml.ns.deployment.ReferencesType;
+
+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>References Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferencesTypeImpl#getPattern <em>Pattern</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.ReferencesTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ReferencesTypeImpl extends EObjectImpl implements ReferencesType {
+    /**
+     * The cached value of the '{@link #getPattern() <em>Pattern</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPattern()
+     * @generated
+     * @ordered
+     */
+    protected EList pattern = null;
+
+    /**
+     * 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;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected ReferencesTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getReferencesType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getPattern() {
+        if (pattern == null) {
+            pattern = new EObjectContainmentEList(PatternType.class, this, DeploymentPackage.REFERENCES_TYPE__PATTERN);
+        }
+        return pattern;
+    }
+
+    /**
+     * <!-- 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.REFERENCES_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- 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.REFERENCES_TYPE__PATTERN:
+                    return ((InternalEList)getPattern()).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.REFERENCES_TYPE__PATTERN:
+                return getPattern();
+            case DeploymentPackage.REFERENCES_TYPE__NAME:
+                return getName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
+                getPattern().clear();
+                getPattern().addAll((Collection)newValue);
+                return;
+            case DeploymentPackage.REFERENCES_TYPE__NAME:
+                setName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
+                getPattern().clear();
+                return;
+            case DeploymentPackage.REFERENCES_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.REFERENCES_TYPE__PATTERN:
+                return pattern != null && !pattern.isEmpty();
+            case DeploymentPackage.REFERENCES_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+        }
+        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(" (name: ");
+        result.append(name);
+        result.append(')');
+        return result.toString();
+    }
+
+} //ReferencesTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/XmlAttributeTypeImpl.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/XmlAttributeTypeImpl.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/XmlAttributeTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/impl/XmlAttributeTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,232 +1,232 @@
-/**
- * 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.DeploymentPackage;
-import org.apache.geronimo.xml.ns.deployment.XmlAttributeType;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Xml Attribute Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.XmlAttributeTypeImpl#getAny <em>Any</em>}</li>
- *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.XmlAttributeTypeImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class XmlAttributeTypeImpl extends EObjectImpl implements XmlAttributeType {
-    /**
-     * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getAny()
-     * @generated
-     * @ordered
-     */
-    protected FeatureMap any = null;
-
-    /**
-     * 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;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected XmlAttributeTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return DeploymentPackage.eINSTANCE.getXmlAttributeType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public FeatureMap getAny() {
-        if (any == null) {
-            any = new BasicFeatureMap(this, DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY);
-        }
-        return any;
-    }
-
-    /**
-     * <!-- 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.XML_ATTRIBUTE_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- 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.XML_ATTRIBUTE_TYPE__ANY:
-                    return ((InternalEList)getAny()).basicRemove(otherEnd, msgs);
-                default:
-                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
-            }
-        }
-        return eBasicSetContainer(null, featureID, msgs);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
-                return getAny();
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
-                return getName();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
-                getAny().clear();
-                getAny().addAll((Collection)newValue);
-                return;
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
-                setName((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
-                getAny().clear();
-                return;
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
-                return any != null && !any.isEmpty();
-            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
-                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
-        }
-        return eDynamicIsSet(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String toString() {
-        if (eIsProxy()) return super.toString();
-
-        StringBuffer result = new StringBuffer(super.toString());
-        result.append(" (any: ");
-        result.append(any);
-        result.append(", name: ");
-        result.append(name);
-        result.append(')');
-        return result.toString();
-    }
-
-} //XmlAttributeTypeImpl
+/**
+ * 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.DeploymentPackage;
+import org.apache.geronimo.xml.ns.deployment.XmlAttributeType;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Xml Attribute Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.XmlAttributeTypeImpl#getAny <em>Any</em>}</li>
+ *   <li>{@link org.apache.geronimo.xml.ns.deployment.impl.XmlAttributeTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class XmlAttributeTypeImpl extends EObjectImpl implements XmlAttributeType {
+    /**
+     * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAny()
+     * @generated
+     * @ordered
+     */
+    protected FeatureMap any = null;
+
+    /**
+     * 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;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected XmlAttributeTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return DeploymentPackage.eINSTANCE.getXmlAttributeType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public FeatureMap getAny() {
+        if (any == null) {
+            any = new BasicFeatureMap(this, DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY);
+        }
+        return any;
+    }
+
+    /**
+     * <!-- 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.XML_ATTRIBUTE_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- 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.XML_ATTRIBUTE_TYPE__ANY:
+                    return ((InternalEList)getAny()).basicRemove(otherEnd, msgs);
+                default:
+                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+            }
+        }
+        return eBasicSetContainer(null, featureID, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
+                return getAny();
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
+                return getName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
+                getAny().clear();
+                getAny().addAll((Collection)newValue);
+                return;
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
+                setName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
+                getAny().clear();
+                return;
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__ANY:
+                return any != null && !any.isEmpty();
+            case DeploymentPackage.XML_ATTRIBUTE_TYPE__NAME:
+                return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (any: ");
+        result.append(any);
+        result.append(", name: ");
+        result.append(name);
+        result.append(')');
+        return result.toString();
+    }
+
+} //XmlAttributeTypeImpl

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