diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl')
37 files changed, 0 insertions, 12135 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ClassTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ClassTypeImpl.java deleted file mode 100644 index 88fd8fcea..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ClassTypeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ClassType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ClassTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ClassTypeImpl#getClassType <em>Class Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ClassTypeImpl extends EObjectImpl implements ClassType -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getClassType() <em>Class Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassType() - * @generated - * @ordered - */ - protected static final String CLASS_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getClassType() <em>Class Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassType() - * @generated - * @ordered - */ - protected String classType = CLASS_TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ClassTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getClassType(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getClassType() - { - return classType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClassType(String newClassType) - { - String oldClassType = classType; - classType = newClassType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.CLASS_TYPE__CLASS_TYPE, oldClassType, classType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CLASS_TYPE__ID: - return getId(); - case JaxrpcmapPackage.CLASS_TYPE__CLASS_TYPE: - return getClassType(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CLASS_TYPE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.CLASS_TYPE__CLASS_TYPE: - setClassType((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.CLASS_TYPE__CLASS_TYPE: - setClassType(CLASS_TYPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.CLASS_TYPE__CLASS_TYPE: - return CLASS_TYPE_EDEFAULT == null ? classType != null : !CLASS_TYPE_EDEFAULT.equals(classType); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", classType: ");//$NON-NLS-1$ - result.append(classType); - result.append(')'); - return result.toString(); - } - -} //ClassTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ConstructorParameterOrderImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ConstructorParameterOrderImpl.java deleted file mode 100644 index a47979e7a..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ConstructorParameterOrderImpl.java +++ /dev/null @@ -1,241 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Constructor Parameter Order</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ConstructorParameterOrderImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ConstructorParameterOrderImpl#getElementNames <em>Element Names</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ConstructorParameterOrderImpl extends EObjectImpl implements ConstructorParameterOrder -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The cached value of the '{@link #getElementNames() <em>Element Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getElementNames() - * @generated - * @ordered - */ - protected EList elementNames = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConstructorParameterOrderImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getConstructorParameterOrder(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getElementNames() - { - if (elementNames == null) - { - elementNames = new EObjectContainmentEList(ElementName.class, this, JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES); - } - return elementNames; - } - - /** - * <!-- 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 JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - return ((InternalEList)getElementNames()).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 JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - return getId(); - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - return getElementNames(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - getElementNames().clear(); - getElementNames().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - getElementNames().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - return elementNames != null && !elementNames.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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ConstructorParameterOrderImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ElementNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ElementNameImpl.java deleted file mode 100644 index 26c0dce71..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ElementNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Element Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ElementNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ElementNameImpl#getText <em>Text</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ElementNameImpl extends EObjectImpl implements ElementName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected static final String TEXT_EDEFAULT = null; - - /** - * The cached value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected String text = TEXT_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ElementNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getElementName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.ELEMENT_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getText() - { - return text; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setText(String newText) - { - String oldText = text; - text = newText; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.ELEMENT_NAME__TEXT, oldText, text)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - return getId(); - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - return getText(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - setText((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - setText(TEXT_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", text: ");//$NON-NLS-1$ - result.append(text); - result.append(')'); - return result.toString(); - } - -} //ElementNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionMappingImpl.java deleted file mode 100644 index ad8b2689f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionMappingImpl.java +++ /dev/null @@ -1,453 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Exception Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionMappingImpl#getExceptionType <em>Exception Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionMappingImpl#getConstructorParameterOrder <em>Constructor Parameter Order</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExceptionMappingImpl extends EObjectImpl implements ExceptionMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getExceptionType() <em>Exception Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExceptionType() - * @generated - * @ordered - */ - protected static final String EXCEPTION_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExceptionType() <em>Exception Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExceptionType() - * @generated - * @ordered - */ - protected String exceptionType = EXCEPTION_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected static final String WSDL_MESSAGE_PART_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected String wsdlMessagePartName = WSDL_MESSAGE_PART_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getWsdlMessage() <em>Wsdl Message</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessage() - * @generated - * @ordered - */ - protected WSDLMessage wsdlMessage = null; - - /** - * The cached value of the '{@link #getConstructorParameterOrder() <em>Constructor Parameter Order</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConstructorParameterOrder() - * @generated - * @ordered - */ - protected ConstructorParameterOrder constructorParameterOrder = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExceptionMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getExceptionMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getExceptionType() - { - return exceptionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExceptionType(String newExceptionType) - { - String oldExceptionType = exceptionType; - exceptionType = newExceptionType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__EXCEPTION_TYPE, oldExceptionType, exceptionType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlMessagePartName() - { - return wsdlMessagePartName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessagePartName(String newWsdlMessagePartName) - { - String oldWsdlMessagePartName = wsdlMessagePartName; - wsdlMessagePartName = newWsdlMessagePartName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME, oldWsdlMessagePartName, wsdlMessagePartName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessage getWsdlMessage() - { - return wsdlMessage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlMessage(WSDLMessage newWsdlMessage, NotificationChain msgs) - { - WSDLMessage oldWsdlMessage = wsdlMessage; - wsdlMessage = newWsdlMessage; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE, oldWsdlMessage, newWsdlMessage); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessage(WSDLMessage newWsdlMessage) - { - if (newWsdlMessage != wsdlMessage) - { - NotificationChain msgs = null; - if (wsdlMessage != null) - msgs = ((InternalEObject)wsdlMessage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE, null, msgs); - if (newWsdlMessage != null) - msgs = ((InternalEObject)newWsdlMessage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE, null, msgs); - msgs = basicSetWsdlMessage(newWsdlMessage, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE, newWsdlMessage, newWsdlMessage)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstructorParameterOrder getConstructorParameterOrder() - { - return constructorParameterOrder; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetConstructorParameterOrder(ConstructorParameterOrder newConstructorParameterOrder, NotificationChain msgs) - { - ConstructorParameterOrder oldConstructorParameterOrder = constructorParameterOrder; - constructorParameterOrder = newConstructorParameterOrder; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER, oldConstructorParameterOrder, newConstructorParameterOrder); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConstructorParameterOrder(ConstructorParameterOrder newConstructorParameterOrder) - { - if (newConstructorParameterOrder != constructorParameterOrder) - { - NotificationChain msgs = null; - if (constructorParameterOrder != null) - msgs = ((InternalEObject)constructorParameterOrder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER, null, msgs); - if (newConstructorParameterOrder != null) - msgs = ((InternalEObject)newConstructorParameterOrder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER, null, msgs); - msgs = basicSetConstructorParameterOrder(newConstructorParameterOrder, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER, newConstructorParameterOrder, newConstructorParameterOrder)); - } - - /** - * <!-- 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 JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - return basicSetConstructorParameterOrder(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.EXCEPTION_MAPPING__EXCEPTION_TYPE: - return getExceptionType(); - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME: - return getWsdlMessagePartName(); - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - return getWsdlMessage(); - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - return getConstructorParameterOrder(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__EXCEPTION_TYPE: - setExceptionType((String)newValue); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName((String)newValue); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)newValue); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - setConstructorParameterOrder((ConstructorParameterOrder)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__EXCEPTION_TYPE: - setExceptionType(EXCEPTION_TYPE_EDEFAULT); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName(WSDL_MESSAGE_PART_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)null); - return; - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - setConstructorParameterOrder((ConstructorParameterOrder)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.EXCEPTION_MAPPING__EXCEPTION_TYPE: - return EXCEPTION_TYPE_EDEFAULT == null ? exceptionType != null : !EXCEPTION_TYPE_EDEFAULT.equals(exceptionType); - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME: - return WSDL_MESSAGE_PART_NAME_EDEFAULT == null ? wsdlMessagePartName != null : !WSDL_MESSAGE_PART_NAME_EDEFAULT.equals(wsdlMessagePartName); - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - return wsdlMessage != null; - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - return constructorParameterOrder != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", exceptionType: ");//$NON-NLS-1$ - result.append(exceptionType); - result.append(", wsdlMessagePartName: ");//$NON-NLS-1$ - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //ExceptionMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionTypeImpl.java deleted file mode 100644 index 334716fff..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ExceptionTypeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Exception Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ExceptionTypeImpl#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExceptionTypeImpl extends EObjectImpl implements ExceptionType -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExceptionTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getExceptionType(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.EXCEPTION_TYPE__ID, oldId, id)); - } - - /** - * <!-- 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, JaxrpcmapPackage.EXCEPTION_TYPE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_TYPE__ID: - return getId(); - case JaxrpcmapPackage.EXCEPTION_TYPE__NAME: - return getName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_TYPE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.EXCEPTION_TYPE__NAME: - setName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_TYPE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.EXCEPTION_TYPE__NAME: - setName(NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.EXCEPTION_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.EXCEPTION_TYPE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", name: ");//$NON-NLS-1$ - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ExceptionTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/InterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/InterfaceMappingImpl.java deleted file mode 100644 index f53ba9bb0..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/InterfaceMappingImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Interface Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class InterfaceMappingImpl extends EObjectImpl implements InterfaceMapping -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InterfaceMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getInterfaceMapping(); - } - -} //InterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaMethodNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaMethodNameImpl.java deleted file mode 100644 index 6d3415ff8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaMethodNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaMethodName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java Method Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaMethodNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaMethodNameImpl#getJavaMethodName <em>Java Method Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaMethodNameImpl extends EObjectImpl implements JavaMethodName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getJavaMethodName() <em>Java Method Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaMethodName() - * @generated - * @ordered - */ - protected static final String JAVA_METHOD_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaMethodName() <em>Java Method Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaMethodName() - * @generated - * @ordered - */ - protected String javaMethodName = JAVA_METHOD_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaMethodNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getJavaMethodName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_METHOD_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaMethodName() - { - return javaMethodName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaMethodName(String newJavaMethodName) - { - String oldJavaMethodName = javaMethodName; - javaMethodName = newJavaMethodName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_METHOD_NAME__JAVA_METHOD_NAME, oldJavaMethodName, javaMethodName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_METHOD_NAME__ID: - return getId(); - case JaxrpcmapPackage.JAVA_METHOD_NAME__JAVA_METHOD_NAME: - return getJavaMethodName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_METHOD_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.JAVA_METHOD_NAME__JAVA_METHOD_NAME: - setJavaMethodName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_METHOD_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_METHOD_NAME__JAVA_METHOD_NAME: - setJavaMethodName(JAVA_METHOD_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_METHOD_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.JAVA_METHOD_NAME__JAVA_METHOD_NAME: - return JAVA_METHOD_NAME_EDEFAULT == null ? javaMethodName != null : !JAVA_METHOD_NAME_EDEFAULT.equals(javaMethodName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", javaMethodName: ");//$NON-NLS-1$ - result.append(javaMethodName); - result.append(')'); - return result.toString(); - } - -} //JavaMethodNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaPortNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaPortNameImpl.java deleted file mode 100644 index becb52a7d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaPortNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaPortName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java Port Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaPortNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaPortNameImpl#getJavaPortName <em>Java Port Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaPortNameImpl extends EObjectImpl implements JavaPortName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getJavaPortName() <em>Java Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaPortName() - * @generated - * @ordered - */ - protected static final String JAVA_PORT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaPortName() <em>Java Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaPortName() - * @generated - * @ordered - */ - protected String javaPortName = JAVA_PORT_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaPortNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getJavaPortName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_PORT_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaPortName() - { - return javaPortName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaPortName(String newJavaPortName) - { - String oldJavaPortName = javaPortName; - javaPortName = newJavaPortName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_PORT_NAME__JAVA_PORT_NAME, oldJavaPortName, javaPortName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_PORT_NAME__ID: - return getId(); - case JaxrpcmapPackage.JAVA_PORT_NAME__JAVA_PORT_NAME: - return getJavaPortName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_PORT_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.JAVA_PORT_NAME__JAVA_PORT_NAME: - setJavaPortName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_PORT_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_PORT_NAME__JAVA_PORT_NAME: - setJavaPortName(JAVA_PORT_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_PORT_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.JAVA_PORT_NAME__JAVA_PORT_NAME: - return JAVA_PORT_NAME_EDEFAULT == null ? javaPortName != null : !JAVA_PORT_NAME_EDEFAULT.equals(javaPortName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", javaPortName: ");//$NON-NLS-1$ - result.append(javaPortName); - result.append(')'); - return result.toString(); - } - -} //JavaPortNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaVariableNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaVariableNameImpl.java deleted file mode 100644 index 7d55887fa..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaVariableNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaVariableName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java Variable Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaVariableNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaVariableNameImpl#getJavaVariableName <em>Java Variable Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaVariableNameImpl extends EObjectImpl implements JavaVariableName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getJavaVariableName() <em>Java Variable Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVariableName() - * @generated - * @ordered - */ - protected static final String JAVA_VARIABLE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaVariableName() <em>Java Variable Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVariableName() - * @generated - * @ordered - */ - protected String javaVariableName = JAVA_VARIABLE_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaVariableNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getJavaVariableName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_VARIABLE_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaVariableName() - { - return javaVariableName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaVariableName(String newJavaVariableName) - { - String oldJavaVariableName = javaVariableName; - javaVariableName = newJavaVariableName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME, oldJavaVariableName, javaVariableName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__ID: - return getId(); - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME: - return getJavaVariableName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME: - setJavaVariableName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME: - setJavaVariableName(JAVA_VARIABLE_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME: - return JAVA_VARIABLE_NAME_EDEFAULT == null ? javaVariableName != null : !JAVA_VARIABLE_NAME_EDEFAULT.equals(javaVariableName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", javaVariableName: ");//$NON-NLS-1$ - result.append(javaVariableName); - result.append(')'); - return result.toString(); - } - -} //JavaVariableNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaWSDLMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaWSDLMappingImpl.java deleted file mode 100644 index c096ac5bb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaWSDLMappingImpl.java +++ /dev/null @@ -1,358 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java WSDL Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaWSDLMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaWSDLMappingImpl#getPackageMappings <em>Package Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaWSDLMappingImpl#getJavaXMLTypeMappings <em>Java XML Type Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaWSDLMappingImpl#getExceptionMappings <em>Exception Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaWSDLMappingImpl#getInterfaceMappings <em>Interface Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaWSDLMappingImpl extends EObjectImpl implements JavaWSDLMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The cached value of the '{@link #getPackageMappings() <em>Package Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageMappings() - * @generated - * @ordered - */ - protected EList packageMappings = null; - - /** - * The cached value of the '{@link #getJavaXMLTypeMappings() <em>Java XML Type Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaXMLTypeMappings() - * @generated - * @ordered - */ - protected EList javaXMLTypeMappings = null; - - /** - * The cached value of the '{@link #getExceptionMappings() <em>Exception Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExceptionMappings() - * @generated - * @ordered - */ - protected EList exceptionMappings = null; - - /** - * The cached value of the '{@link #getInterfaceMappings() <em>Interface Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getInterfaceMappings() - * @generated - * @ordered - */ - protected EList interfaceMappings = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaWSDLMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getJavaWSDLMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_WSDL_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getPackageMappings() - { - if (packageMappings == null) - { - packageMappings = new EObjectContainmentEList(PackageMapping.class, this, JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS); - } - return packageMappings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getJavaXMLTypeMappings() - { - if (javaXMLTypeMappings == null) - { - javaXMLTypeMappings = new EObjectContainmentEList(JavaXMLTypeMapping.class, this, JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS); - } - return javaXMLTypeMappings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getExceptionMappings() - { - if (exceptionMappings == null) - { - exceptionMappings = new EObjectContainmentEList(ExceptionMapping.class, this, JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS); - } - return exceptionMappings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getInterfaceMappings() - { - if (interfaceMappings == null) - { - interfaceMappings = new EObjectContainmentEList(InterfaceMapping.class, this, JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS); - } - return interfaceMappings; - } - - /** - * <!-- 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 JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS: - return ((InternalEList)getPackageMappings()).basicRemove(otherEnd, msgs); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS: - return ((InternalEList)getJavaXMLTypeMappings()).basicRemove(otherEnd, msgs); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS: - return ((InternalEList)getExceptionMappings()).basicRemove(otherEnd, msgs); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS: - return ((InternalEList)getInterfaceMappings()).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 JaxrpcmapPackage.JAVA_WSDL_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS: - return getPackageMappings(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS: - return getJavaXMLTypeMappings(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS: - return getExceptionMappings(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS: - return getInterfaceMappings(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS: - getPackageMappings().clear(); - getPackageMappings().addAll((Collection)newValue); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS: - getJavaXMLTypeMappings().clear(); - getJavaXMLTypeMappings().addAll((Collection)newValue); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS: - getExceptionMappings().clear(); - getExceptionMappings().addAll((Collection)newValue); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS: - getInterfaceMappings().clear(); - getInterfaceMappings().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS: - getPackageMappings().clear(); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS: - getJavaXMLTypeMappings().clear(); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS: - getExceptionMappings().clear(); - return; - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS: - getInterfaceMappings().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS: - return packageMappings != null && !packageMappings.isEmpty(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS: - return javaXMLTypeMappings != null && !javaXMLTypeMappings.isEmpty(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS: - return exceptionMappings != null && !exceptionMappings.isEmpty(); - case JaxrpcmapPackage.JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS: - return interfaceMappings != null && !interfaceMappings.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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //JavaWSDLMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaXMLTypeMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaXMLTypeMappingImpl.java deleted file mode 100644 index 7b2ace052..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JavaXMLTypeMappingImpl.java +++ /dev/null @@ -1,481 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Java XML Type Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getClassType <em>Class Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getQnameScope <em>Qname Scope</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getAnonymousTypeQname <em>Anonymous Type Qname</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getRootTypeQname <em>Root Type Qname</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.JavaXMLTypeMappingImpl#getVariableMappings <em>Variable Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaXMLTypeMappingImpl extends EObjectImpl implements JavaXMLTypeMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getClassType() <em>Class Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassType() - * @generated - * @ordered - */ - protected static final String CLASS_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getClassType() <em>Class Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClassType() - * @generated - * @ordered - */ - protected String classType = CLASS_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getQnameScope() <em>Qname Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQnameScope() - * @generated - * @ordered - */ - protected static final String QNAME_SCOPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getQnameScope() <em>Qname Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQnameScope() - * @generated - * @ordered - */ - protected String qnameScope = QNAME_SCOPE_EDEFAULT; - - /** - * The default value of the '{@link #getAnonymousTypeQname() <em>Anonymous Type Qname</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAnonymousTypeQname() - * @generated - * @ordered - */ - protected static final String ANONYMOUS_TYPE_QNAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getAnonymousTypeQname() <em>Anonymous Type Qname</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAnonymousTypeQname() - * @generated - * @ordered - */ - protected String anonymousTypeQname = ANONYMOUS_TYPE_QNAME_EDEFAULT; - - /** - * The cached value of the '{@link #getRootTypeQname() <em>Root Type Qname</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRootTypeQname() - * @generated - * @ordered - */ - protected RootTypeQname rootTypeQname = null; - - /** - * The cached value of the '{@link #getVariableMappings() <em>Variable Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVariableMappings() - * @generated - * @ordered - */ - protected EList variableMappings = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JavaXMLTypeMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getJavaXMLTypeMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getClassType() - { - return classType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClassType(String newClassType) - { - String oldClassType = classType; - classType = newClassType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__CLASS_TYPE, oldClassType, classType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getQnameScope() - { - return qnameScope; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setQnameScope(String newQnameScope) - { - String oldQnameScope = qnameScope; - qnameScope = newQnameScope; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__QNAME_SCOPE, oldQnameScope, qnameScope)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getAnonymousTypeQname() - { - return anonymousTypeQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAnonymousTypeQname(String newAnonymousTypeQname) - { - String oldAnonymousTypeQname = anonymousTypeQname; - anonymousTypeQname = newAnonymousTypeQname; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME, oldAnonymousTypeQname, anonymousTypeQname)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RootTypeQname getRootTypeQname() - { - return rootTypeQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRootTypeQname(RootTypeQname newRootTypeQname, NotificationChain msgs) - { - RootTypeQname oldRootTypeQname = rootTypeQname; - rootTypeQname = newRootTypeQname; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME, oldRootTypeQname, newRootTypeQname); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRootTypeQname(RootTypeQname newRootTypeQname) - { - if (newRootTypeQname != rootTypeQname) - { - NotificationChain msgs = null; - if (rootTypeQname != null) - msgs = ((InternalEObject)rootTypeQname).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME, null, msgs); - if (newRootTypeQname != null) - msgs = ((InternalEObject)newRootTypeQname).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME, null, msgs); - msgs = basicSetRootTypeQname(newRootTypeQname, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME, newRootTypeQname, newRootTypeQname)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getVariableMappings() - { - if (variableMappings == null) - { - variableMappings = new EObjectContainmentEList(VariableMapping.class, this, JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS); - } - return variableMappings; - } - - /** - * <!-- 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 JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME: - return basicSetRootTypeQname(null, msgs); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS: - return ((InternalEList)getVariableMappings()).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 JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__CLASS_TYPE: - return getClassType(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__QNAME_SCOPE: - return getQnameScope(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME: - return getAnonymousTypeQname(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME: - return getRootTypeQname(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS: - return getVariableMappings(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__CLASS_TYPE: - setClassType((String)newValue); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__QNAME_SCOPE: - setQnameScope((String)newValue); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME: - setAnonymousTypeQname((String)newValue); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME: - setRootTypeQname((RootTypeQname)newValue); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS: - getVariableMappings().clear(); - getVariableMappings().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__CLASS_TYPE: - setClassType(CLASS_TYPE_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__QNAME_SCOPE: - setQnameScope(QNAME_SCOPE_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME: - setAnonymousTypeQname(ANONYMOUS_TYPE_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME: - setRootTypeQname((RootTypeQname)null); - return; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS: - getVariableMappings().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__CLASS_TYPE: - return CLASS_TYPE_EDEFAULT == null ? classType != null : !CLASS_TYPE_EDEFAULT.equals(classType); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__QNAME_SCOPE: - return QNAME_SCOPE_EDEFAULT == null ? qnameScope != null : !QNAME_SCOPE_EDEFAULT.equals(qnameScope); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME: - return ANONYMOUS_TYPE_QNAME_EDEFAULT == null ? anonymousTypeQname != null : !ANONYMOUS_TYPE_QNAME_EDEFAULT.equals(anonymousTypeQname); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME: - return rootTypeQname != null; - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS: - return variableMappings != null && !variableMappings.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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", classType: ");//$NON-NLS-1$ - result.append(classType); - result.append(", qnameScope: ");//$NON-NLS-1$ - result.append(qnameScope); - result.append(", anonymousTypeQname: ");//$NON-NLS-1$ - result.append(anonymousTypeQname); - result.append(')'); - return result.toString(); - } - -} //JavaXMLTypeMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapFactoryImpl.java deleted file mode 100644 index 1f5a1c672..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapFactoryImpl.java +++ /dev/null @@ -1,514 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ClassType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaMethodName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaPortName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaVariableName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapFactory; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodReturnValue; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamPosition; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParameterMode; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.QnameScope; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.XMLElementName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JaxrpcmapFactoryImpl extends EFactoryImpl implements JaxrpcmapFactory -{ - /** - * Creates and instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JaxrpcmapFactoryImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - case JaxrpcmapPackage.JAVA_WSDL_MAPPING: return createJavaWSDLMapping(); - case JaxrpcmapPackage.PACKAGE_MAPPING: return createPackageMapping(); - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING: return createJavaXMLTypeMapping(); - case JaxrpcmapPackage.EXCEPTION_MAPPING: return createExceptionMapping(); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING: return createServiceInterfaceMapping(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING: return createServiceEndpointInterfaceMapping(); - case JaxrpcmapPackage.PACKAGE_TYPE: return createPackageType(); - case JaxrpcmapPackage.CLASS_TYPE: return createClassType(); - case JaxrpcmapPackage.ROOT_TYPE_QNAME: return createRootTypeQname(); - case JaxrpcmapPackage.QNAME_SCOPE: return createQnameScope(); - case JaxrpcmapPackage.VARIABLE_MAPPING: return createVariableMapping(); - case JaxrpcmapPackage.EXCEPTION_TYPE: return createExceptionType(); - case JaxrpcmapPackage.WSDL_MESSAGE: return createWSDLMessage(); - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER: return createConstructorParameterOrder(); - case JaxrpcmapPackage.JAVA_VARIABLE_NAME: return createJavaVariableName(); - case JaxrpcmapPackage.XML_ELEMENT_NAME: return createXMLElementName(); - case JaxrpcmapPackage.ELEMENT_NAME: return createElementName(); - case JaxrpcmapPackage.WSDL_SERVICE_NAME: return createWSDLServiceName(); - case JaxrpcmapPackage.PORT_MAPPING: return createPortMapping(); - case JaxrpcmapPackage.JAVA_PORT_NAME: return createJavaPortName(); - case JaxrpcmapPackage.WSDL_PORT_TYPE: return createWSDLPortType(); - case JaxrpcmapPackage.WSDL_BINDING: return createWSDLBinding(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING: return createServiceEndpointMethodMapping(); - case JaxrpcmapPackage.JAVA_METHOD_NAME: return createJavaMethodName(); - case JaxrpcmapPackage.WSDL_OPERATION: return createWSDLOperation(); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING: return createMethodParamPartsMapping(); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING: return createWSDLReturnValueMapping(); - case JaxrpcmapPackage.PARAM_POSITION: return createParamPosition(); - case JaxrpcmapPackage.PARAM_TYPE: return createParamType(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING: return createWSDLMessageMapping(); - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME: return createWSDLMessagePartName(); - case JaxrpcmapPackage.PARAMETER_MODE: return createParameterMode(); - case JaxrpcmapPackage.METHOD_RETURN_VALUE: return createMethodReturnValue(); - case JaxrpcmapPackage.INTERFACE_MAPPING: return createInterfaceMapping(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");//$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaWSDLMapping createJavaWSDLMapping() - { - JavaWSDLMappingImpl javaWSDLMapping = new JavaWSDLMappingImpl(); - return javaWSDLMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PackageMapping createPackageMapping() - { - PackageMappingImpl packageMapping = new PackageMappingImpl(); - return packageMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaXMLTypeMapping createJavaXMLTypeMapping() - { - JavaXMLTypeMappingImpl javaXMLTypeMapping = new JavaXMLTypeMappingImpl(); - return javaXMLTypeMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExceptionMapping createExceptionMapping() - { - ExceptionMappingImpl exceptionMapping = new ExceptionMappingImpl(); - return exceptionMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceInterfaceMapping createServiceInterfaceMapping() - { - ServiceInterfaceMappingImpl serviceInterfaceMapping = new ServiceInterfaceMappingImpl(); - return serviceInterfaceMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceEndpointInterfaceMapping createServiceEndpointInterfaceMapping() - { - ServiceEndpointInterfaceMappingImpl serviceEndpointInterfaceMapping = new ServiceEndpointInterfaceMappingImpl(); - return serviceEndpointInterfaceMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PackageType createPackageType() - { - PackageTypeImpl packageType = new PackageTypeImpl(); - return packageType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClassType createClassType() - { - ClassTypeImpl classType = new ClassTypeImpl(); - return classType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RootTypeQname createRootTypeQname() - { - RootTypeQnameImpl rootTypeQname = new RootTypeQnameImpl(); - return rootTypeQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public QnameScope createQnameScope() - { - QnameScopeImpl qnameScope = new QnameScopeImpl(); - return qnameScope; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VariableMapping createVariableMapping() - { - VariableMappingImpl variableMapping = new VariableMappingImpl(); - return variableMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExceptionType createExceptionType() - { - ExceptionTypeImpl exceptionType = new ExceptionTypeImpl(); - return exceptionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessage createWSDLMessage() - { - WSDLMessageImpl wsdlMessage = new WSDLMessageImpl(); - return wsdlMessage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstructorParameterOrder createConstructorParameterOrder() - { - ConstructorParameterOrderImpl constructorParameterOrder = new ConstructorParameterOrderImpl(); - return constructorParameterOrder; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaVariableName createJavaVariableName() - { - JavaVariableNameImpl javaVariableName = new JavaVariableNameImpl(); - return javaVariableName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public XMLElementName createXMLElementName() - { - XMLElementNameImpl xmlElementName = new XMLElementNameImpl(); - return xmlElementName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ElementName createElementName() - { - ElementNameImpl elementName = new ElementNameImpl(); - return elementName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLServiceName createWSDLServiceName() - { - WSDLServiceNameImpl wsdlServiceName = new WSDLServiceNameImpl(); - return wsdlServiceName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortMapping createPortMapping() - { - PortMappingImpl portMapping = new PortMappingImpl(); - return portMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaPortName createJavaPortName() - { - JavaPortNameImpl javaPortName = new JavaPortNameImpl(); - return javaPortName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLPortType createWSDLPortType() - { - WSDLPortTypeImpl wsdlPortType = new WSDLPortTypeImpl(); - return wsdlPortType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLBinding createWSDLBinding() - { - WSDLBindingImpl wsdlBinding = new WSDLBindingImpl(); - return wsdlBinding; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ServiceEndpointMethodMapping createServiceEndpointMethodMapping() - { - ServiceEndpointMethodMappingImpl serviceEndpointMethodMapping = new ServiceEndpointMethodMappingImpl(); - return serviceEndpointMethodMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaMethodName createJavaMethodName() - { - JavaMethodNameImpl javaMethodName = new JavaMethodNameImpl(); - return javaMethodName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLOperation createWSDLOperation() - { - WSDLOperationImpl wsdlOperation = new WSDLOperationImpl(); - return wsdlOperation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MethodParamPartsMapping createMethodParamPartsMapping() - { - MethodParamPartsMappingImpl methodParamPartsMapping = new MethodParamPartsMappingImpl(); - return methodParamPartsMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLReturnValueMapping createWSDLReturnValueMapping() - { - WSDLReturnValueMappingImpl wsdlReturnValueMapping = new WSDLReturnValueMappingImpl(); - return wsdlReturnValueMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParamPosition createParamPosition() - { - ParamPositionImpl paramPosition = new ParamPositionImpl(); - return paramPosition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParamType createParamType() - { - ParamTypeImpl paramType = new ParamTypeImpl(); - return paramType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessageMapping createWSDLMessageMapping() - { - WSDLMessageMappingImpl wsdlMessageMapping = new WSDLMessageMappingImpl(); - return wsdlMessageMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessagePartName createWSDLMessagePartName() - { - WSDLMessagePartNameImpl wsdlMessagePartName = new WSDLMessagePartNameImpl(); - return wsdlMessagePartName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParameterMode createParameterMode() - { - ParameterModeImpl parameterMode = new ParameterModeImpl(); - return parameterMode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MethodReturnValue createMethodReturnValue() - { - MethodReturnValueImpl methodReturnValue = new MethodReturnValueImpl(); - return methodReturnValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InterfaceMapping createInterfaceMapping() - { - InterfaceMappingImpl interfaceMapping = new InterfaceMappingImpl(); - return interfaceMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JaxrpcmapPackage getJaxrpcmapPackage() - { - return (JaxrpcmapPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JaxrpcmapPackage getPackage() - { - return JaxrpcmapPackage.eINSTANCE; - } - -} //JaxrpcmapFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapPackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapPackageImpl.java deleted file mode 100644 index 6d4e12d30..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapPackageImpl.java +++ /dev/null @@ -1,1989 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.jst.j2ee.internal.common.CommonPackage; -import org.eclipse.jst.j2ee.internal.common.impl.CommonPackageImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.internal.wscommon.WscommonPackage; -import org.eclipse.jst.j2ee.webservice.internal.wscommon.impl.WscommonPackageImpl; -import org.eclipse.jst.j2ee.webservice.internal.wsdd.WsddPackage; -import org.eclipse.jst.j2ee.webservice.internal.wsdd.impl.WsddPackageImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ClassType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaMethodName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaPortName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaVariableName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapFactory; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodReturnValue; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamPosition; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParameterMode; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.QnameScope; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.XMLElementName; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JaxrpcmapPackageImpl extends EPackageImpl implements JaxrpcmapPackage -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaWSDLMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass packageMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaXMLTypeMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass exceptionMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceInterfaceMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceEndpointInterfaceMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass packageTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass classTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass rootTypeQnameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass qnameScopeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass variableMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass exceptionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlMessageEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass constructorParameterOrderEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaVariableNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass xmlElementNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass elementNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlServiceNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass portMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaPortNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlPortTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlBindingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass serviceEndpointMethodMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass javaMethodNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlOperationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass methodParamPartsMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlReturnValueMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass paramPositionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass paramTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlMessageMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlMessagePartNameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass parameterModeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass methodReturnValueEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass interfaceMappingEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.JaxrpcmapPackage#eNS_URI - * @see #init() - * @generated - */ - private JaxrpcmapPackageImpl() - { - super(eNS_URI, JaxrpcmapFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - * <p>Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - * <p>Invocation of this method will not affect any packages that have - * already been initialized. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static JaxrpcmapPackage init() - { - if (isInited) return (JaxrpcmapPackage)EPackage.Registry.INSTANCE.getEPackage(JaxrpcmapPackage.eNS_URI); - - // Obtain or create and register package. - JaxrpcmapPackageImpl theJaxrpcmapPackage = (JaxrpcmapPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JaxrpcmapPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - CommonPackageImpl.init(); - - // Obtain or create and register interdependencies - WscommonPackageImpl theWscommonPackage = (WscommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) : WscommonPackage.eINSTANCE); - WsddPackageImpl theWsddPackage = (WsddPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) instanceof EPackage ? EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) : WsddPackage.eINSTANCE); - - // Step 1: create meta-model objects - theJaxrpcmapPackage.createPackageContents(); - theWscommonPackage.createPackageContents(); - theWsddPackage.createPackageContents(); - - // Step 2: complete initialization - theJaxrpcmapPackage.initializePackageContents(); - theWscommonPackage.initializePackageContents(); - theWsddPackage.initializePackageContents(); - - return theJaxrpcmapPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaWSDLMapping() - { - return javaWSDLMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaWSDLMapping_Id() - { - return (EAttribute)javaWSDLMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_PackageMappings() - { - return (EReference)javaWSDLMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_JavaXMLTypeMappings() - { - return (EReference)javaWSDLMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_ExceptionMappings() - { - return (EReference)javaWSDLMappingEClass.getEReferences().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_InterfaceMappings() - { - return (EReference)javaWSDLMappingEClass.getEReferences().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPackageMapping() - { - return packageMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageMapping_Id() - { - return (EAttribute)packageMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageMapping_PackageType() - { - return (EAttribute)packageMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageMapping_NamespaceURI() - { - return (EAttribute)packageMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaXMLTypeMapping() - { - return javaXMLTypeMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_Id() - { - return (EAttribute)javaXMLTypeMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_ClassType() - { - return (EAttribute)javaXMLTypeMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_QnameScope() - { - return (EAttribute)javaXMLTypeMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_AnonymousTypeQname() - { - return (EAttribute)javaXMLTypeMappingEClass.getEAttributes().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaXMLTypeMapping_RootTypeQname() - { - return (EReference)javaXMLTypeMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaXMLTypeMapping_VariableMappings() - { - return (EReference)javaXMLTypeMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExceptionMapping() - { - return exceptionMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionMapping_Id() - { - return (EAttribute)exceptionMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionMapping_ExceptionType() - { - return (EAttribute)exceptionMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionMapping_WsdlMessagePartName() - { - return (EAttribute)exceptionMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExceptionMapping_WsdlMessage() - { - return (EReference)exceptionMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExceptionMapping_ConstructorParameterOrder() - { - return (EReference)exceptionMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceInterfaceMapping() - { - return serviceInterfaceMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceInterfaceMapping_Id() - { - return (EAttribute)serviceInterfaceMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceInterfaceMapping_ServiceInterface() - { - return (EAttribute)serviceInterfaceMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceInterfaceMapping_WsdlServiceName() - { - return (EReference)serviceInterfaceMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceInterfaceMapping_PortMappings() - { - return (EReference)serviceInterfaceMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceEndpointInterfaceMapping() - { - return serviceEndpointInterfaceMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointInterfaceMapping_Id() - { - return (EAttribute)serviceEndpointInterfaceMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointInterfaceMapping_ServiceEndpointInterface() - { - return (EAttribute)serviceEndpointInterfaceMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_WsdlPortType() - { - return (EReference)serviceEndpointInterfaceMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_WsdlBinding() - { - return (EReference)serviceEndpointInterfaceMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_ServiceEndpointMethodMappings() - { - return (EReference)serviceEndpointInterfaceMappingEClass.getEReferences().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPackageType() - { - return packageTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageType_Id() - { - return (EAttribute)packageTypeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageType_PackageType() - { - return (EAttribute)packageTypeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClassType() - { - return classTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClassType_Id() - { - return (EAttribute)classTypeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClassType_ClassType() - { - return (EAttribute)classTypeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRootTypeQname() - { - return rootTypeQnameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getQnameScope() - { - return qnameScopeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQnameScope_Id() - { - return (EAttribute)qnameScopeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getQnameScope_QnameScope() - { - return (EAttribute)qnameScopeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVariableMapping() - { - return variableMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_Id() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_JavaVariableName() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlElementName() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_DataMember() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlAttributeName() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlWildcard() - { - return (EAttribute)variableMappingEClass.getEAttributes().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExceptionType() - { - return exceptionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionType_Id() - { - return (EAttribute)exceptionTypeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionType_Name() - { - return (EAttribute)exceptionTypeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLMessage() - { - return wsdlMessageEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getConstructorParameterOrder() - { - return constructorParameterOrderEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getConstructorParameterOrder_Id() - { - return (EAttribute)constructorParameterOrderEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getConstructorParameterOrder_ElementNames() - { - return (EReference)constructorParameterOrderEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaVariableName() - { - return javaVariableNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaVariableName_Id() - { - return (EAttribute)javaVariableNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaVariableName_JavaVariableName() - { - return (EAttribute)javaVariableNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getXMLElementName() - { - return xmlElementNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXMLElementName_Id() - { - return (EAttribute)xmlElementNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getXMLElementName_XmlElementName() - { - return (EAttribute)xmlElementNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getElementName() - { - return elementNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementName_Id() - { - return (EAttribute)elementNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementName_Text() - { - return (EAttribute)elementNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLServiceName() - { - return wsdlServiceNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPortMapping() - { - return portMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortMapping_Id() - { - return (EAttribute)portMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortMapping_PortName() - { - return (EAttribute)portMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortMapping_JavaPortName() - { - return (EAttribute)portMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaPortName() - { - return javaPortNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaPortName_Id() - { - return (EAttribute)javaPortNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaPortName_JavaPortName() - { - return (EAttribute)javaPortNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLPortType() - { - return wsdlPortTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLBinding() - { - return wsdlBindingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getServiceEndpointMethodMapping() - { - return serviceEndpointMethodMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_Id() - { - return (EAttribute)serviceEndpointMethodMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_JavaMethodName() - { - return (EAttribute)serviceEndpointMethodMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_WsdlOperation() - { - return (EAttribute)serviceEndpointMethodMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_WrappedElement() - { - return (EAttribute)serviceEndpointMethodMappingEClass.getEAttributes().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointMethodMapping_MethodParamPartsMappings() - { - return (EReference)serviceEndpointMethodMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointMethodMapping_WsdlReturnValueMapping() - { - return (EReference)serviceEndpointMethodMappingEClass.getEReferences().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJavaMethodName() - { - return javaMethodNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaMethodName_Id() - { - return (EAttribute)javaMethodNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaMethodName_JavaMethodName() - { - return (EAttribute)javaMethodNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLOperation() - { - return wsdlOperationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLOperation_Id() - { - return (EAttribute)wsdlOperationEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLOperation_WsdlOperation() - { - return (EAttribute)wsdlOperationEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMethodParamPartsMapping() - { - return methodParamPartsMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodParamPartsMapping_Id() - { - return (EAttribute)methodParamPartsMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodParamPartsMapping_ParamPosition() - { - return (EAttribute)methodParamPartsMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodParamPartsMapping_ParamType() - { - return (EAttribute)methodParamPartsMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMethodParamPartsMapping_WsdlMessageMapping() - { - return (EReference)methodParamPartsMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLReturnValueMapping() - { - return wsdlReturnValueMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLReturnValueMapping_Id() - { - return (EAttribute)wsdlReturnValueMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLReturnValueMapping_MethodReturnValue() - { - return (EAttribute)wsdlReturnValueMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLReturnValueMapping_WsdlMessagePartName() - { - return (EAttribute)wsdlReturnValueMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWSDLReturnValueMapping_WsdlMessage() - { - return (EReference)wsdlReturnValueMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParamPosition() - { - return paramPositionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamPosition_Id() - { - return (EAttribute)paramPositionEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamPosition_ParamPosition() - { - return (EAttribute)paramPositionEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParamType() - { - return paramTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamType_Id() - { - return (EAttribute)paramTypeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParamType_ParamType() - { - return (EAttribute)paramTypeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLMessageMapping() - { - return wsdlMessageMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_Id() - { - return (EAttribute)wsdlMessageMappingEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_WsdlMessagePartName() - { - return (EAttribute)wsdlMessageMappingEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_ParameterMode() - { - return (EAttribute)wsdlMessageMappingEClass.getEAttributes().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_SoapHeader() - { - return (EAttribute)wsdlMessageMappingEClass.getEAttributes().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWSDLMessageMapping_WsdlMessage() - { - return (EReference)wsdlMessageMappingEClass.getEReferences().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getWSDLMessagePartName() - { - return wsdlMessagePartNameEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessagePartName_Id() - { - return (EAttribute)wsdlMessagePartNameEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessagePartName_WsdlMessagePartName() - { - return (EAttribute)wsdlMessagePartNameEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParameterMode() - { - return parameterModeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParameterMode_Id() - { - return (EAttribute)parameterModeEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getParameterMode_ParameterMode() - { - return (EAttribute)parameterModeEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getMethodReturnValue() - { - return methodReturnValueEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodReturnValue_Id() - { - return (EAttribute)methodReturnValueEClass.getEAttributes().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodReturnValue_MethodReturnValue() - { - return (EAttribute)methodReturnValueEClass.getEAttributes().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInterfaceMapping() - { - return interfaceMappingEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JaxrpcmapFactory getJaxrpcmapFactory() - { - return (JaxrpcmapFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() - { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - javaWSDLMappingEClass = createEClass(JAVA_WSDL_MAPPING); - createEAttribute(javaWSDLMappingEClass, JAVA_WSDL_MAPPING__ID); - createEReference(javaWSDLMappingEClass, JAVA_WSDL_MAPPING__PACKAGE_MAPPINGS); - createEReference(javaWSDLMappingEClass, JAVA_WSDL_MAPPING__JAVA_XML_TYPE_MAPPINGS); - createEReference(javaWSDLMappingEClass, JAVA_WSDL_MAPPING__EXCEPTION_MAPPINGS); - createEReference(javaWSDLMappingEClass, JAVA_WSDL_MAPPING__INTERFACE_MAPPINGS); - - packageMappingEClass = createEClass(PACKAGE_MAPPING); - createEAttribute(packageMappingEClass, PACKAGE_MAPPING__ID); - createEAttribute(packageMappingEClass, PACKAGE_MAPPING__PACKAGE_TYPE); - createEAttribute(packageMappingEClass, PACKAGE_MAPPING__NAMESPACE_URI); - - javaXMLTypeMappingEClass = createEClass(JAVA_XML_TYPE_MAPPING); - createEAttribute(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__ID); - createEAttribute(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__CLASS_TYPE); - createEAttribute(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__QNAME_SCOPE); - createEAttribute(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__ANONYMOUS_TYPE_QNAME); - createEReference(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__ROOT_TYPE_QNAME); - createEReference(javaXMLTypeMappingEClass, JAVA_XML_TYPE_MAPPING__VARIABLE_MAPPINGS); - - exceptionMappingEClass = createEClass(EXCEPTION_MAPPING); - createEAttribute(exceptionMappingEClass, EXCEPTION_MAPPING__ID); - createEAttribute(exceptionMappingEClass, EXCEPTION_MAPPING__EXCEPTION_TYPE); - createEAttribute(exceptionMappingEClass, EXCEPTION_MAPPING__WSDL_MESSAGE_PART_NAME); - createEReference(exceptionMappingEClass, EXCEPTION_MAPPING__WSDL_MESSAGE); - createEReference(exceptionMappingEClass, EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER); - - serviceInterfaceMappingEClass = createEClass(SERVICE_INTERFACE_MAPPING); - createEAttribute(serviceInterfaceMappingEClass, SERVICE_INTERFACE_MAPPING__ID); - createEAttribute(serviceInterfaceMappingEClass, SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE); - createEReference(serviceInterfaceMappingEClass, SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME); - createEReference(serviceInterfaceMappingEClass, SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS); - - serviceEndpointInterfaceMappingEClass = createEClass(SERVICE_ENDPOINT_INTERFACE_MAPPING); - createEAttribute(serviceEndpointInterfaceMappingEClass, SERVICE_ENDPOINT_INTERFACE_MAPPING__ID); - createEAttribute(serviceEndpointInterfaceMappingEClass, SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE); - createEReference(serviceEndpointInterfaceMappingEClass, SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE); - createEReference(serviceEndpointInterfaceMappingEClass, SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING); - createEReference(serviceEndpointInterfaceMappingEClass, SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS); - - packageTypeEClass = createEClass(PACKAGE_TYPE); - createEAttribute(packageTypeEClass, PACKAGE_TYPE__ID); - createEAttribute(packageTypeEClass, PACKAGE_TYPE__PACKAGE_TYPE); - - classTypeEClass = createEClass(CLASS_TYPE); - createEAttribute(classTypeEClass, CLASS_TYPE__ID); - createEAttribute(classTypeEClass, CLASS_TYPE__CLASS_TYPE); - - rootTypeQnameEClass = createEClass(ROOT_TYPE_QNAME); - - qnameScopeEClass = createEClass(QNAME_SCOPE); - createEAttribute(qnameScopeEClass, QNAME_SCOPE__ID); - createEAttribute(qnameScopeEClass, QNAME_SCOPE__QNAME_SCOPE); - - variableMappingEClass = createEClass(VARIABLE_MAPPING); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__ID); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__JAVA_VARIABLE_NAME); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__XML_ELEMENT_NAME); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__DATA_MEMBER); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__XML_ATTRIBUTE_NAME); - createEAttribute(variableMappingEClass, VARIABLE_MAPPING__XML_WILDCARD); - - exceptionTypeEClass = createEClass(EXCEPTION_TYPE); - createEAttribute(exceptionTypeEClass, EXCEPTION_TYPE__ID); - createEAttribute(exceptionTypeEClass, EXCEPTION_TYPE__NAME); - - wsdlMessageEClass = createEClass(WSDL_MESSAGE); - - constructorParameterOrderEClass = createEClass(CONSTRUCTOR_PARAMETER_ORDER); - createEAttribute(constructorParameterOrderEClass, CONSTRUCTOR_PARAMETER_ORDER__ID); - createEReference(constructorParameterOrderEClass, CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES); - - javaVariableNameEClass = createEClass(JAVA_VARIABLE_NAME); - createEAttribute(javaVariableNameEClass, JAVA_VARIABLE_NAME__ID); - createEAttribute(javaVariableNameEClass, JAVA_VARIABLE_NAME__JAVA_VARIABLE_NAME); - - xmlElementNameEClass = createEClass(XML_ELEMENT_NAME); - createEAttribute(xmlElementNameEClass, XML_ELEMENT_NAME__ID); - createEAttribute(xmlElementNameEClass, XML_ELEMENT_NAME__XML_ELEMENT_NAME); - - elementNameEClass = createEClass(ELEMENT_NAME); - createEAttribute(elementNameEClass, ELEMENT_NAME__ID); - createEAttribute(elementNameEClass, ELEMENT_NAME__TEXT); - - wsdlServiceNameEClass = createEClass(WSDL_SERVICE_NAME); - - portMappingEClass = createEClass(PORT_MAPPING); - createEAttribute(portMappingEClass, PORT_MAPPING__ID); - createEAttribute(portMappingEClass, PORT_MAPPING__PORT_NAME); - createEAttribute(portMappingEClass, PORT_MAPPING__JAVA_PORT_NAME); - - javaPortNameEClass = createEClass(JAVA_PORT_NAME); - createEAttribute(javaPortNameEClass, JAVA_PORT_NAME__ID); - createEAttribute(javaPortNameEClass, JAVA_PORT_NAME__JAVA_PORT_NAME); - - wsdlPortTypeEClass = createEClass(WSDL_PORT_TYPE); - - wsdlBindingEClass = createEClass(WSDL_BINDING); - - serviceEndpointMethodMappingEClass = createEClass(SERVICE_ENDPOINT_METHOD_MAPPING); - createEAttribute(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__ID); - createEAttribute(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME); - createEAttribute(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION); - createEAttribute(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT); - createEReference(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS); - createEReference(serviceEndpointMethodMappingEClass, SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING); - - javaMethodNameEClass = createEClass(JAVA_METHOD_NAME); - createEAttribute(javaMethodNameEClass, JAVA_METHOD_NAME__ID); - createEAttribute(javaMethodNameEClass, JAVA_METHOD_NAME__JAVA_METHOD_NAME); - - wsdlOperationEClass = createEClass(WSDL_OPERATION); - createEAttribute(wsdlOperationEClass, WSDL_OPERATION__ID); - createEAttribute(wsdlOperationEClass, WSDL_OPERATION__WSDL_OPERATION); - - methodParamPartsMappingEClass = createEClass(METHOD_PARAM_PARTS_MAPPING); - createEAttribute(methodParamPartsMappingEClass, METHOD_PARAM_PARTS_MAPPING__ID); - createEAttribute(methodParamPartsMappingEClass, METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION); - createEAttribute(methodParamPartsMappingEClass, METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE); - createEReference(methodParamPartsMappingEClass, METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING); - - wsdlReturnValueMappingEClass = createEClass(WSDL_RETURN_VALUE_MAPPING); - createEAttribute(wsdlReturnValueMappingEClass, WSDL_RETURN_VALUE_MAPPING__ID); - createEAttribute(wsdlReturnValueMappingEClass, WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE); - createEAttribute(wsdlReturnValueMappingEClass, WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME); - createEReference(wsdlReturnValueMappingEClass, WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE); - - paramPositionEClass = createEClass(PARAM_POSITION); - createEAttribute(paramPositionEClass, PARAM_POSITION__ID); - createEAttribute(paramPositionEClass, PARAM_POSITION__PARAM_POSITION); - - paramTypeEClass = createEClass(PARAM_TYPE); - createEAttribute(paramTypeEClass, PARAM_TYPE__ID); - createEAttribute(paramTypeEClass, PARAM_TYPE__PARAM_TYPE); - - wsdlMessageMappingEClass = createEClass(WSDL_MESSAGE_MAPPING); - createEAttribute(wsdlMessageMappingEClass, WSDL_MESSAGE_MAPPING__ID); - createEAttribute(wsdlMessageMappingEClass, WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME); - createEAttribute(wsdlMessageMappingEClass, WSDL_MESSAGE_MAPPING__PARAMETER_MODE); - createEAttribute(wsdlMessageMappingEClass, WSDL_MESSAGE_MAPPING__SOAP_HEADER); - createEReference(wsdlMessageMappingEClass, WSDL_MESSAGE_MAPPING__WSDL_MESSAGE); - - wsdlMessagePartNameEClass = createEClass(WSDL_MESSAGE_PART_NAME); - createEAttribute(wsdlMessagePartNameEClass, WSDL_MESSAGE_PART_NAME__ID); - createEAttribute(wsdlMessagePartNameEClass, WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME); - - parameterModeEClass = createEClass(PARAMETER_MODE); - createEAttribute(parameterModeEClass, PARAMETER_MODE__ID); - createEAttribute(parameterModeEClass, PARAMETER_MODE__PARAMETER_MODE); - - methodReturnValueEClass = createEClass(METHOD_RETURN_VALUE); - createEAttribute(methodReturnValueEClass, METHOD_RETURN_VALUE__ID); - createEAttribute(methodReturnValueEClass, METHOD_RETURN_VALUE__METHOD_RETURN_VALUE); - - interfaceMappingEClass = createEClass(INTERFACE_MAPPING); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() - { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - CommonPackageImpl theCommonPackage = (CommonPackageImpl)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI); - - // Add supertypes to classes - serviceInterfaceMappingEClass.getESuperTypes().add(this.getInterfaceMapping()); - serviceEndpointInterfaceMappingEClass.getESuperTypes().add(this.getInterfaceMapping()); - rootTypeQnameEClass.getESuperTypes().add(theCommonPackage.getQName()); - wsdlMessageEClass.getESuperTypes().add(theCommonPackage.getQName()); - wsdlServiceNameEClass.getESuperTypes().add(theCommonPackage.getQName()); - wsdlPortTypeEClass.getESuperTypes().add(theCommonPackage.getQName()); - wsdlBindingEClass.getESuperTypes().add(theCommonPackage.getQName()); - - // Initialize classes and features; add operations and parameters - initEClass(javaWSDLMappingEClass, JavaWSDLMapping.class, "JavaWSDLMapping", !IS_ABSTRACT, !IS_INTERFACE); //$NON-NLS-1$ - initEAttribute(getJavaWSDLMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaWSDLMapping_PackageMappings(), this.getPackageMapping(), null, "packageMappings", null, 1, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaWSDLMapping_JavaXMLTypeMappings(), this.getJavaXMLTypeMapping(), null, "javaXMLTypeMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaWSDLMapping_ExceptionMappings(), this.getExceptionMapping(), null, "exceptionMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaWSDLMapping_InterfaceMappings(), this.getInterfaceMapping(), null, "interfaceMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(packageMappingEClass, PackageMapping.class, "PackageMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getPackageMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getPackageMapping_PackageType(), ecorePackage.getEString(), "packageType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getPackageMapping_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(javaXMLTypeMappingEClass, JavaXMLTypeMapping.class, "JavaXMLTypeMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getJavaXMLTypeMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaXMLTypeMapping_ClassType(), ecorePackage.getEString(), "classType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaXMLTypeMapping_QnameScope(), ecorePackage.getEString(), "qnameScope", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaXMLTypeMapping_AnonymousTypeQname(), ecorePackage.getEString(), "anonymousTypeQname", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaXMLTypeMapping_RootTypeQname(), this.getRootTypeQname(), null, "rootTypeQname", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getJavaXMLTypeMapping_VariableMappings(), this.getVariableMapping(), null, "variableMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(exceptionMappingEClass, ExceptionMapping.class, "ExceptionMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getExceptionMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getExceptionMapping_ExceptionType(), ecorePackage.getEString(), "exceptionType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getExceptionMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getExceptionMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getExceptionMapping_ConstructorParameterOrder(), this.getConstructorParameterOrder(), null, "constructorParameterOrder", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(serviceInterfaceMappingEClass, ServiceInterfaceMapping.class, "ServiceInterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getServiceInterfaceMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getServiceInterfaceMapping_ServiceInterface(), ecorePackage.getEString(), "serviceInterface", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceInterfaceMapping_WsdlServiceName(), this.getWSDLServiceName(), null, "wsdlServiceName", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceInterfaceMapping_PortMappings(), this.getPortMapping(), null, "portMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(serviceEndpointInterfaceMappingEClass, ServiceEndpointInterfaceMapping.class, "ServiceEndpointInterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getServiceEndpointInterfaceMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getServiceEndpointInterfaceMapping_ServiceEndpointInterface(), ecorePackage.getEString(), "serviceEndpointInterface", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceEndpointInterfaceMapping_WsdlPortType(), this.getWSDLPortType(), null, "wsdlPortType", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceEndpointInterfaceMapping_WsdlBinding(), this.getWSDLBinding(), null, "wsdlBinding", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceEndpointInterfaceMapping_ServiceEndpointMethodMappings(), this.getServiceEndpointMethodMapping(), null, "serviceEndpointMethodMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(packageTypeEClass, PackageType.class, "PackageType", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getPackageType_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getPackageType_PackageType(), ecorePackage.getEString(), "packageType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(classTypeEClass, ClassType.class, "ClassType", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getClassType_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getClassType_ClassType(), ecorePackage.getEString(), "classType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(rootTypeQnameEClass, RootTypeQname.class, "RootTypeQname", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - initEClass(qnameScopeEClass, QnameScope.class, "QnameScope", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getQnameScope_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getQnameScope_QnameScope(), ecorePackage.getEString(), "qnameScope", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(variableMappingEClass, VariableMapping.class, "VariableMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getVariableMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getVariableMapping_JavaVariableName(), ecorePackage.getEString(), "javaVariableName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getVariableMapping_XmlElementName(), ecorePackage.getEString(), "xmlElementName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getVariableMapping_DataMember(), ecorePackage.getEBoolean(), "dataMember", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getVariableMapping_XmlAttributeName(), ecorePackage.getEString(), "xmlAttributeName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getVariableMapping_XmlWildcard(), ecorePackage.getEBoolean(), "xmlWildcard", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(exceptionTypeEClass, ExceptionType.class, "ExceptionType", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getExceptionType_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getExceptionType_Name(), ecorePackage.getEString(), "name", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlMessageEClass, WSDLMessage.class, "WSDLMessage", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - initEClass(constructorParameterOrderEClass, ConstructorParameterOrder.class, "ConstructorParameterOrder", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getConstructorParameterOrder_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getConstructorParameterOrder_ElementNames(), this.getElementName(), null, "elementNames", null, 1, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(javaVariableNameEClass, JavaVariableName.class, "JavaVariableName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getJavaVariableName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaVariableName_JavaVariableName(), ecorePackage.getEString(), "javaVariableName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(xmlElementNameEClass, XMLElementName.class, "XMLElementName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getXMLElementName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getXMLElementName_XmlElementName(), ecorePackage.getEString(), "xmlElementName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(elementNameEClass, ElementName.class, "ElementName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getElementName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getElementName_Text(), ecorePackage.getEString(), "text", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlServiceNameEClass, WSDLServiceName.class, "WSDLServiceName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - initEClass(portMappingEClass, PortMapping.class, "PortMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getPortMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getPortMapping_PortName(), ecorePackage.getEString(), "portName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getPortMapping_JavaPortName(), ecorePackage.getEString(), "javaPortName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(javaPortNameEClass, JavaPortName.class, "JavaPortName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getJavaPortName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaPortName_JavaPortName(), ecorePackage.getEString(), "javaPortName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlPortTypeEClass, WSDLPortType.class, "WSDLPortType", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - initEClass(wsdlBindingEClass, WSDLBinding.class, "WSDLBinding", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - initEClass(serviceEndpointMethodMappingEClass, ServiceEndpointMethodMapping.class, "ServiceEndpointMethodMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getServiceEndpointMethodMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getServiceEndpointMethodMapping_JavaMethodName(), ecorePackage.getEString(), "javaMethodName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getServiceEndpointMethodMapping_WsdlOperation(), ecorePackage.getEString(), "wsdlOperation", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getServiceEndpointMethodMapping_WrappedElement(), ecorePackage.getEBoolean(), "wrappedElement", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceEndpointMethodMapping_MethodParamPartsMappings(), this.getMethodParamPartsMapping(), null, "methodParamPartsMappings", null, 0, -1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getServiceEndpointMethodMapping_WsdlReturnValueMapping(), this.getWSDLReturnValueMapping(), null, "wsdlReturnValueMapping", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(javaMethodNameEClass, JavaMethodName.class, "JavaMethodName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getJavaMethodName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getJavaMethodName_JavaMethodName(), ecorePackage.getEString(), "javaMethodName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlOperationEClass, WSDLOperation.class, "WSDLOperation", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getWSDLOperation_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLOperation_WsdlOperation(), ecorePackage.getEString(), "wsdlOperation", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(methodParamPartsMappingEClass, MethodParamPartsMapping.class, "MethodParamPartsMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getMethodParamPartsMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getMethodParamPartsMapping_ParamPosition(), ecorePackage.getEString(), "paramPosition", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getMethodParamPartsMapping_ParamType(), ecorePackage.getEString(), "paramType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getMethodParamPartsMapping_WsdlMessageMapping(), this.getWSDLMessageMapping(), null, "wsdlMessageMapping", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlReturnValueMappingEClass, WSDLReturnValueMapping.class, "WSDLReturnValueMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getWSDLReturnValueMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLReturnValueMapping_MethodReturnValue(), ecorePackage.getEString(), "methodReturnValue", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLReturnValueMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getWSDLReturnValueMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(paramPositionEClass, ParamPosition.class, "ParamPosition", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getParamPosition_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getParamPosition_ParamPosition(), ecorePackage.getEString(), "paramPosition", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(paramTypeEClass, ParamType.class, "ParamType", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getParamType_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getParamType_ParamType(), ecorePackage.getEString(), "paramType", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlMessageMappingEClass, WSDLMessageMapping.class, "WSDLMessageMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getWSDLMessageMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLMessageMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLMessageMapping_ParameterMode(), ecorePackage.getEString(), "parameterMode", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLMessageMapping_SoapHeader(), ecorePackage.getEBoolean(), "soapHeader", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEReference(getWSDLMessageMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(wsdlMessagePartNameEClass, WSDLMessagePartName.class, "WSDLMessagePartName", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getWSDLMessagePartName_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getWSDLMessagePartName_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(parameterModeEClass, ParameterMode.class, "ParameterMode", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getParameterMode_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getParameterMode_ParameterMode(), ecorePackage.getEString(), "parameterMode", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(methodReturnValueEClass, MethodReturnValue.class, "MethodReturnValue", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - initEAttribute(getMethodReturnValue_Id(), ecorePackage.getEString(), "id", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - initEAttribute(getMethodReturnValue_MethodReturnValue(), ecorePackage.getEString(), "methodReturnValue", null, 0, 1, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, false);//$NON-NLS-1$ - - initEClass(interfaceMappingEClass, InterfaceMapping.class, "InterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE);//$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - } -} //JaxrpcmapPackageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapResourceImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapResourceImpl.java deleted file mode 100644 index 6d39d895d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/JaxrpcmapResourceImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - - -import org.eclipse.emf.common.util.URI; -import org.eclipse.jst.j2ee.internal.J2EEVersionConstants; -import org.eclipse.jst.j2ee.internal.common.impl.XMLResourceImpl; -import org.eclipse.jst.j2ee.internal.model.translator.webservices.JaxrpcmapTranslator; -import org.eclipse.jst.j2ee.webservice.internal.WebServiceConstants; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapResource; -import org.eclipse.wst.common.internal.emf.resource.Renderer; -import org.eclipse.wst.common.internal.emf.resource.Translator; - -public class JaxrpcmapResourceImpl extends XMLResourceImpl implements JaxrpcmapResource -{ - public JaxrpcmapResourceImpl(Renderer aRenderer) { - super(aRenderer); - } - - public JaxrpcmapResourceImpl(URI uri, Renderer aRenderer) { - super(uri, aRenderer); - } - - /** - * Return the first element in the EList. - */ - public JavaWSDLMapping getJavaWSDLMapping() { - return (JavaWSDLMapping) getRootObject(); - } - - /* (non-Javadoc) - * @see com.ibm.etools.emf2xml.TranslatorResource#getRootTranslator() - */ - public Translator getRootTranslator() { - return JaxrpcmapTranslator.INSTANCE; - } - - /** - * @see org.eclipse.jst.j2ee.internal.common.XMLResource#getType() - */ - public int getType() { - return JAXRPC_MAP_TYPE; - } - - /* (non-Javadoc) - * @see com.ibm.etools.emf2xml.TranslatorResource#getDoctype() - */ - public String getDoctype() - { - switch (getJ2EEVersionID()) - { - case (J2EE_1_2_ID) : - case (J2EE_1_3_ID) : - return WebServiceConstants.JAXRPCMAP_DOCTYPE; - default : - return null; - } - } - - - public boolean isJaxrpcmap1_0() - { - return (getModuleVersionID()==WebServiceConstants.WEBSERVICE_1_0_ID); - } - - public boolean isJaxrpcmap1_1() - { - return (getModuleVersionID()==WebServiceConstants.WEBSERVICE_1_1_ID) ; - } - - - /* - * This directly sets the module version id - */ - public void setModuleVersionID(int id) { - super.setVersionID(id); - switch (id) { - case (WebServiceConstants.WEBSERVICE_1_1_ID) : - super.setDoctypeValues(null, null); - break; - case (WebServiceConstants.WEBSERVICE_1_0_ID) : - super.setDoctypeValues(getJ2EE_1_3_PublicID(), getJ2EE_1_3_SystemID()); - break; - } - } - /* - * Based on the J2EE version, this will set the module version - */ - public void setJ2EEVersionID(int id) - { - switch (id) { - case (J2EE_1_4_ID) : - primSetDoctypeValues(null, null); - primSetVersionID(WebServiceConstants.WEBSERVICE_1_1_ID); - break; - case (J2EE_1_3_ID) : - primSetDoctypeValues(getJ2EE_1_3_PublicID(), getJ2EE_1_3_SystemID()); - primSetVersionID(WebServiceConstants.WEBSERVICE_1_0_ID); - break; - case (J2EE_1_2_ID) : - primSetDoctypeValues(getJ2EE_1_2_PublicID(), getJ2EE_1_2_SystemID()); - primSetVersionID(WebServiceConstants.WEBSERVICE_1_0_ID); - } - - } - - /* (non-Javadoc) - * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_2_PublicID() - */ - public String getJ2EE_1_2_PublicID() { - return WebServiceConstants.JAXRPCMAP_PUBLICID; - } - - /* (non-Javadoc) - * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_2_SystemID() - */ - public String getJ2EE_1_2_SystemID() { - return WebServiceConstants.JAXRPCMAP_SYSTEMID; - } - - /* (non-Javadoc) - * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_3_PublicID() - */ - public String getJ2EE_1_3_PublicID() { - return WebServiceConstants.JAXRPCMAP_PUBLICID; - } - - /* (non-Javadoc) - * @see com.ibm.etools.j2eexml.XMLResourceImpl#getJ2EE_1_3_SystemID() - */ - public String getJ2EE_1_3_SystemID() { - return WebServiceConstants.JAXRPCMAP_SYSTEMID; - } - - /* Return J2EE version based on module version - */ - public int getJ2EEVersionID() { - switch (getModuleVersionID()) { - case WebServiceConstants.WEBSERVICE_1_0_ID: - return J2EEVersionConstants.J2EE_1_3_ID; - case WebServiceConstants.WEBSERVICE_1_1_ID : - return J2EEVersionConstants.J2EE_1_4_ID; - default : - return J2EEVersionConstants.J2EE_1_4_ID; - } - } - - - /* (non-Javadoc) - * @see com.ibm.etools.emf2xml.impl.TranslatorResourceImpl#getDefaultVersionID() - */ - protected int getDefaultVersionID() { - return WebServiceConstants.WEBSERVICE_1_1_ID; - } - - protected void syncVersionOfRootObject() - { - //Do nothing for now since the root object does not have a version. - } - - -} - diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodParamPartsMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodParamPartsMappingImpl.java deleted file mode 100644 index bb255799b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodParamPartsMappingImpl.java +++ /dev/null @@ -1,381 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Method Param Parts Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodParamPartsMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodParamPartsMappingImpl#getParamPosition <em>Param Position</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodParamPartsMappingImpl#getParamType <em>Param Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodParamPartsMappingImpl#getWsdlMessageMapping <em>Wsdl Message Mapping</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MethodParamPartsMappingImpl extends EObjectImpl implements MethodParamPartsMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getParamPosition() <em>Param Position</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamPosition() - * @generated - * @ordered - */ - protected static final String PARAM_POSITION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParamPosition() <em>Param Position</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamPosition() - * @generated - * @ordered - */ - protected String paramPosition = PARAM_POSITION_EDEFAULT; - - /** - * The default value of the '{@link #getParamType() <em>Param Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamType() - * @generated - * @ordered - */ - protected static final String PARAM_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParamType() <em>Param Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamType() - * @generated - * @ordered - */ - protected String paramType = PARAM_TYPE_EDEFAULT; - - /** - * The cached value of the '{@link #getWsdlMessageMapping() <em>Wsdl Message Mapping</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessageMapping() - * @generated - * @ordered - */ - protected WSDLMessageMapping wsdlMessageMapping = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MethodParamPartsMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getMethodParamPartsMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamPosition() - { - return paramPosition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamPosition(String newParamPosition) - { - String oldParamPosition = paramPosition; - paramPosition = newParamPosition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION, oldParamPosition, paramPosition)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamType() - { - return paramType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamType(String newParamType) - { - String oldParamType = paramType; - paramType = newParamType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE, oldParamType, paramType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessageMapping getWsdlMessageMapping() - { - return wsdlMessageMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlMessageMapping(WSDLMessageMapping newWsdlMessageMapping, NotificationChain msgs) - { - WSDLMessageMapping oldWsdlMessageMapping = wsdlMessageMapping; - wsdlMessageMapping = newWsdlMessageMapping; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING, oldWsdlMessageMapping, newWsdlMessageMapping); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessageMapping(WSDLMessageMapping newWsdlMessageMapping) - { - if (newWsdlMessageMapping != wsdlMessageMapping) - { - NotificationChain msgs = null; - if (wsdlMessageMapping != null) - msgs = ((InternalEObject)wsdlMessageMapping).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING, null, msgs); - if (newWsdlMessageMapping != null) - msgs = ((InternalEObject)newWsdlMessageMapping).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING, null, msgs); - msgs = basicSetWsdlMessageMapping(newWsdlMessageMapping, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING, newWsdlMessageMapping, newWsdlMessageMapping)); - } - - /** - * <!-- 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 JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - return basicSetWsdlMessageMapping(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION: - return getParamPosition(); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE: - return getParamType(); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - return getWsdlMessageMapping(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION: - setParamPosition((String)newValue); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE: - setParamType((String)newValue); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - setWsdlMessageMapping((WSDLMessageMapping)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION: - setParamPosition(PARAM_POSITION_EDEFAULT); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE: - setParamType(PARAM_TYPE_EDEFAULT); - return; - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - setWsdlMessageMapping((WSDLMessageMapping)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_POSITION: - return PARAM_POSITION_EDEFAULT == null ? paramPosition != null : !PARAM_POSITION_EDEFAULT.equals(paramPosition); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__PARAM_TYPE: - return PARAM_TYPE_EDEFAULT == null ? paramType != null : !PARAM_TYPE_EDEFAULT.equals(paramType); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - return wsdlMessageMapping != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", paramPosition: ");//$NON-NLS-1$ - result.append(paramPosition); - result.append(", paramType: ");//$NON-NLS-1$ - result.append(paramType); - result.append(')'); - return result.toString(); - } - -} //MethodParamPartsMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodReturnValueImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodReturnValueImpl.java deleted file mode 100644 index d6580489c..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/MethodReturnValueImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodReturnValue; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Method Return Value</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodReturnValueImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.MethodReturnValueImpl#getMethodReturnValue <em>Method Return Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MethodReturnValueImpl extends EObjectImpl implements MethodReturnValue -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getMethodReturnValue() <em>Method Return Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMethodReturnValue() - * @generated - * @ordered - */ - protected static final String METHOD_RETURN_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMethodReturnValue() <em>Method Return Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMethodReturnValue() - * @generated - * @ordered - */ - protected String methodReturnValue = METHOD_RETURN_VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected MethodReturnValueImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getMethodReturnValue(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_RETURN_VALUE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMethodReturnValue() - { - return methodReturnValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMethodReturnValue(String newMethodReturnValue) - { - String oldMethodReturnValue = methodReturnValue; - methodReturnValue = newMethodReturnValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.METHOD_RETURN_VALUE__METHOD_RETURN_VALUE, oldMethodReturnValue, methodReturnValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_RETURN_VALUE__ID: - return getId(); - case JaxrpcmapPackage.METHOD_RETURN_VALUE__METHOD_RETURN_VALUE: - return getMethodReturnValue(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_RETURN_VALUE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.METHOD_RETURN_VALUE__METHOD_RETURN_VALUE: - setMethodReturnValue((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_RETURN_VALUE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.METHOD_RETURN_VALUE__METHOD_RETURN_VALUE: - setMethodReturnValue(METHOD_RETURN_VALUE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.METHOD_RETURN_VALUE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.METHOD_RETURN_VALUE__METHOD_RETURN_VALUE: - return METHOD_RETURN_VALUE_EDEFAULT == null ? methodReturnValue != null : !METHOD_RETURN_VALUE_EDEFAULT.equals(methodReturnValue); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", methodReturnValue: ");//$NON-NLS-1$ - result.append(methodReturnValue); - result.append(')'); - return result.toString(); - } - -} //MethodReturnValueImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageMappingImpl.java deleted file mode 100644 index 3c1e6f2f2..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageMappingImpl.java +++ /dev/null @@ -1,289 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Package Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PackageMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PackageMappingImpl#getPackageType <em>Package Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PackageMappingImpl#getNamespaceURI <em>Namespace URI</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PackageMappingImpl extends EObjectImpl implements PackageMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getPackageType() <em>Package Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageType() - * @generated - * @ordered - */ - protected static final String PACKAGE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPackageType() <em>Package Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageType() - * @generated - * @ordered - */ - protected String packageType = PACKAGE_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNamespaceURI() - * @generated - * @ordered - */ - protected static final String NAMESPACE_URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getNamespaceURI() <em>Namespace URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNamespaceURI() - * @generated - * @ordered - */ - protected String namespaceURI = NAMESPACE_URI_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PackageMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getPackageMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PACKAGE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPackageType() - { - return packageType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPackageType(String newPackageType) - { - String oldPackageType = packageType; - packageType = newPackageType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE, oldPackageType, packageType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getNamespaceURI() - { - return namespaceURI; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNamespaceURI(String newNamespaceURI) - { - String oldNamespaceURI = namespaceURI; - namespaceURI = newNamespaceURI; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI, oldNamespaceURI, namespaceURI)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE: - return getPackageType(); - case JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI: - return getNamespaceURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE: - setPackageType((String)newValue); - return; - case JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE: - setPackageType(PACKAGE_TYPE_EDEFAULT); - return; - case JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE: - return PACKAGE_TYPE_EDEFAULT == null ? packageType != null : !PACKAGE_TYPE_EDEFAULT.equals(packageType); - case JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", packageType: ");//$NON-NLS-1$ - result.append(packageType); - result.append(", namespaceURI: ");//$NON-NLS-1$ - result.append(namespaceURI); - result.append(')'); - return result.toString(); - } - -} //PackageMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageTypeImpl.java deleted file mode 100644 index 42e84c685..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PackageTypeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Package Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PackageTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PackageTypeImpl#getPackageType <em>Package Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PackageTypeImpl extends EObjectImpl implements PackageType -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getPackageType() <em>Package Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageType() - * @generated - * @ordered - */ - protected static final String PACKAGE_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPackageType() <em>Package Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPackageType() - * @generated - * @ordered - */ - protected String packageType = PACKAGE_TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PackageTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getPackageType(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PACKAGE_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPackageType() - { - return packageType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPackageType(String newPackageType) - { - String oldPackageType = packageType; - packageType = newPackageType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PACKAGE_TYPE__PACKAGE_TYPE, oldPackageType, packageType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_TYPE__ID: - return getId(); - case JaxrpcmapPackage.PACKAGE_TYPE__PACKAGE_TYPE: - return getPackageType(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_TYPE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PACKAGE_TYPE__PACKAGE_TYPE: - setPackageType((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_TYPE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PACKAGE_TYPE__PACKAGE_TYPE: - setPackageType(PACKAGE_TYPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PACKAGE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PACKAGE_TYPE__PACKAGE_TYPE: - return PACKAGE_TYPE_EDEFAULT == null ? packageType != null : !PACKAGE_TYPE_EDEFAULT.equals(packageType); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", packageType: ");//$NON-NLS-1$ - result.append(packageType); - result.append(')'); - return result.toString(); - } - -} //PackageTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamPositionImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamPositionImpl.java deleted file mode 100644 index 31570dce7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamPositionImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamPosition; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Param Position</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParamPositionImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParamPositionImpl#getParamPosition <em>Param Position</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ParamPositionImpl extends EObjectImpl implements ParamPosition -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getParamPosition() <em>Param Position</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamPosition() - * @generated - * @ordered - */ - protected static final String PARAM_POSITION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParamPosition() <em>Param Position</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamPosition() - * @generated - * @ordered - */ - protected String paramPosition = PARAM_POSITION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParamPositionImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getParamPosition(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAM_POSITION__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamPosition() - { - return paramPosition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamPosition(String newParamPosition) - { - String oldParamPosition = paramPosition; - paramPosition = newParamPosition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAM_POSITION__PARAM_POSITION, oldParamPosition, paramPosition)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_POSITION__ID: - return getId(); - case JaxrpcmapPackage.PARAM_POSITION__PARAM_POSITION: - return getParamPosition(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_POSITION__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PARAM_POSITION__PARAM_POSITION: - setParamPosition((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_POSITION__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PARAM_POSITION__PARAM_POSITION: - setParamPosition(PARAM_POSITION_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_POSITION__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PARAM_POSITION__PARAM_POSITION: - return PARAM_POSITION_EDEFAULT == null ? paramPosition != null : !PARAM_POSITION_EDEFAULT.equals(paramPosition); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", paramPosition: ");//$NON-NLS-1$ - result.append(paramPosition); - result.append(')'); - return result.toString(); - } - -} //ParamPositionImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamTypeImpl.java deleted file mode 100644 index 44067ac00..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParamTypeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParamType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Param Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParamTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParamTypeImpl#getParamType <em>Param Type</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ParamTypeImpl extends EObjectImpl implements ParamType -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getParamType() <em>Param Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamType() - * @generated - * @ordered - */ - protected static final String PARAM_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParamType() <em>Param Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParamType() - * @generated - * @ordered - */ - protected String paramType = PARAM_TYPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParamTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getParamType(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAM_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParamType() - { - return paramType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParamType(String newParamType) - { - String oldParamType = paramType; - paramType = newParamType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAM_TYPE__PARAM_TYPE, oldParamType, paramType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_TYPE__ID: - return getId(); - case JaxrpcmapPackage.PARAM_TYPE__PARAM_TYPE: - return getParamType(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_TYPE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PARAM_TYPE__PARAM_TYPE: - setParamType((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_TYPE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PARAM_TYPE__PARAM_TYPE: - setParamType(PARAM_TYPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAM_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PARAM_TYPE__PARAM_TYPE: - return PARAM_TYPE_EDEFAULT == null ? paramType != null : !PARAM_TYPE_EDEFAULT.equals(paramType); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", paramType: ");//$NON-NLS-1$ - result.append(paramType); - result.append(')'); - return result.toString(); - } - -} //ParamTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParameterModeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParameterModeImpl.java deleted file mode 100644 index f574c6a93..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ParameterModeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ParameterMode; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Parameter Mode</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParameterModeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ParameterModeImpl#getParameterMode <em>Parameter Mode</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ParameterModeImpl extends EObjectImpl implements ParameterMode -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getParameterMode() <em>Parameter Mode</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameterMode() - * @generated - * @ordered - */ - protected static final String PARAMETER_MODE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParameterMode() <em>Parameter Mode</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameterMode() - * @generated - * @ordered - */ - protected String parameterMode = PARAMETER_MODE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParameterModeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getParameterMode(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAMETER_MODE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParameterMode() - { - return parameterMode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParameterMode(String newParameterMode) - { - String oldParameterMode = parameterMode; - parameterMode = newParameterMode; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PARAMETER_MODE__PARAMETER_MODE, oldParameterMode, parameterMode)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAMETER_MODE__ID: - return getId(); - case JaxrpcmapPackage.PARAMETER_MODE__PARAMETER_MODE: - return getParameterMode(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAMETER_MODE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PARAMETER_MODE__PARAMETER_MODE: - setParameterMode((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAMETER_MODE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PARAMETER_MODE__PARAMETER_MODE: - setParameterMode(PARAMETER_MODE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PARAMETER_MODE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PARAMETER_MODE__PARAMETER_MODE: - return PARAMETER_MODE_EDEFAULT == null ? parameterMode != null : !PARAMETER_MODE_EDEFAULT.equals(parameterMode); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", parameterMode: ");//$NON-NLS-1$ - result.append(parameterMode); - result.append(')'); - return result.toString(); - } - -} //ParameterModeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PortMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PortMappingImpl.java deleted file mode 100644 index d8b0ec985..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/PortMappingImpl.java +++ /dev/null @@ -1,289 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Port Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PortMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PortMappingImpl#getPortName <em>Port Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.PortMappingImpl#getJavaPortName <em>Java Port Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PortMappingImpl extends EObjectImpl implements PortMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getPortName() <em>Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortName() - * @generated - * @ordered - */ - protected static final String PORT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPortName() <em>Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortName() - * @generated - * @ordered - */ - protected String portName = PORT_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getJavaPortName() <em>Java Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaPortName() - * @generated - * @ordered - */ - protected static final String JAVA_PORT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaPortName() <em>Java Port Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaPortName() - * @generated - * @ordered - */ - protected String javaPortName = JAVA_PORT_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PortMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getPortMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PORT_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPortName() - { - return portName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPortName(String newPortName) - { - String oldPortName = portName; - portName = newPortName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PORT_MAPPING__PORT_NAME, oldPortName, portName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaPortName() - { - return javaPortName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaPortName(String newJavaPortName) - { - String oldJavaPortName = javaPortName; - javaPortName = newJavaPortName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.PORT_MAPPING__JAVA_PORT_NAME, oldJavaPortName, javaPortName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PORT_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.PORT_MAPPING__PORT_NAME: - return getPortName(); - case JaxrpcmapPackage.PORT_MAPPING__JAVA_PORT_NAME: - return getJavaPortName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PORT_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.PORT_MAPPING__PORT_NAME: - setPortName((String)newValue); - return; - case JaxrpcmapPackage.PORT_MAPPING__JAVA_PORT_NAME: - setJavaPortName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PORT_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.PORT_MAPPING__PORT_NAME: - setPortName(PORT_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.PORT_MAPPING__JAVA_PORT_NAME: - setJavaPortName(JAVA_PORT_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.PORT_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.PORT_MAPPING__PORT_NAME: - return PORT_NAME_EDEFAULT == null ? portName != null : !PORT_NAME_EDEFAULT.equals(portName); - case JaxrpcmapPackage.PORT_MAPPING__JAVA_PORT_NAME: - return JAVA_PORT_NAME_EDEFAULT == null ? javaPortName != null : !JAVA_PORT_NAME_EDEFAULT.equals(javaPortName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", portName: ");//$NON-NLS-1$ - result.append(portName); - result.append(", javaPortName: ");//$NON-NLS-1$ - result.append(javaPortName); - result.append(')'); - return result.toString(); - } - -} //PortMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/QnameScopeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/QnameScopeImpl.java deleted file mode 100644 index 7a4c39a78..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/QnameScopeImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.QnameScope; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Qname Scope</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.QnameScopeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.QnameScopeImpl#getQnameScope <em>Qname Scope</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class QnameScopeImpl extends EObjectImpl implements QnameScope -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getQnameScope() <em>Qname Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQnameScope() - * @generated - * @ordered - */ - protected static final String QNAME_SCOPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getQnameScope() <em>Qname Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQnameScope() - * @generated - * @ordered - */ - protected String qnameScope = QNAME_SCOPE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected QnameScopeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getQnameScope(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.QNAME_SCOPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getQnameScope() - { - return qnameScope; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setQnameScope(String newQnameScope) - { - String oldQnameScope = qnameScope; - qnameScope = newQnameScope; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.QNAME_SCOPE__QNAME_SCOPE, oldQnameScope, qnameScope)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.QNAME_SCOPE__ID: - return getId(); - case JaxrpcmapPackage.QNAME_SCOPE__QNAME_SCOPE: - return getQnameScope(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.QNAME_SCOPE__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.QNAME_SCOPE__QNAME_SCOPE: - setQnameScope((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.QNAME_SCOPE__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.QNAME_SCOPE__QNAME_SCOPE: - setQnameScope(QNAME_SCOPE_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.QNAME_SCOPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.QNAME_SCOPE__QNAME_SCOPE: - return QNAME_SCOPE_EDEFAULT == null ? qnameScope != null : !QNAME_SCOPE_EDEFAULT.equals(qnameScope); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", qnameScope: ");//$NON-NLS-1$ - result.append(qnameScope); - result.append(')'); - return result.toString(); - } - -} //QnameScopeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/RootTypeQnameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/RootTypeQnameImpl.java deleted file mode 100644 index deb261131..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/RootTypeQnameImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.jst.j2ee.internal.common.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Root Type Qname</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class RootTypeQnameImpl extends QNameImpl implements RootTypeQname -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RootTypeQnameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getRootTypeQname(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ROOT_TYPE_QNAME__NAMESPACE_URI: - return getNamespaceURI(); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__LOCAL_PART: - return getLocalPart(); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__COMBINED_QNAME: - return getCombinedQName(); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__INTERNAL_PREFIX_OR_NS_URI: - return getInternalPrefixOrNsURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ROOT_TYPE_QNAME__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__LOCAL_PART: - setLocalPart((String)newValue); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__COMBINED_QNAME: - setCombinedQName((String)newValue); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ROOT_TYPE_QNAME__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__LOCAL_PART: - setLocalPart(LOCAL_PART_EDEFAULT); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__COMBINED_QNAME: - setCombinedQName(COMBINED_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.ROOT_TYPE_QNAME__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI(INTERNAL_PREFIX_OR_NS_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.ROOT_TYPE_QNAME__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__LOCAL_PART: - return LOCAL_PART_EDEFAULT == null ? localPart != null : !LOCAL_PART_EDEFAULT.equals(localPart); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__COMBINED_QNAME: - return COMBINED_QNAME_EDEFAULT == null ? combinedQName != null : !COMBINED_QNAME_EDEFAULT.equals(combinedQName); - case JaxrpcmapPackage.ROOT_TYPE_QNAME__INTERNAL_PREFIX_OR_NS_URI: - return INTERNAL_PREFIX_OR_NS_URI_EDEFAULT == null ? internalPrefixOrNsURI != null : !INTERNAL_PREFIX_OR_NS_URI_EDEFAULT.equals(internalPrefixOrNsURI); - } - return eDynamicIsSet(eFeature); - } - -} //RootTypeQnameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointInterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointInterfaceMappingImpl.java deleted file mode 100644 index 21e9c82e4..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointInterfaceMappingImpl.java +++ /dev/null @@ -1,440 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Endpoint Interface Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointInterfaceMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointInterfaceMappingImpl#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointInterfaceMappingImpl#getWsdlPortType <em>Wsdl Port Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointInterfaceMappingImpl#getWsdlBinding <em>Wsdl Binding</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointInterfaceMappingImpl#getServiceEndpointMethodMappings <em>Service Endpoint Method Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceEndpointInterfaceMappingImpl extends InterfaceMappingImpl implements ServiceEndpointInterfaceMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getServiceEndpointInterface() <em>Service Endpoint Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceEndpointInterface() - * @generated - * @ordered - */ - protected static final String SERVICE_ENDPOINT_INTERFACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceEndpointInterface() <em>Service Endpoint Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceEndpointInterface() - * @generated - * @ordered - */ - protected String serviceEndpointInterface = SERVICE_ENDPOINT_INTERFACE_EDEFAULT; - - /** - * The cached value of the '{@link #getWsdlPortType() <em>Wsdl Port Type</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlPortType() - * @generated - * @ordered - */ - protected WSDLPortType wsdlPortType = null; - - /** - * The cached value of the '{@link #getWsdlBinding() <em>Wsdl Binding</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlBinding() - * @generated - * @ordered - */ - protected WSDLBinding wsdlBinding = null; - - /** - * The cached value of the '{@link #getServiceEndpointMethodMappings() <em>Service Endpoint Method Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceEndpointMethodMappings() - * @generated - * @ordered - */ - protected EList serviceEndpointMethodMappings = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceEndpointInterfaceMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getServiceEndpointInterfaceMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceEndpointInterface() - { - return serviceEndpointInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceEndpointInterface(String newServiceEndpointInterface) - { - String oldServiceEndpointInterface = serviceEndpointInterface; - serviceEndpointInterface = newServiceEndpointInterface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE, oldServiceEndpointInterface, serviceEndpointInterface)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLPortType getWsdlPortType() - { - return wsdlPortType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlPortType(WSDLPortType newWsdlPortType, NotificationChain msgs) - { - WSDLPortType oldWsdlPortType = wsdlPortType; - wsdlPortType = newWsdlPortType; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE, oldWsdlPortType, newWsdlPortType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlPortType(WSDLPortType newWsdlPortType) - { - if (newWsdlPortType != wsdlPortType) - { - NotificationChain msgs = null; - if (wsdlPortType != null) - msgs = ((InternalEObject)wsdlPortType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE, null, msgs); - if (newWsdlPortType != null) - msgs = ((InternalEObject)newWsdlPortType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE, null, msgs); - msgs = basicSetWsdlPortType(newWsdlPortType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE, newWsdlPortType, newWsdlPortType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLBinding getWsdlBinding() - { - return wsdlBinding; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlBinding(WSDLBinding newWsdlBinding, NotificationChain msgs) - { - WSDLBinding oldWsdlBinding = wsdlBinding; - wsdlBinding = newWsdlBinding; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING, oldWsdlBinding, newWsdlBinding); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlBinding(WSDLBinding newWsdlBinding) - { - if (newWsdlBinding != wsdlBinding) - { - NotificationChain msgs = null; - if (wsdlBinding != null) - msgs = ((InternalEObject)wsdlBinding).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING, null, msgs); - if (newWsdlBinding != null) - msgs = ((InternalEObject)newWsdlBinding).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING, null, msgs); - msgs = basicSetWsdlBinding(newWsdlBinding, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING, newWsdlBinding, newWsdlBinding)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getServiceEndpointMethodMappings() - { - if (serviceEndpointMethodMappings == null) - { - serviceEndpointMethodMappings = new EObjectContainmentEList(ServiceEndpointMethodMapping.class, this, JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS); - } - return serviceEndpointMethodMappings; - } - - /** - * <!-- 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 JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE: - return basicSetWsdlPortType(null, msgs); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING: - return basicSetWsdlBinding(null, msgs); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS: - return ((InternalEList)getServiceEndpointMethodMappings()).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 JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE: - return getServiceEndpointInterface(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE: - return getWsdlPortType(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING: - return getWsdlBinding(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS: - return getServiceEndpointMethodMappings(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE: - setServiceEndpointInterface((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE: - setWsdlPortType((WSDLPortType)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING: - setWsdlBinding((WSDLBinding)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS: - getServiceEndpointMethodMappings().clear(); - getServiceEndpointMethodMappings().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE: - setServiceEndpointInterface(SERVICE_ENDPOINT_INTERFACE_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE: - setWsdlPortType((WSDLPortType)null); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING: - setWsdlBinding((WSDLBinding)null); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS: - getServiceEndpointMethodMappings().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_INTERFACE: - return SERVICE_ENDPOINT_INTERFACE_EDEFAULT == null ? serviceEndpointInterface != null : !SERVICE_ENDPOINT_INTERFACE_EDEFAULT.equals(serviceEndpointInterface); - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_PORT_TYPE: - return wsdlPortType != null; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__WSDL_BINDING: - return wsdlBinding != null; - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING__SERVICE_ENDPOINT_METHOD_MAPPINGS: - return serviceEndpointMethodMappings != null && !serviceEndpointMethodMappings.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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", serviceEndpointInterface: ");//$NON-NLS-1$ - result.append(serviceEndpointInterface); - result.append(')'); - return result.toString(); - } - -} //ServiceEndpointInterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointMethodMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointMethodMappingImpl.java deleted file mode 100644 index cb412c0a9..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceEndpointMethodMappingImpl.java +++ /dev/null @@ -1,517 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Endpoint Method Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#getJavaMethodName <em>Java Method Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#getWsdlOperation <em>Wsdl Operation</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#isWrappedElement <em>Wrapped Element</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#getMethodParamPartsMappings <em>Method Param Parts Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceEndpointMethodMappingImpl#getWsdlReturnValueMapping <em>Wsdl Return Value Mapping</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceEndpointMethodMappingImpl extends EObjectImpl implements ServiceEndpointMethodMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getJavaMethodName() <em>Java Method Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaMethodName() - * @generated - * @ordered - */ - protected static final String JAVA_METHOD_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaMethodName() <em>Java Method Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaMethodName() - * @generated - * @ordered - */ - protected String javaMethodName = JAVA_METHOD_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlOperation() <em>Wsdl Operation</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlOperation() - * @generated - * @ordered - */ - protected static final String WSDL_OPERATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlOperation() <em>Wsdl Operation</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlOperation() - * @generated - * @ordered - */ - protected String wsdlOperation = WSDL_OPERATION_EDEFAULT; - - /** - * The default value of the '{@link #isWrappedElement() <em>Wrapped Element</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isWrappedElement() - * @generated - * @ordered - */ - protected static final boolean WRAPPED_ELEMENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isWrappedElement() <em>Wrapped Element</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isWrappedElement() - * @generated - * @ordered - */ - protected boolean wrappedElement = WRAPPED_ELEMENT_EDEFAULT; - - /** - * This is true if the Wrapped Element attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean wrappedElementESet = false; - - /** - * The cached value of the '{@link #getMethodParamPartsMappings() <em>Method Param Parts Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMethodParamPartsMappings() - * @generated - * @ordered - */ - protected EList methodParamPartsMappings = null; - - /** - * The cached value of the '{@link #getWsdlReturnValueMapping() <em>Wsdl Return Value Mapping</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlReturnValueMapping() - * @generated - * @ordered - */ - protected WSDLReturnValueMapping wsdlReturnValueMapping = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceEndpointMethodMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getServiceEndpointMethodMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaMethodName() - { - return javaMethodName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaMethodName(String newJavaMethodName) - { - String oldJavaMethodName = javaMethodName; - javaMethodName = newJavaMethodName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME, oldJavaMethodName, javaMethodName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlOperation() - { - return wsdlOperation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlOperation(String newWsdlOperation) - { - String oldWsdlOperation = wsdlOperation; - wsdlOperation = newWsdlOperation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION, oldWsdlOperation, wsdlOperation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isWrappedElement() - { - return wrappedElement; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWrappedElement(boolean newWrappedElement) - { - boolean oldWrappedElement = wrappedElement; - wrappedElement = newWrappedElement; - boolean oldWrappedElementESet = wrappedElementESet; - wrappedElementESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT, oldWrappedElement, wrappedElement, !oldWrappedElementESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetWrappedElement() - { - boolean oldWrappedElement = wrappedElement; - boolean oldWrappedElementESet = wrappedElementESet; - wrappedElement = WRAPPED_ELEMENT_EDEFAULT; - wrappedElementESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT, oldWrappedElement, WRAPPED_ELEMENT_EDEFAULT, oldWrappedElementESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetWrappedElement() - { - return wrappedElementESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getMethodParamPartsMappings() - { - if (methodParamPartsMappings == null) - { - methodParamPartsMappings = new EObjectContainmentEList(MethodParamPartsMapping.class, this, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS); - } - return methodParamPartsMappings; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLReturnValueMapping getWsdlReturnValueMapping() - { - return wsdlReturnValueMapping; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlReturnValueMapping(WSDLReturnValueMapping newWsdlReturnValueMapping, NotificationChain msgs) - { - WSDLReturnValueMapping oldWsdlReturnValueMapping = wsdlReturnValueMapping; - wsdlReturnValueMapping = newWsdlReturnValueMapping; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING, oldWsdlReturnValueMapping, newWsdlReturnValueMapping); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlReturnValueMapping(WSDLReturnValueMapping newWsdlReturnValueMapping) - { - if (newWsdlReturnValueMapping != wsdlReturnValueMapping) - { - NotificationChain msgs = null; - if (wsdlReturnValueMapping != null) - msgs = ((InternalEObject)wsdlReturnValueMapping).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING, null, msgs); - if (newWsdlReturnValueMapping != null) - msgs = ((InternalEObject)newWsdlReturnValueMapping).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING, null, msgs); - msgs = basicSetWsdlReturnValueMapping(newWsdlReturnValueMapping, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING, newWsdlReturnValueMapping, newWsdlReturnValueMapping)); - } - - /** - * <!-- 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 JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS: - return ((InternalEList)getMethodParamPartsMappings()).basicRemove(otherEnd, msgs); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING: - return basicSetWsdlReturnValueMapping(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME: - return getJavaMethodName(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION: - return getWsdlOperation(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT: - return isWrappedElement() ? Boolean.TRUE : Boolean.FALSE; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS: - return getMethodParamPartsMappings(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING: - return getWsdlReturnValueMapping(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME: - setJavaMethodName((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION: - setWsdlOperation((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT: - setWrappedElement(((Boolean)newValue).booleanValue()); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS: - getMethodParamPartsMappings().clear(); - getMethodParamPartsMappings().addAll((Collection)newValue); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING: - setWsdlReturnValueMapping((WSDLReturnValueMapping)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME: - setJavaMethodName(JAVA_METHOD_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION: - setWsdlOperation(WSDL_OPERATION_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT: - unsetWrappedElement(); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS: - getMethodParamPartsMappings().clear(); - return; - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING: - setWsdlReturnValueMapping((WSDLReturnValueMapping)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__JAVA_METHOD_NAME: - return JAVA_METHOD_NAME_EDEFAULT == null ? javaMethodName != null : !JAVA_METHOD_NAME_EDEFAULT.equals(javaMethodName); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_OPERATION: - return WSDL_OPERATION_EDEFAULT == null ? wsdlOperation != null : !WSDL_OPERATION_EDEFAULT.equals(wsdlOperation); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WRAPPED_ELEMENT: - return isSetWrappedElement(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__METHOD_PARAM_PARTS_MAPPINGS: - return methodParamPartsMappings != null && !methodParamPartsMappings.isEmpty(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING__WSDL_RETURN_VALUE_MAPPING: - return wsdlReturnValueMapping != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", javaMethodName: ");//$NON-NLS-1$ - result.append(javaMethodName); - result.append(", wsdlOperation: ");//$NON-NLS-1$ - result.append(wsdlOperation); - result.append(", wrappedElement: ");//$NON-NLS-1$ - if (wrappedElementESet) result.append(wrappedElement); else result.append("<unset>");//$NON-NLS-1$ - result.append(')'); - return result.toString(); - } - -} //ServiceEndpointMethodMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceInterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceInterfaceMappingImpl.java deleted file mode 100644 index 67b04bd36..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/ServiceInterfaceMappingImpl.java +++ /dev/null @@ -1,368 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Service Interface Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceInterfaceMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceInterfaceMappingImpl#getServiceInterface <em>Service Interface</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceInterfaceMappingImpl#getWsdlServiceName <em>Wsdl Service Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.ServiceInterfaceMappingImpl#getPortMappings <em>Port Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceInterfaceMappingImpl extends InterfaceMappingImpl implements ServiceInterfaceMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getServiceInterface() <em>Service Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceInterface() - * @generated - * @ordered - */ - protected static final String SERVICE_INTERFACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getServiceInterface() <em>Service Interface</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getServiceInterface() - * @generated - * @ordered - */ - protected String serviceInterface = SERVICE_INTERFACE_EDEFAULT; - - /** - * The cached value of the '{@link #getWsdlServiceName() <em>Wsdl Service Name</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlServiceName() - * @generated - * @ordered - */ - protected WSDLServiceName wsdlServiceName = null; - - /** - * The cached value of the '{@link #getPortMappings() <em>Port Mappings</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPortMappings() - * @generated - * @ordered - */ - protected EList portMappings = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ServiceInterfaceMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getServiceInterfaceMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getServiceInterface() - { - return serviceInterface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setServiceInterface(String newServiceInterface) - { - String oldServiceInterface = serviceInterface; - serviceInterface = newServiceInterface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE, oldServiceInterface, serviceInterface)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLServiceName getWsdlServiceName() - { - return wsdlServiceName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlServiceName(WSDLServiceName newWsdlServiceName, NotificationChain msgs) - { - WSDLServiceName oldWsdlServiceName = wsdlServiceName; - wsdlServiceName = newWsdlServiceName; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME, oldWsdlServiceName, newWsdlServiceName); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlServiceName(WSDLServiceName newWsdlServiceName) - { - if (newWsdlServiceName != wsdlServiceName) - { - NotificationChain msgs = null; - if (wsdlServiceName != null) - msgs = ((InternalEObject)wsdlServiceName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME, null, msgs); - if (newWsdlServiceName != null) - msgs = ((InternalEObject)newWsdlServiceName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME, null, msgs); - msgs = basicSetWsdlServiceName(newWsdlServiceName, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME, newWsdlServiceName, newWsdlServiceName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getPortMappings() - { - if (portMappings == null) - { - portMappings = new EObjectContainmentEList(PortMapping.class, this, JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS); - } - return portMappings; - } - - /** - * <!-- 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 JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME: - return basicSetWsdlServiceName(null, msgs); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS: - return ((InternalEList)getPortMappings()).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 JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE: - return getServiceInterface(); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME: - return getWsdlServiceName(); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS: - return getPortMappings(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE: - setServiceInterface((String)newValue); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME: - setWsdlServiceName((WSDLServiceName)newValue); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS: - getPortMappings().clear(); - getPortMappings().addAll((Collection)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE: - setServiceInterface(SERVICE_INTERFACE_EDEFAULT); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME: - setWsdlServiceName((WSDLServiceName)null); - return; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS: - getPortMappings().clear(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__SERVICE_INTERFACE: - return SERVICE_INTERFACE_EDEFAULT == null ? serviceInterface != null : !SERVICE_INTERFACE_EDEFAULT.equals(serviceInterface); - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__WSDL_SERVICE_NAME: - return wsdlServiceName != null; - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING__PORT_MAPPINGS: - return portMappings != null && !portMappings.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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", serviceInterface: ");//$NON-NLS-1$ - result.append(serviceInterface); - result.append(')'); - return result.toString(); - } - -} //ServiceInterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/VariableMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/VariableMappingImpl.java deleted file mode 100644 index c10469006..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/VariableMappingImpl.java +++ /dev/null @@ -1,529 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Variable Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#getJavaVariableName <em>Java Variable Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#getXmlElementName <em>Xml Element Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#isDataMember <em>Data Member</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#getXmlAttributeName <em>Xml Attribute Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.VariableMappingImpl#isXmlWildcard <em>Xml Wildcard</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class VariableMappingImpl extends EObjectImpl implements VariableMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getJavaVariableName() <em>Java Variable Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVariableName() - * @generated - * @ordered - */ - protected static final String JAVA_VARIABLE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getJavaVariableName() <em>Java Variable Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJavaVariableName() - * @generated - * @ordered - */ - protected String javaVariableName = JAVA_VARIABLE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getXmlElementName() <em>Xml Element Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlElementName() - * @generated - * @ordered - */ - protected static final String XML_ELEMENT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getXmlElementName() <em>Xml Element Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlElementName() - * @generated - * @ordered - */ - protected String xmlElementName = XML_ELEMENT_NAME_EDEFAULT; - - /** - * The default value of the '{@link #isDataMember() <em>Data Member</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDataMember() - * @generated - * @ordered - */ - protected static final boolean DATA_MEMBER_EDEFAULT = false; - - /** - * The cached value of the '{@link #isDataMember() <em>Data Member</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDataMember() - * @generated - * @ordered - */ - protected boolean dataMember = DATA_MEMBER_EDEFAULT; - - /** - * This is true if the Data Member attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean dataMemberESet = false; - - /** - * The default value of the '{@link #getXmlAttributeName() <em>Xml Attribute Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlAttributeName() - * @generated - * @ordered - */ - protected static final String XML_ATTRIBUTE_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getXmlAttributeName() <em>Xml Attribute Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlAttributeName() - * @generated - * @ordered - */ - protected String xmlAttributeName = XML_ATTRIBUTE_NAME_EDEFAULT; - - /** - * The default value of the '{@link #isXmlWildcard() <em>Xml Wildcard</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isXmlWildcard() - * @generated - * @ordered - */ - protected static final boolean XML_WILDCARD_EDEFAULT = false; - - /** - * The cached value of the '{@link #isXmlWildcard() <em>Xml Wildcard</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isXmlWildcard() - * @generated - * @ordered - */ - protected boolean xmlWildcard = XML_WILDCARD_EDEFAULT; - - /** - * This is true if the Xml Wildcard attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean xmlWildcardESet = false; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected VariableMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getVariableMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getJavaVariableName() - { - return javaVariableName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setJavaVariableName(String newJavaVariableName) - { - String oldJavaVariableName = javaVariableName; - javaVariableName = newJavaVariableName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__JAVA_VARIABLE_NAME, oldJavaVariableName, javaVariableName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getXmlElementName() - { - return xmlElementName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setXmlElementName(String newXmlElementName) - { - String oldXmlElementName = xmlElementName; - xmlElementName = newXmlElementName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__XML_ELEMENT_NAME, oldXmlElementName, xmlElementName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isDataMember() - { - return dataMember; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDataMember(boolean newDataMember) - { - boolean oldDataMember = dataMember; - dataMember = newDataMember; - boolean oldDataMemberESet = dataMemberESet; - dataMemberESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER, oldDataMember, dataMember, !oldDataMemberESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetDataMember() - { - boolean oldDataMember = dataMember; - boolean oldDataMemberESet = dataMemberESet; - dataMember = DATA_MEMBER_EDEFAULT; - dataMemberESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER, oldDataMember, DATA_MEMBER_EDEFAULT, oldDataMemberESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetDataMember() - { - return dataMemberESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getXmlAttributeName() - { - return xmlAttributeName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setXmlAttributeName(String newXmlAttributeName) - { - String oldXmlAttributeName = xmlAttributeName; - xmlAttributeName = newXmlAttributeName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__XML_ATTRIBUTE_NAME, oldXmlAttributeName, xmlAttributeName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isXmlWildcard() - { - return xmlWildcard; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setXmlWildcard(boolean newXmlWildcard) - { - boolean oldXmlWildcard = xmlWildcard; - xmlWildcard = newXmlWildcard; - boolean oldXmlWildcardESet = xmlWildcardESet; - xmlWildcardESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD, oldXmlWildcard, xmlWildcard, !oldXmlWildcardESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetXmlWildcard() - { - boolean oldXmlWildcard = xmlWildcard; - boolean oldXmlWildcardESet = xmlWildcardESet; - xmlWildcard = XML_WILDCARD_EDEFAULT; - xmlWildcardESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD, oldXmlWildcard, XML_WILDCARD_EDEFAULT, oldXmlWildcardESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetXmlWildcard() - { - return xmlWildcardESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.VARIABLE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.VARIABLE_MAPPING__JAVA_VARIABLE_NAME: - return getJavaVariableName(); - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ELEMENT_NAME: - return getXmlElementName(); - case JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER: - return isDataMember() ? Boolean.TRUE : Boolean.FALSE; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ATTRIBUTE_NAME: - return getXmlAttributeName(); - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD: - return isXmlWildcard() ? Boolean.TRUE : Boolean.FALSE; - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.VARIABLE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__JAVA_VARIABLE_NAME: - setJavaVariableName((String)newValue); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ELEMENT_NAME: - setXmlElementName((String)newValue); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER: - setDataMember(((Boolean)newValue).booleanValue()); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ATTRIBUTE_NAME: - setXmlAttributeName((String)newValue); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD: - setXmlWildcard(((Boolean)newValue).booleanValue()); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.VARIABLE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__JAVA_VARIABLE_NAME: - setJavaVariableName(JAVA_VARIABLE_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ELEMENT_NAME: - setXmlElementName(XML_ELEMENT_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER: - unsetDataMember(); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ATTRIBUTE_NAME: - setXmlAttributeName(XML_ATTRIBUTE_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD: - unsetXmlWildcard(); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.VARIABLE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.VARIABLE_MAPPING__JAVA_VARIABLE_NAME: - return JAVA_VARIABLE_NAME_EDEFAULT == null ? javaVariableName != null : !JAVA_VARIABLE_NAME_EDEFAULT.equals(javaVariableName); - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ELEMENT_NAME: - return XML_ELEMENT_NAME_EDEFAULT == null ? xmlElementName != null : !XML_ELEMENT_NAME_EDEFAULT.equals(xmlElementName); - case JaxrpcmapPackage.VARIABLE_MAPPING__DATA_MEMBER: - return isSetDataMember(); - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_ATTRIBUTE_NAME: - return XML_ATTRIBUTE_NAME_EDEFAULT == null ? xmlAttributeName != null : !XML_ATTRIBUTE_NAME_EDEFAULT.equals(xmlAttributeName); - case JaxrpcmapPackage.VARIABLE_MAPPING__XML_WILDCARD: - return isSetXmlWildcard(); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", javaVariableName: ");//$NON-NLS-1$ - result.append(javaVariableName); - result.append(", xmlElementName: ");//$NON-NLS-1$ - result.append(xmlElementName); - result.append(", dataMember: ");//$NON-NLS-1$ - if (dataMemberESet) result.append(dataMember); else result.append("<unset>");//$NON-NLS-1$ - result.append(", xmlAttributeName: ");//$NON-NLS-1$ - result.append(xmlAttributeName); - result.append(", xmlWildcard: ");//$NON-NLS-1$ - if (xmlWildcardESet) result.append(xmlWildcard); else result.append("<unset>");//$NON-NLS-1$ - result.append(')'); - return result.toString(); - } - -} //VariableMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLBindingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLBindingImpl.java deleted file mode 100644 index 55057497d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLBindingImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.jst.j2ee.internal.common.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Binding</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class WSDLBindingImpl extends QNameImpl implements WSDLBinding -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLBindingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLBinding(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_BINDING__NAMESPACE_URI: - return getNamespaceURI(); - case JaxrpcmapPackage.WSDL_BINDING__LOCAL_PART: - return getLocalPart(); - case JaxrpcmapPackage.WSDL_BINDING__COMBINED_QNAME: - return getCombinedQName(); - case JaxrpcmapPackage.WSDL_BINDING__INTERNAL_PREFIX_OR_NS_URI: - return getInternalPrefixOrNsURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_BINDING__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - case JaxrpcmapPackage.WSDL_BINDING__LOCAL_PART: - setLocalPart((String)newValue); - return; - case JaxrpcmapPackage.WSDL_BINDING__COMBINED_QNAME: - setCombinedQName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_BINDING__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_BINDING__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_BINDING__LOCAL_PART: - setLocalPart(LOCAL_PART_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_BINDING__COMBINED_QNAME: - setCombinedQName(COMBINED_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_BINDING__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI(INTERNAL_PREFIX_OR_NS_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_BINDING__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - case JaxrpcmapPackage.WSDL_BINDING__LOCAL_PART: - return LOCAL_PART_EDEFAULT == null ? localPart != null : !LOCAL_PART_EDEFAULT.equals(localPart); - case JaxrpcmapPackage.WSDL_BINDING__COMBINED_QNAME: - return COMBINED_QNAME_EDEFAULT == null ? combinedQName != null : !COMBINED_QNAME_EDEFAULT.equals(combinedQName); - case JaxrpcmapPackage.WSDL_BINDING__INTERNAL_PREFIX_OR_NS_URI: - return INTERNAL_PREFIX_OR_NS_URI_EDEFAULT == null ? internalPrefixOrNsURI != null : !INTERNAL_PREFIX_OR_NS_URI_EDEFAULT.equals(internalPrefixOrNsURI); - } - return eDynamicIsSet(eFeature); - } - -} //WSDLBindingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageImpl.java deleted file mode 100644 index 1ab2f41e6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.jst.j2ee.internal.common.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Message</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class WSDLMessageImpl extends QNameImpl implements WSDLMessage -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLMessageImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLMessage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE__NAMESPACE_URI: - return getNamespaceURI(); - case JaxrpcmapPackage.WSDL_MESSAGE__LOCAL_PART: - return getLocalPart(); - case JaxrpcmapPackage.WSDL_MESSAGE__COMBINED_QNAME: - return getCombinedQName(); - case JaxrpcmapPackage.WSDL_MESSAGE__INTERNAL_PREFIX_OR_NS_URI: - return getInternalPrefixOrNsURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__LOCAL_PART: - setLocalPart((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__COMBINED_QNAME: - setCombinedQName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__LOCAL_PART: - setLocalPart(LOCAL_PART_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__COMBINED_QNAME: - setCombinedQName(COMBINED_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI(INTERNAL_PREFIX_OR_NS_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - case JaxrpcmapPackage.WSDL_MESSAGE__LOCAL_PART: - return LOCAL_PART_EDEFAULT == null ? localPart != null : !LOCAL_PART_EDEFAULT.equals(localPart); - case JaxrpcmapPackage.WSDL_MESSAGE__COMBINED_QNAME: - return COMBINED_QNAME_EDEFAULT == null ? combinedQName != null : !COMBINED_QNAME_EDEFAULT.equals(combinedQName); - case JaxrpcmapPackage.WSDL_MESSAGE__INTERNAL_PREFIX_OR_NS_URI: - return INTERNAL_PREFIX_OR_NS_URI_EDEFAULT == null ? internalPrefixOrNsURI != null : !INTERNAL_PREFIX_OR_NS_URI_EDEFAULT.equals(internalPrefixOrNsURI); - } - return eDynamicIsSet(eFeature); - } - -} //WSDLMessageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageMappingImpl.java deleted file mode 100644 index 04b66fa9a..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessageMappingImpl.java +++ /dev/null @@ -1,473 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Message Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessageMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessageMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessageMappingImpl#getParameterMode <em>Parameter Mode</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessageMappingImpl#isSoapHeader <em>Soap Header</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessageMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLMessageMappingImpl extends EObjectImpl implements WSDLMessageMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected static final String WSDL_MESSAGE_PART_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected String wsdlMessagePartName = WSDL_MESSAGE_PART_NAME_EDEFAULT; - - /** - * The default value of the '{@link #getParameterMode() <em>Parameter Mode</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameterMode() - * @generated - * @ordered - */ - protected static final String PARAMETER_MODE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getParameterMode() <em>Parameter Mode</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getParameterMode() - * @generated - * @ordered - */ - protected String parameterMode = PARAMETER_MODE_EDEFAULT; - - /** - * The default value of the '{@link #isSoapHeader() <em>Soap Header</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSoapHeader() - * @generated - * @ordered - */ - protected static final boolean SOAP_HEADER_EDEFAULT = false; - - /** - * The cached value of the '{@link #isSoapHeader() <em>Soap Header</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSoapHeader() - * @generated - * @ordered - */ - protected boolean soapHeader = SOAP_HEADER_EDEFAULT; - - /** - * This is true if the Soap Header attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean soapHeaderESet = false; - - /** - * The cached value of the '{@link #getWsdlMessage() <em>Wsdl Message</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessage() - * @generated - * @ordered - */ - protected WSDLMessage wsdlMessage = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLMessageMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLMessageMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlMessagePartName() - { - return wsdlMessagePartName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessagePartName(String newWsdlMessagePartName) - { - String oldWsdlMessagePartName = wsdlMessagePartName; - wsdlMessagePartName = newWsdlMessagePartName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME, oldWsdlMessagePartName, wsdlMessagePartName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getParameterMode() - { - return parameterMode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParameterMode(String newParameterMode) - { - String oldParameterMode = parameterMode; - parameterMode = newParameterMode; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__PARAMETER_MODE, oldParameterMode, parameterMode)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSoapHeader() - { - return soapHeader; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSoapHeader(boolean newSoapHeader) - { - boolean oldSoapHeader = soapHeader; - soapHeader = newSoapHeader; - boolean oldSoapHeaderESet = soapHeaderESet; - soapHeaderESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER, oldSoapHeader, soapHeader, !oldSoapHeaderESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetSoapHeader() - { - boolean oldSoapHeader = soapHeader; - boolean oldSoapHeaderESet = soapHeaderESet; - soapHeader = SOAP_HEADER_EDEFAULT; - soapHeaderESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER, oldSoapHeader, SOAP_HEADER_EDEFAULT, oldSoapHeaderESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetSoapHeader() - { - return soapHeaderESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessage getWsdlMessage() - { - return wsdlMessage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlMessage(WSDLMessage newWsdlMessage, NotificationChain msgs) - { - WSDLMessage oldWsdlMessage = wsdlMessage; - wsdlMessage = newWsdlMessage; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE, oldWsdlMessage, newWsdlMessage); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessage(WSDLMessage newWsdlMessage) - { - if (newWsdlMessage != wsdlMessage) - { - NotificationChain msgs = null; - if (wsdlMessage != null) - msgs = ((InternalEObject)wsdlMessage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE, null, msgs); - if (newWsdlMessage != null) - msgs = ((InternalEObject)newWsdlMessage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE, null, msgs); - msgs = basicSetWsdlMessage(newWsdlMessage, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE, newWsdlMessage, newWsdlMessage)); - } - - /** - * <!-- 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 JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME: - return getWsdlMessagePartName(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__PARAMETER_MODE: - return getParameterMode(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER: - return isSoapHeader() ? Boolean.TRUE : Boolean.FALSE; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - return getWsdlMessage(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__PARAMETER_MODE: - setParameterMode((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER: - setSoapHeader(((Boolean)newValue).booleanValue()); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName(WSDL_MESSAGE_PART_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__PARAMETER_MODE: - setParameterMode(PARAMETER_MODE_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER: - unsetSoapHeader(); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE_PART_NAME: - return WSDL_MESSAGE_PART_NAME_EDEFAULT == null ? wsdlMessagePartName != null : !WSDL_MESSAGE_PART_NAME_EDEFAULT.equals(wsdlMessagePartName); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__PARAMETER_MODE: - return PARAMETER_MODE_EDEFAULT == null ? parameterMode != null : !PARAMETER_MODE_EDEFAULT.equals(parameterMode); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__SOAP_HEADER: - return isSetSoapHeader(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - return wsdlMessage != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", wsdlMessagePartName: ");//$NON-NLS-1$ - result.append(wsdlMessagePartName); - result.append(", parameterMode: ");//$NON-NLS-1$ - result.append(parameterMode); - result.append(", soapHeader: ");//$NON-NLS-1$ - if (soapHeaderESet) result.append(soapHeader); else result.append("<unset>");//$NON-NLS-1$ - result.append(')'); - return result.toString(); - } - -} //WSDLMessageMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessagePartNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessagePartNameImpl.java deleted file mode 100644 index e2cc2ffeb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLMessagePartNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Message Part Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessagePartNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLMessagePartNameImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLMessagePartNameImpl extends EObjectImpl implements WSDLMessagePartName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected static final String WSDL_MESSAGE_PART_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected String wsdlMessagePartName = WSDL_MESSAGE_PART_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLMessagePartNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLMessagePartName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlMessagePartName() - { - return wsdlMessagePartName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessagePartName(String newWsdlMessagePartName) - { - String oldWsdlMessagePartName = wsdlMessagePartName; - wsdlMessagePartName = newWsdlMessagePartName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME, oldWsdlMessagePartName, wsdlMessagePartName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID: - return getId(); - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME: - return getWsdlMessagePartName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName(WSDL_MESSAGE_PART_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME: - return WSDL_MESSAGE_PART_NAME_EDEFAULT == null ? wsdlMessagePartName != null : !WSDL_MESSAGE_PART_NAME_EDEFAULT.equals(wsdlMessagePartName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", wsdlMessagePartName: ");//$NON-NLS-1$ - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //WSDLMessagePartNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLOperationImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLOperationImpl.java deleted file mode 100644 index 288af4df6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLOperationImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Operation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLOperationImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLOperationImpl#getWsdlOperation <em>Wsdl Operation</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLOperationImpl extends EObjectImpl implements WSDLOperation -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlOperation() <em>Wsdl Operation</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlOperation() - * @generated - * @ordered - */ - protected static final String WSDL_OPERATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlOperation() <em>Wsdl Operation</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlOperation() - * @generated - * @ordered - */ - protected String wsdlOperation = WSDL_OPERATION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLOperationImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLOperation(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_OPERATION__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlOperation() - { - return wsdlOperation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlOperation(String newWsdlOperation) - { - String oldWsdlOperation = wsdlOperation; - wsdlOperation = newWsdlOperation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION, oldWsdlOperation, wsdlOperation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - return getId(); - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - return getWsdlOperation(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - setWsdlOperation((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - setWsdlOperation(WSDL_OPERATION_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - return WSDL_OPERATION_EDEFAULT == null ? wsdlOperation != null : !WSDL_OPERATION_EDEFAULT.equals(wsdlOperation); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", wsdlOperation: ");//$NON-NLS-1$ - result.append(wsdlOperation); - result.append(')'); - return result.toString(); - } - -} //WSDLOperationImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLPortTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLPortTypeImpl.java deleted file mode 100644 index 21a6f33c3..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLPortTypeImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.jst.j2ee.internal.common.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Port Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class WSDLPortTypeImpl extends QNameImpl implements WSDLPortType -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLPortTypeImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLPortType(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_PORT_TYPE__NAMESPACE_URI: - return getNamespaceURI(); - case JaxrpcmapPackage.WSDL_PORT_TYPE__LOCAL_PART: - return getLocalPart(); - case JaxrpcmapPackage.WSDL_PORT_TYPE__COMBINED_QNAME: - return getCombinedQName(); - case JaxrpcmapPackage.WSDL_PORT_TYPE__INTERNAL_PREFIX_OR_NS_URI: - return getInternalPrefixOrNsURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_PORT_TYPE__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__LOCAL_PART: - setLocalPart((String)newValue); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__COMBINED_QNAME: - setCombinedQName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_PORT_TYPE__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__LOCAL_PART: - setLocalPart(LOCAL_PART_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__COMBINED_QNAME: - setCombinedQName(COMBINED_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_PORT_TYPE__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI(INTERNAL_PREFIX_OR_NS_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_PORT_TYPE__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - case JaxrpcmapPackage.WSDL_PORT_TYPE__LOCAL_PART: - return LOCAL_PART_EDEFAULT == null ? localPart != null : !LOCAL_PART_EDEFAULT.equals(localPart); - case JaxrpcmapPackage.WSDL_PORT_TYPE__COMBINED_QNAME: - return COMBINED_QNAME_EDEFAULT == null ? combinedQName != null : !COMBINED_QNAME_EDEFAULT.equals(combinedQName); - case JaxrpcmapPackage.WSDL_PORT_TYPE__INTERNAL_PREFIX_OR_NS_URI: - return INTERNAL_PREFIX_OR_NS_URI_EDEFAULT == null ? internalPrefixOrNsURI != null : !INTERNAL_PREFIX_OR_NS_URI_EDEFAULT.equals(internalPrefixOrNsURI); - } - return eDynamicIsSet(eFeature); - } - -} //WSDLPortTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLReturnValueMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLReturnValueMappingImpl.java deleted file mode 100644 index 834899d2c..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLReturnValueMappingImpl.java +++ /dev/null @@ -1,381 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Return Value Mapping</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLReturnValueMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLReturnValueMappingImpl#getMethodReturnValue <em>Method Return Value</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLReturnValueMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.WSDLReturnValueMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLReturnValueMappingImpl extends EObjectImpl implements WSDLReturnValueMapping -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getMethodReturnValue() <em>Method Return Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMethodReturnValue() - * @generated - * @ordered - */ - protected static final String METHOD_RETURN_VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getMethodReturnValue() <em>Method Return Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getMethodReturnValue() - * @generated - * @ordered - */ - protected String methodReturnValue = METHOD_RETURN_VALUE_EDEFAULT; - - /** - * The default value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected static final String WSDL_MESSAGE_PART_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getWsdlMessagePartName() <em>Wsdl Message Part Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessagePartName() - * @generated - * @ordered - */ - protected String wsdlMessagePartName = WSDL_MESSAGE_PART_NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getWsdlMessage() <em>Wsdl Message</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getWsdlMessage() - * @generated - * @ordered - */ - protected WSDLMessage wsdlMessage = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLReturnValueMappingImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLReturnValueMapping(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getMethodReturnValue() - { - return methodReturnValue; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMethodReturnValue(String newMethodReturnValue) - { - String oldMethodReturnValue = methodReturnValue; - methodReturnValue = newMethodReturnValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE, oldMethodReturnValue, methodReturnValue)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getWsdlMessagePartName() - { - return wsdlMessagePartName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessagePartName(String newWsdlMessagePartName) - { - String oldWsdlMessagePartName = wsdlMessagePartName; - wsdlMessagePartName = newWsdlMessagePartName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME, oldWsdlMessagePartName, wsdlMessagePartName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public WSDLMessage getWsdlMessage() - { - return wsdlMessage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetWsdlMessage(WSDLMessage newWsdlMessage, NotificationChain msgs) - { - WSDLMessage oldWsdlMessage = wsdlMessage; - wsdlMessage = newWsdlMessage; - if (eNotificationRequired()) - { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE, oldWsdlMessage, newWsdlMessage); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setWsdlMessage(WSDLMessage newWsdlMessage) - { - if (newWsdlMessage != wsdlMessage) - { - NotificationChain msgs = null; - if (wsdlMessage != null) - msgs = ((InternalEObject)wsdlMessage).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE, null, msgs); - if (newWsdlMessage != null) - msgs = ((InternalEObject)newWsdlMessage).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE, null, msgs); - msgs = basicSetWsdlMessage(newWsdlMessage, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE, newWsdlMessage, newWsdlMessage)); - } - - /** - * <!-- 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 JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - default: - return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); - } - } - return eBasicSetContainer(null, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE: - return getMethodReturnValue(); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME: - return getWsdlMessagePartName(); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - return getWsdlMessage(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE: - setMethodReturnValue((String)newValue); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE: - setMethodReturnValue(METHOD_RETURN_VALUE_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME: - setWsdlMessagePartName(WSDL_MESSAGE_PART_NAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - setWsdlMessage((WSDLMessage)null); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__METHOD_RETURN_VALUE: - return METHOD_RETURN_VALUE_EDEFAULT == null ? methodReturnValue != null : !METHOD_RETURN_VALUE_EDEFAULT.equals(methodReturnValue); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE_PART_NAME: - return WSDL_MESSAGE_PART_NAME_EDEFAULT == null ? wsdlMessagePartName != null : !WSDL_MESSAGE_PART_NAME_EDEFAULT.equals(wsdlMessagePartName); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - return wsdlMessage != null; - } - return eDynamicIsSet(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", methodReturnValue: ");//$NON-NLS-1$ - result.append(methodReturnValue); - result.append(", wsdlMessagePartName: ");//$NON-NLS-1$ - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //WSDLReturnValueMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLServiceNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLServiceNameImpl.java deleted file mode 100644 index 6b86ab455..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/WSDLServiceNameImpl.java +++ /dev/null @@ -1,143 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.jst.j2ee.internal.common.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>WSDL Service Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class WSDLServiceNameImpl extends QNameImpl implements WSDLServiceName -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected WSDLServiceNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getWSDLServiceName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_SERVICE_NAME__NAMESPACE_URI: - return getNamespaceURI(); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__LOCAL_PART: - return getLocalPart(); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__COMBINED_QNAME: - return getCombinedQName(); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__INTERNAL_PREFIX_OR_NS_URI: - return getInternalPrefixOrNsURI(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_SERVICE_NAME__NAMESPACE_URI: - setNamespaceURI((String)newValue); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__LOCAL_PART: - setLocalPart((String)newValue); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__COMBINED_QNAME: - setCombinedQName((String)newValue); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_SERVICE_NAME__NAMESPACE_URI: - setNamespaceURI(NAMESPACE_URI_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__LOCAL_PART: - setLocalPart(LOCAL_PART_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__COMBINED_QNAME: - setCombinedQName(COMBINED_QNAME_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_SERVICE_NAME__INTERNAL_PREFIX_OR_NS_URI: - setInternalPrefixOrNsURI(INTERNAL_PREFIX_OR_NS_URI_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.WSDL_SERVICE_NAME__NAMESPACE_URI: - return NAMESPACE_URI_EDEFAULT == null ? namespaceURI != null : !NAMESPACE_URI_EDEFAULT.equals(namespaceURI); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__LOCAL_PART: - return LOCAL_PART_EDEFAULT == null ? localPart != null : !LOCAL_PART_EDEFAULT.equals(localPart); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__COMBINED_QNAME: - return COMBINED_QNAME_EDEFAULT == null ? combinedQName != null : !COMBINED_QNAME_EDEFAULT.equals(combinedQName); - case JaxrpcmapPackage.WSDL_SERVICE_NAME__INTERNAL_PREFIX_OR_NS_URI: - return INTERNAL_PREFIX_OR_NS_URI_EDEFAULT == null ? internalPrefixOrNsURI != null : !INTERNAL_PREFIX_OR_NS_URI_EDEFAULT.equals(internalPrefixOrNsURI); - } - return eDynamicIsSet(eFeature); - } - -} //WSDLServiceNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/XMLElementNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/XMLElementNameImpl.java deleted file mode 100644 index 46abb371e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/internal/jaxrpcmap/impl/XMLElementNameImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.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.eclipse.jst.j2ee.webservice.internal.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.XMLElementName; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>XML Element Name</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.XMLElementNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.internal.webservice.jaxrpcmap.util.XMLElementNameImpl#getXmlElementName <em>Xml Element Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class XMLElementNameImpl extends EObjectImpl implements XMLElementName -{ - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getXmlElementName() <em>Xml Element Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlElementName() - * @generated - * @ordered - */ - protected static final String XML_ELEMENT_NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getXmlElementName() <em>Xml Element Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getXmlElementName() - * @generated - * @ordered - */ - protected String xmlElementName = XML_ELEMENT_NAME_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected XMLElementNameImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() - { - return JaxrpcmapPackage.eINSTANCE.getXMLElementName(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() - { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) - { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.XML_ELEMENT_NAME__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getXmlElementName() - { - return xmlElementName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setXmlElementName(String newXmlElementName) - { - String oldXmlElementName = xmlElementName; - xmlElementName = newXmlElementName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JaxrpcmapPackage.XML_ELEMENT_NAME__XML_ELEMENT_NAME, oldXmlElementName, xmlElementName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(EStructuralFeature eFeature, boolean resolve) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.XML_ELEMENT_NAME__ID: - return getId(); - case JaxrpcmapPackage.XML_ELEMENT_NAME__XML_ELEMENT_NAME: - return getXmlElementName(); - } - return eDynamicGet(eFeature, resolve); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(EStructuralFeature eFeature, Object newValue) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.XML_ELEMENT_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.XML_ELEMENT_NAME__XML_ELEMENT_NAME: - setXmlElementName((String)newValue); - return; - } - eDynamicSet(eFeature, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.XML_ELEMENT_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.XML_ELEMENT_NAME__XML_ELEMENT_NAME: - setXmlElementName(XML_ELEMENT_NAME_EDEFAULT); - return; - } - eDynamicUnset(eFeature); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(EStructuralFeature eFeature) - { - switch (eDerivedStructuralFeatureID(eFeature)) - { - case JaxrpcmapPackage.XML_ELEMENT_NAME__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case JaxrpcmapPackage.XML_ELEMENT_NAME__XML_ELEMENT_NAME: - return XML_ELEMENT_NAME_EDEFAULT == null ? xmlElementName != null : !XML_ELEMENT_NAME_EDEFAULT.equals(xmlElementName); - } - 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(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(", xmlElementName: ");//$NON-NLS-1$ - result.append(xmlElementName); - result.append(')'); - return result.toString(); - } - -} //XMLElementNameImpl |