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/17 00:40:54 UTC
svn commit: r233071 [12/22] - in /geronimo/trunk/sandbox/eclipse-plugin:
org.apache.geronimo.core/
org.apache.geronimo.core/src/org/apache/geronimo/core/internal/
org.apache.geronimo.deployment.model/META-INF/
org.apache.geronimo.deployment.model/emf/ ...
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/TssType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/TssType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/TssType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/TssType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,176 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Tss Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.TssType#getDomain <em>Domain</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.TssType#getServer <em>Server</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.TssType#getApplication <em>Application</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.TssType#getModule <em>Module</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.TssType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType()
+ * @model extendedMetaData="name='tssType' kind='elementOnly'"
+ * @generated
+ */
+public interface TssType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Domain</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Domain</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Domain</em>' attribute.
+ * @see #setDomain(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType_Domain()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='domain' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getDomain();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.TssType#getDomain <em>Domain</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Domain</em>' attribute.
+ * @see #getDomain()
+ * @generated
+ */
+ void setDomain(String value);
+
+ /**
+ * Returns the value of the '<em><b>Server</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Server</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Server</em>' attribute.
+ * @see #setServer(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType_Server()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='server' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getServer();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.TssType#getServer <em>Server</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Server</em>' attribute.
+ * @see #getServer()
+ * @generated
+ */
+ void setServer(String value);
+
+ /**
+ * Returns the value of the '<em><b>Application</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Application</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Application</em>' attribute.
+ * @see #setApplication(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType_Application()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='application' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getApplication();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.TssType#getApplication <em>Application</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Application</em>' attribute.
+ * @see #getApplication()
+ * @generated
+ */
+ void setApplication(String value);
+
+ /**
+ * Returns the value of the '<em><b>Module</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Module</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Module</em>' attribute.
+ * @see #setModule(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType_Module()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='module' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getModule();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.TssType#getModule <em>Module</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Module</em>' attribute.
+ * @see #getModule()
+ * @generated
+ */
+ void setModule(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getTssType_Name()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.TssType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // TssType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/TssType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/WebServiceSecurityType.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/WebServiceSecurityType.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/WebServiceSecurityType.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/WebServiceSecurityType.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,179 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Web Service Security Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getSecurityRealmName <em>Security Realm Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getRealmName <em>Realm Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getTransportGuarantee <em>Transport Guarantee</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getAuthMethod <em>Auth Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getWebServiceSecurityType()
+ * @model extendedMetaData="name='web-service-securityType' kind='elementOnly'"
+ * @generated
+ */
+public interface WebServiceSecurityType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Security Realm Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Security Realm Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Security Realm Name</em>' attribute.
+ * @see #setSecurityRealmName(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getWebServiceSecurityType_SecurityRealmName()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='security-realm-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getSecurityRealmName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getSecurityRealmName <em>Security Realm Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Security Realm Name</em>' attribute.
+ * @see #getSecurityRealmName()
+ * @generated
+ */
+ void setSecurityRealmName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Realm Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Realm Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Realm Name</em>' attribute.
+ * @see #setRealmName(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getWebServiceSecurityType_RealmName()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='realm-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getRealmName();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getRealmName <em>Realm Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Realm Name</em>' attribute.
+ * @see #getRealmName()
+ * @generated
+ */
+ void setRealmName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Transport Guarantee</b></em>' attribute.
+ * The default value is <code>"NONE"</code>.
+ * The literals are from the enumeration {@link org.openejb.xml.ns.openejb.jar.TransportGuaranteeType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Transport Guarantee</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Transport Guarantee</em>' attribute.
+ * @see org.openejb.xml.ns.openejb.jar.TransportGuaranteeType
+ * @see #isSetTransportGuarantee()
+ * @see #unsetTransportGuarantee()
+ * @see #setTransportGuarantee(TransportGuaranteeType)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getWebServiceSecurityType_TransportGuarantee()
+ * @model default="NONE" unique="false" unsettable="true" required="true"
+ * extendedMetaData="kind='element' name='transport-guarantee' namespace='##targetNamespace'"
+ * @generated
+ */
+ TransportGuaranteeType getTransportGuarantee();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getTransportGuarantee <em>Transport Guarantee</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Transport Guarantee</em>' attribute.
+ * @see org.openejb.xml.ns.openejb.jar.TransportGuaranteeType
+ * @see #isSetTransportGuarantee()
+ * @see #unsetTransportGuarantee()
+ * @see #getTransportGuarantee()
+ * @generated
+ */
+ void setTransportGuarantee(TransportGuaranteeType value);
+
+ /**
+ * Unsets the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getTransportGuarantee <em>Transport Guarantee</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetTransportGuarantee()
+ * @see #getTransportGuarantee()
+ * @see #setTransportGuarantee(TransportGuaranteeType)
+ * @generated
+ */
+ void unsetTransportGuarantee();
+
+ /**
+ * Returns whether the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getTransportGuarantee <em>Transport Guarantee</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Transport Guarantee</em>' attribute is set.
+ * @see #unsetTransportGuarantee()
+ * @see #getTransportGuarantee()
+ * @see #setTransportGuarantee(TransportGuaranteeType)
+ * @generated
+ */
+ boolean isSetTransportGuarantee();
+
+ /**
+ * Returns the value of the '<em><b>Auth Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Auth Method</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Auth Method</em>' attribute.
+ * @see #setAuthMethod(String)
+ * @see org.openejb.xml.ns.openejb.jar.JarPackage#getWebServiceSecurityType_AuthMethod()
+ * @model unique="false" dataType="org.openejb.xml.ns.openejb.jar.AuthMethodType" required="true"
+ * extendedMetaData="kind='element' name='auth-method' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getAuthMethod();
+
+ /**
+ * Sets the value of the '{@link org.openejb.xml.ns.openejb.jar.WebServiceSecurityType#getAuthMethod <em>Auth Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auth Method</em>' attribute.
+ * @see #getAuthMethod()
+ * @generated
+ */
+ void setAuthMethod(String value);
+
+} // WebServiceSecurityType
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/WebServiceSecurityType.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigPropertyTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigPropertyTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigPropertyTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigPropertyTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.ActivationConfigPropertyType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activation Config Property Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.ActivationConfigPropertyTypeImpl#getActivationConfigPropertyName <em>Activation Config Property Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.ActivationConfigPropertyTypeImpl#getActivationConfigPropertyValue <em>Activation Config Property Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ActivationConfigPropertyTypeImpl extends EObjectImpl implements ActivationConfigPropertyType {
+ /**
+ * The default value of the '{@link #getActivationConfigPropertyName() <em>Activation Config Property Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationConfigPropertyName()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACTIVATION_CONFIG_PROPERTY_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getActivationConfigPropertyName() <em>Activation Config Property Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationConfigPropertyName()
+ * @generated
+ * @ordered
+ */
+ protected String activationConfigPropertyName = ACTIVATION_CONFIG_PROPERTY_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getActivationConfigPropertyValue() <em>Activation Config Property Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationConfigPropertyValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACTIVATION_CONFIG_PROPERTY_VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getActivationConfigPropertyValue() <em>Activation Config Property Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationConfigPropertyValue()
+ * @generated
+ * @ordered
+ */
+ protected String activationConfigPropertyValue = ACTIVATION_CONFIG_PROPERTY_VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivationConfigPropertyTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getActivationConfigPropertyType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getActivationConfigPropertyName() {
+ return activationConfigPropertyName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivationConfigPropertyName(String newActivationConfigPropertyName) {
+ String oldActivationConfigPropertyName = activationConfigPropertyName;
+ activationConfigPropertyName = newActivationConfigPropertyName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_NAME, oldActivationConfigPropertyName, activationConfigPropertyName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getActivationConfigPropertyValue() {
+ return activationConfigPropertyValue;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActivationConfigPropertyValue(String newActivationConfigPropertyValue) {
+ String oldActivationConfigPropertyValue = activationConfigPropertyValue;
+ activationConfigPropertyValue = newActivationConfigPropertyValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_VALUE, oldActivationConfigPropertyValue, activationConfigPropertyValue));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_NAME:
+ return getActivationConfigPropertyName();
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_VALUE:
+ return getActivationConfigPropertyValue();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_NAME:
+ setActivationConfigPropertyName((String)newValue);
+ return;
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_VALUE:
+ setActivationConfigPropertyValue((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_NAME:
+ setActivationConfigPropertyName(ACTIVATION_CONFIG_PROPERTY_NAME_EDEFAULT);
+ return;
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_VALUE:
+ setActivationConfigPropertyValue(ACTIVATION_CONFIG_PROPERTY_VALUE_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_NAME:
+ return ACTIVATION_CONFIG_PROPERTY_NAME_EDEFAULT == null ? activationConfigPropertyName != null : !ACTIVATION_CONFIG_PROPERTY_NAME_EDEFAULT.equals(activationConfigPropertyName);
+ case JarPackage.ACTIVATION_CONFIG_PROPERTY_TYPE__ACTIVATION_CONFIG_PROPERTY_VALUE:
+ return ACTIVATION_CONFIG_PROPERTY_VALUE_EDEFAULT == null ? activationConfigPropertyValue != null : !ACTIVATION_CONFIG_PROPERTY_VALUE_EDEFAULT.equals(activationConfigPropertyValue);
+ }
+ 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(" (activationConfigPropertyName: ");
+ result.append(activationConfigPropertyName);
+ result.append(", activationConfigPropertyValue: ");
+ result.append(activationConfigPropertyValue);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ActivationConfigPropertyTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigPropertyTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,213 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.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.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.openejb.xml.ns.openejb.jar.ActivationConfigPropertyType;
+import org.openejb.xml.ns.openejb.jar.ActivationConfigType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Activation Config Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.ActivationConfigTypeImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.ActivationConfigTypeImpl#getActivationConfigProperty <em>Activation Config Property</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ActivationConfigTypeImpl extends EObjectImpl implements ActivationConfigType {
+ /**
+ * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected EList description = null;
+
+ /**
+ * The cached value of the '{@link #getActivationConfigProperty() <em>Activation Config Property</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getActivationConfigProperty()
+ * @generated
+ * @ordered
+ */
+ protected EList activationConfigProperty = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ActivationConfigTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getActivationConfigType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getDescription() {
+ if (description == null) {
+ description = new EDataTypeEList(String.class, this, JarPackage.ACTIVATION_CONFIG_TYPE__DESCRIPTION);
+ }
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList getActivationConfigProperty() {
+ if (activationConfigProperty == null) {
+ activationConfigProperty = new EObjectContainmentEList(ActivationConfigPropertyType.class, this, JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY);
+ }
+ return activationConfigProperty;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) {
+ if (featureID >= 0) {
+ switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
+ case JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY:
+ return ((InternalEList)getActivationConfigProperty()).basicRemove(otherEnd, msgs);
+ default:
+ return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
+ }
+ }
+ return eBasicSetContainer(null, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_TYPE__DESCRIPTION:
+ return getDescription();
+ case JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY:
+ return getActivationConfigProperty();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_TYPE__DESCRIPTION:
+ getDescription().clear();
+ getDescription().addAll((Collection)newValue);
+ return;
+ case JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY:
+ getActivationConfigProperty().clear();
+ getActivationConfigProperty().addAll((Collection)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_TYPE__DESCRIPTION:
+ getDescription().clear();
+ return;
+ case JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY:
+ getActivationConfigProperty().clear();
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.ACTIVATION_CONFIG_TYPE__DESCRIPTION:
+ return description != null && !description.isEmpty();
+ case JarPackage.ACTIVATION_CONFIG_TYPE__ACTIVATION_CONFIG_PROPERTY:
+ return activationConfigProperty != null && !activationConfigProperty.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(" (description: ");
+ result.append(description);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ActivationConfigTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/ActivationConfigTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldGroupMappingTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldGroupMappingTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldGroupMappingTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldGroupMappingTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.CmpFieldGroupMappingType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cmp Field Group Mapping Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldGroupMappingTypeImpl#getGroupName <em>Group Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldGroupMappingTypeImpl#getCmpFieldName <em>Cmp Field Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CmpFieldGroupMappingTypeImpl extends EObjectImpl implements CmpFieldGroupMappingType {
+ /**
+ * The default value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected static final String GROUP_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected String groupName = GROUP_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCmpFieldName() <em>Cmp Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CMP_FIELD_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCmpFieldName() <em>Cmp Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldName()
+ * @generated
+ * @ordered
+ */
+ protected String cmpFieldName = CMP_FIELD_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CmpFieldGroupMappingTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getCmpFieldGroupMappingType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGroupName(String newGroupName) {
+ String oldGroupName = groupName;
+ groupName = newGroupName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME, oldGroupName, groupName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCmpFieldName() {
+ return cmpFieldName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCmpFieldName(String newCmpFieldName) {
+ String oldCmpFieldName = cmpFieldName;
+ cmpFieldName = newCmpFieldName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__CMP_FIELD_NAME, oldCmpFieldName, cmpFieldName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ return getGroupName();
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__CMP_FIELD_NAME:
+ return getCmpFieldName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ setGroupName((String)newValue);
+ return;
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__CMP_FIELD_NAME:
+ setCmpFieldName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ setGroupName(GROUP_NAME_EDEFAULT);
+ return;
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__CMP_FIELD_NAME:
+ setCmpFieldName(CMP_FIELD_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ return GROUP_NAME_EDEFAULT == null ? groupName != null : !GROUP_NAME_EDEFAULT.equals(groupName);
+ case JarPackage.CMP_FIELD_GROUP_MAPPING_TYPE__CMP_FIELD_NAME:
+ return CMP_FIELD_NAME_EDEFAULT == null ? cmpFieldName != null : !CMP_FIELD_NAME_EDEFAULT.equals(cmpFieldName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (groupName: ");
+ result.append(groupName);
+ result.append(", cmpFieldName: ");
+ result.append(cmpFieldName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CmpFieldGroupMappingTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldGroupMappingTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldMappingTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldMappingTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldMappingTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldMappingTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,387 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.CmpFieldMappingType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cmp Field Mapping Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldMappingTypeImpl#getCmpFieldName <em>Cmp Field Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldMappingTypeImpl#getCmpFieldClass <em>Cmp Field Class</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldMappingTypeImpl#getTableColumn <em>Table Column</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldMappingTypeImpl#getSqlType <em>Sql Type</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmpFieldMappingTypeImpl#getTypeConverter <em>Type Converter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CmpFieldMappingTypeImpl extends EObjectImpl implements CmpFieldMappingType {
+ /**
+ * The default value of the '{@link #getCmpFieldName() <em>Cmp Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CMP_FIELD_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCmpFieldName() <em>Cmp Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldName()
+ * @generated
+ * @ordered
+ */
+ protected String cmpFieldName = CMP_FIELD_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCmpFieldClass() <em>Cmp Field Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldClass()
+ * @generated
+ * @ordered
+ */
+ protected static final String CMP_FIELD_CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCmpFieldClass() <em>Cmp Field Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmpFieldClass()
+ * @generated
+ * @ordered
+ */
+ protected String cmpFieldClass = CMP_FIELD_CLASS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTableColumn() <em>Table Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTableColumn()
+ * @generated
+ * @ordered
+ */
+ protected static final String TABLE_COLUMN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTableColumn() <em>Table Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTableColumn()
+ * @generated
+ * @ordered
+ */
+ protected String tableColumn = TABLE_COLUMN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSqlType() <em>Sql Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSqlType()
+ * @generated
+ * @ordered
+ */
+ protected static final String SQL_TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSqlType() <em>Sql Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSqlType()
+ * @generated
+ * @ordered
+ */
+ protected String sqlType = SQL_TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTypeConverter() <em>Type Converter</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeConverter()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_CONVERTER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTypeConverter() <em>Type Converter</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTypeConverter()
+ * @generated
+ * @ordered
+ */
+ protected String typeConverter = TYPE_CONVERTER_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CmpFieldMappingTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getCmpFieldMappingType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCmpFieldName() {
+ return cmpFieldName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCmpFieldName(String newCmpFieldName) {
+ String oldCmpFieldName = cmpFieldName;
+ cmpFieldName = newCmpFieldName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_NAME, oldCmpFieldName, cmpFieldName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCmpFieldClass() {
+ return cmpFieldClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCmpFieldClass(String newCmpFieldClass) {
+ String oldCmpFieldClass = cmpFieldClass;
+ cmpFieldClass = newCmpFieldClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_CLASS, oldCmpFieldClass, cmpFieldClass));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTableColumn() {
+ return tableColumn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTableColumn(String newTableColumn) {
+ String oldTableColumn = tableColumn;
+ tableColumn = newTableColumn;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_MAPPING_TYPE__TABLE_COLUMN, oldTableColumn, tableColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSqlType() {
+ return sqlType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSqlType(String newSqlType) {
+ String oldSqlType = sqlType;
+ sqlType = newSqlType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_MAPPING_TYPE__SQL_TYPE, oldSqlType, sqlType));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTypeConverter() {
+ return typeConverter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTypeConverter(String newTypeConverter) {
+ String oldTypeConverter = typeConverter;
+ typeConverter = newTypeConverter;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMP_FIELD_MAPPING_TYPE__TYPE_CONVERTER, oldTypeConverter, typeConverter));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_NAME:
+ return getCmpFieldName();
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_CLASS:
+ return getCmpFieldClass();
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TABLE_COLUMN:
+ return getTableColumn();
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__SQL_TYPE:
+ return getSqlType();
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TYPE_CONVERTER:
+ return getTypeConverter();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_NAME:
+ setCmpFieldName((String)newValue);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_CLASS:
+ setCmpFieldClass((String)newValue);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TABLE_COLUMN:
+ setTableColumn((String)newValue);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__SQL_TYPE:
+ setSqlType((String)newValue);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TYPE_CONVERTER:
+ setTypeConverter((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_NAME:
+ setCmpFieldName(CMP_FIELD_NAME_EDEFAULT);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_CLASS:
+ setCmpFieldClass(CMP_FIELD_CLASS_EDEFAULT);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TABLE_COLUMN:
+ setTableColumn(TABLE_COLUMN_EDEFAULT);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__SQL_TYPE:
+ setSqlType(SQL_TYPE_EDEFAULT);
+ return;
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TYPE_CONVERTER:
+ setTypeConverter(TYPE_CONVERTER_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_NAME:
+ return CMP_FIELD_NAME_EDEFAULT == null ? cmpFieldName != null : !CMP_FIELD_NAME_EDEFAULT.equals(cmpFieldName);
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__CMP_FIELD_CLASS:
+ return CMP_FIELD_CLASS_EDEFAULT == null ? cmpFieldClass != null : !CMP_FIELD_CLASS_EDEFAULT.equals(cmpFieldClass);
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TABLE_COLUMN:
+ return TABLE_COLUMN_EDEFAULT == null ? tableColumn != null : !TABLE_COLUMN_EDEFAULT.equals(tableColumn);
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__SQL_TYPE:
+ return SQL_TYPE_EDEFAULT == null ? sqlType != null : !SQL_TYPE_EDEFAULT.equals(sqlType);
+ case JarPackage.CMP_FIELD_MAPPING_TYPE__TYPE_CONVERTER:
+ return TYPE_CONVERTER_EDEFAULT == null ? typeConverter != null : !TYPE_CONVERTER_EDEFAULT.equals(typeConverter);
+ }
+ 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(" (cmpFieldName: ");
+ result.append(cmpFieldName);
+ result.append(", cmpFieldClass: ");
+ result.append(cmpFieldClass);
+ result.append(", tableColumn: ");
+ result.append(tableColumn);
+ result.append(", sqlType: ");
+ result.append(sqlType);
+ result.append(", typeConverter: ");
+ result.append(typeConverter);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CmpFieldMappingTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmpFieldMappingTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldGroupMappingTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldGroupMappingTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldGroupMappingTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldGroupMappingTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.CmrFieldGroupMappingType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cmr Field Group Mapping Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldGroupMappingTypeImpl#getGroupName <em>Group Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldGroupMappingTypeImpl#getCmrFieldName <em>Cmr Field Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CmrFieldGroupMappingTypeImpl extends EObjectImpl implements CmrFieldGroupMappingType {
+ /**
+ * The default value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected static final String GROUP_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected String groupName = GROUP_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCmrFieldName() <em>Cmr Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmrFieldName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CMR_FIELD_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCmrFieldName() <em>Cmr Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmrFieldName()
+ * @generated
+ * @ordered
+ */
+ protected String cmrFieldName = CMR_FIELD_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CmrFieldGroupMappingTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getCmrFieldGroupMappingType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGroupName(String newGroupName) {
+ String oldGroupName = groupName;
+ groupName = newGroupName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME, oldGroupName, groupName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCmrFieldName() {
+ return cmrFieldName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCmrFieldName(String newCmrFieldName) {
+ String oldCmrFieldName = cmrFieldName;
+ cmrFieldName = newCmrFieldName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__CMR_FIELD_NAME, oldCmrFieldName, cmrFieldName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ return getGroupName();
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__CMR_FIELD_NAME:
+ return getCmrFieldName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ setGroupName((String)newValue);
+ return;
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__CMR_FIELD_NAME:
+ setCmrFieldName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ setGroupName(GROUP_NAME_EDEFAULT);
+ return;
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__CMR_FIELD_NAME:
+ setCmrFieldName(CMR_FIELD_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__GROUP_NAME:
+ return GROUP_NAME_EDEFAULT == null ? groupName != null : !GROUP_NAME_EDEFAULT.equals(groupName);
+ case JarPackage.CMR_FIELD_GROUP_MAPPING_TYPE__CMR_FIELD_NAME:
+ return CMR_FIELD_NAME_EDEFAULT == null ? cmrFieldName != null : !CMR_FIELD_NAME_EDEFAULT.equals(cmrFieldName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (groupName: ");
+ result.append(groupName);
+ result.append(", cmrFieldName: ");
+ result.append(cmrFieldName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CmrFieldGroupMappingTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldGroupMappingTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldMappingTypeImpl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldMappingTypeImpl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldMappingTypeImpl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldMappingTypeImpl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.CmrFieldMappingType;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cmr Field Mapping Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldMappingTypeImpl#getKeyColumn <em>Key Column</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldMappingTypeImpl#getForeignKeyColumn <em>Foreign Key Column</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CmrFieldMappingTypeImpl extends EObjectImpl implements CmrFieldMappingType {
+ /**
+ * The default value of the '{@link #getKeyColumn() <em>Key Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getKeyColumn()
+ * @generated
+ * @ordered
+ */
+ protected static final String KEY_COLUMN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getKeyColumn() <em>Key Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getKeyColumn()
+ * @generated
+ * @ordered
+ */
+ protected String keyColumn = KEY_COLUMN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getForeignKeyColumn() <em>Foreign Key Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getForeignKeyColumn()
+ * @generated
+ * @ordered
+ */
+ protected static final String FOREIGN_KEY_COLUMN_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getForeignKeyColumn() <em>Foreign Key Column</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getForeignKeyColumn()
+ * @generated
+ * @ordered
+ */
+ protected String foreignKeyColumn = FOREIGN_KEY_COLUMN_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CmrFieldMappingTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getCmrFieldMappingType();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getKeyColumn() {
+ return keyColumn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setKeyColumn(String newKeyColumn) {
+ String oldKeyColumn = keyColumn;
+ keyColumn = newKeyColumn;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_MAPPING_TYPE__KEY_COLUMN, oldKeyColumn, keyColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getForeignKeyColumn() {
+ return foreignKeyColumn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setForeignKeyColumn(String newForeignKeyColumn) {
+ String oldForeignKeyColumn = foreignKeyColumn;
+ foreignKeyColumn = newForeignKeyColumn;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_MAPPING_TYPE__FOREIGN_KEY_COLUMN, oldForeignKeyColumn, foreignKeyColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__KEY_COLUMN:
+ return getKeyColumn();
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__FOREIGN_KEY_COLUMN:
+ return getForeignKeyColumn();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__KEY_COLUMN:
+ setKeyColumn((String)newValue);
+ return;
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__FOREIGN_KEY_COLUMN:
+ setForeignKeyColumn((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__KEY_COLUMN:
+ setKeyColumn(KEY_COLUMN_EDEFAULT);
+ return;
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__FOREIGN_KEY_COLUMN:
+ setForeignKeyColumn(FOREIGN_KEY_COLUMN_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__KEY_COLUMN:
+ return KEY_COLUMN_EDEFAULT == null ? keyColumn != null : !KEY_COLUMN_EDEFAULT.equals(keyColumn);
+ case JarPackage.CMR_FIELD_MAPPING_TYPE__FOREIGN_KEY_COLUMN:
+ return FOREIGN_KEY_COLUMN_EDEFAULT == null ? foreignKeyColumn != null : !FOREIGN_KEY_COLUMN_EDEFAULT.equals(foreignKeyColumn);
+ }
+ 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(" (keyColumn: ");
+ result.append(keyColumn);
+ result.append(", foreignKeyColumn: ");
+ result.append(foreignKeyColumn);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CmrFieldMappingTypeImpl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldMappingTypeImpl.java
------------------------------------------------------------------------------
svn:executable = *
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldType1Impl.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldType1Impl.java?rev=233071&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldType1Impl.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldType1Impl.java Tue Aug 16 15:39:15 2005
@@ -0,0 +1,225 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.openejb.xml.ns.openejb.jar.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.openejb.xml.ns.openejb.jar.CmrFieldType1;
+import org.openejb.xml.ns.openejb.jar.JarPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Cmr Field Type1</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldType1Impl#getCmrFieldName <em>Cmr Field Name</em>}</li>
+ * <li>{@link org.openejb.xml.ns.openejb.jar.impl.CmrFieldType1Impl#getGroupName <em>Group Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CmrFieldType1Impl extends EObjectImpl implements CmrFieldType1 {
+ /**
+ * The default value of the '{@link #getCmrFieldName() <em>Cmr Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmrFieldName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CMR_FIELD_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCmrFieldName() <em>Cmr Field Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCmrFieldName()
+ * @generated
+ * @ordered
+ */
+ protected String cmrFieldName = CMR_FIELD_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected static final String GROUP_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getGroupName() <em>Group Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroupName()
+ * @generated
+ * @ordered
+ */
+ protected String groupName = GROUP_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CmrFieldType1Impl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return JarPackage.eINSTANCE.getCmrFieldType1();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCmrFieldName() {
+ return cmrFieldName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCmrFieldName(String newCmrFieldName) {
+ String oldCmrFieldName = cmrFieldName;
+ cmrFieldName = newCmrFieldName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_TYPE1__CMR_FIELD_NAME, oldCmrFieldName, cmrFieldName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getGroupName() {
+ return groupName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGroupName(String newGroupName) {
+ String oldGroupName = groupName;
+ groupName = newGroupName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JarPackage.CMR_FIELD_TYPE1__GROUP_NAME, oldGroupName, groupName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(EStructuralFeature eFeature, boolean resolve) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_TYPE1__CMR_FIELD_NAME:
+ return getCmrFieldName();
+ case JarPackage.CMR_FIELD_TYPE1__GROUP_NAME:
+ return getGroupName();
+ }
+ return eDynamicGet(eFeature, resolve);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(EStructuralFeature eFeature, Object newValue) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_TYPE1__CMR_FIELD_NAME:
+ setCmrFieldName((String)newValue);
+ return;
+ case JarPackage.CMR_FIELD_TYPE1__GROUP_NAME:
+ setGroupName((String)newValue);
+ return;
+ }
+ eDynamicSet(eFeature, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_TYPE1__CMR_FIELD_NAME:
+ setCmrFieldName(CMR_FIELD_NAME_EDEFAULT);
+ return;
+ case JarPackage.CMR_FIELD_TYPE1__GROUP_NAME:
+ setGroupName(GROUP_NAME_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(EStructuralFeature eFeature) {
+ switch (eDerivedStructuralFeatureID(eFeature)) {
+ case JarPackage.CMR_FIELD_TYPE1__CMR_FIELD_NAME:
+ return CMR_FIELD_NAME_EDEFAULT == null ? cmrFieldName != null : !CMR_FIELD_NAME_EDEFAULT.equals(cmrFieldName);
+ case JarPackage.CMR_FIELD_TYPE1__GROUP_NAME:
+ return GROUP_NAME_EDEFAULT == null ? groupName != null : !GROUP_NAME_EDEFAULT.equals(groupName);
+ }
+ return eDynamicIsSet(eFeature);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (cmrFieldName: ");
+ result.append(cmrFieldName);
+ result.append(", groupName: ");
+ result.append(groupName);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CmrFieldType1Impl
Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/openejb/xml/ns/openejb/jar/impl/CmrFieldType1Impl.java
------------------------------------------------------------------------------
svn:executable = *