001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id$
006: */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl;
007:
008: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.AttachmentModeType;
009: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpConnection;
010: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpConsumer;
011: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.SSL;
012: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.WSDLSource;
013: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
014:
015: import org.eclipse.emf.common.notify.Notification;
016:
017: import org.eclipse.emf.common.notify.NotificationChain;
018:
019: import org.eclipse.emf.ecore.EClass;
020: import org.eclipse.emf.ecore.InternalEObject;
021:
022: import org.eclipse.emf.ecore.impl.ENotificationImpl;
023:
024: /**
025: * <!-- begin-user-doc -->
026: * An implementation of the model object '<em><b>Http Consumer</b></em>'.
027: * <!-- end-user-doc -->
028: * <p>
029: * The following features are implemented:
030: * <ul>
031: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getLocationUrl <em>Location Url</em>}</li>
032: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#isSoapEnabled <em>Soap Enabled</em>}</li>
033: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#isUseSsl <em>Use Ssl</em>}</li>
034: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getSSL <em>SSL</em>}</li>
035: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getTimeout <em>Timeout</em>}</li>
036: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getAttachmentMode <em>Attachment Mode</em>}</li>
037: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getMarshaller <em>Marshaller</em>}</li>
038: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpConsumerImpl#getWSDLSource <em>WSDL Source</em>}</li>
039: * </ul>
040: * </p>
041: *
042: * @generated
043: */
044: public class HttpConsumerImpl extends ConsumerImpl implements
045: HttpConsumer {
046: /**
047: * <!-- begin-user-doc -->
048: * <!-- end-user-doc -->
049: * @generated
050: */
051: public static final String copyright = "Copyright, Bostech Corp.";
052:
053: /**
054: * The default value of the '{@link #getLocationUrl() <em>Location Url</em>}' attribute.
055: * <!-- begin-user-doc -->
056: * <!-- end-user-doc -->
057: * @see #getLocationUrl()
058: * @generated
059: * @ordered
060: */
061: protected static final String LOCATION_URL_EDEFAULT = null;
062:
063: /**
064: * The cached value of the '{@link #getLocationUrl() <em>Location Url</em>}' attribute.
065: * <!-- begin-user-doc -->
066: * <!-- end-user-doc -->
067: * @see #getLocationUrl()
068: * @generated
069: * @ordered
070: */
071: protected String locationUrl = LOCATION_URL_EDEFAULT;
072:
073: /**
074: * The default value of the '{@link #isSoapEnabled() <em>Soap Enabled</em>}' attribute.
075: * <!-- begin-user-doc -->
076: * <!-- end-user-doc -->
077: * @see #isSoapEnabled()
078: * @generated
079: * @ordered
080: */
081: protected static final boolean SOAP_ENABLED_EDEFAULT = false;
082:
083: /**
084: * The cached value of the '{@link #isSoapEnabled() <em>Soap Enabled</em>}' attribute.
085: * <!-- begin-user-doc -->
086: * <!-- end-user-doc -->
087: * @see #isSoapEnabled()
088: * @generated
089: * @ordered
090: */
091: protected boolean soapEnabled = SOAP_ENABLED_EDEFAULT;
092:
093: /**
094: * The default value of the '{@link #isUseSsl() <em>Use Ssl</em>}' attribute.
095: * <!-- begin-user-doc -->
096: * <!-- end-user-doc -->
097: * @see #isUseSsl()
098: * @generated
099: * @ordered
100: */
101: protected static final boolean USE_SSL_EDEFAULT = false;
102:
103: /**
104: * The cached value of the '{@link #isUseSsl() <em>Use Ssl</em>}' attribute.
105: * <!-- begin-user-doc -->
106: * <!-- end-user-doc -->
107: * @see #isUseSsl()
108: * @generated
109: * @ordered
110: */
111: protected boolean useSsl = USE_SSL_EDEFAULT;
112:
113: /**
114: * The cached value of the '{@link #getSSL() <em>SSL</em>}' containment reference.
115: * <!-- begin-user-doc -->
116: * <!-- end-user-doc -->
117: * @see #getSSL()
118: * @generated
119: * @ordered
120: */
121: protected SSL ssl = null;
122:
123: /**
124: * The default value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
125: * <!-- begin-user-doc -->
126: * <!-- end-user-doc -->
127: * @see #getTimeout()
128: * @generated
129: * @ordered
130: */
131: protected static final int TIMEOUT_EDEFAULT = 0;
132:
133: /**
134: * The cached value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
135: * <!-- begin-user-doc -->
136: * <!-- end-user-doc -->
137: * @see #getTimeout()
138: * @generated
139: * @ordered
140: */
141: protected int timeout = TIMEOUT_EDEFAULT;
142:
143: /**
144: * The default value of the '{@link #getAttachmentMode() <em>Attachment Mode</em>}' attribute.
145: * <!-- begin-user-doc -->
146: * <!-- end-user-doc -->
147: * @see #getAttachmentMode()
148: * @generated
149: * @ordered
150: */
151: protected static final AttachmentModeType ATTACHMENT_MODE_EDEFAULT = AttachmentModeType.NONE_LITERAL;
152:
153: /**
154: * The cached value of the '{@link #getAttachmentMode() <em>Attachment Mode</em>}' attribute.
155: * <!-- begin-user-doc -->
156: * <!-- end-user-doc -->
157: * @see #getAttachmentMode()
158: * @generated
159: * @ordered
160: */
161: protected AttachmentModeType attachmentMode = ATTACHMENT_MODE_EDEFAULT;
162:
163: /**
164: * The default value of the '{@link #getMarshaller() <em>Marshaller</em>}' attribute.
165: * <!-- begin-user-doc -->
166: * <!-- end-user-doc -->
167: * @see #getMarshaller()
168: * @generated
169: * @ordered
170: */
171: protected static final String MARSHALLER_EDEFAULT = "";
172:
173: /**
174: * The cached value of the '{@link #getMarshaller() <em>Marshaller</em>}' attribute.
175: * <!-- begin-user-doc -->
176: * <!-- end-user-doc -->
177: * @see #getMarshaller()
178: * @generated
179: * @ordered
180: */
181: protected String marshaller = MARSHALLER_EDEFAULT;
182:
183: /**
184: * The default value of the '{@link #getWSDLSource() <em>WSDL Source</em>}' attribute.
185: * <!-- begin-user-doc -->
186: * <!-- end-user-doc -->
187: * @see #getWSDLSource()
188: * @generated
189: * @ordered
190: */
191: protected static final WSDLSource WSDL_SOURCE_EDEFAULT = WSDLSource.USE_DEFAULT_LITERAL;
192:
193: /**
194: * The cached value of the '{@link #getWSDLSource() <em>WSDL Source</em>}' attribute.
195: * <!-- begin-user-doc -->
196: * <!-- end-user-doc -->
197: * @see #getWSDLSource()
198: * @generated
199: * @ordered
200: */
201: protected WSDLSource wsdlSource = WSDL_SOURCE_EDEFAULT;
202:
203: /**
204: * <!-- begin-user-doc -->
205: * <!-- end-user-doc -->
206: * @generated
207: */
208: protected HttpConsumerImpl() {
209: super ();
210: }
211:
212: /**
213: * <!-- begin-user-doc -->
214: * <!-- end-user-doc -->
215: * @generated
216: */
217: protected EClass eStaticClass() {
218: return componentflowPackage.Literals.HTTP_CONSUMER;
219: }
220:
221: /**
222: * <!-- begin-user-doc -->
223: * <!-- end-user-doc -->
224: * @generated
225: */
226: public String getLocationUrl() {
227: return locationUrl;
228: }
229:
230: /**
231: * <!-- begin-user-doc -->
232: * <!-- end-user-doc -->
233: * @generated
234: */
235: public void setLocationUrl(String newLocationUrl) {
236: String oldLocationUrl = locationUrl;
237: locationUrl = newLocationUrl;
238: if (eNotificationRequired())
239: eNotify(new ENotificationImpl(this , Notification.SET,
240: componentflowPackage.HTTP_CONSUMER__LOCATION_URL,
241: oldLocationUrl, locationUrl));
242: }
243:
244: /**
245: * <!-- begin-user-doc -->
246: * <!-- end-user-doc -->
247: * @generated
248: */
249: public boolean isSoapEnabled() {
250: return soapEnabled;
251: }
252:
253: /**
254: * <!-- begin-user-doc -->
255: * <!-- end-user-doc -->
256: * @generated
257: */
258: public void setSoapEnabled(boolean newSoapEnabled) {
259: boolean oldSoapEnabled = soapEnabled;
260: soapEnabled = newSoapEnabled;
261: if (eNotificationRequired())
262: eNotify(new ENotificationImpl(this , Notification.SET,
263: componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED,
264: oldSoapEnabled, soapEnabled));
265: }
266:
267: /**
268: * <!-- begin-user-doc -->
269: * <!-- end-user-doc -->
270: * @generated
271: */
272: public boolean isUseSsl() {
273: return useSsl;
274: }
275:
276: /**
277: * <!-- begin-user-doc -->
278: * <!-- end-user-doc -->
279: * @generated
280: */
281: public void setUseSsl(boolean newUseSsl) {
282: boolean oldUseSsl = useSsl;
283: useSsl = newUseSsl;
284: if (eNotificationRequired())
285: eNotify(new ENotificationImpl(this , Notification.SET,
286: componentflowPackage.HTTP_CONSUMER__USE_SSL,
287: oldUseSsl, useSsl));
288: }
289:
290: /**
291: * <!-- begin-user-doc -->
292: * <!-- end-user-doc -->
293: * @generated
294: */
295: public SSL getSSL() {
296: return ssl;
297: }
298:
299: /**
300: * <!-- begin-user-doc -->
301: * <!-- end-user-doc -->
302: * @generated
303: */
304: public NotificationChain basicSetSSL(SSL newSSL,
305: NotificationChain msgs) {
306: SSL oldSSL = ssl;
307: ssl = newSSL;
308: if (eNotificationRequired()) {
309: ENotificationImpl notification = new ENotificationImpl(
310: this , Notification.SET,
311: componentflowPackage.HTTP_CONSUMER__SSL, oldSSL,
312: newSSL);
313: if (msgs == null)
314: msgs = notification;
315: else
316: msgs.add(notification);
317: }
318: return msgs;
319: }
320:
321: /**
322: * <!-- begin-user-doc -->
323: * <!-- end-user-doc -->
324: * @generated
325: */
326: public void setSSL(SSL newSSL) {
327: if (newSSL != ssl) {
328: NotificationChain msgs = null;
329: if (ssl != null)
330: msgs = ((InternalEObject) ssl)
331: .eInverseRemove(
332: this ,
333: EOPPOSITE_FEATURE_BASE
334: - componentflowPackage.HTTP_CONSUMER__SSL,
335: null, msgs);
336: if (newSSL != null)
337: msgs = ((InternalEObject) newSSL)
338: .eInverseAdd(
339: this ,
340: EOPPOSITE_FEATURE_BASE
341: - componentflowPackage.HTTP_CONSUMER__SSL,
342: null, msgs);
343: msgs = basicSetSSL(newSSL, msgs);
344: if (msgs != null)
345: msgs.dispatch();
346: } else if (eNotificationRequired())
347: eNotify(new ENotificationImpl(this , Notification.SET,
348: componentflowPackage.HTTP_CONSUMER__SSL, newSSL,
349: newSSL));
350: }
351:
352: /**
353: * <!-- begin-user-doc -->
354: * <!-- end-user-doc -->
355: * @generated
356: */
357: public int getTimeout() {
358: return timeout;
359: }
360:
361: /**
362: * <!-- begin-user-doc -->
363: * <!-- end-user-doc -->
364: * @generated
365: */
366: public void setTimeout(int newTimeout) {
367: int oldTimeout = timeout;
368: timeout = newTimeout;
369: if (eNotificationRequired())
370: eNotify(new ENotificationImpl(this , Notification.SET,
371: componentflowPackage.HTTP_CONSUMER__TIMEOUT,
372: oldTimeout, timeout));
373: }
374:
375: /**
376: * <!-- begin-user-doc -->
377: * <!-- end-user-doc -->
378: * @generated
379: */
380: public AttachmentModeType getAttachmentMode() {
381: return attachmentMode;
382: }
383:
384: /**
385: * <!-- begin-user-doc -->
386: * <!-- end-user-doc -->
387: * @generated
388: */
389: public void setAttachmentMode(AttachmentModeType newAttachmentMode) {
390: AttachmentModeType oldAttachmentMode = attachmentMode;
391: attachmentMode = newAttachmentMode == null ? ATTACHMENT_MODE_EDEFAULT
392: : newAttachmentMode;
393: if (eNotificationRequired())
394: eNotify(new ENotificationImpl(
395: this ,
396: Notification.SET,
397: componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE,
398: oldAttachmentMode, attachmentMode));
399: }
400:
401: /**
402: * <!-- begin-user-doc -->
403: * <!-- end-user-doc -->
404: * @generated
405: */
406: public String getMarshaller() {
407: return marshaller;
408: }
409:
410: /**
411: * <!-- begin-user-doc -->
412: * <!-- end-user-doc -->
413: * @generated
414: */
415: public void setMarshaller(String newMarshaller) {
416: String oldMarshaller = marshaller;
417: marshaller = newMarshaller;
418: if (eNotificationRequired())
419: eNotify(new ENotificationImpl(this , Notification.SET,
420: componentflowPackage.HTTP_CONSUMER__MARSHALLER,
421: oldMarshaller, marshaller));
422: }
423:
424: /**
425: * <!-- begin-user-doc -->
426: * <!-- end-user-doc -->
427: * @generated
428: */
429: public WSDLSource getWSDLSource() {
430: return wsdlSource;
431: }
432:
433: /**
434: * <!-- begin-user-doc -->
435: * <!-- end-user-doc -->
436: * @generated
437: */
438: public void setWSDLSource(WSDLSource newWSDLSource) {
439: WSDLSource oldWSDLSource = wsdlSource;
440: wsdlSource = newWSDLSource == null ? WSDL_SOURCE_EDEFAULT
441: : newWSDLSource;
442: if (eNotificationRequired())
443: eNotify(new ENotificationImpl(this , Notification.SET,
444: componentflowPackage.HTTP_CONSUMER__WSDL_SOURCE,
445: oldWSDLSource, wsdlSource));
446: }
447:
448: /**
449: * <!-- begin-user-doc -->
450: * <!-- end-user-doc -->
451: * @generated
452: */
453: public NotificationChain eInverseRemove(InternalEObject otherEnd,
454: int featureID, NotificationChain msgs) {
455: switch (featureID) {
456: case componentflowPackage.HTTP_CONSUMER__SSL:
457: return basicSetSSL(null, msgs);
458: }
459: return super .eInverseRemove(otherEnd, featureID, msgs);
460: }
461:
462: /**
463: * <!-- begin-user-doc -->
464: * <!-- end-user-doc -->
465: * @generated
466: */
467: public Object eGet(int featureID, boolean resolve, boolean coreType) {
468: switch (featureID) {
469: case componentflowPackage.HTTP_CONSUMER__LOCATION_URL:
470: return getLocationUrl();
471: case componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED:
472: return isSoapEnabled() ? Boolean.TRUE : Boolean.FALSE;
473: case componentflowPackage.HTTP_CONSUMER__USE_SSL:
474: return isUseSsl() ? Boolean.TRUE : Boolean.FALSE;
475: case componentflowPackage.HTTP_CONSUMER__SSL:
476: return getSSL();
477: case componentflowPackage.HTTP_CONSUMER__TIMEOUT:
478: return new Integer(getTimeout());
479: case componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE:
480: return getAttachmentMode();
481: case componentflowPackage.HTTP_CONSUMER__MARSHALLER:
482: return getMarshaller();
483: case componentflowPackage.HTTP_CONSUMER__WSDL_SOURCE:
484: return getWSDLSource();
485: }
486: return super .eGet(featureID, resolve, coreType);
487: }
488:
489: /**
490: * <!-- begin-user-doc -->
491: * <!-- end-user-doc -->
492: * @generated
493: */
494: public void eSet(int featureID, Object newValue) {
495: switch (featureID) {
496: case componentflowPackage.HTTP_CONSUMER__LOCATION_URL:
497: setLocationUrl((String) newValue);
498: return;
499: case componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED:
500: setSoapEnabled(((Boolean) newValue).booleanValue());
501: return;
502: case componentflowPackage.HTTP_CONSUMER__USE_SSL:
503: setUseSsl(((Boolean) newValue).booleanValue());
504: return;
505: case componentflowPackage.HTTP_CONSUMER__SSL:
506: setSSL((SSL) newValue);
507: return;
508: case componentflowPackage.HTTP_CONSUMER__TIMEOUT:
509: setTimeout(((Integer) newValue).intValue());
510: return;
511: case componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE:
512: setAttachmentMode((AttachmentModeType) newValue);
513: return;
514: case componentflowPackage.HTTP_CONSUMER__MARSHALLER:
515: setMarshaller((String) newValue);
516: return;
517: case componentflowPackage.HTTP_CONSUMER__WSDL_SOURCE:
518: setWSDLSource((WSDLSource) newValue);
519: return;
520: }
521: super .eSet(featureID, newValue);
522: }
523:
524: /**
525: * <!-- begin-user-doc -->
526: * <!-- end-user-doc -->
527: * @generated
528: */
529: public void eUnset(int featureID) {
530: switch (featureID) {
531: case componentflowPackage.HTTP_CONSUMER__LOCATION_URL:
532: setLocationUrl(LOCATION_URL_EDEFAULT);
533: return;
534: case componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED:
535: setSoapEnabled(SOAP_ENABLED_EDEFAULT);
536: return;
537: case componentflowPackage.HTTP_CONSUMER__USE_SSL:
538: setUseSsl(USE_SSL_EDEFAULT);
539: return;
540: case componentflowPackage.HTTP_CONSUMER__SSL:
541: setSSL((SSL) null);
542: return;
543: case componentflowPackage.HTTP_CONSUMER__TIMEOUT:
544: setTimeout(TIMEOUT_EDEFAULT);
545: return;
546: case componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE:
547: setAttachmentMode(ATTACHMENT_MODE_EDEFAULT);
548: return;
549: case componentflowPackage.HTTP_CONSUMER__MARSHALLER:
550: setMarshaller(MARSHALLER_EDEFAULT);
551: return;
552: case componentflowPackage.HTTP_CONSUMER__WSDL_SOURCE:
553: setWSDLSource(WSDL_SOURCE_EDEFAULT);
554: return;
555: }
556: super .eUnset(featureID);
557: }
558:
559: /**
560: * <!-- begin-user-doc -->
561: * <!-- end-user-doc -->
562: * @generated
563: */
564: public boolean eIsSet(int featureID) {
565: switch (featureID) {
566: case componentflowPackage.HTTP_CONSUMER__LOCATION_URL:
567: return LOCATION_URL_EDEFAULT == null ? locationUrl != null
568: : !LOCATION_URL_EDEFAULT.equals(locationUrl);
569: case componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED:
570: return soapEnabled != SOAP_ENABLED_EDEFAULT;
571: case componentflowPackage.HTTP_CONSUMER__USE_SSL:
572: return useSsl != USE_SSL_EDEFAULT;
573: case componentflowPackage.HTTP_CONSUMER__SSL:
574: return ssl != null;
575: case componentflowPackage.HTTP_CONSUMER__TIMEOUT:
576: return timeout != TIMEOUT_EDEFAULT;
577: case componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE:
578: return attachmentMode != ATTACHMENT_MODE_EDEFAULT;
579: case componentflowPackage.HTTP_CONSUMER__MARSHALLER:
580: return MARSHALLER_EDEFAULT == null ? marshaller != null
581: : !MARSHALLER_EDEFAULT.equals(marshaller);
582: case componentflowPackage.HTTP_CONSUMER__WSDL_SOURCE:
583: return wsdlSource != WSDL_SOURCE_EDEFAULT;
584: }
585: return super .eIsSet(featureID);
586: }
587:
588: /**
589: * <!-- begin-user-doc -->
590: * <!-- end-user-doc -->
591: * @generated
592: */
593: public int eBaseStructuralFeatureID(int derivedFeatureID,
594: Class baseClass) {
595: if (baseClass == HttpConnection.class) {
596: switch (derivedFeatureID) {
597: case componentflowPackage.HTTP_CONSUMER__LOCATION_URL:
598: return componentflowPackage.HTTP_CONNECTION__LOCATION_URL;
599: case componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED:
600: return componentflowPackage.HTTP_CONNECTION__SOAP_ENABLED;
601: case componentflowPackage.HTTP_CONSUMER__USE_SSL:
602: return componentflowPackage.HTTP_CONNECTION__USE_SSL;
603: case componentflowPackage.HTTP_CONSUMER__SSL:
604: return componentflowPackage.HTTP_CONNECTION__SSL;
605: case componentflowPackage.HTTP_CONSUMER__TIMEOUT:
606: return componentflowPackage.HTTP_CONNECTION__TIMEOUT;
607: case componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE:
608: return componentflowPackage.HTTP_CONNECTION__ATTACHMENT_MODE;
609: case componentflowPackage.HTTP_CONSUMER__MARSHALLER:
610: return componentflowPackage.HTTP_CONNECTION__MARSHALLER;
611: default:
612: return -1;
613: }
614: }
615: return super .eBaseStructuralFeatureID(derivedFeatureID,
616: baseClass);
617: }
618:
619: /**
620: * <!-- begin-user-doc -->
621: * <!-- end-user-doc -->
622: * @generated
623: */
624: public int eDerivedStructuralFeatureID(int baseFeatureID,
625: Class baseClass) {
626: if (baseClass == HttpConnection.class) {
627: switch (baseFeatureID) {
628: case componentflowPackage.HTTP_CONNECTION__LOCATION_URL:
629: return componentflowPackage.HTTP_CONSUMER__LOCATION_URL;
630: case componentflowPackage.HTTP_CONNECTION__SOAP_ENABLED:
631: return componentflowPackage.HTTP_CONSUMER__SOAP_ENABLED;
632: case componentflowPackage.HTTP_CONNECTION__USE_SSL:
633: return componentflowPackage.HTTP_CONSUMER__USE_SSL;
634: case componentflowPackage.HTTP_CONNECTION__SSL:
635: return componentflowPackage.HTTP_CONSUMER__SSL;
636: case componentflowPackage.HTTP_CONNECTION__TIMEOUT:
637: return componentflowPackage.HTTP_CONSUMER__TIMEOUT;
638: case componentflowPackage.HTTP_CONNECTION__ATTACHMENT_MODE:
639: return componentflowPackage.HTTP_CONSUMER__ATTACHMENT_MODE;
640: case componentflowPackage.HTTP_CONNECTION__MARSHALLER:
641: return componentflowPackage.HTTP_CONSUMER__MARSHALLER;
642: default:
643: return -1;
644: }
645: }
646: return super .eDerivedStructuralFeatureID(baseFeatureID,
647: baseClass);
648: }
649:
650: /**
651: * <!-- begin-user-doc -->
652: * <!-- end-user-doc -->
653: * @generated
654: */
655: public String toString() {
656: if (eIsProxy())
657: return super .toString();
658:
659: StringBuffer result = new StringBuffer(super .toString());
660: result.append(" (locationUrl: ");
661: result.append(locationUrl);
662: result.append(", soapEnabled: ");
663: result.append(soapEnabled);
664: result.append(", useSsl: ");
665: result.append(useSsl);
666: result.append(", timeout: ");
667: result.append(timeout);
668: result.append(", attachmentMode: ");
669: result.append(attachmentMode);
670: result.append(", marshaller: ");
671: result.append(marshaller);
672: result.append(", WSDLSource: ");
673: result.append(wsdlSource);
674: result.append(')');
675: return result.toString();
676: }
677:
678: } //HttpConsumerImpl
|