Return-Path:
Delivered-To: apmail-geronimo-scm-archive@www.apache.org
Received: (qmail 17021 invoked from network); 16 Aug 2005 19:48:30 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 16 Aug 2005 19:48:30 -0000
Received: (qmail 90576 invoked by uid 500); 16 Aug 2005 19:48:13 -0000
Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org
Received: (qmail 90465 invoked by uid 500); 16 Aug 2005 19:48:12 -0000
Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm
Precedence: bulk
list-help:
list-unsubscribe:
List-Post:
Reply-To: dev@geronimo.apache.org
List-Id:
Delivered-To: mailing list scm@geronimo.apache.org
Received: (qmail 90354 invoked by uid 99); 16 Aug 2005 19:48:11 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:48:11 -0700
X-ASF-Spam-Status: No, hits=-9.8 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194)
by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Aug 2005 12:48:10 -0700
Received: (qmail 16098 invoked by uid 65534); 16 Aug 2005 19:47:46 -0000
Message-ID: <20050816194746.16097.qmail@minotaur.apache.org>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r233044 [20/33] - in
/geronimo/trunk/sandbox/eclipse-plugin: ./
org.apache.geronimo.core/ org.apache.geronimo.core/META-INF/
org.apache.geronimo.core/serverdef/ org.apache.geronimo.core/src/
org.apache.geronimo.core/src/org/ org.apache.gero...
Date: Tue, 16 Aug 2005 19:47:05 -0000
To: scm@geronimo.apache.org
From: dain@apache.org
X-Mailer: svnmailer-1.0.3
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/DocumentRootImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/DocumentRootImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/DocumentRootImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/DocumentRootImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,587 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.naming.impl;
+
+import java.util.Collection;
+
+import org.apache.geronimo.xml.ns.naming.DocumentRoot;
+import org.apache.geronimo.xml.ns.naming.EjbLocalRefType;
+import org.apache.geronimo.xml.ns.naming.EjbRefType;
+import org.apache.geronimo.xml.ns.naming.GbeanLocatorType;
+import org.apache.geronimo.xml.ns.naming.NamingPackage;
+import org.apache.geronimo.xml.ns.naming.ResourceEnvRefType;
+import org.apache.geronimo.xml.ns.naming.ResourceLocatorType;
+import org.apache.geronimo.xml.ns.naming.ResourceRefType;
+import org.apache.geronimo.xml.ns.naming.ServiceRefType;
+
+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;
+
+/**
+ *
+ * An implementation of the model object 'Document Root'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getMixed Mixed}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getXMLNSPrefixMap XMLNS Prefix Map}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getXSISchemaLocation XSI Schema Location}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getCmpConnectionFactory Cmp Connection Factory}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getEjbLocalRef Ejb Local Ref}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getEjbRef Ejb Ref}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getResourceAdapter Resource Adapter}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getResourceEnvRef Resource Env Ref}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getResourceRef Resource Ref}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getServiceRef Service Ref}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.DocumentRootImpl#getWorkmanager Workmanager}
+ *
+ *
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ *
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+ /**
+ * The cached value of the '{@link #getMixed() Mixed}' attribute list.
+ *
+ *
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed = null;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() XMLNS Prefix Map}' map.
+ *
+ *
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap xMLNSPrefixMap = null;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() XSI Schema Location}' map.
+ *
+ *
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap xSISchemaLocation = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return NamingPackage.eINSTANCE.getDocumentRoot();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, NamingPackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EMap getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EMap getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ResourceLocatorType getCmpConnectionFactory() {
+ return (ResourceLocatorType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_CmpConnectionFactory(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetCmpConnectionFactory(ResourceLocatorType newCmpConnectionFactory, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_CmpConnectionFactory(), newCmpConnectionFactory, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCmpConnectionFactory(ResourceLocatorType newCmpConnectionFactory) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_CmpConnectionFactory(), newCmpConnectionFactory);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EjbLocalRefType getEjbLocalRef() {
+ return (EjbLocalRefType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_EjbLocalRef(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetEjbLocalRef(EjbLocalRefType newEjbLocalRef, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_EjbLocalRef(), newEjbLocalRef, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEjbLocalRef(EjbLocalRefType newEjbLocalRef) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_EjbLocalRef(), newEjbLocalRef);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public EjbRefType getEjbRef() {
+ return (EjbRefType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_EjbRef(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetEjbRef(EjbRefType newEjbRef, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_EjbRef(), newEjbRef, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEjbRef(EjbRefType newEjbRef) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_EjbRef(), newEjbRef);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ResourceLocatorType getResourceAdapter() {
+ return (ResourceLocatorType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_ResourceAdapter(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetResourceAdapter(ResourceLocatorType newResourceAdapter, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_ResourceAdapter(), newResourceAdapter, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setResourceAdapter(ResourceLocatorType newResourceAdapter) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_ResourceAdapter(), newResourceAdapter);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ResourceEnvRefType getResourceEnvRef() {
+ return (ResourceEnvRefType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_ResourceEnvRef(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetResourceEnvRef(ResourceEnvRefType newResourceEnvRef, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_ResourceEnvRef(), newResourceEnvRef, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setResourceEnvRef(ResourceEnvRefType newResourceEnvRef) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_ResourceEnvRef(), newResourceEnvRef);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ResourceRefType getResourceRef() {
+ return (ResourceRefType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_ResourceRef(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetResourceRef(ResourceRefType newResourceRef, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_ResourceRef(), newResourceRef, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setResourceRef(ResourceRefType newResourceRef) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_ResourceRef(), newResourceRef);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ServiceRefType getServiceRef() {
+ return (ServiceRefType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_ServiceRef(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetServiceRef(ServiceRefType newServiceRef, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_ServiceRef(), newServiceRef, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setServiceRef(ServiceRefType newServiceRef) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_ServiceRef(), newServiceRef);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public GbeanLocatorType getWorkmanager() {
+ return (GbeanLocatorType)getMixed().get(NamingPackage.eINSTANCE.getDocumentRoot_Workmanager(), true);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetWorkmanager(GbeanLocatorType newWorkmanager, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(NamingPackage.eINSTANCE.getDocumentRoot_Workmanager(), newWorkmanager, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setWorkmanager(GbeanLocatorType newWorkmanager) {
+ ((FeatureMap.Internal)getMixed()).set(NamingPackage.eINSTANCE.getDocumentRoot_Workmanager(), newWorkmanager);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+ if (featureID >= 0) {
+ switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+ case NamingPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
+ case NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case NamingPackage.DOCUMENT_ROOT__CMP_CONNECTION_FACTORY:
+ return basicSetCmpConnectionFactory(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
+ return basicSetEjbLocalRef(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__EJB_REF:
+ return basicSetEjbRef(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ADAPTER:
+ return basicSetResourceAdapter(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ENV_REF:
+ return basicSetResourceEnvRef(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_REF:
+ return basicSetResourceRef(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__SERVICE_REF:
+ return basicSetServiceRef(null, msgs);
+ case NamingPackage.DOCUMENT_ROOT__WORKMANAGER:
+ return basicSetWorkmanager(null, msgs);
+ default:
+ return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+ }
+ }
+ return eBasicSetContainer(null, featureID, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.DOCUMENT_ROOT__MIXED:
+ return getMixed();
+ case NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return getXMLNSPrefixMap();
+ case NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return getXSISchemaLocation();
+ case NamingPackage.DOCUMENT_ROOT__CMP_CONNECTION_FACTORY:
+ return getCmpConnectionFactory();
+ case NamingPackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
+ return getEjbLocalRef();
+ case NamingPackage.DOCUMENT_ROOT__EJB_REF:
+ return getEjbRef();
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ADAPTER:
+ return getResourceAdapter();
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ENV_REF:
+ return getResourceEnvRef();
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_REF:
+ return getResourceRef();
+ case NamingPackage.DOCUMENT_ROOT__SERVICE_REF:
+ return getServiceRef();
+ case NamingPackage.DOCUMENT_ROOT__WORKMANAGER:
+ return getWorkmanager();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ getMixed().addAll((Collection)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ getXMLNSPrefixMap().addAll((Collection)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ getXSISchemaLocation().addAll((Collection)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__CMP_CONNECTION_FACTORY:
+ setCmpConnectionFactory((ResourceLocatorType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
+ setEjbLocalRef((EjbLocalRefType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__EJB_REF:
+ setEjbRef((EjbRefType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ADAPTER:
+ setResourceAdapter((ResourceLocatorType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ENV_REF:
+ setResourceEnvRef((ResourceEnvRefType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_REF:
+ setResourceRef((ResourceRefType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__SERVICE_REF:
+ setServiceRef((ServiceRefType)newValue);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__WORKMANAGER:
+ setWorkmanager((GbeanLocatorType)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case NamingPackage.DOCUMENT_ROOT__CMP_CONNECTION_FACTORY:
+ setCmpConnectionFactory((ResourceLocatorType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
+ setEjbLocalRef((EjbLocalRefType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__EJB_REF:
+ setEjbRef((EjbRefType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ADAPTER:
+ setResourceAdapter((ResourceLocatorType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ENV_REF:
+ setResourceEnvRef((ResourceEnvRefType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_REF:
+ setResourceRef((ResourceRefType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__SERVICE_REF:
+ setServiceRef((ServiceRefType)null);
+ return;
+ case NamingPackage.DOCUMENT_ROOT__WORKMANAGER:
+ setWorkmanager((GbeanLocatorType)null);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case NamingPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case NamingPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case NamingPackage.DOCUMENT_ROOT__CMP_CONNECTION_FACTORY:
+ return getCmpConnectionFactory() != null;
+ case NamingPackage.DOCUMENT_ROOT__EJB_LOCAL_REF:
+ return getEjbLocalRef() != null;
+ case NamingPackage.DOCUMENT_ROOT__EJB_REF:
+ return getEjbRef() != null;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ADAPTER:
+ return getResourceAdapter() != null;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_ENV_REF:
+ return getResourceEnvRef() != null;
+ case NamingPackage.DOCUMENT_ROOT__RESOURCE_REF:
+ return getResourceRef() != null;
+ case NamingPackage.DOCUMENT_ROOT__SERVICE_REF:
+ return getServiceRef() != null;
+ case NamingPackage.DOCUMENT_ROOT__WORKMANAGER:
+ return getWorkmanager() != null;
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @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/apache/geronimo/xml/ns/naming/impl/DocumentRootImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbLocalRefTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbLocalRefTypeImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbLocalRefTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbLocalRefTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,610 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.naming.impl;
+
+import org.apache.geronimo.xml.ns.naming.EjbLocalRefType;
+import org.apache.geronimo.xml.ns.naming.NamingPackage;
+
+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;
+
+/**
+ *
+ * An implementation of the model object 'Ejb Local Ref Type'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getRefName Ref Name}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getDomain Domain}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getServer Server}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getApplication Application}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getModule Module}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getType Type}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getName Name}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getEjbLink Ejb Link}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbLocalRefTypeImpl#getTargetName Target Name}
+ *
+ *
+ *
+ * @generated
+ */
+public class EjbLocalRefTypeImpl extends EObjectImpl implements EjbLocalRefType {
+ /**
+ *
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+ /**
+ * The default value of the '{@link #getRefName() Ref Name}' attribute.
+ *
+ *
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected static final String REF_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRefName() Ref Name}' attribute.
+ *
+ *
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected String refName = REF_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDomain() Domain}' attribute.
+ *
+ *
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOMAIN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDomain() Domain}' attribute.
+ *
+ *
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected String domain = DOMAIN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getServer() Server}' attribute.
+ *
+ *
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected static final String SERVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getServer() Server}' attribute.
+ *
+ *
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected String server = SERVER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getApplication() Application}' attribute.
+ *
+ *
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLICATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplication() Application}' attribute.
+ *
+ *
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected String application = APPLICATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getModule() Module}' attribute.
+ *
+ *
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected static final String MODULE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getModule() Module}' attribute.
+ *
+ *
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected String module = MODULE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() Type}' attribute.
+ *
+ *
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() Type}' attribute.
+ *
+ *
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEjbLink() Ejb Link}' attribute.
+ *
+ *
+ * @see #getEjbLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String EJB_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEjbLink() Ejb Link}' attribute.
+ *
+ *
+ * @see #getEjbLink()
+ * @generated
+ * @ordered
+ */
+ protected String ejbLink = EJB_LINK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTargetName() Target Name}' attribute.
+ *
+ *
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetName() Target Name}' attribute.
+ *
+ *
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected String targetName = TARGET_NAME_EDEFAULT;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EjbLocalRefTypeImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return NamingPackage.eINSTANCE.getEjbLocalRefType();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getRefName() {
+ return refName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setRefName(String newRefName) {
+ String oldRefName = refName;
+ refName = newRefName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__REF_NAME, oldRefName, refName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getDomain() {
+ return domain;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setDomain(String newDomain) {
+ String oldDomain = domain;
+ domain = newDomain;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__DOMAIN, oldDomain, domain));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getServer() {
+ return server;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setServer(String newServer) {
+ String oldServer = server;
+ server = newServer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__SERVER, oldServer, server));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getApplication() {
+ return application;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setApplication(String newApplication) {
+ String oldApplication = application;
+ application = newApplication;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__APPLICATION, oldApplication, application));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getModule() {
+ return module;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setModule(String newModule) {
+ String oldModule = module;
+ module = newModule;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__MODULE, oldModule, module));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getEjbLink() {
+ return ejbLink;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEjbLink(String newEjbLink) {
+ String oldEjbLink = ejbLink;
+ ejbLink = newEjbLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__EJB_LINK, oldEjbLink, ejbLink));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getTargetName() {
+ return targetName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setTargetName(String newTargetName) {
+ String oldTargetName = targetName;
+ targetName = newTargetName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_LOCAL_REF_TYPE__TARGET_NAME, oldTargetName, targetName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_LOCAL_REF_TYPE__REF_NAME:
+ return getRefName();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__DOMAIN:
+ return getDomain();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__SERVER:
+ return getServer();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__APPLICATION:
+ return getApplication();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__MODULE:
+ return getModule();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TYPE:
+ return getType();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__NAME:
+ return getName();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__EJB_LINK:
+ return getEjbLink();
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TARGET_NAME:
+ return getTargetName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_LOCAL_REF_TYPE__REF_NAME:
+ setRefName((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__DOMAIN:
+ setDomain((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__SERVER:
+ setServer((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__APPLICATION:
+ setApplication((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__MODULE:
+ setModule((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__EJB_LINK:
+ setEjbLink((String)newValue);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TARGET_NAME:
+ setTargetName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_LOCAL_REF_TYPE__REF_NAME:
+ setRefName(REF_NAME_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__DOMAIN:
+ setDomain(DOMAIN_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__SERVER:
+ setServer(SERVER_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__APPLICATION:
+ setApplication(APPLICATION_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__MODULE:
+ setModule(MODULE_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__EJB_LINK:
+ setEjbLink(EJB_LINK_EDEFAULT);
+ return;
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TARGET_NAME:
+ setTargetName(TARGET_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_LOCAL_REF_TYPE__REF_NAME:
+ return REF_NAME_EDEFAULT == null ? refName != null : !REF_NAME_EDEFAULT.equals(refName);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__DOMAIN:
+ return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__SERVER:
+ return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__APPLICATION:
+ return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__MODULE:
+ return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__EJB_LINK:
+ return EJB_LINK_EDEFAULT == null ? ejbLink != null : !EJB_LINK_EDEFAULT.equals(ejbLink);
+ case NamingPackage.EJB_LOCAL_REF_TYPE__TARGET_NAME:
+ return TARGET_NAME_EDEFAULT == null ? targetName != null : !TARGET_NAME_EDEFAULT.equals(targetName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (refName: ");
+ result.append(refName);
+ result.append(", domain: ");
+ result.append(domain);
+ result.append(", server: ");
+ result.append(server);
+ result.append(", application: ");
+ result.append(application);
+ result.append(", module: ");
+ result.append(module);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", ejbLink: ");
+ result.append(ejbLink);
+ result.append(", targetName: ");
+ result.append(targetName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EjbLocalRefTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbLocalRefTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbRefTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbRefTypeImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbRefTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbRefTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,910 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.geronimo.xml.ns.naming.impl;
+
+import org.apache.geronimo.xml.ns.naming.CssType;
+import org.apache.geronimo.xml.ns.naming.EjbRefType;
+import org.apache.geronimo.xml.ns.naming.NamingPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ *
+ * An implementation of the model object 'Ejb Ref Type'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getRefName Ref Name}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getDomain Domain}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getServer Server}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getApplication Application}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getModule Module}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getType Type}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getName Name}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getNsCorbaloc Ns Corbaloc}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getName1 Name1}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getCss Css}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getCssLink Css Link}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getCssName Css Name}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getEjbLink Ejb Link}
+ * - {@link org.apache.geronimo.xml.ns.naming.impl.EjbRefTypeImpl#getTargetName Target Name}
+ *
+ *
+ *
+ * @generated
+ */
+public class EjbRefTypeImpl extends EObjectImpl implements EjbRefType {
+ /**
+ *
+ *
+ * @generated
+ */
+ public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+ /**
+ * The default value of the '{@link #getRefName() Ref Name}' attribute.
+ *
+ *
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected static final String REF_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRefName() Ref Name}' attribute.
+ *
+ *
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected String refName = REF_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDomain() Domain}' attribute.
+ *
+ *
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOMAIN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDomain() Domain}' attribute.
+ *
+ *
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected String domain = DOMAIN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getServer() Server}' attribute.
+ *
+ *
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected static final String SERVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getServer() Server}' attribute.
+ *
+ *
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected String server = SERVER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getApplication() Application}' attribute.
+ *
+ *
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLICATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplication() Application}' attribute.
+ *
+ *
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected String application = APPLICATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getModule() Module}' attribute.
+ *
+ *
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected static final String MODULE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getModule() Module}' attribute.
+ *
+ *
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected String module = MODULE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() Type}' attribute.
+ *
+ *
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() Type}' attribute.
+ *
+ *
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNsCorbaloc() Ns Corbaloc}' attribute.
+ *
+ *
+ * @see #getNsCorbaloc()
+ * @generated
+ * @ordered
+ */
+ protected static final String NS_CORBALOC_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNsCorbaloc() Ns Corbaloc}' attribute.
+ *
+ *
+ * @see #getNsCorbaloc()
+ * @generated
+ * @ordered
+ */
+ protected String nsCorbaloc = NS_CORBALOC_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName1() Name1}' attribute.
+ *
+ *
+ * @see #getName1()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME1_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName1() Name1}' attribute.
+ *
+ *
+ * @see #getName1()
+ * @generated
+ * @ordered
+ */
+ protected String name1 = NAME1_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getCss() Css}' containment reference.
+ *
+ *
+ * @see #getCss()
+ * @generated
+ * @ordered
+ */
+ protected CssType css = null;
+
+ /**
+ * The default value of the '{@link #getCssLink() Css Link}' attribute.
+ *
+ *
+ * @see #getCssLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String CSS_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCssLink() Css Link}' attribute.
+ *
+ *
+ * @see #getCssLink()
+ * @generated
+ * @ordered
+ */
+ protected String cssLink = CSS_LINK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCssName() Css Name}' attribute.
+ *
+ *
+ * @see #getCssName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CSS_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCssName() Css Name}' attribute.
+ *
+ *
+ * @see #getCssName()
+ * @generated
+ * @ordered
+ */
+ protected String cssName = CSS_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEjbLink() Ejb Link}' attribute.
+ *
+ *
+ * @see #getEjbLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String EJB_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getEjbLink() Ejb Link}' attribute.
+ *
+ *
+ * @see #getEjbLink()
+ * @generated
+ * @ordered
+ */
+ protected String ejbLink = EJB_LINK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTargetName() Target Name}' attribute.
+ *
+ *
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetName() Target Name}' attribute.
+ *
+ *
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected String targetName = TARGET_NAME_EDEFAULT;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EjbRefTypeImpl() {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return NamingPackage.eINSTANCE.getEjbRefType();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getRefName() {
+ return refName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setRefName(String newRefName) {
+ String oldRefName = refName;
+ refName = newRefName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__REF_NAME, oldRefName, refName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getDomain() {
+ return domain;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setDomain(String newDomain) {
+ String oldDomain = domain;
+ domain = newDomain;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__DOMAIN, oldDomain, domain));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getServer() {
+ return server;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setServer(String newServer) {
+ String oldServer = server;
+ server = newServer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__SERVER, oldServer, server));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getApplication() {
+ return application;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setApplication(String newApplication) {
+ String oldApplication = application;
+ application = newApplication;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__APPLICATION, oldApplication, application));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getModule() {
+ return module;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setModule(String newModule) {
+ String oldModule = module;
+ module = newModule;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__MODULE, oldModule, module));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getNsCorbaloc() {
+ return nsCorbaloc;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setNsCorbaloc(String newNsCorbaloc) {
+ String oldNsCorbaloc = nsCorbaloc;
+ nsCorbaloc = newNsCorbaloc;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__NS_CORBALOC, oldNsCorbaloc, nsCorbaloc));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getName1() {
+ return name1;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setName1(String newName1) {
+ String oldName1 = name1;
+ name1 = newName1;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__NAME1, oldName1, name1));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public CssType getCss() {
+ return css;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain basicSetCss(CssType newCss, NotificationChain msgs) {
+ CssType oldCss = css;
+ css = newCss;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__CSS, oldCss, newCss);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCss(CssType newCss) {
+ if (newCss != css) {
+ NotificationChain msgs = null;
+ if (css != null)
+ msgs = ((InternalEObject)css).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - NamingPackage.EJB_REF_TYPE__CSS, null, msgs);
+ if (newCss != null)
+ msgs = ((InternalEObject)newCss).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - NamingPackage.EJB_REF_TYPE__CSS, null, msgs);
+ msgs = basicSetCss(newCss, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__CSS, newCss, newCss));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getCssLink() {
+ return cssLink;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCssLink(String newCssLink) {
+ String oldCssLink = cssLink;
+ cssLink = newCssLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__CSS_LINK, oldCssLink, cssLink));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getCssName() {
+ return cssName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCssName(String newCssName) {
+ String oldCssName = cssName;
+ cssName = newCssName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__CSS_NAME, oldCssName, cssName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getEjbLink() {
+ return ejbLink;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEjbLink(String newEjbLink) {
+ String oldEjbLink = ejbLink;
+ ejbLink = newEjbLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__EJB_LINK, oldEjbLink, ejbLink));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getTargetName() {
+ return targetName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setTargetName(String newTargetName) {
+ String oldTargetName = targetName;
+ targetName = newTargetName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.EJB_REF_TYPE__TARGET_NAME, oldTargetName, targetName));
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+ if (featureID >= 0) {
+ switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+ case NamingPackage.EJB_REF_TYPE__CSS:
+ return basicSetCss(null, msgs);
+ default:
+ return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+ }
+ }
+ return eBasicSetContainer(null, featureID, msgs);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_REF_TYPE__REF_NAME:
+ return getRefName();
+ case NamingPackage.EJB_REF_TYPE__DOMAIN:
+ return getDomain();
+ case NamingPackage.EJB_REF_TYPE__SERVER:
+ return getServer();
+ case NamingPackage.EJB_REF_TYPE__APPLICATION:
+ return getApplication();
+ case NamingPackage.EJB_REF_TYPE__MODULE:
+ return getModule();
+ case NamingPackage.EJB_REF_TYPE__TYPE:
+ return getType();
+ case NamingPackage.EJB_REF_TYPE__NAME:
+ return getName();
+ case NamingPackage.EJB_REF_TYPE__NS_CORBALOC:
+ return getNsCorbaloc();
+ case NamingPackage.EJB_REF_TYPE__NAME1:
+ return getName1();
+ case NamingPackage.EJB_REF_TYPE__CSS:
+ return getCss();
+ case NamingPackage.EJB_REF_TYPE__CSS_LINK:
+ return getCssLink();
+ case NamingPackage.EJB_REF_TYPE__CSS_NAME:
+ return getCssName();
+ case NamingPackage.EJB_REF_TYPE__EJB_LINK:
+ return getEjbLink();
+ case NamingPackage.EJB_REF_TYPE__TARGET_NAME:
+ return getTargetName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_REF_TYPE__REF_NAME:
+ setRefName((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__DOMAIN:
+ setDomain((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__SERVER:
+ setServer((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__APPLICATION:
+ setApplication((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__MODULE:
+ setModule((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NS_CORBALOC:
+ setNsCorbaloc((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NAME1:
+ setName1((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS:
+ setCss((CssType)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS_LINK:
+ setCssLink((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS_NAME:
+ setCssName((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__EJB_LINK:
+ setEjbLink((String)newValue);
+ return;
+ case NamingPackage.EJB_REF_TYPE__TARGET_NAME:
+ setTargetName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_REF_TYPE__REF_NAME:
+ setRefName(REF_NAME_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__DOMAIN:
+ setDomain(DOMAIN_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__SERVER:
+ setServer(SERVER_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__APPLICATION:
+ setApplication(APPLICATION_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__MODULE:
+ setModule(MODULE_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NS_CORBALOC:
+ setNsCorbaloc(NS_CORBALOC_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__NAME1:
+ setName1(NAME1_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS:
+ setCss((CssType)null);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS_LINK:
+ setCssLink(CSS_LINK_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__CSS_NAME:
+ setCssName(CSS_NAME_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__EJB_LINK:
+ setEjbLink(EJB_LINK_EDEFAULT);
+ return;
+ case NamingPackage.EJB_REF_TYPE__TARGET_NAME:
+ setTargetName(TARGET_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.EJB_REF_TYPE__REF_NAME:
+ return REF_NAME_EDEFAULT == null ? refName != null : !REF_NAME_EDEFAULT.equals(refName);
+ case NamingPackage.EJB_REF_TYPE__DOMAIN:
+ return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+ case NamingPackage.EJB_REF_TYPE__SERVER:
+ return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+ case NamingPackage.EJB_REF_TYPE__APPLICATION:
+ return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+ case NamingPackage.EJB_REF_TYPE__MODULE:
+ return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+ case NamingPackage.EJB_REF_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case NamingPackage.EJB_REF_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case NamingPackage.EJB_REF_TYPE__NS_CORBALOC:
+ return NS_CORBALOC_EDEFAULT == null ? nsCorbaloc != null : !NS_CORBALOC_EDEFAULT.equals(nsCorbaloc);
+ case NamingPackage.EJB_REF_TYPE__NAME1:
+ return NAME1_EDEFAULT == null ? name1 != null : !NAME1_EDEFAULT.equals(name1);
+ case NamingPackage.EJB_REF_TYPE__CSS:
+ return css != null;
+ case NamingPackage.EJB_REF_TYPE__CSS_LINK:
+ return CSS_LINK_EDEFAULT == null ? cssLink != null : !CSS_LINK_EDEFAULT.equals(cssLink);
+ case NamingPackage.EJB_REF_TYPE__CSS_NAME:
+ return CSS_NAME_EDEFAULT == null ? cssName != null : !CSS_NAME_EDEFAULT.equals(cssName);
+ case NamingPackage.EJB_REF_TYPE__EJB_LINK:
+ return EJB_LINK_EDEFAULT == null ? ejbLink != null : !EJB_LINK_EDEFAULT.equals(ejbLink);
+ case NamingPackage.EJB_REF_TYPE__TARGET_NAME:
+ return TARGET_NAME_EDEFAULT == null ? targetName != null : !TARGET_NAME_EDEFAULT.equals(targetName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (refName: ");
+ result.append(refName);
+ result.append(", domain: ");
+ result.append(domain);
+ result.append(", server: ");
+ result.append(server);
+ result.append(", application: ");
+ result.append(application);
+ result.append(", module: ");
+ result.append(module);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", nsCorbaloc: ");
+ result.append(nsCorbaloc);
+ result.append(", name1: ");
+ result.append(name1);
+ result.append(", cssLink: ");
+ result.append(cssLink);
+ result.append(", cssName: ");
+ result.append(cssName);
+ result.append(", ejbLink: ");
+ result.append(ejbLink);
+ result.append(", targetName: ");
+ result.append(targetName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //EjbRefTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/EjbRefTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *