geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r239937 [68/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...
Date Wed, 24 Aug 2005 21:36:53 GMT
Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SqlGeneratorType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SqlGeneratorType.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SqlGeneratorType.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/SqlGeneratorType.java Wed Aug 24 14:34:34 2005
@@ -1,99 +1,99 @@
-/**
- * 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.pkgen;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Sql Generator Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <!-- begin-model-doc -->
- * 
- *                 Indicates that an arbitrary SQL statement should be used to
- *                 generate the next ID.
- *             
- * <!-- end-model-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql <em>Sql</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType <em>Return Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType()
- * @model extendedMetaData="name='sql-generatorType' kind='elementOnly'"
- * @generated
- */
-public interface SqlGeneratorType extends EObject {
-    /**
-     * Returns the value of the '<em><b>Sql</b></em>' attribute.
-     * <!-- begin-user-doc -->
-     * <p>
-     * If the meaning of the '<em>Sql</em>' attribute isn't clear,
-     * there really should be more of a description here...
-     * </p>
-     * <!-- end-user-doc -->
-     * @return the value of the '<em>Sql</em>' attribute.
-     * @see #setSql(String)
-     * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType_Sql()
-     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
-     *        extendedMetaData="kind='element' name='sql' namespace='##targetNamespace'"
-     * @generated
-     */
-    String getSql();
-
-    /**
-     * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql <em>Sql</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @param value the new value of the '<em>Sql</em>' attribute.
-     * @see #getSql()
-     * @generated
-     */
-    void setSql(String value);
-
-    /**
-     * Returns the value of the '<em><b>Return Type</b></em>' attribute.
-     * <!-- begin-user-doc -->
-     * <p>
-     * If the meaning of the '<em>Return Type</em>' attribute isn't clear,
-     * there really should be more of a description here...
-     * </p>
-     * <!-- end-user-doc -->
-     * @return the value of the '<em>Return Type</em>' attribute.
-     * @see #setReturnType(String)
-     * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType_ReturnType()
-     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
-     *        extendedMetaData="kind='element' name='return-type' namespace='##targetNamespace'"
-     * @generated
-     */
-    String getReturnType();
-
-    /**
-     * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType <em>Return Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @param value the new value of the '<em>Return Type</em>' attribute.
-     * @see #getReturnType()
-     * @generated
-     */
-    void setReturnType(String value);
-
-} // SqlGeneratorType
+/**
+ * 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.pkgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sql Generator Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * 
+ *                 Indicates that an arbitrary SQL statement should be used to
+ *                 generate the next ID.
+ *             
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql <em>Sql</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType <em>Return Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType()
+ * @model extendedMetaData="name='sql-generatorType' kind='elementOnly'"
+ * @generated
+ */
+public interface SqlGeneratorType extends EObject {
+    /**
+     * Returns the value of the '<em><b>Sql</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Sql</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Sql</em>' attribute.
+     * @see #setSql(String)
+     * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType_Sql()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+     *        extendedMetaData="kind='element' name='sql' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getSql();
+
+    /**
+     * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getSql <em>Sql</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Sql</em>' attribute.
+     * @see #getSql()
+     * @generated
+     */
+    void setSql(String value);
+
+    /**
+     * Returns the value of the '<em><b>Return Type</b></em>' attribute.
+     * <!-- begin-user-doc -->
+     * <p>
+     * If the meaning of the '<em>Return Type</em>' attribute isn't clear,
+     * there really should be more of a description here...
+     * </p>
+     * <!-- end-user-doc -->
+     * @return the value of the '<em>Return Type</em>' attribute.
+     * @see #setReturnType(String)
+     * @see org.openejb.xml.ns.pkgen.PkgenPackage#getSqlGeneratorType_ReturnType()
+     * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+     *        extendedMetaData="kind='element' name='return-type' namespace='##targetNamespace'"
+     * @generated
+     */
+    String getReturnType();
+
+    /**
+     * Sets the value of the '{@link org.openejb.xml.ns.pkgen.SqlGeneratorType#getReturnType <em>Return Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param value the new value of the '<em>Return Type</em>' attribute.
+     * @see #getReturnType()
+     * @generated
+     */
+    void setReturnType(String value);
+
+} // SqlGeneratorType

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/AutoIncrementTableTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/AutoIncrementTableTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/AutoIncrementTableTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/AutoIncrementTableTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,225 +1,225 @@
-/**
- * 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.pkgen.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.pkgen.AutoIncrementTableType;
-import org.openejb.xml.ns.pkgen.PkgenPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Auto Increment Table Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl#getSql <em>Sql</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl#getReturnType <em>Return Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AutoIncrementTableTypeImpl extends EObjectImpl implements AutoIncrementTableType {
-    /**
-     * The default value of the '{@link #getSql() <em>Sql</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getSql()
-     * @generated
-     * @ordered
-     */
-    protected static final String SQL_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getSql() <em>Sql</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getSql()
-     * @generated
-     * @ordered
-     */
-    protected String sql = SQL_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getReturnType()
-     * @generated
-     * @ordered
-     */
-    protected static final String RETURN_TYPE_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getReturnType()
-     * @generated
-     * @ordered
-     */
-    protected String returnType = RETURN_TYPE_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected AutoIncrementTableTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return PkgenPackage.eINSTANCE.getAutoIncrementTableType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getSql() {
-        return sql;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setSql(String newSql) {
-        String oldSql = sql;
-        sql = newSql;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL, oldSql, sql));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getReturnType() {
-        return returnType;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setReturnType(String newReturnType) {
-        String oldReturnType = returnType;
-        returnType = newReturnType;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE, oldReturnType, returnType));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
-                return getSql();
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
-                return getReturnType();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
-                setSql((String)newValue);
-                return;
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
-                setReturnType((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
-                setSql(SQL_EDEFAULT);
-                return;
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
-                setReturnType(RETURN_TYPE_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
-                return SQL_EDEFAULT == null ? sql != null : !SQL_EDEFAULT.equals(sql);
-            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
-                return RETURN_TYPE_EDEFAULT == null ? returnType != null : !RETURN_TYPE_EDEFAULT.equals(returnType);
-        }
-        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(" (sql: ");
-        result.append(sql);
-        result.append(", returnType: ");
-        result.append(returnType);
-        result.append(')');
-        return result.toString();
-    }
-
-} //AutoIncrementTableTypeImpl
+/**
+ * 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.pkgen.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.pkgen.AutoIncrementTableType;
+import org.openejb.xml.ns.pkgen.PkgenPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Auto Increment Table Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl#getSql <em>Sql</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.AutoIncrementTableTypeImpl#getReturnType <em>Return Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class AutoIncrementTableTypeImpl extends EObjectImpl implements AutoIncrementTableType {
+    /**
+     * The default value of the '{@link #getSql() <em>Sql</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSql()
+     * @generated
+     * @ordered
+     */
+    protected static final String SQL_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getSql() <em>Sql</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getSql()
+     * @generated
+     * @ordered
+     */
+    protected String sql = SQL_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getReturnType()
+     * @generated
+     * @ordered
+     */
+    protected static final String RETURN_TYPE_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getReturnType()
+     * @generated
+     * @ordered
+     */
+    protected String returnType = RETURN_TYPE_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected AutoIncrementTableTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return PkgenPackage.eINSTANCE.getAutoIncrementTableType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getSql() {
+        return sql;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setSql(String newSql) {
+        String oldSql = sql;
+        sql = newSql;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL, oldSql, sql));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getReturnType() {
+        return returnType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setReturnType(String newReturnType) {
+        String oldReturnType = returnType;
+        returnType = newReturnType;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE, oldReturnType, returnType));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
+                return getSql();
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
+                return getReturnType();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
+                setSql((String)newValue);
+                return;
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
+                setReturnType((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
+                setSql(SQL_EDEFAULT);
+                return;
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
+                setReturnType(RETURN_TYPE_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__SQL:
+                return SQL_EDEFAULT == null ? sql != null : !SQL_EDEFAULT.equals(sql);
+            case PkgenPackage.AUTO_INCREMENT_TABLE_TYPE__RETURN_TYPE:
+                return RETURN_TYPE_EDEFAULT == null ? returnType != null : !RETURN_TYPE_EDEFAULT.equals(returnType);
+        }
+        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(" (sql: ");
+        result.append(sql);
+        result.append(", returnType: ");
+        result.append(returnType);
+        result.append(')');
+        return result.toString();
+    }
+
+} //AutoIncrementTableTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/CustomGeneratorTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/CustomGeneratorTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/CustomGeneratorTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/CustomGeneratorTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,225 +1,225 @@
-/**
- * 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.pkgen.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.pkgen.CustomGeneratorType;
-import org.openejb.xml.ns.pkgen.PkgenPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Custom Generator Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl#getGeneratorName <em>Generator Name</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl#getPrimaryKeyClass <em>Primary Key Class</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CustomGeneratorTypeImpl extends EObjectImpl implements CustomGeneratorType {
-    /**
-     * The default value of the '{@link #getGeneratorName() <em>Generator Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGeneratorName()
-     * @generated
-     * @ordered
-     */
-    protected static final String GENERATOR_NAME_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getGeneratorName() <em>Generator Name</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getGeneratorName()
-     * @generated
-     * @ordered
-     */
-    protected String generatorName = GENERATOR_NAME_EDEFAULT;
-
-    /**
-     * The default value of the '{@link #getPrimaryKeyClass() <em>Primary Key Class</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getPrimaryKeyClass()
-     * @generated
-     * @ordered
-     */
-    protected static final String PRIMARY_KEY_CLASS_EDEFAULT = null;
-
-    /**
-     * The cached value of the '{@link #getPrimaryKeyClass() <em>Primary Key Class</em>}' attribute.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getPrimaryKeyClass()
-     * @generated
-     * @ordered
-     */
-    protected String primaryKeyClass = PRIMARY_KEY_CLASS_EDEFAULT;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected CustomGeneratorTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return PkgenPackage.eINSTANCE.getCustomGeneratorType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getGeneratorName() {
-        return generatorName;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setGeneratorName(String newGeneratorName) {
-        String oldGeneratorName = generatorName;
-        generatorName = newGeneratorName;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME, oldGeneratorName, generatorName));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String getPrimaryKeyClass() {
-        return primaryKeyClass;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setPrimaryKeyClass(String newPrimaryKeyClass) {
-        String oldPrimaryKeyClass = primaryKeyClass;
-        primaryKeyClass = newPrimaryKeyClass;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS, oldPrimaryKeyClass, primaryKeyClass));
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
-                return getGeneratorName();
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
-                return getPrimaryKeyClass();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
-                setGeneratorName((String)newValue);
-                return;
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
-                setPrimaryKeyClass((String)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
-                setGeneratorName(GENERATOR_NAME_EDEFAULT);
-                return;
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
-                setPrimaryKeyClass(PRIMARY_KEY_CLASS_EDEFAULT);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
-                return GENERATOR_NAME_EDEFAULT == null ? generatorName != null : !GENERATOR_NAME_EDEFAULT.equals(generatorName);
-            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
-                return PRIMARY_KEY_CLASS_EDEFAULT == null ? primaryKeyClass != null : !PRIMARY_KEY_CLASS_EDEFAULT.equals(primaryKeyClass);
-        }
-        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(" (generatorName: ");
-        result.append(generatorName);
-        result.append(", primaryKeyClass: ");
-        result.append(primaryKeyClass);
-        result.append(')');
-        return result.toString();
-    }
-
-} //CustomGeneratorTypeImpl
+/**
+ * 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.pkgen.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.pkgen.CustomGeneratorType;
+import org.openejb.xml.ns.pkgen.PkgenPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Custom Generator Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl#getGeneratorName <em>Generator Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.CustomGeneratorTypeImpl#getPrimaryKeyClass <em>Primary Key Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CustomGeneratorTypeImpl extends EObjectImpl implements CustomGeneratorType {
+    /**
+     * The default value of the '{@link #getGeneratorName() <em>Generator Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGeneratorName()
+     * @generated
+     * @ordered
+     */
+    protected static final String GENERATOR_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getGeneratorName() <em>Generator Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGeneratorName()
+     * @generated
+     * @ordered
+     */
+    protected String generatorName = GENERATOR_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getPrimaryKeyClass() <em>Primary Key Class</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrimaryKeyClass()
+     * @generated
+     * @ordered
+     */
+    protected static final String PRIMARY_KEY_CLASS_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getPrimaryKeyClass() <em>Primary Key Class</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrimaryKeyClass()
+     * @generated
+     * @ordered
+     */
+    protected String primaryKeyClass = PRIMARY_KEY_CLASS_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected CustomGeneratorTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return PkgenPackage.eINSTANCE.getCustomGeneratorType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGeneratorName() {
+        return generatorName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGeneratorName(String newGeneratorName) {
+        String oldGeneratorName = generatorName;
+        generatorName = newGeneratorName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME, oldGeneratorName, generatorName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getPrimaryKeyClass() {
+        return primaryKeyClass;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setPrimaryKeyClass(String newPrimaryKeyClass) {
+        String oldPrimaryKeyClass = primaryKeyClass;
+        primaryKeyClass = newPrimaryKeyClass;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS, oldPrimaryKeyClass, primaryKeyClass));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
+                return getGeneratorName();
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
+                return getPrimaryKeyClass();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
+                setGeneratorName((String)newValue);
+                return;
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
+                setPrimaryKeyClass((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
+                setGeneratorName(GENERATOR_NAME_EDEFAULT);
+                return;
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
+                setPrimaryKeyClass(PRIMARY_KEY_CLASS_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__GENERATOR_NAME:
+                return GENERATOR_NAME_EDEFAULT == null ? generatorName != null : !GENERATOR_NAME_EDEFAULT.equals(generatorName);
+            case PkgenPackage.CUSTOM_GENERATOR_TYPE__PRIMARY_KEY_CLASS:
+                return PRIMARY_KEY_CLASS_EDEFAULT == null ? primaryKeyClass != null : !PRIMARY_KEY_CLASS_EDEFAULT.equals(primaryKeyClass);
+        }
+        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(" (generatorName: ");
+        result.append(generatorName);
+        result.append(", primaryKeyClass: ");
+        result.append(primaryKeyClass);
+        result.append(')');
+        return result.toString();
+    }
+
+} //CustomGeneratorTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DatabaseGeneratedTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DatabaseGeneratedTypeImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DatabaseGeneratedTypeImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DatabaseGeneratedTypeImpl.java Wed Aug 24 14:34:34 2005
@@ -1,156 +1,156 @@
-/**
- * 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.pkgen.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-
-import org.openejb.xml.ns.pkgen.DatabaseGeneratedType;
-import org.openejb.xml.ns.pkgen.PkgenPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Database Generated Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.DatabaseGeneratedTypeImpl#getIdentityColumn <em>Identity Column</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DatabaseGeneratedTypeImpl extends EObjectImpl implements DatabaseGeneratedType {
-    /**
-     * The cached value of the '{@link #getIdentityColumn() <em>Identity Column</em>}' attribute list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getIdentityColumn()
-     * @generated
-     * @ordered
-     */
-    protected EList identityColumn = null;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected DatabaseGeneratedTypeImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return PkgenPackage.eINSTANCE.getDatabaseGeneratedType();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EList getIdentityColumn() {
-        if (identityColumn == null) {
-            identityColumn = new EDataTypeEList(String.class, this, PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN);
-        }
-        return identityColumn;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
-                return getIdentityColumn();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
-                getIdentityColumn().clear();
-                getIdentityColumn().addAll((Collection)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
-                getIdentityColumn().clear();
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
-                return identityColumn != null && !identityColumn.isEmpty();
-        }
-        return eDynamicIsSet(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public String toString() {
-        if (eIsProxy()) return super.toString();
-
-        StringBuffer result = new StringBuffer(super.toString());
-        result.append(" (identityColumn: ");
-        result.append(identityColumn);
-        result.append(')');
-        return result.toString();
-    }
-
-} //DatabaseGeneratedTypeImpl
+/**
+ * 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.pkgen.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+import org.openejb.xml.ns.pkgen.DatabaseGeneratedType;
+import org.openejb.xml.ns.pkgen.PkgenPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Database Generated Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.DatabaseGeneratedTypeImpl#getIdentityColumn <em>Identity Column</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DatabaseGeneratedTypeImpl extends EObjectImpl implements DatabaseGeneratedType {
+    /**
+     * The cached value of the '{@link #getIdentityColumn() <em>Identity Column</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getIdentityColumn()
+     * @generated
+     * @ordered
+     */
+    protected EList identityColumn = null;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DatabaseGeneratedTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return PkgenPackage.eINSTANCE.getDatabaseGeneratedType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getIdentityColumn() {
+        if (identityColumn == null) {
+            identityColumn = new EDataTypeEList(String.class, this, PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN);
+        }
+        return identityColumn;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
+                return getIdentityColumn();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
+                getIdentityColumn().clear();
+                getIdentityColumn().addAll((Collection)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
+                getIdentityColumn().clear();
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DATABASE_GENERATED_TYPE__IDENTITY_COLUMN:
+                return identityColumn != null && !identityColumn.isEmpty();
+        }
+        return eDynamicIsSet(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String toString() {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (identityColumn: ");
+        result.append(identityColumn);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DatabaseGeneratedTypeImpl

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

Modified: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DocumentRootImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DocumentRootImpl.java?rev=239937&r1=239936&r2=239937&view=diff
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DocumentRootImpl.java (original)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/pkgen/impl/DocumentRootImpl.java Wed Aug 24 14:34:34 2005
@@ -1,294 +1,294 @@
-/**
- * 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.pkgen.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.openejb.xml.ns.pkgen.DocumentRoot;
-import org.openejb.xml.ns.pkgen.KeyGeneratorType;
-import org.openejb.xml.ns.pkgen.PkgenPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getKeyGenerator <em>Key Generator</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
-    /**
-     * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getMixed()
-     * @generated
-     * @ordered
-     */
-    protected FeatureMap mixed = null;
-
-    /**
-     * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getXMLNSPrefixMap()
-     * @generated
-     * @ordered
-     */
-    protected EMap xMLNSPrefixMap = null;
-
-    /**
-     * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @see #getXSISchemaLocation()
-     * @generated
-     * @ordered
-     */
-    protected EMap xSISchemaLocation = null;
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected DocumentRootImpl() {
-        super();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    protected EClass eStaticClass() {
-        return PkgenPackage.eINSTANCE.getDocumentRoot();
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public FeatureMap getMixed() {
-        if (mixed == null) {
-            mixed = new BasicFeatureMap(this, PkgenPackage.DOCUMENT_ROOT__MIXED);
-        }
-        return mixed;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EMap getXMLNSPrefixMap() {
-        if (xMLNSPrefixMap == null) {
-            xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
-        }
-        return xMLNSPrefixMap;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public EMap getXSISchemaLocation() {
-        if (xSISchemaLocation == null) {
-            xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
-        }
-        return xSISchemaLocation;
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public KeyGeneratorType getKeyGenerator() {
-        return (KeyGeneratorType)getMixed().get(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), true);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public NotificationChain basicSetKeyGenerator(KeyGeneratorType newKeyGenerator, NotificationChain msgs) {
-        return ((FeatureMap.Internal)getMixed()).basicAdd(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), newKeyGenerator, msgs);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void setKeyGenerator(KeyGeneratorType newKeyGenerator) {
-        ((FeatureMap.Internal)getMixed()).set(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), newKeyGenerator);
-    }
-
-    /**
-     * <!-- 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 PkgenPackage.DOCUMENT_ROOT__MIXED:
-                    return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
-                case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
-                    return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
-                case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
-                    return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
-                case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
-                    return basicSetKeyGenerator(null, 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 PkgenPackage.DOCUMENT_ROOT__MIXED:
-                return getMixed();
-            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
-                return getXMLNSPrefixMap();
-            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
-                return getXSISchemaLocation();
-            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
-                return getKeyGenerator();
-        }
-        return eDynamicGet(eFeature, resolve);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eSet(EStructuralFeature eFeature, Object newValue) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DOCUMENT_ROOT__MIXED:
-                getMixed().clear();
-                getMixed().addAll((Collection)newValue);
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
-                getXMLNSPrefixMap().clear();
-                getXMLNSPrefixMap().addAll((Collection)newValue);
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
-                getXSISchemaLocation().clear();
-                getXSISchemaLocation().addAll((Collection)newValue);
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
-                setKeyGenerator((KeyGeneratorType)newValue);
-                return;
-        }
-        eDynamicSet(eFeature, newValue);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public void eUnset(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DOCUMENT_ROOT__MIXED:
-                getMixed().clear();
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
-                getXMLNSPrefixMap().clear();
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
-                getXSISchemaLocation().clear();
-                return;
-            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
-                setKeyGenerator((KeyGeneratorType)null);
-                return;
-        }
-        eDynamicUnset(eFeature);
-    }
-
-    /**
-     * <!-- begin-user-doc -->
-     * <!-- end-user-doc -->
-     * @generated
-     */
-    public boolean eIsSet(EStructuralFeature eFeature) {
-        switch (eDerivedStructuralFeatureID(eFeature)) {
-            case PkgenPackage.DOCUMENT_ROOT__MIXED:
-                return mixed != null && !mixed.isEmpty();
-            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
-                return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
-            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
-                return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
-            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
-                return getKeyGenerator() != null;
-        }
-        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(" (mixed: ");
-        result.append(mixed);
-        result.append(')');
-        return result.toString();
-    }
-
-} //DocumentRootImpl
+/**
+ * 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.pkgen.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.openejb.xml.ns.pkgen.DocumentRoot;
+import org.openejb.xml.ns.pkgen.KeyGeneratorType;
+import org.openejb.xml.ns.pkgen.PkgenPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.pkgen.impl.DocumentRootImpl#getKeyGenerator <em>Key Generator</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+    /**
+     * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getMixed()
+     * @generated
+     * @ordered
+     */
+    protected FeatureMap mixed = null;
+
+    /**
+     * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getXMLNSPrefixMap()
+     * @generated
+     * @ordered
+     */
+    protected EMap xMLNSPrefixMap = null;
+
+    /**
+     * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getXSISchemaLocation()
+     * @generated
+     * @ordered
+     */
+    protected EMap xSISchemaLocation = null;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DocumentRootImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return PkgenPackage.eINSTANCE.getDocumentRoot();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public FeatureMap getMixed() {
+        if (mixed == null) {
+            mixed = new BasicFeatureMap(this, PkgenPackage.DOCUMENT_ROOT__MIXED);
+        }
+        return mixed;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EMap getXMLNSPrefixMap() {
+        if (xMLNSPrefixMap == null) {
+            xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+        }
+        return xMLNSPrefixMap;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EMap getXSISchemaLocation() {
+        if (xSISchemaLocation == null) {
+            xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+        }
+        return xSISchemaLocation;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public KeyGeneratorType getKeyGenerator() {
+        return (KeyGeneratorType)getMixed().get(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), true);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetKeyGenerator(KeyGeneratorType newKeyGenerator, NotificationChain msgs) {
+        return ((FeatureMap.Internal)getMixed()).basicAdd(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), newKeyGenerator, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setKeyGenerator(KeyGeneratorType newKeyGenerator) {
+        ((FeatureMap.Internal)getMixed()).set(PkgenPackage.eINSTANCE.getDocumentRoot_KeyGenerator(), newKeyGenerator);
+    }
+
+    /**
+     * <!-- 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 PkgenPackage.DOCUMENT_ROOT__MIXED:
+                    return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
+                case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+                    return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+                case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+                    return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+                case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
+                    return basicSetKeyGenerator(null, 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 PkgenPackage.DOCUMENT_ROOT__MIXED:
+                return getMixed();
+            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+                return getXMLNSPrefixMap();
+            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+                return getXSISchemaLocation();
+            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
+                return getKeyGenerator();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DOCUMENT_ROOT__MIXED:
+                getMixed().clear();
+                getMixed().addAll((Collection)newValue);
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+                getXMLNSPrefixMap().clear();
+                getXMLNSPrefixMap().addAll((Collection)newValue);
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+                getXSISchemaLocation().clear();
+                getXSISchemaLocation().addAll((Collection)newValue);
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
+                setKeyGenerator((KeyGeneratorType)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DOCUMENT_ROOT__MIXED:
+                getMixed().clear();
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+                getXMLNSPrefixMap().clear();
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+                getXSISchemaLocation().clear();
+                return;
+            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
+                setKeyGenerator((KeyGeneratorType)null);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case PkgenPackage.DOCUMENT_ROOT__MIXED:
+                return mixed != null && !mixed.isEmpty();
+            case PkgenPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+                return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+            case PkgenPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+                return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+            case PkgenPackage.DOCUMENT_ROOT__KEY_GENERATOR:
+                return getKeyGenerator() != null;
+        }
+        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(" (mixed: ");
+        result.append(mixed);
+        result.append(')');
+        return result.toString();
+    }
+
+} //DocumentRootImpl

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



Mime
View raw message