You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2005/08/16 21:47:05 UTC
svn commit: r233044 [21/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...
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanLocatorTypeImpl.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/GbeanLocatorTypeImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanLocatorTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanLocatorTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,556 @@
+/**
+ * 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.GbeanLocatorType;
+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;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Gbean Locator Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getDomain <em>Domain</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getServer <em>Server</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getApplication <em>Application</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getModule <em>Module</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getGbeanLink <em>Gbean Link</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanLocatorTypeImpl#getTargetName <em>Target Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GbeanLocatorTypeImpl extends EObjectImpl implements GbeanLocatorType {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+ /**
+ * The default value of the '{@link #getDomain() <em>Domain</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOMAIN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDomain() <em>Domain</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDomain()
+ * @generated
+ * @ordered
+ */
+ protected String domain = DOMAIN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getServer() <em>Server</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected static final String SERVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getServer() <em>Server</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getServer()
+ * @generated
+ * @ordered
+ */
+ protected String server = SERVER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getApplication() <em>Application</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLICATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplication() <em>Application</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplication()
+ * @generated
+ * @ordered
+ */
+ protected String application = APPLICATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getModule() <em>Module</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected static final String MODULE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getModule() <em>Module</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getModule()
+ * @generated
+ * @ordered
+ */
+ protected String module = MODULE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getGbeanLink() <em>Gbean Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGbeanLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String GBEAN_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGbeanLink() <em>Gbean Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGbeanLink()
+ * @generated
+ * @ordered
+ */
+ protected String gbeanLink = GBEAN_LINK_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTargetName() <em>Target Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetName() <em>Target Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetName()
+ * @generated
+ * @ordered
+ */
+ protected String targetName = TARGET_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GbeanLocatorTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return NamingPackage.eINSTANCE.getGbeanLocatorType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDomain() {
+ return domain;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDomain(String newDomain) {
+ String oldDomain = domain;
+ domain = newDomain;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__DOMAIN, oldDomain, domain));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getServer() {
+ return server;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setServer(String newServer) {
+ String oldServer = server;
+ server = newServer;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__SERVER, oldServer, server));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getApplication() {
+ return application;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplication(String newApplication) {
+ String oldApplication = application;
+ application = newApplication;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__APPLICATION, oldApplication, application));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getModule() {
+ return module;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setModule(String newModule) {
+ String oldModule = module;
+ module = newModule;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__MODULE, oldModule, module));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getGbeanLink() {
+ return gbeanLink;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGbeanLink(String newGbeanLink) {
+ String oldGbeanLink = gbeanLink;
+ gbeanLink = newGbeanLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__GBEAN_LINK, oldGbeanLink, gbeanLink));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTargetName() {
+ return targetName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetName(String newTargetName) {
+ String oldTargetName = targetName;
+ targetName = newTargetName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_LOCATOR_TYPE__TARGET_NAME, oldTargetName, targetName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_LOCATOR_TYPE__DOMAIN:
+ return getDomain();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__SERVER:
+ return getServer();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__APPLICATION:
+ return getApplication();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__MODULE:
+ return getModule();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TYPE:
+ return getType();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__NAME:
+ return getName();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__GBEAN_LINK:
+ return getGbeanLink();
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TARGET_NAME:
+ return getTargetName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_LOCATOR_TYPE__DOMAIN:
+ setDomain((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__SERVER:
+ setServer((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__APPLICATION:
+ setApplication((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__MODULE:
+ setModule((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__GBEAN_LINK:
+ setGbeanLink((String)newValue);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TARGET_NAME:
+ setTargetName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_LOCATOR_TYPE__DOMAIN:
+ setDomain(DOMAIN_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__SERVER:
+ setServer(SERVER_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__APPLICATION:
+ setApplication(APPLICATION_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__MODULE:
+ setModule(MODULE_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__GBEAN_LINK:
+ setGbeanLink(GBEAN_LINK_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TARGET_NAME:
+ setTargetName(TARGET_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_LOCATOR_TYPE__DOMAIN:
+ return DOMAIN_EDEFAULT == null ? domain != null : !DOMAIN_EDEFAULT.equals(domain);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__SERVER:
+ return SERVER_EDEFAULT == null ? server != null : !SERVER_EDEFAULT.equals(server);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__APPLICATION:
+ return APPLICATION_EDEFAULT == null ? application != null : !APPLICATION_EDEFAULT.equals(application);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__MODULE:
+ return MODULE_EDEFAULT == null ? module != null : !MODULE_EDEFAULT.equals(module);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__GBEAN_LINK:
+ return GBEAN_LINK_EDEFAULT == null ? gbeanLink != null : !GBEAN_LINK_EDEFAULT.equals(gbeanLink);
+ case NamingPackage.GBEAN_LOCATOR_TYPE__TARGET_NAME:
+ return TARGET_NAME_EDEFAULT == null ? targetName != null : !TARGET_NAME_EDEFAULT.equals(targetName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (domain: ");
+ result.append(domain);
+ result.append(", server: ");
+ result.append(server);
+ result.append(", application: ");
+ result.append(application);
+ result.append(", module: ");
+ result.append(module);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", gbeanLink: ");
+ result.append(gbeanLink);
+ result.append(", targetName: ");
+ result.append(targetName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GbeanLocatorTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanLocatorTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanRefTypeImpl.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/GbeanRefTypeImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanRefTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanRefTypeImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,496 @@
+/**
+ * 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.GbeanRefType;
+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.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.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Gbean Ref Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getRefName <em>Ref Name</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getRefType <em>Ref Type</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getProxyType <em>Proxy Type</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getGroup <em>Group</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getDomain <em>Domain</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getServer <em>Server</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getApplication <em>Application</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getModule <em>Module</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.apache.geronimo.xml.ns.naming.impl.GbeanRefTypeImpl#getTargetName <em>Target Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class GbeanRefTypeImpl extends EObjectImpl implements GbeanRefType {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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() <em>Ref Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected static final String REF_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRefName() <em>Ref Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRefName()
+ * @generated
+ * @ordered
+ */
+ protected String refName = REF_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getRefType() <em>Ref Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRefType()
+ * @generated
+ * @ordered
+ */
+ protected static final String REF_TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getRefType() <em>Ref Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRefType()
+ * @generated
+ * @ordered
+ */
+ protected String refType = REF_TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProxyType() <em>Proxy Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProxyType()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROXY_TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProxyType() <em>Proxy Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProxyType()
+ * @generated
+ * @ordered
+ */
+ protected String proxyType = PROXY_TYPE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GbeanRefTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return NamingPackage.eINSTANCE.getGbeanRefType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getRefName() {
+ return refName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRefName(String newRefName) {
+ String oldRefName = refName;
+ refName = newRefName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_REF_TYPE__REF_NAME, oldRefName, refName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getRefType() {
+ return refType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRefType(String newRefType) {
+ String oldRefType = refType;
+ refType = newRefType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_REF_TYPE__REF_TYPE, oldRefType, refType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProxyType() {
+ return proxyType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProxyType(String newProxyType) {
+ String oldProxyType = proxyType;
+ proxyType = newProxyType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NamingPackage.GBEAN_REF_TYPE__PROXY_TYPE, oldProxyType, proxyType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, NamingPackage.GBEAN_REF_TYPE__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getDomain() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Domain());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getServer() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Server());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getApplication() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Application());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getModule() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Module());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getType() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Type());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getName() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_Name());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getTargetName() {
+ return ((FeatureMap)getGroup()).list(NamingPackage.eINSTANCE.getGbeanRefType_TargetName());
+ }
+
+ /**
+ * <!-- 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 NamingPackage.GBEAN_REF_TYPE__GROUP:
+ return ((InternalEList)getGroup()).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 NamingPackage.GBEAN_REF_TYPE__REF_NAME:
+ return getRefName();
+ case NamingPackage.GBEAN_REF_TYPE__REF_TYPE:
+ return getRefType();
+ case NamingPackage.GBEAN_REF_TYPE__PROXY_TYPE:
+ return getProxyType();
+ case NamingPackage.GBEAN_REF_TYPE__GROUP:
+ return getGroup();
+ case NamingPackage.GBEAN_REF_TYPE__DOMAIN:
+ return getDomain();
+ case NamingPackage.GBEAN_REF_TYPE__SERVER:
+ return getServer();
+ case NamingPackage.GBEAN_REF_TYPE__APPLICATION:
+ return getApplication();
+ case NamingPackage.GBEAN_REF_TYPE__MODULE:
+ return getModule();
+ case NamingPackage.GBEAN_REF_TYPE__TYPE:
+ return getType();
+ case NamingPackage.GBEAN_REF_TYPE__NAME:
+ return getName();
+ case NamingPackage.GBEAN_REF_TYPE__TARGET_NAME:
+ return getTargetName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_REF_TYPE__REF_NAME:
+ setRefName((String)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__REF_TYPE:
+ setRefType((String)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__PROXY_TYPE:
+ setProxyType((String)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__GROUP:
+ getGroup().clear();
+ getGroup().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__DOMAIN:
+ getDomain().clear();
+ getDomain().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__SERVER:
+ getServer().clear();
+ getServer().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__APPLICATION:
+ getApplication().clear();
+ getApplication().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__MODULE:
+ getModule().clear();
+ getModule().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__TYPE:
+ getType().clear();
+ getType().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__NAME:
+ getName().clear();
+ getName().addAll((Collection)newValue);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__TARGET_NAME:
+ getTargetName().clear();
+ getTargetName().addAll((Collection)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_REF_TYPE__REF_NAME:
+ setRefName(REF_NAME_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__REF_TYPE:
+ setRefType(REF_TYPE_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__PROXY_TYPE:
+ setProxyType(PROXY_TYPE_EDEFAULT);
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__GROUP:
+ getGroup().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__DOMAIN:
+ getDomain().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__SERVER:
+ getServer().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__APPLICATION:
+ getApplication().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__MODULE:
+ getModule().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__TYPE:
+ getType().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__NAME:
+ getName().clear();
+ return;
+ case NamingPackage.GBEAN_REF_TYPE__TARGET_NAME:
+ getTargetName().clear();
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case NamingPackage.GBEAN_REF_TYPE__REF_NAME:
+ return REF_NAME_EDEFAULT == null ? refName != null : !REF_NAME_EDEFAULT.equals(refName);
+ case NamingPackage.GBEAN_REF_TYPE__REF_TYPE:
+ return REF_TYPE_EDEFAULT == null ? refType != null : !REF_TYPE_EDEFAULT.equals(refType);
+ case NamingPackage.GBEAN_REF_TYPE__PROXY_TYPE:
+ return PROXY_TYPE_EDEFAULT == null ? proxyType != null : !PROXY_TYPE_EDEFAULT.equals(proxyType);
+ case NamingPackage.GBEAN_REF_TYPE__GROUP:
+ return group != null && !group.isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__DOMAIN:
+ return !getDomain().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__SERVER:
+ return !getServer().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__APPLICATION:
+ return !getApplication().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__MODULE:
+ return !getModule().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__TYPE:
+ return !getType().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__NAME:
+ return !getName().isEmpty();
+ case NamingPackage.GBEAN_REF_TYPE__TARGET_NAME:
+ return !getTargetName().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(" (refName: ");
+ result.append(refName);
+ result.append(", refType: ");
+ result.append(refType);
+ result.append(", proxyType: ");
+ result.append(proxyType);
+ result.append(", group: ");
+ result.append(group);
+ result.append(')');
+ return result.toString();
+ }
+
+} //GbeanRefTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/GbeanRefTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/NamingFactoryImpl.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/NamingFactoryImpl.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/NamingFactoryImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/NamingFactoryImpl.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,223 @@
+/**
+ * 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.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class NamingFactoryImpl extends EFactoryImpl implements NamingFactory {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable.";
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamingFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case NamingPackage.CSS_TYPE: return createCssType();
+ case NamingPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case NamingPackage.EJB_LOCAL_REF_TYPE: return createEjbLocalRefType();
+ case NamingPackage.EJB_REF_TYPE: return createEjbRefType();
+ case NamingPackage.GBEAN_LOCATOR_TYPE: return createGbeanLocatorType();
+ case NamingPackage.GBEAN_REF_TYPE: return createGbeanRefType();
+ case NamingPackage.PORT_COMPLETION_TYPE: return createPortCompletionType();
+ case NamingPackage.PORT_TYPE: return createPortType();
+ case NamingPackage.RESOURCE_ENV_REF_TYPE: return createResourceEnvRefType();
+ case NamingPackage.RESOURCE_LOCATOR_TYPE: return createResourceLocatorType();
+ case NamingPackage.RESOURCE_REF_TYPE: return createResourceRefType();
+ case NamingPackage.SERVICE_COMPLETION_TYPE: return createServiceCompletionType();
+ case NamingPackage.SERVICE_REF_TYPE: return createServiceRefType();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CssType createCssType() {
+ CssTypeImpl cssType = new CssTypeImpl();
+ return cssType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EjbLocalRefType createEjbLocalRefType() {
+ EjbLocalRefTypeImpl ejbLocalRefType = new EjbLocalRefTypeImpl();
+ return ejbLocalRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EjbRefType createEjbRefType() {
+ EjbRefTypeImpl ejbRefType = new EjbRefTypeImpl();
+ return ejbRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GbeanLocatorType createGbeanLocatorType() {
+ GbeanLocatorTypeImpl gbeanLocatorType = new GbeanLocatorTypeImpl();
+ return gbeanLocatorType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GbeanRefType createGbeanRefType() {
+ GbeanRefTypeImpl gbeanRefType = new GbeanRefTypeImpl();
+ return gbeanRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortCompletionType createPortCompletionType() {
+ PortCompletionTypeImpl portCompletionType = new PortCompletionTypeImpl();
+ return portCompletionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortType createPortType() {
+ PortTypeImpl portType = new PortTypeImpl();
+ return portType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceEnvRefType createResourceEnvRefType() {
+ ResourceEnvRefTypeImpl resourceEnvRefType = new ResourceEnvRefTypeImpl();
+ return resourceEnvRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocatorType createResourceLocatorType() {
+ ResourceLocatorTypeImpl resourceLocatorType = new ResourceLocatorTypeImpl();
+ return resourceLocatorType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceRefType createResourceRefType() {
+ ResourceRefTypeImpl resourceRefType = new ResourceRefTypeImpl();
+ return resourceRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceCompletionType createServiceCompletionType() {
+ ServiceCompletionTypeImpl serviceCompletionType = new ServiceCompletionTypeImpl();
+ return serviceCompletionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ServiceRefType createServiceRefType() {
+ ServiceRefTypeImpl serviceRefType = new ServiceRefTypeImpl();
+ return serviceRefType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NamingPackage getNamingPackage() {
+ return (NamingPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ public static NamingPackage getPackage() {
+ return NamingPackage.eINSTANCE;
+ }
+
+} //NamingFactoryImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/naming/impl/NamingFactoryImpl.java
------------------------------------------------------------------------------
svn:executable = *