geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r233071 [14/22] - in /geronimo/trunk/sandbox/eclipse-plugin: org.apache.geronimo.core/ org.apache.geronimo.core/src/org/apache/geronimo/core/internal/ org.apache.geronimo.deployment.model/META-INF/ org.apache.geronimo.deployment.model/emf/ ...
Date Tue, 16 Aug 2005 22:40:54 GMT
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityBeanTypeImpl.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/EntityBeanTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityBeanTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityBeanTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,1000 @@
+/**
+ * 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 java.util.Collection;
+
+import org.apache.geronimo.xml.ns.naming.EjbLocalRefType;
+import org.apache.geronimo.xml.ns.naming.EjbRefType;
+import org.apache.geronimo.xml.ns.naming.ResourceEnvRefType;
+import org.apache.geronimo.xml.ns.naming.ResourceRefType;
+import org.apache.geronimo.xml.ns.naming.ServiceRefType;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.openejb.xml.ns.openejb.jar.CmpFieldMappingType;
+import org.openejb.xml.ns.openejb.jar.EntityBeanType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+import org.openejb.xml.ns.openejb.jar.PrefetchGroupType;
+import org.openejb.xml.ns.openejb.jar.QueryType;
+import org.openejb.xml.ns.openejb.jar.TssType;
+
+import org.openejb.xml.ns.pkgen.KeyGeneratorType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Entity Bean Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getEjbName <em>Ejb Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getJndiName <em>Jndi Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getLocalJndiName <em>Local Jndi Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getTssTargetName <em>Tss Target Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getTssLink <em>Tss Link</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getTss <em>Tss</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getTableName <em>Table Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getCmpFieldMapping <em>Cmp Field Mapping</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getPrimkeyField <em>Primkey Field</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getKeyGenerator <em>Key Generator</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getPrefetchGroup <em>Prefetch Group</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getEjbRef <em>Ejb Ref</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getEjbLocalRef <em>Ejb Local Ref</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getServiceRef <em>Service Ref</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getResourceRef <em>Resource Ref</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getResourceEnvRef <em>Resource Env Ref</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getQuery <em>Query</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityBeanTypeImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EntityBeanTypeImpl extends EObjectImpl implements EntityBeanType {
+    /**
+     * The default value of the '{@link #getEjbName() <em>Ejb Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getEjbName()
+     * @generated
+     * @ordered
+     */
+    protected static final String EJB_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getEjbName() <em>Ejb Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getEjbName()
+     * @generated
+     * @ordered
+     */
+    protected String ejbName = EJB_NAME_EDEFAULT;
+
+    /**
+     * The cached value of the '{@link #getJndiName() <em>Jndi Name</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJndiName()
+     * @generated
+     * @ordered
+     */
+    protected EList jndiName = null;
+
+    /**
+     * The cached value of the '{@link #getLocalJndiName() <em>Local Jndi Name</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getLocalJndiName()
+     * @generated
+     * @ordered
+     */
+    protected EList localJndiName = null;
+
+    /**
+     * The default value of the '{@link #getTssTargetName() <em>Tss Target Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTssTargetName()
+     * @generated
+     * @ordered
+     */
+    protected static final String TSS_TARGET_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getTssTargetName() <em>Tss Target Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTssTargetName()
+     * @generated
+     * @ordered
+     */
+    protected String tssTargetName = TSS_TARGET_NAME_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getTssLink() <em>Tss Link</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTssLink()
+     * @generated
+     * @ordered
+     */
+    protected static final String TSS_LINK_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getTssLink() <em>Tss Link</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTssLink()
+     * @generated
+     * @ordered
+     */
+    protected String tssLink = TSS_LINK_EDEFAULT;
+
+    /**
+     * The cached value of the '{@link #getTss() <em>Tss</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTss()
+     * @generated
+     * @ordered
+     */
+    protected TssType tss = null;
+
+    /**
+     * The default value of the '{@link #getTableName() <em>Table Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTableName()
+     * @generated
+     * @ordered
+     */
+    protected static final String TABLE_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getTableName() <em>Table Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getTableName()
+     * @generated
+     * @ordered
+     */
+    protected String tableName = TABLE_NAME_EDEFAULT;
+
+    /**
+     * The cached value of the '{@link #getCmpFieldMapping() <em>Cmp Field Mapping</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getCmpFieldMapping()
+     * @generated
+     * @ordered
+     */
+    protected EList cmpFieldMapping = null;
+
+    /**
+     * The default value of the '{@link #getPrimkeyField() <em>Primkey Field</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrimkeyField()
+     * @generated
+     * @ordered
+     */
+    protected static final String PRIMKEY_FIELD_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getPrimkeyField() <em>Primkey Field</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrimkeyField()
+     * @generated
+     * @ordered
+     */
+    protected String primkeyField = PRIMKEY_FIELD_EDEFAULT;
+
+    /**
+     * The cached value of the '{@link #getKeyGenerator() <em>Key Generator</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getKeyGenerator()
+     * @generated
+     * @ordered
+     */
+    protected KeyGeneratorType keyGenerator = null;
+
+    /**
+     * The cached value of the '{@link #getPrefetchGroup() <em>Prefetch Group</em>}' containment reference.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getPrefetchGroup()
+     * @generated
+     * @ordered
+     */
+    protected PrefetchGroupType prefetchGroup = null;
+
+    /**
+     * The cached value of the '{@link #getEjbRef() <em>Ejb Ref</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getEjbRef()
+     * @generated
+     * @ordered
+     */
+    protected EList ejbRef = null;
+
+    /**
+     * The cached value of the '{@link #getEjbLocalRef() <em>Ejb Local Ref</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getEjbLocalRef()
+     * @generated
+     * @ordered
+     */
+    protected EList ejbLocalRef = null;
+
+    /**
+     * The cached value of the '{@link #getServiceRef() <em>Service Ref</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getServiceRef()
+     * @generated
+     * @ordered
+     */
+    protected EList serviceRef = null;
+
+    /**
+     * The cached value of the '{@link #getResourceRef() <em>Resource Ref</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getResourceRef()
+     * @generated
+     * @ordered
+     */
+    protected EList resourceRef = null;
+
+    /**
+     * The cached value of the '{@link #getResourceEnvRef() <em>Resource Env Ref</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getResourceEnvRef()
+     * @generated
+     * @ordered
+     */
+    protected EList resourceEnvRef = null;
+
+    /**
+     * The cached value of the '{@link #getQuery() <em>Query</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getQuery()
+     * @generated
+     * @ordered
+     */
+    protected EList query = null;
+
+    /**
+     * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getId()
+     * @generated
+     * @ordered
+     */
+    protected static final String ID_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getId()
+     * @generated
+     * @ordered
+     */
+    protected String id = ID_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EntityBeanTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getEntityBeanType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getEjbName() {
+        return ejbName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setEjbName(String newEjbName) {
+        String oldEjbName = ejbName;
+        ejbName = newEjbName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__EJB_NAME, oldEjbName, ejbName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getJndiName() {
+        if (jndiName == null) {
+            jndiName = new EDataTypeEList(String.class, this, JarPackage.ENTITY_BEAN_TYPE__JNDI_NAME);
+        }
+        return jndiName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getLocalJndiName() {
+        if (localJndiName == null) {
+            localJndiName = new EDataTypeEList(String.class, this, JarPackage.ENTITY_BEAN_TYPE__LOCAL_JNDI_NAME);
+        }
+        return localJndiName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getTssTargetName() {
+        return tssTargetName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTssTargetName(String newTssTargetName) {
+        String oldTssTargetName = tssTargetName;
+        tssTargetName = newTssTargetName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__TSS_TARGET_NAME, oldTssTargetName, tssTargetName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getTssLink() {
+        return tssLink;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTssLink(String newTssLink) {
+        String oldTssLink = tssLink;
+        tssLink = newTssLink;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__TSS_LINK, oldTssLink, tssLink));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public TssType getTss() {
+        return tss;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetTss(TssType newTss, NotificationChain msgs) {
+        TssType oldTss = tss;
+        tss = newTss;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__TSS, oldTss, newTss);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTss(TssType newTss) {
+        if (newTss != tss) {
+            NotificationChain msgs = null;
+            if (tss != null)
+                msgs = ((InternalEObject)tss).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__TSS, null, msgs);
+            if (newTss != null)
+                msgs = ((InternalEObject)newTss).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__TSS, null, msgs);
+            msgs = basicSetTss(newTss, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__TSS, newTss, newTss));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getTableName() {
+        return tableName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setTableName(String newTableName) {
+        String oldTableName = tableName;
+        tableName = newTableName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__TABLE_NAME, oldTableName, tableName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getCmpFieldMapping() {
+        if (cmpFieldMapping == null) {
+            cmpFieldMapping = new EObjectContainmentEList(CmpFieldMappingType.class, this, JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING);
+        }
+        return cmpFieldMapping;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getPrimkeyField() {
+        return primkeyField;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setPrimkeyField(String newPrimkeyField) {
+        String oldPrimkeyField = primkeyField;
+        primkeyField = newPrimkeyField;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__PRIMKEY_FIELD, oldPrimkeyField, primkeyField));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public KeyGeneratorType getKeyGenerator() {
+        return keyGenerator;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetKeyGenerator(KeyGeneratorType newKeyGenerator, NotificationChain msgs) {
+        KeyGeneratorType oldKeyGenerator = keyGenerator;
+        keyGenerator = newKeyGenerator;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR, oldKeyGenerator, newKeyGenerator);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setKeyGenerator(KeyGeneratorType newKeyGenerator) {
+        if (newKeyGenerator != keyGenerator) {
+            NotificationChain msgs = null;
+            if (keyGenerator != null)
+                msgs = ((InternalEObject)keyGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR, null, msgs);
+            if (newKeyGenerator != null)
+                msgs = ((InternalEObject)newKeyGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR, null, msgs);
+            msgs = basicSetKeyGenerator(newKeyGenerator, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR, newKeyGenerator, newKeyGenerator));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PrefetchGroupType getPrefetchGroup() {
+        return prefetchGroup;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public NotificationChain basicSetPrefetchGroup(PrefetchGroupType newPrefetchGroup, NotificationChain msgs) {
+        PrefetchGroupType oldPrefetchGroup = prefetchGroup;
+        prefetchGroup = newPrefetchGroup;
+        if (eNotificationRequired()) {
+            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP, oldPrefetchGroup, newPrefetchGroup);
+            if (msgs == null) msgs = notification; else msgs.add(notification);
+        }
+        return msgs;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setPrefetchGroup(PrefetchGroupType newPrefetchGroup) {
+        if (newPrefetchGroup != prefetchGroup) {
+            NotificationChain msgs = null;
+            if (prefetchGroup != null)
+                msgs = ((InternalEObject)prefetchGroup).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP, null, msgs);
+            if (newPrefetchGroup != null)
+                msgs = ((InternalEObject)newPrefetchGroup).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP, null, msgs);
+            msgs = basicSetPrefetchGroup(newPrefetchGroup, msgs);
+            if (msgs != null) msgs.dispatch();
+        }
+        else if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP, newPrefetchGroup, newPrefetchGroup));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getEjbRef() {
+        if (ejbRef == null) {
+            ejbRef = new EObjectContainmentEList(EjbRefType.class, this, JarPackage.ENTITY_BEAN_TYPE__EJB_REF);
+        }
+        return ejbRef;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getEjbLocalRef() {
+        if (ejbLocalRef == null) {
+            ejbLocalRef = new EObjectContainmentEList(EjbLocalRefType.class, this, JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF);
+        }
+        return ejbLocalRef;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getServiceRef() {
+        if (serviceRef == null) {
+            serviceRef = new EObjectContainmentEList(ServiceRefType.class, this, JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF);
+        }
+        return serviceRef;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getResourceRef() {
+        if (resourceRef == null) {
+            resourceRef = new EObjectContainmentEList(ResourceRefType.class, this, JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF);
+        }
+        return resourceRef;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getResourceEnvRef() {
+        if (resourceEnvRef == null) {
+            resourceEnvRef = new EObjectContainmentEList(ResourceEnvRefType.class, this, JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF);
+        }
+        return resourceEnvRef;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getQuery() {
+        if (query == null) {
+            query = new EObjectContainmentEList(QueryType.class, this, JarPackage.ENTITY_BEAN_TYPE__QUERY);
+        }
+        return query;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setId(String newId) {
+        String oldId = id;
+        id = newId;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_BEAN_TYPE__ID, oldId, id));
+    }
+
+    /**
+     * <!-- 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 JarPackage.ENTITY_BEAN_TYPE__TSS:
+                    return basicSetTss(null, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING:
+                    return ((InternalEList)getCmpFieldMapping()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR:
+                    return basicSetKeyGenerator(null, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP:
+                    return basicSetPrefetchGroup(null, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__EJB_REF:
+                    return ((InternalEList)getEjbRef()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF:
+                    return ((InternalEList)getEjbLocalRef()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF:
+                    return ((InternalEList)getServiceRef()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF:
+                    return ((InternalEList)getResourceRef()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF:
+                    return ((InternalEList)getResourceEnvRef()).basicRemove(otherEnd, msgs);
+                case JarPackage.ENTITY_BEAN_TYPE__QUERY:
+                    return ((InternalEList)getQuery()).basicRemove(otherEnd, msgs);
+                default:
+                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+            }
+        }
+        return eBasicSetContainer(null, featureID, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_NAME:
+                return getEjbName();
+            case JarPackage.ENTITY_BEAN_TYPE__JNDI_NAME:
+                return getJndiName();
+            case JarPackage.ENTITY_BEAN_TYPE__LOCAL_JNDI_NAME:
+                return getLocalJndiName();
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_TARGET_NAME:
+                return getTssTargetName();
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_LINK:
+                return getTssLink();
+            case JarPackage.ENTITY_BEAN_TYPE__TSS:
+                return getTss();
+            case JarPackage.ENTITY_BEAN_TYPE__TABLE_NAME:
+                return getTableName();
+            case JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING:
+                return getCmpFieldMapping();
+            case JarPackage.ENTITY_BEAN_TYPE__PRIMKEY_FIELD:
+                return getPrimkeyField();
+            case JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR:
+                return getKeyGenerator();
+            case JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP:
+                return getPrefetchGroup();
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_REF:
+                return getEjbRef();
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF:
+                return getEjbLocalRef();
+            case JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF:
+                return getServiceRef();
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF:
+                return getResourceRef();
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF:
+                return getResourceEnvRef();
+            case JarPackage.ENTITY_BEAN_TYPE__QUERY:
+                return getQuery();
+            case JarPackage.ENTITY_BEAN_TYPE__ID:
+                return getId();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_NAME:
+                setEjbName((String)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__JNDI_NAME:
+                getJndiName().clear();
+                getJndiName().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__LOCAL_JNDI_NAME:
+                getLocalJndiName().clear();
+                getLocalJndiName().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_TARGET_NAME:
+                setTssTargetName((String)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_LINK:
+                setTssLink((String)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS:
+                setTss((TssType)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TABLE_NAME:
+                setTableName((String)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING:
+                getCmpFieldMapping().clear();
+                getCmpFieldMapping().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__PRIMKEY_FIELD:
+                setPrimkeyField((String)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR:
+                setKeyGenerator((KeyGeneratorType)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP:
+                setPrefetchGroup((PrefetchGroupType)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_REF:
+                getEjbRef().clear();
+                getEjbRef().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF:
+                getEjbLocalRef().clear();
+                getEjbLocalRef().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF:
+                getServiceRef().clear();
+                getServiceRef().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF:
+                getResourceRef().clear();
+                getResourceRef().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF:
+                getResourceEnvRef().clear();
+                getResourceEnvRef().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__QUERY:
+                getQuery().clear();
+                getQuery().addAll((Collection)newValue);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__ID:
+                setId((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_NAME:
+                setEjbName(EJB_NAME_EDEFAULT);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__JNDI_NAME:
+                getJndiName().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__LOCAL_JNDI_NAME:
+                getLocalJndiName().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_TARGET_NAME:
+                setTssTargetName(TSS_TARGET_NAME_EDEFAULT);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_LINK:
+                setTssLink(TSS_LINK_EDEFAULT);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TSS:
+                setTss((TssType)null);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__TABLE_NAME:
+                setTableName(TABLE_NAME_EDEFAULT);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING:
+                getCmpFieldMapping().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__PRIMKEY_FIELD:
+                setPrimkeyField(PRIMKEY_FIELD_EDEFAULT);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR:
+                setKeyGenerator((KeyGeneratorType)null);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP:
+                setPrefetchGroup((PrefetchGroupType)null);
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_REF:
+                getEjbRef().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF:
+                getEjbLocalRef().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF:
+                getServiceRef().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF:
+                getResourceRef().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF:
+                getResourceEnvRef().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__QUERY:
+                getQuery().clear();
+                return;
+            case JarPackage.ENTITY_BEAN_TYPE__ID:
+                setId(ID_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_NAME:
+                return EJB_NAME_EDEFAULT == null ? ejbName != null : !EJB_NAME_EDEFAULT.equals(ejbName);
+            case JarPackage.ENTITY_BEAN_TYPE__JNDI_NAME:
+                return jndiName != null && !jndiName.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__LOCAL_JNDI_NAME:
+                return localJndiName != null && !localJndiName.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_TARGET_NAME:
+                return TSS_TARGET_NAME_EDEFAULT == null ? tssTargetName != null : !TSS_TARGET_NAME_EDEFAULT.equals(tssTargetName);
+            case JarPackage.ENTITY_BEAN_TYPE__TSS_LINK:
+                return TSS_LINK_EDEFAULT == null ? tssLink != null : !TSS_LINK_EDEFAULT.equals(tssLink);
+            case JarPackage.ENTITY_BEAN_TYPE__TSS:
+                return tss != null;
+            case JarPackage.ENTITY_BEAN_TYPE__TABLE_NAME:
+                return TABLE_NAME_EDEFAULT == null ? tableName != null : !TABLE_NAME_EDEFAULT.equals(tableName);
+            case JarPackage.ENTITY_BEAN_TYPE__CMP_FIELD_MAPPING:
+                return cmpFieldMapping != null && !cmpFieldMapping.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__PRIMKEY_FIELD:
+                return PRIMKEY_FIELD_EDEFAULT == null ? primkeyField != null : !PRIMKEY_FIELD_EDEFAULT.equals(primkeyField);
+            case JarPackage.ENTITY_BEAN_TYPE__KEY_GENERATOR:
+                return keyGenerator != null;
+            case JarPackage.ENTITY_BEAN_TYPE__PREFETCH_GROUP:
+                return prefetchGroup != null;
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_REF:
+                return ejbRef != null && !ejbRef.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__EJB_LOCAL_REF:
+                return ejbLocalRef != null && !ejbLocalRef.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__SERVICE_REF:
+                return serviceRef != null && !serviceRef.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_REF:
+                return resourceRef != null && !resourceRef.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__RESOURCE_ENV_REF:
+                return resourceEnvRef != null && !resourceEnvRef.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__QUERY:
+                return query != null && !query.isEmpty();
+            case JarPackage.ENTITY_BEAN_TYPE__ID:
+                return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+        }
+        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(" (ejbName: ");
+        result.append(ejbName);
+        result.append(", jndiName: ");
+        result.append(jndiName);
+        result.append(", localJndiName: ");
+        result.append(localJndiName);
+        result.append(", tssTargetName: ");
+        result.append(tssTargetName);
+        result.append(", tssLink: ");
+        result.append(tssLink);
+        result.append(", tableName: ");
+        result.append(tableName);
+        result.append(", primkeyField: ");
+        result.append(primkeyField);
+        result.append(", id: ");
+        result.append(id);
+        result.append(')');
+        return result.toString();
+    }
+
+} //EntityBeanTypeImpl

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

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityGroupMappingTypeImpl.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/EntityGroupMappingTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityGroupMappingTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/EntityGroupMappingTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,171 @@
+/**
+ * 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.EntityGroupMappingType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Entity Group Mapping Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.EntityGroupMappingTypeImpl#getGroupName <em>Group Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EntityGroupMappingTypeImpl extends EObjectImpl implements EntityGroupMappingType {
+    /**
+     * The default value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupName()
+     * @generated
+     * @ordered
+     */
+    protected static final String GROUP_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupName()
+     * @generated
+     * @ordered
+     */
+    protected String groupName = GROUP_NAME_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EntityGroupMappingTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getEntityGroupMappingType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGroupName() {
+        return groupName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGroupName(String newGroupName) {
+        String oldGroupName = groupName;
+        groupName = newGroupName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ENTITY_GROUP_MAPPING_TYPE__GROUP_NAME, oldGroupName, groupName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE__GROUP_NAME:
+                return getGroupName();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE__GROUP_NAME:
+                setGroupName((String)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE__GROUP_NAME:
+                setGroupName(GROUP_NAME_EDEFAULT);
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE__GROUP_NAME:
+                return GROUP_NAME_EDEFAULT == null ? groupName != null : !GROUP_NAME_EDEFAULT.equals(groupName);
+        }
+        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(" (groupName: ");
+        result.append(groupName);
+        result.append(')');
+        return result.toString();
+    }
+
+} //EntityGroupMappingTypeImpl

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

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/GroupTypeImpl.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/GroupTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/GroupTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/GroupTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,269 @@
+/**
+ * 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 java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.openejb.xml.ns.openejb.jar.CmrFieldType1;
+import org.openejb.xml.ns.openejb.jar.GroupType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Group Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.GroupTypeImpl#getGroupName <em>Group Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.GroupTypeImpl#getCmpFieldName <em>Cmp Field Name</em>}</li>
+ *   <li>{@link org.openejb.xml.ns.openejb.jar.impl.GroupTypeImpl#getCmrField <em>Cmr Field</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GroupTypeImpl extends EObjectImpl implements GroupType {
+    /**
+     * The default value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupName()
+     * @generated
+     * @ordered
+     */
+    protected static final String GROUP_NAME_EDEFAULT = null;
+
+    /**
+     * The cached value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getGroupName()
+     * @generated
+     * @ordered
+     */
+    protected String groupName = GROUP_NAME_EDEFAULT;
+
+    /**
+     * The cached value of the '{@link #getCmpFieldName() <em>Cmp Field Name</em>}' attribute list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getCmpFieldName()
+     * @generated
+     * @ordered
+     */
+    protected EList cmpFieldName = null;
+
+    /**
+     * The cached value of the '{@link #getCmrField() <em>Cmr Field</em>}' containment reference list.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getCmrField()
+     * @generated
+     * @ordered
+     */
+    protected EList cmrField = null;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected GroupTypeImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected EClass eStaticClass() {
+        return JarPackage.eINSTANCE.getGroupType();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getGroupName() {
+        return groupName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setGroupName(String newGroupName) {
+        String oldGroupName = groupName;
+        groupName = newGroupName;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.GROUP_TYPE__GROUP_NAME, oldGroupName, groupName));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getCmpFieldName() {
+        if (cmpFieldName == null) {
+            cmpFieldName = new EDataTypeEList(String.class, this, JarPackage.GROUP_TYPE__CMP_FIELD_NAME);
+        }
+        return cmpFieldName;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EList getCmrField() {
+        if (cmrField == null) {
+            cmrField = new EObjectContainmentEList(CmrFieldType1.class, this, JarPackage.GROUP_TYPE__CMR_FIELD);
+        }
+        return cmrField;
+    }
+
+    /**
+     * <!-- 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 JarPackage.GROUP_TYPE__CMR_FIELD:
+                    return ((InternalEList)getCmrField()).basicRemove(otherEnd, msgs);
+                default:
+                    return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+            }
+        }
+        return eBasicSetContainer(null, featureID, msgs);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.GROUP_TYPE__GROUP_NAME:
+                return getGroupName();
+            case JarPackage.GROUP_TYPE__CMP_FIELD_NAME:
+                return getCmpFieldName();
+            case JarPackage.GROUP_TYPE__CMR_FIELD:
+                return getCmrField();
+        }
+        return eDynamicGet(eFeature, resolve);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eSet(EStructuralFeature eFeature, Object newValue) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.GROUP_TYPE__GROUP_NAME:
+                setGroupName((String)newValue);
+                return;
+            case JarPackage.GROUP_TYPE__CMP_FIELD_NAME:
+                getCmpFieldName().clear();
+                getCmpFieldName().addAll((Collection)newValue);
+                return;
+            case JarPackage.GROUP_TYPE__CMR_FIELD:
+                getCmrField().clear();
+                getCmrField().addAll((Collection)newValue);
+                return;
+        }
+        eDynamicSet(eFeature, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void eUnset(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.GROUP_TYPE__GROUP_NAME:
+                setGroupName(GROUP_NAME_EDEFAULT);
+                return;
+            case JarPackage.GROUP_TYPE__CMP_FIELD_NAME:
+                getCmpFieldName().clear();
+                return;
+            case JarPackage.GROUP_TYPE__CMR_FIELD:
+                getCmrField().clear();
+                return;
+        }
+        eDynamicUnset(eFeature);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public boolean eIsSet(EStructuralFeature eFeature) {
+        switch (eDerivedStructuralFeatureID(eFeature)) {
+            case JarPackage.GROUP_TYPE__GROUP_NAME:
+                return GROUP_NAME_EDEFAULT == null ? groupName != null : !GROUP_NAME_EDEFAULT.equals(groupName);
+            case JarPackage.GROUP_TYPE__CMP_FIELD_NAME:
+                return cmpFieldName != null && !cmpFieldName.isEmpty();
+            case JarPackage.GROUP_TYPE__CMR_FIELD:
+                return cmrField != null && !cmrField.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(" (groupName: ");
+        result.append(groupName);
+        result.append(", cmpFieldName: ");
+        result.append(cmpFieldName);
+        result.append(')');
+        return result.toString();
+    }
+
+} //GroupTypeImpl

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

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/JarFactoryImpl.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/JarFactoryImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/JarFactoryImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/JarFactoryImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,449 @@
+/**
+ * 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.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypeFactory;
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.openejb.xml.ns.openejb.jar.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class JarFactoryImpl extends EFactoryImpl implements JarFactory {
+    /**
+     * Creates an instance of the factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public JarFactoryImpl() {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EObject create(EClass eClass) {
+        switch (eClass.getClassifierID()) {
+            case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE: return createActivationConfigPropertyType();
+            case JarPackage.ACTIVATION_CONFIG_TYPE: return createActivationConfigType();
+            case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE: return createCmpFieldGroupMappingType();
+            case JarPackage.CMP_FIELD_MAPPING_TYPE: return createCmpFieldMappingType();
+            case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE: return createCmrFieldGroupMappingType();
+            case JarPackage.CMR_FIELD_MAPPING_TYPE: return createCmrFieldMappingType();
+            case JarPackage.CMR_FIELD_TYPE: return createCmrFieldType();
+            case JarPackage.CMR_FIELD_TYPE1: return createCmrFieldType1();
+            case JarPackage.DOCUMENT_ROOT: return createDocumentRoot();
+            case JarPackage.EJB_RELATIONSHIP_ROLE_TYPE: return createEjbRelationshipRoleType();
+            case JarPackage.EJB_RELATION_TYPE: return createEjbRelationType();
+            case JarPackage.ENTERPRISE_BEANS_TYPE: return createEnterpriseBeansType();
+            case JarPackage.ENTITY_BEAN_TYPE: return createEntityBeanType();
+            case JarPackage.ENTITY_GROUP_MAPPING_TYPE: return createEntityGroupMappingType();
+            case JarPackage.GROUP_TYPE: return createGroupType();
+            case JarPackage.MESSAGE_DRIVEN_BEAN_TYPE: return createMessageDrivenBeanType();
+            case JarPackage.METHOD_PARAMS_TYPE: return createMethodParamsType();
+            case JarPackage.OPENEJB_JAR_TYPE: return createOpenejbJarType();
+            case JarPackage.PREFETCH_GROUP_TYPE: return createPrefetchGroupType();
+            case JarPackage.QUERY_METHOD_TYPE: return createQueryMethodType();
+            case JarPackage.QUERY_TYPE: return createQueryType();
+            case JarPackage.RELATIONSHIP_ROLE_SOURCE_TYPE: return createRelationshipRoleSourceType();
+            case JarPackage.RELATIONSHIPS_TYPE: return createRelationshipsType();
+            case JarPackage.ROLE_MAPPING_TYPE: return createRoleMappingType();
+            case JarPackage.SESSION_BEAN_TYPE: return createSessionBeanType();
+            case JarPackage.TSS_TYPE: return createTssType();
+            case JarPackage.WEB_SERVICE_SECURITY_TYPE: return createWebServiceSecurityType();
+            default:
+                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+        }
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public Object createFromString(EDataType eDataType, String initialValue) {
+        switch (eDataType.getClassifierID()) {
+            case JarPackage.TRANSPORT_GUARANTEE_TYPE: {
+                TransportGuaranteeType result = TransportGuaranteeType.get(initialValue);
+                if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+                return result;
+            }
+            case JarPackage.AUTH_METHOD_TYPE:
+                return createAuthMethodTypeFromString(eDataType, initialValue);
+            case JarPackage.TRANSPORT_GUARANTEE_TYPE_OBJECT:
+                return createTransportGuaranteeTypeObjectFromString(eDataType, initialValue);
+            default:
+                throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+        }
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String convertToString(EDataType eDataType, Object instanceValue) {
+        switch (eDataType.getClassifierID()) {
+            case JarPackage.TRANSPORT_GUARANTEE_TYPE:
+                return instanceValue == null ? null : instanceValue.toString();
+            case JarPackage.AUTH_METHOD_TYPE:
+                return convertAuthMethodTypeToString(eDataType, instanceValue);
+            case JarPackage.TRANSPORT_GUARANTEE_TYPE_OBJECT:
+                return convertTransportGuaranteeTypeObjectToString(eDataType, instanceValue);
+            default:
+                throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+        }
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ActivationConfigPropertyType createActivationConfigPropertyType() {
+        ActivationConfigPropertyTypeImpl activationConfigPropertyType = new ActivationConfigPropertyTypeImpl();
+        return activationConfigPropertyType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public ActivationConfigType createActivationConfigType() {
+        ActivationConfigTypeImpl activationConfigType = new ActivationConfigTypeImpl();
+        return activationConfigType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmpFieldGroupMappingType createCmpFieldGroupMappingType() {
+        CmpFieldGroupMappingTypeImpl cmpFieldGroupMappingType = new CmpFieldGroupMappingTypeImpl();
+        return cmpFieldGroupMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmpFieldMappingType createCmpFieldMappingType() {
+        CmpFieldMappingTypeImpl cmpFieldMappingType = new CmpFieldMappingTypeImpl();
+        return cmpFieldMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmrFieldGroupMappingType createCmrFieldGroupMappingType() {
+        CmrFieldGroupMappingTypeImpl cmrFieldGroupMappingType = new CmrFieldGroupMappingTypeImpl();
+        return cmrFieldGroupMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmrFieldMappingType createCmrFieldMappingType() {
+        CmrFieldMappingTypeImpl cmrFieldMappingType = new CmrFieldMappingTypeImpl();
+        return cmrFieldMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmrFieldType createCmrFieldType() {
+        CmrFieldTypeImpl cmrFieldType = new CmrFieldTypeImpl();
+        return cmrFieldType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public CmrFieldType1 createCmrFieldType1() {
+        CmrFieldType1Impl cmrFieldType1 = new CmrFieldType1Impl();
+        return cmrFieldType1;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DocumentRoot createDocumentRoot() {
+        DocumentRootImpl documentRoot = new DocumentRootImpl();
+        return documentRoot;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EjbRelationshipRoleType createEjbRelationshipRoleType() {
+        EjbRelationshipRoleTypeImpl ejbRelationshipRoleType = new EjbRelationshipRoleTypeImpl();
+        return ejbRelationshipRoleType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EjbRelationType createEjbRelationType() {
+        EjbRelationTypeImpl ejbRelationType = new EjbRelationTypeImpl();
+        return ejbRelationType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EnterpriseBeansType createEnterpriseBeansType() {
+        EnterpriseBeansTypeImpl enterpriseBeansType = new EnterpriseBeansTypeImpl();
+        return enterpriseBeansType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EntityBeanType createEntityBeanType() {
+        EntityBeanTypeImpl entityBeanType = new EntityBeanTypeImpl();
+        return entityBeanType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public EntityGroupMappingType createEntityGroupMappingType() {
+        EntityGroupMappingTypeImpl entityGroupMappingType = new EntityGroupMappingTypeImpl();
+        return entityGroupMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public GroupType createGroupType() {
+        GroupTypeImpl groupType = new GroupTypeImpl();
+        return groupType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public MessageDrivenBeanType createMessageDrivenBeanType() {
+        MessageDrivenBeanTypeImpl messageDrivenBeanType = new MessageDrivenBeanTypeImpl();
+        return messageDrivenBeanType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public MethodParamsType createMethodParamsType() {
+        MethodParamsTypeImpl methodParamsType = new MethodParamsTypeImpl();
+        return methodParamsType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public OpenejbJarType createOpenejbJarType() {
+        OpenejbJarTypeImpl openejbJarType = new OpenejbJarTypeImpl();
+        return openejbJarType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public PrefetchGroupType createPrefetchGroupType() {
+        PrefetchGroupTypeImpl prefetchGroupType = new PrefetchGroupTypeImpl();
+        return prefetchGroupType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public QueryMethodType createQueryMethodType() {
+        QueryMethodTypeImpl queryMethodType = new QueryMethodTypeImpl();
+        return queryMethodType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public QueryType createQueryType() {
+        QueryTypeImpl queryType = new QueryTypeImpl();
+        return queryType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public RelationshipRoleSourceType createRelationshipRoleSourceType() {
+        RelationshipRoleSourceTypeImpl relationshipRoleSourceType = new RelationshipRoleSourceTypeImpl();
+        return relationshipRoleSourceType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public RelationshipsType createRelationshipsType() {
+        RelationshipsTypeImpl relationshipsType = new RelationshipsTypeImpl();
+        return relationshipsType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public RoleMappingType createRoleMappingType() {
+        RoleMappingTypeImpl roleMappingType = new RoleMappingTypeImpl();
+        return roleMappingType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public SessionBeanType createSessionBeanType() {
+        SessionBeanTypeImpl sessionBeanType = new SessionBeanTypeImpl();
+        return sessionBeanType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public TssType createTssType() {
+        TssTypeImpl tssType = new TssTypeImpl();
+        return tssType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public WebServiceSecurityType createWebServiceSecurityType() {
+        WebServiceSecurityTypeImpl webServiceSecurityType = new WebServiceSecurityTypeImpl();
+        return webServiceSecurityType;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String createAuthMethodTypeFromString(EDataType eDataType, String initialValue) {
+        return (String)XMLTypeFactory.eINSTANCE.createFromString(XMLTypePackage.eINSTANCE.getString(), initialValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String convertAuthMethodTypeToString(EDataType eDataType, Object instanceValue) {
+        return XMLTypeFactory.eINSTANCE.convertToString(XMLTypePackage.eINSTANCE.getString(), instanceValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public TransportGuaranteeType createTransportGuaranteeTypeObjectFromString(EDataType eDataType, String initialValue) {
+        return (TransportGuaranteeType)JarFactory.eINSTANCE.createFromString(JarPackage.eINSTANCE.getTransportGuaranteeType(), initialValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String convertTransportGuaranteeTypeObjectToString(EDataType eDataType, Object instanceValue) {
+        return JarFactory.eINSTANCE.convertToString(JarPackage.eINSTANCE.getTransportGuaranteeType(), instanceValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public JarPackage getJarPackage() {
+        return (JarPackage)getEPackage();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @deprecated
+     * @generated
+     */
+    public static JarPackage getPackage() {
+        return JarPackage.eINSTANCE;
+    }
+
+} //JarFactoryImpl

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



Mime
View raw message