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 [63/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/openejb/xml/ns/openejb/jar/impl/TssTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/TssTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/TssTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/TssTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,387 +1,387 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.openejb.xml.ns.openejb.jar.impl;
-
-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;
-
-import org.openejb.xml.ns.openejb.jar.JarPackage;
-import org.openejb.xml.ns.openejb.jar.TssType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Tss Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getDomain <em>Domain</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getServer <em>Server</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getApplication <em>Application</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getModule <em>Module</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TssTypeImpl extends EObjectImpl implements TssType {
-    /**
-     * 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 #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 #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 TssTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return JarPackage.eINSTANCE.getTssType();
-    }
-
-    /**
-     * <!-- 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, JarPackage.TSS_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, JarPackage.TSS_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, JarPackage.TSS_TYPE__APPLICATION, oldApplication, application));
-    }
-
-    /**
-     * <!-- 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, JarPackage.TSS_TYPE__MODULE, oldModule, module));
-    }
-
-    /**
-     * <!-- 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, JarPackage.TSS_TYPE__NAME, oldName, name));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.TSS_TYPE__DOMAIN:
-                return getDomain();
-            case JarPackage.TSS_TYPE__SERVER:
-                return getServer();
-            case JarPackage.TSS_TYPE__APPLICATION:
-                return getApplication();
-            case JarPackage.TSS_TYPE__MODULE:
-                return getModule();
-            case JarPackage.TSS_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 JarPackage.TSS_TYPE__DOMAIN:
-                setDomain((String)newValue);
-                return;
-            case JarPackage.TSS_TYPE__SERVER:
-                setServer((String)newValue);
-                return;
-            case JarPackage.TSS_TYPE__APPLICATION:
-                setApplication((String)newValue);
-                return;
-            case JarPackage.TSS_TYPE__MODULE:
-                setModule((String)newValue);
-                return;
-            case JarPackage.TSS_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 JarPackage.TSS_TYPE__DOMAIN:
-                setDomain(DOMAIN_EDEFAULT);
-                return;
-            case JarPackage.TSS_TYPE__SERVER:
-                setServer(SERVER_EDEFAULT);
-                return;
-            case JarPackage.TSS_TYPE__APPLICATION:
-                setApplication(APPLICATION_EDEFAULT);
-                return;
-            case JarPackage.TSS_TYPE__MODULE:
-                setModule(MODULE_EDEFAULT);
-                return;
-            case JarPackage.TSS_TYPE__NAME:
-                setName(NAME_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.TSS_TYPE__DOMAIN:
-                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
-            case JarPackage.TSS_TYPE__SERVER:
-                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
-            case JarPackage.TSS_TYPE__APPLICATION:
-                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
-            case JarPackage.TSS_TYPE__MODULE:
-                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
-            case JarPackage.TSS_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(" (domain: ");
-        result.append(domain);
-        result.append(", server: ");
-        result.append(server);
-        result.append(", application: ");
-        result.append(application);
-        result.append(", module: ");
-        result.append(module);
-        result.append(", name: ");
-        result.append(name);
-        result.append(')');
-        return result.toString();
-    }
-
-} //TssTypeImpl
+/**
+ * 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.openejb.xml.ns.openejb.jar.impl;
+
+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;
+
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+import org.openejb.xml.ns.openejb.jar.TssType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Tss Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getDomain <em>Domain</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getServer <em>Server</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getApplication <em>Application</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getModule <em>Module</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.TssTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TssTypeImpl extends EObjectImpl implements TssType {
+    /**
+     * 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 #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 #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 TssTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getTssType();
+    }
+
+    /**
+     * <!-- 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, JarPackage.TSS_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, JarPackage.TSS_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, JarPackage.TSS_TYPE__APPLICATION, oldApplication, application));
+    }
+
+    /**
+     * <!-- 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, JarPackage.TSS_TYPE__MODULE, oldModule, module));
+    }
+
+    /**
+     * <!-- 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, JarPackage.TSS_TYPE__NAME, oldName, name));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.TSS_TYPE__DOMAIN:
+                return getDomain();
+            case JarPackage.TSS_TYPE__SERVER:
+                return getServer();
+            case JarPackage.TSS_TYPE__APPLICATION:
+                return getApplication();
+            case JarPackage.TSS_TYPE__MODULE:
+                return getModule();
+            case JarPackage.TSS_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 JarPackage.TSS_TYPE__DOMAIN:
+                setDomain((String)newValue);
+                return;
+            case JarPackage.TSS_TYPE__SERVER:
+                setServer((String)newValue);
+                return;
+            case JarPackage.TSS_TYPE__APPLICATION:
+                setApplication((String)newValue);
+                return;
+            case JarPackage.TSS_TYPE__MODULE:
+                setModule((String)newValue);
+                return;
+            case JarPackage.TSS_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 JarPackage.TSS_TYPE__DOMAIN:
+                setDomain(DOMAIN_EDEFAULT);
+                return;
+            case JarPackage.TSS_TYPE__SERVER:
+                setServer(SERVER_EDEFAULT);
+                return;
+            case JarPackage.TSS_TYPE__APPLICATION:
+                setApplication(APPLICATION_EDEFAULT);
+                return;
+            case JarPackage.TSS_TYPE__MODULE:
+                setModule(MODULE_EDEFAULT);
+                return;
+            case JarPackage.TSS_TYPE__NAME:
+                setName(NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.TSS_TYPE__DOMAIN:
+                return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+            case JarPackage.TSS_TYPE__SERVER:
+                return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+            case JarPackage.TSS_TYPE__APPLICATION:
+                return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+            case JarPackage.TSS_TYPE__MODULE:
+                return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+            case JarPackage.TSS_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(" (domain: ");
+        result.append(domain);
+        result.append(", server: ");
+        result.append(server);
+        result.append(", application: ");
+        result.append(application);
+        result.append(", module: ");
+        result.append(module);
+        result.append(", name: ");
+        result.append(name);
+        result.append(')');
+        return result.toString();
+    }
+
+} //TssTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/WebServiceSecurityTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,368 +1,368 @@
-/**
- * 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.openejb.xml.ns.openejb.jar.impl;
-
-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;
-
-import org.openejb.xml.ns.openejb.jar.JarPackage;
-import org.openejb.xml.ns.openejb.jar.TransportGuaranteeType;
-import org.openejb.xml.ns.openejb.jar.WebServiceSecurityType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Web Service Security Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getSecurityRealmName <em>Security Realm Name</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getRealmName <em>Realm Name</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getTransportGuarantee <em>Transport Guarantee</em>}</li>
- *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getAuthMethod <em>Auth Method</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class WebServiceSecurityTypeImpl extends EObjectImpl implements WebServiceSecurityType {
-    /**
-     * The default value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getSecurityRealmName()
-     * @generated
-     * @ordered
-     */
-    protected static final String SECURITY_REALM_NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getSecurityRealmName()
-     * @generated
-     * @ordered
-     */
-    protected String securityRealmName = SECURITY_REALM_NAME_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getRealmName()
-     * @generated
-     * @ordered
-     */
-    protected static final String REALM_NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getRealmName()
-     * @generated
-     * @ordered
-     */
-    protected String realmName = REALM_NAME_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getTransportGuarantee()
-     * @generated
-     * @ordered
-     */
-    protected static final TransportGuaranteeType TRANSPORT_GUARANTEE_EDEFAULT = TransportGuaranteeType.NONE_LITERAL;
-
-    /**
-     * The cached value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getTransportGuarantee()
-     * @generated
-     * @ordered
-     */
-    protected TransportGuaranteeType transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
-
-    /**
-     * This is true if the Transport Guarantee attribute has been set.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     * @ordered
-     */
-    protected boolean transportGuaranteeESet = false;
-
-    /**
-     * The default value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getAuthMethod()
-     * @generated
-     * @ordered
-     */
-    protected static final String AUTH_METHOD_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getAuthMethod()
-     * @generated
-     * @ordered
-     */
-    protected String authMethod = AUTH_METHOD_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected WebServiceSecurityTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return JarPackage.eINSTANCE.getWebServiceSecurityType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getSecurityRealmName() {
-        return securityRealmName;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setSecurityRealmName(String newSecurityRealmName) {
-        String oldSecurityRealmName = securityRealmName;
-        securityRealmName = newSecurityRealmName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME, oldSecurityRealmName, securityRealmName));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getRealmName() {
-        return realmName;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setRealmName(String newRealmName) {
-        String oldRealmName = realmName;
-        realmName = newRealmName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME, oldRealmName, realmName));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public TransportGuaranteeType getTransportGuarantee() {
-        return transportGuarantee;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setTransportGuarantee(TransportGuaranteeType newTransportGuarantee) {
-        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
-        transportGuarantee = newTransportGuarantee == null ? TRANSPORT_GUARANTEE_EDEFAULT : newTransportGuarantee;
-        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
-        transportGuaranteeESet = true;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, transportGuarantee, !oldTransportGuaranteeESet));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void unsetTransportGuarantee() {
-        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
-        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
-        transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
-        transportGuaranteeESet = false;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.UNSET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, TRANSPORT_GUARANTEE_EDEFAULT, oldTransportGuaranteeESet));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean isSetTransportGuarantee() {
-        return transportGuaranteeESet;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getAuthMethod() {
-        return authMethod;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setAuthMethod(String newAuthMethod) {
-        String oldAuthMethod = authMethod;
-        authMethod = newAuthMethod;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD, oldAuthMethod, authMethod));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
-                return getSecurityRealmName();
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
-                return getRealmName();
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
-                return getTransportGuarantee();
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
-                return getAuthMethod();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
-                setSecurityRealmName((String)newValue);
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
-                setRealmName((String)newValue);
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
-                setTransportGuarantee((TransportGuaranteeType)newValue);
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
-                setAuthMethod((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
-                setSecurityRealmName(SECURITY_REALM_NAME_EDEFAULT);
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
-                setRealmName(REALM_NAME_EDEFAULT);
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
-                unsetTransportGuarantee();
-                return;
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
-                setAuthMethod(AUTH_METHOD_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
-                return SECURITY_REALM_NAME_EDEFAULT == null ? securityRealmName != null : !SECURITY_REALM_NAME_EDEFAULT.equals(securityRealmName);
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
-                return REALM_NAME_EDEFAULT == null ? realmName != null : !REALM_NAME_EDEFAULT.equals(realmName);
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
-                return isSetTransportGuarantee();
-            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
-                return AUTH_METHOD_EDEFAULT == null ? authMethod != null : !AUTH_METHOD_EDEFAULT.equals(authMethod);
-        }
-        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(" (securityRealmName: ");
-        result.append(securityRealmName);
-        result.append(", realmName: ");
-        result.append(realmName);
-        result.append(", transportGuarantee: ");
-        if (transportGuaranteeESet) result.append(transportGuarantee); else result.append("<unset>");
-        result.append(", authMethod: ");
-        result.append(authMethod);
-        result.append(')');
-        return result.toString();
-    }
-
-} //WebServiceSecurityTypeImpl
+/**
+ * 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.openejb.xml.ns.openejb.jar.impl;
+
+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;
+
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+import org.openejb.xml.ns.openejb.jar.TransportGuaranteeType;
+import org.openejb.xml.ns.openejb.jar.WebServiceSecurityType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Web Service Security Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getSecurityRealmName <em>Security Realm Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getRealmName <em>Realm Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getTransportGuarantee <em>Transport Guarantee</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.WebServiceSecurityTypeImpl#getAuthMethod <em>Auth Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class WebServiceSecurityTypeImpl extends EObjectImpl implements WebServiceSecurityType {
+    /**
+     * The default value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSecurityRealmName()
+     * @generated
+     * @ordered
+     */
+    protected static final String SECURITY_REALM_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getSecurityRealmName() <em>Security Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSecurityRealmName()
+     * @generated
+     * @ordered
+     */
+    protected String securityRealmName = SECURITY_REALM_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected static final String REALM_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getRealmName() <em>Realm Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getRealmName()
+     * @generated
+     * @ordered
+     */
+    protected String realmName = REALM_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTransportGuarantee()
+     * @generated
+     * @ordered
+     */
+    protected static final TransportGuaranteeType TRANSPORT_GUARANTEE_EDEFAULT = TransportGuaranteeType.NONE_LITERAL;
+
+    /**
+     * The cached value of the '{@link #getTransportGuarantee() <em>Transport Guarantee</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTransportGuarantee()
+     * @generated
+     * @ordered
+     */
+    protected TransportGuaranteeType transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
+
+    /**
+     * This is true if the Transport Guarantee attribute has been set.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     * @ordered
+     */
+    protected boolean transportGuaranteeESet = false;
+
+    /**
+     * The default value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAuthMethod()
+     * @generated
+     * @ordered
+     */
+    protected static final String AUTH_METHOD_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getAuthMethod() <em>Auth Method</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getAuthMethod()
+     * @generated
+     * @ordered
+     */
+    protected String authMethod = AUTH_METHOD_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected WebServiceSecurityTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getWebServiceSecurityType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getSecurityRealmName() {
+        return securityRealmName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setSecurityRealmName(String newSecurityRealmName) {
+        String oldSecurityRealmName = securityRealmName;
+        securityRealmName = newSecurityRealmName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME, oldSecurityRealmName, securityRealmName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getRealmName() {
+        return realmName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setRealmName(String newRealmName) {
+        String oldRealmName = realmName;
+        realmName = newRealmName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME, oldRealmName, realmName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public TransportGuaranteeType getTransportGuarantee() {
+        return transportGuarantee;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTransportGuarantee(TransportGuaranteeType newTransportGuarantee) {
+        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
+        transportGuarantee = newTransportGuarantee == null ? TRANSPORT_GUARANTEE_EDEFAULT : newTransportGuarantee;
+        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
+        transportGuaranteeESet = true;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, transportGuarantee, !oldTransportGuaranteeESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void unsetTransportGuarantee() {
+        TransportGuaranteeType oldTransportGuarantee = transportGuarantee;
+        boolean oldTransportGuaranteeESet = transportGuaranteeESet;
+        transportGuarantee = TRANSPORT_GUARANTEE_EDEFAULT;
+        transportGuaranteeESet = false;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.UNSET, JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE, oldTransportGuarantee, TRANSPORT_GUARANTEE_EDEFAULT, oldTransportGuaranteeESet));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean isSetTransportGuarantee() {
+        return transportGuaranteeESet;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getAuthMethod() {
+        return authMethod;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setAuthMethod(String newAuthMethod) {
+        String oldAuthMethod = authMethod;
+        authMethod = newAuthMethod;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD, oldAuthMethod, authMethod));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                return getSecurityRealmName();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                return getRealmName();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                return getTransportGuarantee();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                return getAuthMethod();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                setSecurityRealmName((String)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                setRealmName((String)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                setTransportGuarantee((TransportGuaranteeType)newValue);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                setAuthMethod((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                setSecurityRealmName(SECURITY_REALM_NAME_EDEFAULT);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                setRealmName(REALM_NAME_EDEFAULT);
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                unsetTransportGuarantee();
+                return;
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                setAuthMethod(AUTH_METHOD_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__SECURITY_REALM_NAME:
+                return SECURITY_REALM_NAME_EDEFAULT == null ? securityRealmName != null : !SECURITY_REALM_NAME_EDEFAULT.equals(securityRealmName);
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__REALM_NAME:
+                return REALM_NAME_EDEFAULT == null ? realmName != null : !REALM_NAME_EDEFAULT.equals(realmName);
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__TRANSPORT_GUARANTEE:
+                return isSetTransportGuarantee();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE__AUTH_METHOD:
+                return AUTH_METHOD_EDEFAULT == null ? authMethod != null : !AUTH_METHOD_EDEFAULT.equals(authMethod);
+        }
+        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(" (securityRealmName: ");
+        result.append(securityRealmName);
+        result.append(", realmName: ");
+        result.append(realmName);
+        result.append(", transportGuarantee: ");
+        if (transportGuaranteeESet) result.append(transportGuarantee); else result.append("<unset>");
+        result.append(", authMethod: ");
+        result.append(authMethod);
+        result.append(')');
+        return result.toString();
+    }
+
+} //WebServiceSecurityTypeImpl

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