diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal')
27 files changed, 0 insertions, 8854 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ConstructorParameterOrderImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ConstructorParameterOrderImpl.java deleted file mode 100644 index 5bb72a39c..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ConstructorParameterOrderImpl.java +++ /dev/null @@ -1,218 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; - -/** - * <!-- 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.webservice.jaxrpcmap.internal.impl.ConstructorParameterOrderImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ConstructorParameterOrderImpl#getElementNames <em>Element Names</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ConstructorParameterOrderImpl extends J2EEEObjectImpl 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.Literals.CONSTRUCTOR_PARAMETER_ORDER; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - return ((InternalEList)getElementNames()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - return getId(); - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - return getElementNames(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - getElementNames().clear(); - getElementNames().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES: - getElementNames().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ConstructorParameterOrderImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ElementNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ElementNameImpl.java deleted file mode 100644 index 9cf1c785d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ElementNameImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; - -/** - * <!-- 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.webservice.jaxrpcmap.internal.impl.ElementNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ElementNameImpl#getText <em>Text</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ElementNameImpl extends J2EEEObjectImpl 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.Literals.ELEMENT_NAME; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - return getId(); - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - return getText(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - setText((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case JaxrpcmapPackage.ELEMENT_NAME__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.ELEMENT_NAME__TEXT: - setText(TEXT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", text: "); - result.append(text); - result.append(')'); - return result.toString(); - } - -} //ElementNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ExceptionMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ExceptionMappingImpl.java deleted file mode 100644 index 4bf36f104..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ExceptionMappingImpl.java +++ /dev/null @@ -1,418 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; -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.webservice.jaxrpcmap.internal.impl.ExceptionMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ExceptionMappingImpl#getExceptionType <em>Exception Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ExceptionMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ExceptionMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ExceptionMappingImpl#getConstructorParameterOrder <em>Constructor Parameter Order</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExceptionMappingImpl extends J2EEEObjectImpl 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.Literals.EXCEPTION_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case JaxrpcmapPackage.EXCEPTION_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - case JaxrpcmapPackage.EXCEPTION_MAPPING__CONSTRUCTOR_PARAMETER_ORDER: - return basicSetConstructorParameterOrder(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", exceptionType: "); - result.append(exceptionType); - result.append(", wsdlMessagePartName: "); - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //ExceptionMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/InterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/InterfaceMappingImpl.java deleted file mode 100644 index 868db65c8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/InterfaceMappingImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; - -/** - * <!-- 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 J2EEEObjectImpl implements InterfaceMapping -{ - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InterfaceMappingImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return JaxrpcmapPackage.Literals.INTERFACE_MAPPING; - } - -} //InterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaWSDLMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaWSDLMappingImpl.java deleted file mode 100644 index c15d5c345..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaWSDLMappingImpl.java +++ /dev/null @@ -1,329 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.common.internal.impl.J2EEEObjectImpl; -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.JaxrpcmapPackage; -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.webservice.jaxrpcmap.internal.impl.JavaWSDLMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaWSDLMappingImpl#getPackageMappings <em>Package Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaWSDLMappingImpl#getJavaXMLTypeMappings <em>Java XML Type Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaWSDLMappingImpl#getExceptionMappings <em>Exception Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaWSDLMappingImpl#getInterfaceMappings <em>Interface Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaWSDLMappingImpl extends J2EEEObjectImpl 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.Literals.JAVA_WSDL_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(')'); - return result.toString(); - } - -} //JavaWSDLMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaXMLTypeMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaXMLTypeMappingImpl.java deleted file mode 100644 index 2fa2c4fcf..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JavaXMLTypeMappingImpl.java +++ /dev/null @@ -1,447 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; -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.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getClassType <em>Class Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getQnameScope <em>Qname Scope</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getAnonymousTypeQname <em>Anonymous Type Qname</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getRootTypeQname <em>Root Type Qname</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.JavaXMLTypeMappingImpl#getVariableMappings <em>Variable Mappings</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JavaXMLTypeMappingImpl extends J2EEEObjectImpl 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.Literals.JAVA_XML_TYPE_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", classType: "); - result.append(classType); - result.append(", qnameScope: "); - result.append(qnameScope); - result.append(", anonymousTypeQname: "); - result.append(anonymousTypeQname); - result.append(')'); - return result.toString(); - } - -} //JavaXMLTypeMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapFactoryImpl.java deleted file mode 100644 index 8e050438f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapFactoryImpl.java +++ /dev/null @@ -1,353 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -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.InterfaceMapping; -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.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -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; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JaxrpcmapFactoryImpl extends EFactoryImpl implements JaxrpcmapFactory -{ - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JaxrpcmapFactory init() { - try { - JaxrpcmapFactory theJaxrpcmapFactory = (JaxrpcmapFactory)EPackage.Registry.INSTANCE.getEFactory("jaxrpcmap.xmi"); - if (theJaxrpcmapFactory != null) { - return theJaxrpcmapFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new JaxrpcmapFactoryImpl(); - } - - /** - * Creates an 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.ROOT_TYPE_QNAME: return createRootTypeQname(); - case JaxrpcmapPackage.VARIABLE_MAPPING: return createVariableMapping(); - case JaxrpcmapPackage.WSDL_MESSAGE: return createWSDLMessage(); - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER: return createConstructorParameterOrder(); - case JaxrpcmapPackage.ELEMENT_NAME: return createElementName(); - case JaxrpcmapPackage.WSDL_SERVICE_NAME: return createWSDLServiceName(); - case JaxrpcmapPackage.PORT_MAPPING: return createPortMapping(); - case JaxrpcmapPackage.WSDL_PORT_TYPE: return createWSDLPortType(); - case JaxrpcmapPackage.WSDL_BINDING: return createWSDLBinding(); - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING: return createServiceEndpointMethodMapping(); - case JaxrpcmapPackage.WSDL_OPERATION: return createWSDLOperation(); - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING: return createMethodParamPartsMapping(); - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING: return createWSDLReturnValueMapping(); - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING: return createWSDLMessageMapping(); - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME: return createWSDLMessagePartName(); - case JaxrpcmapPackage.INTERFACE_MAPPING: return createInterfaceMapping(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- 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 RootTypeQname createRootTypeQname() { - RootTypeQnameImpl rootTypeQname = new RootTypeQnameImpl(); - return rootTypeQname; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VariableMapping createVariableMapping() { - VariableMappingImpl variableMapping = new VariableMappingImpl(); - return variableMapping; - } - - /** - * <!-- 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 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 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 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 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 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 --> - * @deprecated - * @generated - */ - public static JaxrpcmapPackage getPackage() { - return JaxrpcmapPackage.eINSTANCE; - } - -} //JaxrpcmapFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapPackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapPackageImpl.java deleted file mode 100644 index f9988a9a7..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapPackageImpl.java +++ /dev/null @@ -1,1372 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.EcorePackage; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jst.j2ee.application.ApplicationPackage; -import org.eclipse.jst.j2ee.client.ClientPackage; -import org.eclipse.jst.j2ee.common.CommonPackage; -import org.eclipse.jst.j2ee.ejb.EjbPackage; -import org.eclipse.jst.j2ee.jsp.JspPackage; -import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage; -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.InterfaceMapping; -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.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -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.wsclient.Webservice_clientPackage; -import org.eclipse.jst.j2ee.webservice.wscommon.WscommonPackage; -import org.eclipse.jst.j2ee.webservice.wsdd.WsddPackage; - - -/** - * <!-- 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 rootTypeQnameEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass variableMappingEClass = 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 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 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 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 wsdlMessageMappingEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass wsdlMessagePartNameEClass = 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.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 JaxrpcmapPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JaxrpcmapPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - ClientPackage.eINSTANCE.eClass(); - ApplicationPackage.eINSTANCE.eClass(); - CommonPackage.eINSTANCE.eClass(); - EjbPackage.eINSTANCE.eClass(); - WebapplicationPackage.eINSTANCE.eClass(); - Webservice_clientPackage.eINSTANCE.eClass(); - JspPackage.eINSTANCE.eClass(); - WscommonPackage.eINSTANCE.eClass(); - WsddPackage.eINSTANCE.eClass(); - EcorePackage.eINSTANCE.eClass(); - JavaRefPackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theJaxrpcmapPackage.createPackageContents(); - - // Initialize created meta-data - theJaxrpcmapPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theJaxrpcmapPackage.freeze(); - - 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_PackageMappings() { - return (EReference)javaWSDLMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_JavaXMLTypeMappings() { - return (EReference)javaWSDLMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_ExceptionMappings() { - return (EReference)javaWSDLMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaWSDLMapping_InterfaceMappings() { - return (EReference)javaWSDLMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageMapping_PackageType() { - return (EAttribute)packageMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPackageMapping_NamespaceURI() { - return (EAttribute)packageMappingEClass.getEStructuralFeatures().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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_ClassType() { - return (EAttribute)javaXMLTypeMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_QnameScope() { - return (EAttribute)javaXMLTypeMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJavaXMLTypeMapping_AnonymousTypeQname() { - return (EAttribute)javaXMLTypeMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaXMLTypeMapping_RootTypeQname() { - return (EReference)javaXMLTypeMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJavaXMLTypeMapping_VariableMappings() { - return (EReference)javaXMLTypeMappingEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionMapping_ExceptionType() { - return (EAttribute)exceptionMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionMapping_WsdlMessagePartName() { - return (EAttribute)exceptionMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExceptionMapping_WsdlMessage() { - return (EReference)exceptionMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExceptionMapping_ConstructorParameterOrder() { - return (EReference)exceptionMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceInterfaceMapping_ServiceInterface() { - return (EAttribute)serviceInterfaceMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceInterfaceMapping_WsdlServiceName() { - return (EReference)serviceInterfaceMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceInterfaceMapping_PortMappings() { - return (EReference)serviceInterfaceMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointInterfaceMapping_ServiceEndpointInterface() { - return (EAttribute)serviceEndpointInterfaceMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_WsdlPortType() { - return (EReference)serviceEndpointInterfaceMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_WsdlBinding() { - return (EReference)serviceEndpointInterfaceMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointInterfaceMapping_ServiceEndpointMethodMappings() { - return (EReference)serviceEndpointInterfaceMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRootTypeQname() { - return rootTypeQnameEClass; - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_JavaVariableName() { - return (EAttribute)variableMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlElementName() { - return (EAttribute)variableMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_DataMember() { - return (EAttribute)variableMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlAttributeName() { - return (EAttribute)variableMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVariableMapping_XmlWildcard() { - return (EAttribute)variableMappingEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getConstructorParameterOrder_ElementNames() { - return (EReference)constructorParameterOrderEClass.getEStructuralFeatures().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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementName_Text() { - return (EAttribute)elementNameEClass.getEStructuralFeatures().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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortMapping_PortName() { - return (EAttribute)portMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPortMapping_JavaPortName() { - return (EAttribute)portMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_JavaMethodName() { - return (EAttribute)serviceEndpointMethodMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_WsdlOperation() { - return (EAttribute)serviceEndpointMethodMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getServiceEndpointMethodMapping_WrappedElement() { - return (EAttribute)serviceEndpointMethodMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointMethodMapping_MethodParamPartsMappings() { - return (EReference)serviceEndpointMethodMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getServiceEndpointMethodMapping_WsdlReturnValueMapping() { - return (EReference)serviceEndpointMethodMappingEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLOperation_WsdlOperation() { - return (EAttribute)wsdlOperationEClass.getEStructuralFeatures().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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodParamPartsMapping_ParamPosition() { - return (EAttribute)methodParamPartsMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getMethodParamPartsMapping_ParamType() { - return (EAttribute)methodParamPartsMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getMethodParamPartsMapping_WsdlMessageMapping() { - return (EReference)methodParamPartsMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLReturnValueMapping_MethodReturnValue() { - return (EAttribute)wsdlReturnValueMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLReturnValueMapping_WsdlMessagePartName() { - return (EAttribute)wsdlReturnValueMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWSDLReturnValueMapping_WsdlMessage() { - return (EReference)wsdlReturnValueMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_WsdlMessagePartName() { - return (EAttribute)wsdlMessageMappingEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_ParameterMode() { - return (EAttribute)wsdlMessageMappingEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessageMapping_SoapHeader() { - return (EAttribute)wsdlMessageMappingEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getWSDLMessageMapping_WsdlMessage() { - return (EReference)wsdlMessageMappingEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- 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.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getWSDLMessagePartName_WsdlMessagePartName() { - return (EAttribute)wsdlMessagePartNameEClass.getEStructuralFeatures().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); - - rootTypeQnameEClass = createEClass(ROOT_TYPE_QNAME); - - 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); - - wsdlMessageEClass = createEClass(WSDL_MESSAGE); - - constructorParameterOrderEClass = createEClass(CONSTRUCTOR_PARAMETER_ORDER); - createEAttribute(constructorParameterOrderEClass, CONSTRUCTOR_PARAMETER_ORDER__ID); - createEReference(constructorParameterOrderEClass, CONSTRUCTOR_PARAMETER_ORDER__ELEMENT_NAMES); - - 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); - - 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); - - 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); - - 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); - - 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 - CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI); - - // Add supertypes to classes - javaWSDLMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - packageMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - javaXMLTypeMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - exceptionMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - serviceInterfaceMappingEClass.getESuperTypes().add(this.getInterfaceMapping()); - serviceEndpointInterfaceMappingEClass.getESuperTypes().add(this.getInterfaceMapping()); - rootTypeQnameEClass.getESuperTypes().add(theCommonPackage.getQName()); - variableMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlMessageEClass.getESuperTypes().add(theCommonPackage.getQName()); - constructorParameterOrderEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - elementNameEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlServiceNameEClass.getESuperTypes().add(theCommonPackage.getQName()); - portMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlPortTypeEClass.getESuperTypes().add(theCommonPackage.getQName()); - wsdlBindingEClass.getESuperTypes().add(theCommonPackage.getQName()); - serviceEndpointMethodMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlOperationEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - methodParamPartsMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlReturnValueMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlMessageMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - wsdlMessagePartNameEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - interfaceMappingEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - - // Initialize classes and features; add operations and parameters - initEClass(javaWSDLMappingEClass, JavaWSDLMapping.class, "JavaWSDLMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJavaWSDLMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, JavaWSDLMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaWSDLMapping_PackageMappings(), this.getPackageMapping(), null, "packageMappings", null, 1, -1, JavaWSDLMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaWSDLMapping_JavaXMLTypeMappings(), this.getJavaXMLTypeMapping(), null, "javaXMLTypeMappings", null, 0, -1, JavaWSDLMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaWSDLMapping_ExceptionMappings(), this.getExceptionMapping(), null, "exceptionMappings", null, 0, -1, JavaWSDLMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaWSDLMapping_InterfaceMappings(), this.getInterfaceMapping(), null, "interfaceMappings", null, 0, -1, JavaWSDLMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(packageMappingEClass, PackageMapping.class, "PackageMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPackageMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, PackageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPackageMapping_PackageType(), ecorePackage.getEString(), "packageType", null, 0, 1, PackageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPackageMapping_NamespaceURI(), ecorePackage.getEString(), "namespaceURI", null, 0, 1, PackageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(javaXMLTypeMappingEClass, JavaXMLTypeMapping.class, "JavaXMLTypeMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJavaXMLTypeMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJavaXMLTypeMapping_ClassType(), ecorePackage.getEString(), "classType", null, 0, 1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJavaXMLTypeMapping_QnameScope(), ecorePackage.getEString(), "qnameScope", null, 0, 1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJavaXMLTypeMapping_AnonymousTypeQname(), ecorePackage.getEString(), "anonymousTypeQname", null, 0, 1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaXMLTypeMapping_RootTypeQname(), this.getRootTypeQname(), null, "rootTypeQname", null, 1, 1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJavaXMLTypeMapping_VariableMappings(), this.getVariableMapping(), null, "variableMappings", null, 0, -1, JavaXMLTypeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(exceptionMappingEClass, ExceptionMapping.class, "ExceptionMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExceptionMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, ExceptionMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExceptionMapping_ExceptionType(), ecorePackage.getEString(), "exceptionType", null, 0, 1, ExceptionMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExceptionMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, ExceptionMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExceptionMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, ExceptionMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getExceptionMapping_ConstructorParameterOrder(), this.getConstructorParameterOrder(), null, "constructorParameterOrder", null, 0, 1, ExceptionMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(serviceInterfaceMappingEClass, ServiceInterfaceMapping.class, "ServiceInterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getServiceInterfaceMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, ServiceInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getServiceInterfaceMapping_ServiceInterface(), ecorePackage.getEString(), "serviceInterface", null, 0, 1, ServiceInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceInterfaceMapping_WsdlServiceName(), this.getWSDLServiceName(), null, "wsdlServiceName", null, 1, 1, ServiceInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceInterfaceMapping_PortMappings(), this.getPortMapping(), null, "portMappings", null, 0, -1, ServiceInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(serviceEndpointInterfaceMappingEClass, ServiceEndpointInterfaceMapping.class, "ServiceEndpointInterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getServiceEndpointInterfaceMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, ServiceEndpointInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getServiceEndpointInterfaceMapping_ServiceEndpointInterface(), ecorePackage.getEString(), "serviceEndpointInterface", null, 0, 1, ServiceEndpointInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceEndpointInterfaceMapping_WsdlPortType(), this.getWSDLPortType(), null, "wsdlPortType", null, 1, 1, ServiceEndpointInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceEndpointInterfaceMapping_WsdlBinding(), this.getWSDLBinding(), null, "wsdlBinding", null, 1, 1, ServiceEndpointInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceEndpointInterfaceMapping_ServiceEndpointMethodMappings(), this.getServiceEndpointMethodMapping(), null, "serviceEndpointMethodMappings", null, 0, -1, ServiceEndpointInterfaceMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(rootTypeQnameEClass, RootTypeQname.class, "RootTypeQname", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(variableMappingEClass, VariableMapping.class, "VariableMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVariableMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVariableMapping_JavaVariableName(), ecorePackage.getEString(), "javaVariableName", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVariableMapping_XmlElementName(), ecorePackage.getEString(), "xmlElementName", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVariableMapping_DataMember(), ecorePackage.getEBoolean(), "dataMember", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVariableMapping_XmlAttributeName(), ecorePackage.getEString(), "xmlAttributeName", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVariableMapping_XmlWildcard(), ecorePackage.getEBoolean(), "xmlWildcard", null, 0, 1, VariableMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlMessageEClass, WSDLMessage.class, "WSDLMessage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(constructorParameterOrderEClass, ConstructorParameterOrder.class, "ConstructorParameterOrder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getConstructorParameterOrder_Id(), ecorePackage.getEString(), "id", null, 0, 1, ConstructorParameterOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getConstructorParameterOrder_ElementNames(), this.getElementName(), null, "elementNames", null, 1, -1, ConstructorParameterOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(elementNameEClass, ElementName.class, "ElementName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getElementName_Id(), ecorePackage.getEString(), "id", null, 0, 1, ElementName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getElementName_Text(), ecorePackage.getEString(), "text", null, 0, 1, ElementName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlServiceNameEClass, WSDLServiceName.class, "WSDLServiceName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(portMappingEClass, PortMapping.class, "PortMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPortMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, PortMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPortMapping_PortName(), ecorePackage.getEString(), "portName", null, 0, 1, PortMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPortMapping_JavaPortName(), ecorePackage.getEString(), "javaPortName", null, 0, 1, PortMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlPortTypeEClass, WSDLPortType.class, "WSDLPortType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(wsdlBindingEClass, WSDLBinding.class, "WSDLBinding", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(serviceEndpointMethodMappingEClass, ServiceEndpointMethodMapping.class, "ServiceEndpointMethodMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getServiceEndpointMethodMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getServiceEndpointMethodMapping_JavaMethodName(), ecorePackage.getEString(), "javaMethodName", null, 0, 1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getServiceEndpointMethodMapping_WsdlOperation(), ecorePackage.getEString(), "wsdlOperation", null, 0, 1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getServiceEndpointMethodMapping_WrappedElement(), ecorePackage.getEBoolean(), "wrappedElement", null, 0, 1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceEndpointMethodMapping_MethodParamPartsMappings(), this.getMethodParamPartsMapping(), null, "methodParamPartsMappings", null, 0, -1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getServiceEndpointMethodMapping_WsdlReturnValueMapping(), this.getWSDLReturnValueMapping(), null, "wsdlReturnValueMapping", null, 0, 1, ServiceEndpointMethodMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlOperationEClass, WSDLOperation.class, "WSDLOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getWSDLOperation_Id(), ecorePackage.getEString(), "id", null, 0, 1, WSDLOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLOperation_WsdlOperation(), ecorePackage.getEString(), "wsdlOperation", null, 0, 1, WSDLOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(methodParamPartsMappingEClass, MethodParamPartsMapping.class, "MethodParamPartsMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMethodParamPartsMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, MethodParamPartsMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMethodParamPartsMapping_ParamPosition(), ecorePackage.getEString(), "paramPosition", null, 0, 1, MethodParamPartsMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getMethodParamPartsMapping_ParamType(), ecorePackage.getEString(), "paramType", null, 0, 1, MethodParamPartsMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getMethodParamPartsMapping_WsdlMessageMapping(), this.getWSDLMessageMapping(), null, "wsdlMessageMapping", null, 1, 1, MethodParamPartsMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlReturnValueMappingEClass, WSDLReturnValueMapping.class, "WSDLReturnValueMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getWSDLReturnValueMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, WSDLReturnValueMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLReturnValueMapping_MethodReturnValue(), ecorePackage.getEString(), "methodReturnValue", null, 0, 1, WSDLReturnValueMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLReturnValueMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, WSDLReturnValueMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getWSDLReturnValueMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, WSDLReturnValueMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlMessageMappingEClass, WSDLMessageMapping.class, "WSDLMessageMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getWSDLMessageMapping_Id(), ecorePackage.getEString(), "id", null, 0, 1, WSDLMessageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLMessageMapping_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, WSDLMessageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLMessageMapping_ParameterMode(), ecorePackage.getEString(), "parameterMode", null, 0, 1, WSDLMessageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLMessageMapping_SoapHeader(), ecorePackage.getEBoolean(), "soapHeader", null, 0, 1, WSDLMessageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getWSDLMessageMapping_WsdlMessage(), this.getWSDLMessage(), null, "wsdlMessage", null, 1, 1, WSDLMessageMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(wsdlMessagePartNameEClass, WSDLMessagePartName.class, "WSDLMessagePartName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getWSDLMessagePartName_Id(), ecorePackage.getEString(), "id", null, 0, 1, WSDLMessagePartName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getWSDLMessagePartName_WsdlMessagePartName(), ecorePackage.getEString(), "wsdlMessagePartName", null, 0, 1, WSDLMessagePartName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(interfaceMappingEClass, InterfaceMapping.class, "InterfaceMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - // Create resource - createResource(eNS_URI); - } - -} //JaxrpcmapPackageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapResourceImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapResourceImpl.java deleted file mode 100644 index ab78fec18..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/JaxrpcmapResourceImpl.java +++ /dev/null @@ -1,173 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - - -import org.eclipse.emf.common.util.URI; -import org.eclipse.jst.j2ee.common.internal.impl.XMLResourceImpl; -import org.eclipse.jst.j2ee.internal.J2EEVersionConstants; -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/jaxrpcmap/internal/impl/MethodParamPartsMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/MethodParamPartsMappingImpl.java deleted file mode 100644 index dbdba9afa..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/MethodParamPartsMappingImpl.java +++ /dev/null @@ -1,351 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.MethodParamPartsMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.MethodParamPartsMappingImpl#getParamPosition <em>Param Position</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.MethodParamPartsMappingImpl#getParamType <em>Param Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.MethodParamPartsMappingImpl#getWsdlMessageMapping <em>Wsdl Message Mapping</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class MethodParamPartsMappingImpl extends J2EEEObjectImpl 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.Literals.METHOD_PARAM_PARTS_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING__WSDL_MESSAGE_MAPPING: - return basicSetWsdlMessageMapping(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", paramPosition: "); - result.append(paramPosition); - result.append(", paramType: "); - result.append(paramType); - result.append(')'); - return result.toString(); - } - -} //MethodParamPartsMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PackageMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PackageMappingImpl.java deleted file mode 100644 index cfc3e82a8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PackageMappingImpl.java +++ /dev/null @@ -1,271 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.PackageMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.PackageMappingImpl#getPackageType <em>Package Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.PackageMappingImpl#getNamespaceURI <em>Namespace URI</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PackageMappingImpl extends J2EEEObjectImpl 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.Literals.PACKAGE_MAPPING; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JaxrpcmapPackage.PACKAGE_MAPPING__ID: - return getId(); - case JaxrpcmapPackage.PACKAGE_MAPPING__PACKAGE_TYPE: - return getPackageType(); - case JaxrpcmapPackage.PACKAGE_MAPPING__NAMESPACE_URI: - return getNamespaceURI(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", packageType: "); - result.append(packageType); - result.append(", namespaceURI: "); - result.append(namespaceURI); - result.append(')'); - return result.toString(); - } - -} //PackageMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PortMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PortMappingImpl.java deleted file mode 100644 index 116d163eb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/PortMappingImpl.java +++ /dev/null @@ -1,271 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.PortMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.PortMappingImpl#getPortName <em>Port Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.PortMappingImpl#getJavaPortName <em>Java Port Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PortMappingImpl extends J2EEEObjectImpl 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.Literals.PORT_MAPPING; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", portName: "); - result.append(portName); - result.append(", javaPortName: "); - result.append(javaPortName); - result.append(')'); - return result.toString(); - } - -} //PortMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/RootTypeQnameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/RootTypeQnameImpl.java deleted file mode 100644 index b00769c1e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/RootTypeQnameImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.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.Literals.ROOT_TYPE_QNAME; - } - -} //RootTypeQnameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointInterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointInterfaceMappingImpl.java deleted file mode 100644 index 0c36bd6c6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointInterfaceMappingImpl.java +++ /dev/null @@ -1,405 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.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.webservice.jaxrpcmap.internal.impl.ServiceEndpointInterfaceMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointInterfaceMappingImpl#getServiceEndpointInterface <em>Service Endpoint Interface</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointInterfaceMappingImpl#getWsdlPortType <em>Wsdl Port Type</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointInterfaceMappingImpl#getWsdlBinding <em>Wsdl Binding</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.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.Literals.SERVICE_ENDPOINT_INTERFACE_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", serviceEndpointInterface: "); - result.append(serviceEndpointInterface); - result.append(')'); - return result.toString(); - } - -} //ServiceEndpointInterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointMethodMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointMethodMappingImpl.java deleted file mode 100644 index a4ef91368..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceEndpointMethodMappingImpl.java +++ /dev/null @@ -1,481 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#getJavaMethodName <em>Java Method Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#getWsdlOperation <em>Wsdl Operation</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#isWrappedElement <em>Wrapped Element</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#getMethodParamPartsMappings <em>Method Param Parts Mappings</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceEndpointMethodMappingImpl#getWsdlReturnValueMapping <em>Wsdl Return Value Mapping</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ServiceEndpointMethodMappingImpl extends J2EEEObjectImpl 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.Literals.SERVICE_ENDPOINT_METHOD_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", javaMethodName: "); - result.append(javaMethodName); - result.append(", wsdlOperation: "); - result.append(wsdlOperation); - result.append(", wrappedElement: "); - if (wrappedElementESet) result.append(wrappedElement); else result.append("<unset>"); - result.append(')'); - return result.toString(); - } - -} //ServiceEndpointMethodMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceInterfaceMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceInterfaceMappingImpl.java deleted file mode 100644 index 663f26ce1..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/ServiceInterfaceMappingImpl.java +++ /dev/null @@ -1,338 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.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.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.webservice.jaxrpcmap.internal.impl.ServiceInterfaceMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceInterfaceMappingImpl#getServiceInterface <em>Service Interface</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.ServiceInterfaceMappingImpl#getWsdlServiceName <em>Wsdl Service Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.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.Literals.SERVICE_INTERFACE_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", serviceInterface: "); - result.append(serviceInterface); - result.append(')'); - return result.toString(); - } - -} //ServiceInterfaceMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/VariableMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/VariableMappingImpl.java deleted file mode 100644 index 91ea156cb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/VariableMappingImpl.java +++ /dev/null @@ -1,501 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#getJavaVariableName <em>Java Variable Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#getXmlElementName <em>Xml Element Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#isDataMember <em>Data Member</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#getXmlAttributeName <em>Xml Attribute Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.VariableMappingImpl#isXmlWildcard <em>Xml Wildcard</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class VariableMappingImpl extends J2EEEObjectImpl 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.Literals.VARIABLE_MAPPING; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", javaVariableName: "); - result.append(javaVariableName); - result.append(", xmlElementName: "); - result.append(xmlElementName); - result.append(", dataMember: "); - if (dataMemberESet) result.append(dataMember); else result.append("<unset>"); - result.append(", xmlAttributeName: "); - result.append(xmlAttributeName); - result.append(", xmlWildcard: "); - if (xmlWildcardESet) result.append(xmlWildcard); else result.append("<unset>"); - result.append(')'); - return result.toString(); - } - -} //VariableMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLBindingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLBindingImpl.java deleted file mode 100644 index 6a157147d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLBindingImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.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.Literals.WSDL_BINDING; - } - -} //WSDLBindingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageImpl.java deleted file mode 100644 index c0314d471..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.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.Literals.WSDL_MESSAGE; - } - -} //WSDLMessageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageMappingImpl.java deleted file mode 100644 index 6a20f9d08..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessageMappingImpl.java +++ /dev/null @@ -1,439 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.WSDLMessageMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLMessageMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLMessageMappingImpl#getParameterMode <em>Parameter Mode</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLMessageMappingImpl#isSoapHeader <em>Soap Header</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLMessageMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLMessageMappingImpl extends J2EEEObjectImpl 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.Literals.WSDL_MESSAGE_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", wsdlMessagePartName: "); - result.append(wsdlMessagePartName); - result.append(", parameterMode: "); - result.append(parameterMode); - result.append(", soapHeader: "); - if (soapHeaderESet) result.append(soapHeader); else result.append("<unset>"); - result.append(')'); - return result.toString(); - } - -} //WSDLMessageMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessagePartNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessagePartNameImpl.java deleted file mode 100644 index a221b8751..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLMessagePartNameImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.WSDLMessagePartNameImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLMessagePartNameImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLMessagePartNameImpl extends J2EEEObjectImpl 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.Literals.WSDL_MESSAGE_PART_NAME; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__ID: - return getId(); - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME__WSDL_MESSAGE_PART_NAME: - return getWsdlMessagePartName(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", wsdlMessagePartName: "); - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //WSDLMessagePartNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLOperationImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLOperationImpl.java deleted file mode 100644 index 363da04cc..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLOperationImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.WSDLOperationImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLOperationImpl#getWsdlOperation <em>Wsdl Operation</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLOperationImpl extends J2EEEObjectImpl 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.Literals.WSDL_OPERATION; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - return getId(); - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - return getWsdlOperation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - setId((String)newValue); - return; - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - setWsdlOperation((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_OPERATION__ID: - setId(ID_EDEFAULT); - return; - case JaxrpcmapPackage.WSDL_OPERATION__WSDL_OPERATION: - setWsdlOperation(WSDL_OPERATION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", wsdlOperation: "); - result.append(wsdlOperation); - result.append(')'); - return result.toString(); - } - -} //WSDLOperationImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLPortTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLPortTypeImpl.java deleted file mode 100644 index 40fd97c40..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLPortTypeImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.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.Literals.WSDL_PORT_TYPE; - } - -} //WSDLPortTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLReturnValueMappingImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLReturnValueMappingImpl.java deleted file mode 100644 index 5fd3306d5..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLReturnValueMappingImpl.java +++ /dev/null @@ -1,351 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.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.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.webservice.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.webservice.jaxrpcmap.internal.impl.WSDLReturnValueMappingImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLReturnValueMappingImpl#getMethodReturnValue <em>Method Return Value</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLReturnValueMappingImpl#getWsdlMessagePartName <em>Wsdl Message Part Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.internal.impl.WSDLReturnValueMappingImpl#getWsdlMessage <em>Wsdl Message</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class WSDLReturnValueMappingImpl extends J2EEEObjectImpl 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.Literals.WSDL_RETURN_VALUE_MAPPING; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING__WSDL_MESSAGE: - return basicSetWsdlMessage(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); - result.append(id); - result.append(", methodReturnValue: "); - result.append(methodReturnValue); - result.append(", wsdlMessagePartName: "); - result.append(wsdlMessagePartName); - result.append(')'); - return result.toString(); - } - -} //WSDLReturnValueMappingImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLServiceNameImpl.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLServiceNameImpl.java deleted file mode 100644 index 89e2dc1ea..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/impl/WSDLServiceNameImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.jst.j2ee.common.internal.impl.QNameImpl; -import org.eclipse.jst.j2ee.webservice.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.Literals.WSDL_SERVICE_NAME; - } - -} //WSDLServiceNameImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapAdapterFactory.java deleted file mode 100644 index 1568c9f85..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapAdapterFactory.java +++ /dev/null @@ -1,539 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jst.j2ee.common.J2EEEObject; -import org.eclipse.jst.j2ee.common.QName; -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.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -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; - - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage - * @generated - */ -public class JaxrpcmapAdapterFactory extends AdapterFactoryImpl -{ - - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JaxrpcmapPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JaxrpcmapAdapterFactory() { - if (modelPackage == null) { - modelPackage = JaxrpcmapPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JaxrpcmapSwitch modelSwitch = - new JaxrpcmapSwitch() { - public Object caseJavaWSDLMapping(JavaWSDLMapping object) { - return createJavaWSDLMappingAdapter(); - } - public Object casePackageMapping(PackageMapping object) { - return createPackageMappingAdapter(); - } - public Object caseJavaXMLTypeMapping(JavaXMLTypeMapping object) { - return createJavaXMLTypeMappingAdapter(); - } - public Object caseExceptionMapping(ExceptionMapping object) { - return createExceptionMappingAdapter(); - } - public Object caseServiceInterfaceMapping(ServiceInterfaceMapping object) { - return createServiceInterfaceMappingAdapter(); - } - public Object caseServiceEndpointInterfaceMapping(ServiceEndpointInterfaceMapping object) { - return createServiceEndpointInterfaceMappingAdapter(); - } - public Object caseRootTypeQname(RootTypeQname object) { - return createRootTypeQnameAdapter(); - } - public Object caseVariableMapping(VariableMapping object) { - return createVariableMappingAdapter(); - } - public Object caseWSDLMessage(WSDLMessage object) { - return createWSDLMessageAdapter(); - } - public Object caseConstructorParameterOrder(ConstructorParameterOrder object) { - return createConstructorParameterOrderAdapter(); - } - public Object caseElementName(ElementName object) { - return createElementNameAdapter(); - } - public Object caseWSDLServiceName(WSDLServiceName object) { - return createWSDLServiceNameAdapter(); - } - public Object casePortMapping(PortMapping object) { - return createPortMappingAdapter(); - } - public Object caseWSDLPortType(WSDLPortType object) { - return createWSDLPortTypeAdapter(); - } - public Object caseWSDLBinding(WSDLBinding object) { - return createWSDLBindingAdapter(); - } - public Object caseServiceEndpointMethodMapping(ServiceEndpointMethodMapping object) { - return createServiceEndpointMethodMappingAdapter(); - } - public Object caseWSDLOperation(WSDLOperation object) { - return createWSDLOperationAdapter(); - } - public Object caseMethodParamPartsMapping(MethodParamPartsMapping object) { - return createMethodParamPartsMappingAdapter(); - } - public Object caseWSDLReturnValueMapping(WSDLReturnValueMapping object) { - return createWSDLReturnValueMappingAdapter(); - } - public Object caseWSDLMessageMapping(WSDLMessageMapping object) { - return createWSDLMessageMappingAdapter(); - } - public Object caseWSDLMessagePartName(WSDLMessagePartName object) { - return createWSDLMessagePartNameAdapter(); - } - public Object caseInterfaceMapping(InterfaceMapping object) { - return createInterfaceMappingAdapter(); - } - public Object caseJ2EEEObject(J2EEEObject object) { - return createJ2EEEObjectAdapter(); - } - public Object caseQName(QName object) { - return createQNameAdapter(); - } - public Object defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - public Adapter createAdapter(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping <em>Java WSDL Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping - * @generated - */ - public Adapter createJavaWSDLMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping <em>Package Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping - * @generated - */ - public Adapter createPackageMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping <em>Java XML Type Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping - * @generated - */ - public Adapter createJavaXMLTypeMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping <em>Exception Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ExceptionMapping - * @generated - */ - public Adapter createExceptionMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping <em>Service Interface Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceInterfaceMapping - * @generated - */ - public Adapter createServiceInterfaceMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping <em>Service Endpoint Interface Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointInterfaceMapping - * @generated - */ - public Adapter createServiceEndpointInterfaceMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname <em>Root Type Qname</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.RootTypeQname - * @generated - */ - public Adapter createRootTypeQnameAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping <em>Variable Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.VariableMapping - * @generated - */ - public Adapter createVariableMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage <em>WSDL Message</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessage - * @generated - */ - public Adapter createWSDLMessageAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder <em>Constructor Parameter Order</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ConstructorParameterOrder - * @generated - */ - public Adapter createConstructorParameterOrderAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName <em>Element Name</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ElementName - * @generated - */ - public Adapter createElementNameAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName <em>WSDL Service Name</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLServiceName - * @generated - */ - public Adapter createWSDLServiceNameAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping <em>Port Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping - * @generated - */ - public Adapter createPortMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType <em>WSDL Port Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLPortType - * @generated - */ - public Adapter createWSDLPortTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding <em>WSDL Binding</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLBinding - * @generated - */ - public Adapter createWSDLBindingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping <em>Service Endpoint Method Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.ServiceEndpointMethodMapping - * @generated - */ - public Adapter createServiceEndpointMethodMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation <em>WSDL Operation</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLOperation - * @generated - */ - public Adapter createWSDLOperationAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping <em>Method Param Parts Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping - * @generated - */ - public Adapter createMethodParamPartsMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping <em>WSDL Return Value Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLReturnValueMapping - * @generated - */ - public Adapter createWSDLReturnValueMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping <em>WSDL Message Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessageMapping - * @generated - */ - public Adapter createWSDLMessageMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName <em>WSDL Message Part Name</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.WSDLMessagePartName - * @generated - */ - public Adapter createWSDLMessagePartNameAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping <em>Interface Mapping</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping - * @generated - */ - public Adapter createInterfaceMappingAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.J2EEEObject <em>J2EEE Object</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.common.J2EEEObject - * @generated - */ - public Adapter createJ2EEEObjectAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.QName <em>QName</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.common.QName - * @generated - */ - public Adapter createQNameAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //JaxrpcmapAdapterFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapSwitch.java b/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapSwitch.java deleted file mode 100644 index 6eeb83921..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/webservices/org/eclipse/jst/j2ee/webservice/jaxrpcmap/internal/util/JaxrpcmapSwitch.java +++ /dev/null @@ -1,659 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 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.jaxrpcmap.internal.util; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jst.j2ee.common.J2EEEObject; -import org.eclipse.jst.j2ee.common.QName; -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.InterfaceMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaXMLTypeMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.MethodParamPartsMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PackageMapping; -import org.eclipse.jst.j2ee.webservice.jaxrpcmap.PortMapping; -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; - - - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage - * @generated - */ -public class JaxrpcmapSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JaxrpcmapPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JaxrpcmapSwitch() { - if (modelPackage == null) { - modelPackage = JaxrpcmapPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public Object doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case JaxrpcmapPackage.JAVA_WSDL_MAPPING: { - JavaWSDLMapping javaWSDLMapping = (JavaWSDLMapping)theEObject; - Object result = caseJavaWSDLMapping(javaWSDLMapping); - if (result == null) result = caseJ2EEEObject(javaWSDLMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.PACKAGE_MAPPING: { - PackageMapping packageMapping = (PackageMapping)theEObject; - Object result = casePackageMapping(packageMapping); - if (result == null) result = caseJ2EEEObject(packageMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.JAVA_XML_TYPE_MAPPING: { - JavaXMLTypeMapping javaXMLTypeMapping = (JavaXMLTypeMapping)theEObject; - Object result = caseJavaXMLTypeMapping(javaXMLTypeMapping); - if (result == null) result = caseJ2EEEObject(javaXMLTypeMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.EXCEPTION_MAPPING: { - ExceptionMapping exceptionMapping = (ExceptionMapping)theEObject; - Object result = caseExceptionMapping(exceptionMapping); - if (result == null) result = caseJ2EEEObject(exceptionMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.SERVICE_INTERFACE_MAPPING: { - ServiceInterfaceMapping serviceInterfaceMapping = (ServiceInterfaceMapping)theEObject; - Object result = caseServiceInterfaceMapping(serviceInterfaceMapping); - if (result == null) result = caseInterfaceMapping(serviceInterfaceMapping); - if (result == null) result = caseJ2EEEObject(serviceInterfaceMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.SERVICE_ENDPOINT_INTERFACE_MAPPING: { - ServiceEndpointInterfaceMapping serviceEndpointInterfaceMapping = (ServiceEndpointInterfaceMapping)theEObject; - Object result = caseServiceEndpointInterfaceMapping(serviceEndpointInterfaceMapping); - if (result == null) result = caseInterfaceMapping(serviceEndpointInterfaceMapping); - if (result == null) result = caseJ2EEEObject(serviceEndpointInterfaceMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.ROOT_TYPE_QNAME: { - RootTypeQname rootTypeQname = (RootTypeQname)theEObject; - Object result = caseRootTypeQname(rootTypeQname); - if (result == null) result = caseQName(rootTypeQname); - if (result == null) result = caseJ2EEEObject(rootTypeQname); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.VARIABLE_MAPPING: { - VariableMapping variableMapping = (VariableMapping)theEObject; - Object result = caseVariableMapping(variableMapping); - if (result == null) result = caseJ2EEEObject(variableMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_MESSAGE: { - WSDLMessage wsdlMessage = (WSDLMessage)theEObject; - Object result = caseWSDLMessage(wsdlMessage); - if (result == null) result = caseQName(wsdlMessage); - if (result == null) result = caseJ2EEEObject(wsdlMessage); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.CONSTRUCTOR_PARAMETER_ORDER: { - ConstructorParameterOrder constructorParameterOrder = (ConstructorParameterOrder)theEObject; - Object result = caseConstructorParameterOrder(constructorParameterOrder); - if (result == null) result = caseJ2EEEObject(constructorParameterOrder); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.ELEMENT_NAME: { - ElementName elementName = (ElementName)theEObject; - Object result = caseElementName(elementName); - if (result == null) result = caseJ2EEEObject(elementName); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_SERVICE_NAME: { - WSDLServiceName wsdlServiceName = (WSDLServiceName)theEObject; - Object result = caseWSDLServiceName(wsdlServiceName); - if (result == null) result = caseQName(wsdlServiceName); - if (result == null) result = caseJ2EEEObject(wsdlServiceName); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.PORT_MAPPING: { - PortMapping portMapping = (PortMapping)theEObject; - Object result = casePortMapping(portMapping); - if (result == null) result = caseJ2EEEObject(portMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_PORT_TYPE: { - WSDLPortType wsdlPortType = (WSDLPortType)theEObject; - Object result = caseWSDLPortType(wsdlPortType); - if (result == null) result = caseQName(wsdlPortType); - if (result == null) result = caseJ2EEEObject(wsdlPortType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_BINDING: { - WSDLBinding wsdlBinding = (WSDLBinding)theEObject; - Object result = caseWSDLBinding(wsdlBinding); - if (result == null) result = caseQName(wsdlBinding); - if (result == null) result = caseJ2EEEObject(wsdlBinding); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.SERVICE_ENDPOINT_METHOD_MAPPING: { - ServiceEndpointMethodMapping serviceEndpointMethodMapping = (ServiceEndpointMethodMapping)theEObject; - Object result = caseServiceEndpointMethodMapping(serviceEndpointMethodMapping); - if (result == null) result = caseJ2EEEObject(serviceEndpointMethodMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_OPERATION: { - WSDLOperation wsdlOperation = (WSDLOperation)theEObject; - Object result = caseWSDLOperation(wsdlOperation); - if (result == null) result = caseJ2EEEObject(wsdlOperation); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.METHOD_PARAM_PARTS_MAPPING: { - MethodParamPartsMapping methodParamPartsMapping = (MethodParamPartsMapping)theEObject; - Object result = caseMethodParamPartsMapping(methodParamPartsMapping); - if (result == null) result = caseJ2EEEObject(methodParamPartsMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_RETURN_VALUE_MAPPING: { - WSDLReturnValueMapping wsdlReturnValueMapping = (WSDLReturnValueMapping)theEObject; - Object result = caseWSDLReturnValueMapping(wsdlReturnValueMapping); - if (result == null) result = caseJ2EEEObject(wsdlReturnValueMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_MESSAGE_MAPPING: { - WSDLMessageMapping wsdlMessageMapping = (WSDLMessageMapping)theEObject; - Object result = caseWSDLMessageMapping(wsdlMessageMapping); - if (result == null) result = caseJ2EEEObject(wsdlMessageMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.WSDL_MESSAGE_PART_NAME: { - WSDLMessagePartName wsdlMessagePartName = (WSDLMessagePartName)theEObject; - Object result = caseWSDLMessagePartName(wsdlMessagePartName); - if (result == null) result = caseJ2EEEObject(wsdlMessagePartName); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JaxrpcmapPackage.INTERFACE_MAPPING: { - InterfaceMapping interfaceMapping = (InterfaceMapping)theEObject; - Object result = caseInterfaceMapping(interfaceMapping); - if (result == null) result = caseJ2EEEObject(interfaceMapping); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java WSDL Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java WSDL Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaWSDLMapping(JavaWSDLMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Package Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Package Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePackageMapping(PackageMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Java XML Type Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Java XML Type Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJavaXMLTypeMapping(JavaXMLTypeMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Exception Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Exception Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseExceptionMapping(ExceptionMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Service Interface Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Service Interface Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceInterfaceMapping(ServiceInterfaceMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Service Endpoint Interface Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Service Endpoint Interface Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceEndpointInterfaceMapping(ServiceEndpointInterfaceMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Root Type Qname</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Root Type Qname</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseRootTypeQname(RootTypeQname object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Variable Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Variable Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseVariableMapping(VariableMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Message</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Message</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLMessage(WSDLMessage object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Constructor Parameter Order</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Constructor Parameter Order</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseConstructorParameterOrder(ConstructorParameterOrder object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Element Name</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Element Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseElementName(ElementName object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Service Name</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Service Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLServiceName(WSDLServiceName object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Port Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Port Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object casePortMapping(PortMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Port Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Port Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLPortType(WSDLPortType object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Binding</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Binding</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLBinding(WSDLBinding object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Service Endpoint Method Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Service Endpoint Method Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseServiceEndpointMethodMapping(ServiceEndpointMethodMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Operation</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Operation</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLOperation(WSDLOperation object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Method Param Parts Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Method Param Parts Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseMethodParamPartsMapping(MethodParamPartsMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Return Value Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Return Value Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLReturnValueMapping(WSDLReturnValueMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Message Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Message Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLMessageMapping(WSDLMessageMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>WSDL Message Part Name</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>WSDL Message Part Name</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseWSDLMessagePartName(WSDLMessagePartName object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Interface Mapping</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Interface Mapping</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseInterfaceMapping(InterfaceMapping object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>J2EEE Object</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>J2EEE Object</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJ2EEEObject(J2EEEObject object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>QName</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>QName</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseQName(QName object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public Object defaultCase(EObject object) { - return null; - } - -} //JaxrpcmapSwitch |