Source Code Cross Referenced for HttpProviderImpl.java in  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » ui » componentflow » componentFlowEditor » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » cbesb 1.2 » com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /**
0002:         * <copyright>
0003:         * </copyright>
0004:         *
0005:         * $Id$
0006:         */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl;
0007:
0008:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.AttachmentModeType;
0009:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpConnection;
0010:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.HttpProvider;
0011:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.SSL;
0012:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
0013:
0014:        import org.eclipse.emf.common.notify.Notification;
0015:
0016:        import org.eclipse.emf.common.notify.NotificationChain;
0017:
0018:        import org.eclipse.emf.ecore.EClass;
0019:        import org.eclipse.emf.ecore.InternalEObject;
0020:
0021:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
0022:
0023:        /**
0024:         * <!-- begin-user-doc -->
0025:         * An implementation of the model object '<em><b>Http Provider</b></em>'.
0026:         * <!-- end-user-doc -->
0027:         * <p>
0028:         * The following features are implemented:
0029:         * <ul>
0030:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getLocationUrl <em>Location Url</em>}</li>
0031:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#isSoapEnabled <em>Soap Enabled</em>}</li>
0032:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#isUseSsl <em>Use Ssl</em>}</li>
0033:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getSSL <em>SSL</em>}</li>
0034:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getTimeout <em>Timeout</em>}</li>
0035:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getAttachmentMode <em>Attachment Mode</em>}</li>
0036:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getMarshaller <em>Marshaller</em>}</li>
0037:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getImportedWSDL <em>Imported WSDL</em>}</li>
0038:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getBasicAuthUser <em>Basic Auth User</em>}</li>
0039:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getBasicAuthPassword <em>Basic Auth Password</em>}</li>
0040:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getDefaultOperation <em>Default Operation</em>}</li>
0041:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getService <em>Service</em>}</li>
0042:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getPort <em>Port</em>}</li>
0043:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getProxyHost <em>Proxy Host</em>}</li>
0044:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getProxyUser <em>Proxy User</em>}</li>
0045:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getProxyPort <em>Proxy Port</em>}</li>
0046:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.HttpProviderImpl#getProxyPassword <em>Proxy Password</em>}</li>
0047:         * </ul>
0048:         * </p>
0049:         *
0050:         * @generated
0051:         */
0052:        public class HttpProviderImpl extends ProviderImpl implements 
0053:                HttpProvider {
0054:            /**
0055:             * <!-- begin-user-doc -->
0056:             * <!-- end-user-doc -->
0057:             * @generated
0058:             */
0059:            public static final String copyright = "Copyright, Bostech Corp.";
0060:
0061:            /**
0062:             * The default value of the '{@link #getLocationUrl() <em>Location Url</em>}' attribute.
0063:             * <!-- begin-user-doc -->
0064:             * <!-- end-user-doc -->
0065:             * @see #getLocationUrl()
0066:             * @generated
0067:             * @ordered
0068:             */
0069:            protected static final String LOCATION_URL_EDEFAULT = null;
0070:
0071:            /**
0072:             * The cached value of the '{@link #getLocationUrl() <em>Location Url</em>}' attribute.
0073:             * <!-- begin-user-doc -->
0074:             * <!-- end-user-doc -->
0075:             * @see #getLocationUrl()
0076:             * @generated
0077:             * @ordered
0078:             */
0079:            protected String locationUrl = LOCATION_URL_EDEFAULT;
0080:
0081:            /**
0082:             * The default value of the '{@link #isSoapEnabled() <em>Soap Enabled</em>}' attribute.
0083:             * <!-- begin-user-doc -->
0084:             * <!-- end-user-doc -->
0085:             * @see #isSoapEnabled()
0086:             * @generated
0087:             * @ordered
0088:             */
0089:            protected static final boolean SOAP_ENABLED_EDEFAULT = false;
0090:
0091:            /**
0092:             * The cached value of the '{@link #isSoapEnabled() <em>Soap Enabled</em>}' attribute.
0093:             * <!-- begin-user-doc -->
0094:             * <!-- end-user-doc -->
0095:             * @see #isSoapEnabled()
0096:             * @generated
0097:             * @ordered
0098:             */
0099:            protected boolean soapEnabled = SOAP_ENABLED_EDEFAULT;
0100:
0101:            /**
0102:             * The default value of the '{@link #isUseSsl() <em>Use Ssl</em>}' attribute.
0103:             * <!-- begin-user-doc -->
0104:             * <!-- end-user-doc -->
0105:             * @see #isUseSsl()
0106:             * @generated
0107:             * @ordered
0108:             */
0109:            protected static final boolean USE_SSL_EDEFAULT = false;
0110:
0111:            /**
0112:             * The cached value of the '{@link #isUseSsl() <em>Use Ssl</em>}' attribute.
0113:             * <!-- begin-user-doc -->
0114:             * <!-- end-user-doc -->
0115:             * @see #isUseSsl()
0116:             * @generated
0117:             * @ordered
0118:             */
0119:            protected boolean useSsl = USE_SSL_EDEFAULT;
0120:
0121:            /**
0122:             * The cached value of the '{@link #getSSL() <em>SSL</em>}' containment reference.
0123:             * <!-- begin-user-doc -->
0124:             * <!-- end-user-doc -->
0125:             * @see #getSSL()
0126:             * @generated
0127:             * @ordered
0128:             */
0129:            protected SSL ssl = null;
0130:
0131:            /**
0132:             * The default value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
0133:             * <!-- begin-user-doc -->
0134:             * <!-- end-user-doc -->
0135:             * @see #getTimeout()
0136:             * @generated
0137:             * @ordered
0138:             */
0139:            protected static final int TIMEOUT_EDEFAULT = 0;
0140:
0141:            /**
0142:             * The cached value of the '{@link #getTimeout() <em>Timeout</em>}' attribute.
0143:             * <!-- begin-user-doc -->
0144:             * <!-- end-user-doc -->
0145:             * @see #getTimeout()
0146:             * @generated
0147:             * @ordered
0148:             */
0149:            protected int timeout = TIMEOUT_EDEFAULT;
0150:
0151:            /**
0152:             * The default value of the '{@link #getAttachmentMode() <em>Attachment Mode</em>}' attribute.
0153:             * <!-- begin-user-doc -->
0154:             * <!-- end-user-doc -->
0155:             * @see #getAttachmentMode()
0156:             * @generated
0157:             * @ordered
0158:             */
0159:            protected static final AttachmentModeType ATTACHMENT_MODE_EDEFAULT = AttachmentModeType.NONE_LITERAL;
0160:
0161:            /**
0162:             * The cached value of the '{@link #getAttachmentMode() <em>Attachment Mode</em>}' attribute.
0163:             * <!-- begin-user-doc -->
0164:             * <!-- end-user-doc -->
0165:             * @see #getAttachmentMode()
0166:             * @generated
0167:             * @ordered
0168:             */
0169:            protected AttachmentModeType attachmentMode = ATTACHMENT_MODE_EDEFAULT;
0170:
0171:            /**
0172:             * The default value of the '{@link #getMarshaller() <em>Marshaller</em>}' attribute.
0173:             * <!-- begin-user-doc -->
0174:             * <!-- end-user-doc -->
0175:             * @see #getMarshaller()
0176:             * @generated
0177:             * @ordered
0178:             */
0179:            protected static final String MARSHALLER_EDEFAULT = "";
0180:
0181:            /**
0182:             * The cached value of the '{@link #getMarshaller() <em>Marshaller</em>}' attribute.
0183:             * <!-- begin-user-doc -->
0184:             * <!-- end-user-doc -->
0185:             * @see #getMarshaller()
0186:             * @generated
0187:             * @ordered
0188:             */
0189:            protected String marshaller = MARSHALLER_EDEFAULT;
0190:
0191:            /**
0192:             * The default value of the '{@link #getImportedWSDL() <em>Imported WSDL</em>}' attribute.
0193:             * <!-- begin-user-doc -->
0194:             * <!-- end-user-doc -->
0195:             * @see #getImportedWSDL()
0196:             * @generated
0197:             * @ordered
0198:             */
0199:            protected static final String IMPORTED_WSDL_EDEFAULT = null;
0200:
0201:            /**
0202:             * The cached value of the '{@link #getImportedWSDL() <em>Imported WSDL</em>}' attribute.
0203:             * <!-- begin-user-doc -->
0204:             * <!-- end-user-doc -->
0205:             * @see #getImportedWSDL()
0206:             * @generated
0207:             * @ordered
0208:             */
0209:            protected String importedWSDL = IMPORTED_WSDL_EDEFAULT;
0210:
0211:            /**
0212:             * The default value of the '{@link #getBasicAuthUser() <em>Basic Auth User</em>}' attribute.
0213:             * <!-- begin-user-doc -->
0214:             * <!-- end-user-doc -->
0215:             * @see #getBasicAuthUser()
0216:             * @generated
0217:             * @ordered
0218:             */
0219:            protected static final String BASIC_AUTH_USER_EDEFAULT = null;
0220:
0221:            /**
0222:             * The cached value of the '{@link #getBasicAuthUser() <em>Basic Auth User</em>}' attribute.
0223:             * <!-- begin-user-doc -->
0224:             * <!-- end-user-doc -->
0225:             * @see #getBasicAuthUser()
0226:             * @generated
0227:             * @ordered
0228:             */
0229:            protected String basicAuthUser = BASIC_AUTH_USER_EDEFAULT;
0230:
0231:            /**
0232:             * The default value of the '{@link #getBasicAuthPassword() <em>Basic Auth Password</em>}' attribute.
0233:             * <!-- begin-user-doc -->
0234:             * <!-- end-user-doc -->
0235:             * @see #getBasicAuthPassword()
0236:             * @generated
0237:             * @ordered
0238:             */
0239:            protected static final String BASIC_AUTH_PASSWORD_EDEFAULT = null;
0240:
0241:            /**
0242:             * The cached value of the '{@link #getBasicAuthPassword() <em>Basic Auth Password</em>}' attribute.
0243:             * <!-- begin-user-doc -->
0244:             * <!-- end-user-doc -->
0245:             * @see #getBasicAuthPassword()
0246:             * @generated
0247:             * @ordered
0248:             */
0249:            protected String basicAuthPassword = BASIC_AUTH_PASSWORD_EDEFAULT;
0250:
0251:            /**
0252:             * The default value of the '{@link #getDefaultOperation() <em>Default Operation</em>}' attribute.
0253:             * <!-- begin-user-doc -->
0254:             * <!-- end-user-doc -->
0255:             * @see #getDefaultOperation()
0256:             * @generated
0257:             * @ordered
0258:             */
0259:            protected static final String DEFAULT_OPERATION_EDEFAULT = null;
0260:
0261:            /**
0262:             * The cached value of the '{@link #getDefaultOperation() <em>Default Operation</em>}' attribute.
0263:             * <!-- begin-user-doc -->
0264:             * <!-- end-user-doc -->
0265:             * @see #getDefaultOperation()
0266:             * @generated
0267:             * @ordered
0268:             */
0269:            protected String defaultOperation = DEFAULT_OPERATION_EDEFAULT;
0270:
0271:            /**
0272:             * The default value of the '{@link #getService() <em>Service</em>}' attribute.
0273:             * <!-- begin-user-doc -->
0274:             * <!-- end-user-doc -->
0275:             * @see #getService()
0276:             * @generated
0277:             * @ordered
0278:             */
0279:            protected static final String SERVICE_EDEFAULT = null;
0280:
0281:            /**
0282:             * The cached value of the '{@link #getService() <em>Service</em>}' attribute.
0283:             * <!-- begin-user-doc -->
0284:             * <!-- end-user-doc -->
0285:             * @see #getService()
0286:             * @generated
0287:             * @ordered
0288:             */
0289:            protected String service = SERVICE_EDEFAULT;
0290:
0291:            /**
0292:             * The default value of the '{@link #getPort() <em>Port</em>}' attribute.
0293:             * <!-- begin-user-doc -->
0294:             * <!-- end-user-doc -->
0295:             * @see #getPort()
0296:             * @generated
0297:             * @ordered
0298:             */
0299:            protected static final String PORT_EDEFAULT = null;
0300:
0301:            /**
0302:             * The cached value of the '{@link #getPort() <em>Port</em>}' attribute.
0303:             * <!-- begin-user-doc -->
0304:             * <!-- end-user-doc -->
0305:             * @see #getPort()
0306:             * @generated
0307:             * @ordered
0308:             */
0309:            protected String port = PORT_EDEFAULT;
0310:
0311:            /**
0312:             * The default value of the '{@link #getProxyHost() <em>Proxy Host</em>}' attribute.
0313:             * <!-- begin-user-doc -->
0314:             * <!-- end-user-doc -->
0315:             * @see #getProxyHost()
0316:             * @generated
0317:             * @ordered
0318:             */
0319:            protected static final String PROXY_HOST_EDEFAULT = null;
0320:
0321:            /**
0322:             * The cached value of the '{@link #getProxyHost() <em>Proxy Host</em>}' attribute.
0323:             * <!-- begin-user-doc -->
0324:             * <!-- end-user-doc -->
0325:             * @see #getProxyHost()
0326:             * @generated
0327:             * @ordered
0328:             */
0329:            protected String proxyHost = PROXY_HOST_EDEFAULT;
0330:
0331:            /**
0332:             * The default value of the '{@link #getProxyUser() <em>Proxy User</em>}' attribute.
0333:             * <!-- begin-user-doc -->
0334:             * <!-- end-user-doc -->
0335:             * @see #getProxyUser()
0336:             * @generated
0337:             * @ordered
0338:             */
0339:            protected static final String PROXY_USER_EDEFAULT = "";
0340:
0341:            /**
0342:             * The cached value of the '{@link #getProxyUser() <em>Proxy User</em>}' attribute.
0343:             * <!-- begin-user-doc -->
0344:             * <!-- end-user-doc -->
0345:             * @see #getProxyUser()
0346:             * @generated
0347:             * @ordered
0348:             */
0349:            protected String proxyUser = PROXY_USER_EDEFAULT;
0350:
0351:            /**
0352:             * The default value of the '{@link #getProxyPort() <em>Proxy Port</em>}' attribute.
0353:             * <!-- begin-user-doc -->
0354:             * <!-- end-user-doc -->
0355:             * @see #getProxyPort()
0356:             * @generated
0357:             * @ordered
0358:             */
0359:            protected static final String PROXY_PORT_EDEFAULT = null;
0360:
0361:            /**
0362:             * The cached value of the '{@link #getProxyPort() <em>Proxy Port</em>}' attribute.
0363:             * <!-- begin-user-doc -->
0364:             * <!-- end-user-doc -->
0365:             * @see #getProxyPort()
0366:             * @generated
0367:             * @ordered
0368:             */
0369:            protected String proxyPort = PROXY_PORT_EDEFAULT;
0370:
0371:            /**
0372:             * The default value of the '{@link #getProxyPassword() <em>Proxy Password</em>}' attribute.
0373:             * <!-- begin-user-doc -->
0374:             * <!-- end-user-doc -->
0375:             * @see #getProxyPassword()
0376:             * @generated
0377:             * @ordered
0378:             */
0379:            protected static final String PROXY_PASSWORD_EDEFAULT = "";
0380:
0381:            /**
0382:             * The cached value of the '{@link #getProxyPassword() <em>Proxy Password</em>}' attribute.
0383:             * <!-- begin-user-doc -->
0384:             * <!-- end-user-doc -->
0385:             * @see #getProxyPassword()
0386:             * @generated
0387:             * @ordered
0388:             */
0389:            protected String proxyPassword = PROXY_PASSWORD_EDEFAULT;
0390:
0391:            /**
0392:             * <!-- begin-user-doc -->
0393:             * <!-- end-user-doc -->
0394:             * @generated
0395:             */
0396:            protected HttpProviderImpl() {
0397:                super ();
0398:            }
0399:
0400:            /**
0401:             * <!-- begin-user-doc -->
0402:             * <!-- end-user-doc -->
0403:             * @generated
0404:             */
0405:            protected EClass eStaticClass() {
0406:                return componentflowPackage.Literals.HTTP_PROVIDER;
0407:            }
0408:
0409:            /**
0410:             * <!-- begin-user-doc -->
0411:             * <!-- end-user-doc -->
0412:             * @generated
0413:             */
0414:            public String getLocationUrl() {
0415:                return locationUrl;
0416:            }
0417:
0418:            /**
0419:             * <!-- begin-user-doc -->
0420:             * <!-- end-user-doc -->
0421:             * @generated
0422:             */
0423:            public void setLocationUrl(String newLocationUrl) {
0424:                String oldLocationUrl = locationUrl;
0425:                locationUrl = newLocationUrl;
0426:                if (eNotificationRequired())
0427:                    eNotify(new ENotificationImpl(this , Notification.SET,
0428:                            componentflowPackage.HTTP_PROVIDER__LOCATION_URL,
0429:                            oldLocationUrl, locationUrl));
0430:            }
0431:
0432:            /**
0433:             * <!-- begin-user-doc -->
0434:             * <!-- end-user-doc -->
0435:             * @generated
0436:             */
0437:            public boolean isSoapEnabled() {
0438:                return soapEnabled;
0439:            }
0440:
0441:            /**
0442:             * <!-- begin-user-doc -->
0443:             * <!-- end-user-doc -->
0444:             * @generated
0445:             */
0446:            public void setSoapEnabled(boolean newSoapEnabled) {
0447:                boolean oldSoapEnabled = soapEnabled;
0448:                soapEnabled = newSoapEnabled;
0449:                if (eNotificationRequired())
0450:                    eNotify(new ENotificationImpl(this , Notification.SET,
0451:                            componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED,
0452:                            oldSoapEnabled, soapEnabled));
0453:            }
0454:
0455:            /**
0456:             * <!-- begin-user-doc -->
0457:             * <!-- end-user-doc -->
0458:             * @generated
0459:             */
0460:            public boolean isUseSsl() {
0461:                return useSsl;
0462:            }
0463:
0464:            /**
0465:             * <!-- begin-user-doc -->
0466:             * <!-- end-user-doc -->
0467:             * @generated
0468:             */
0469:            public void setUseSsl(boolean newUseSsl) {
0470:                boolean oldUseSsl = useSsl;
0471:                useSsl = newUseSsl;
0472:                if (eNotificationRequired())
0473:                    eNotify(new ENotificationImpl(this , Notification.SET,
0474:                            componentflowPackage.HTTP_PROVIDER__USE_SSL,
0475:                            oldUseSsl, useSsl));
0476:            }
0477:
0478:            /**
0479:             * <!-- begin-user-doc -->
0480:             * <!-- end-user-doc -->
0481:             * @generated
0482:             */
0483:            public SSL getSSL() {
0484:                return ssl;
0485:            }
0486:
0487:            /**
0488:             * <!-- begin-user-doc -->
0489:             * <!-- end-user-doc -->
0490:             * @generated
0491:             */
0492:            public NotificationChain basicSetSSL(SSL newSSL,
0493:                    NotificationChain msgs) {
0494:                SSL oldSSL = ssl;
0495:                ssl = newSSL;
0496:                if (eNotificationRequired()) {
0497:                    ENotificationImpl notification = new ENotificationImpl(
0498:                            this , Notification.SET,
0499:                            componentflowPackage.HTTP_PROVIDER__SSL, oldSSL,
0500:                            newSSL);
0501:                    if (msgs == null)
0502:                        msgs = notification;
0503:                    else
0504:                        msgs.add(notification);
0505:                }
0506:                return msgs;
0507:            }
0508:
0509:            /**
0510:             * <!-- begin-user-doc -->
0511:             * <!-- end-user-doc -->
0512:             * @generated
0513:             */
0514:            public void setSSL(SSL newSSL) {
0515:                if (newSSL != ssl) {
0516:                    NotificationChain msgs = null;
0517:                    if (ssl != null)
0518:                        msgs = ((InternalEObject) ssl)
0519:                                .eInverseRemove(
0520:                                        this ,
0521:                                        EOPPOSITE_FEATURE_BASE
0522:                                                - componentflowPackage.HTTP_PROVIDER__SSL,
0523:                                        null, msgs);
0524:                    if (newSSL != null)
0525:                        msgs = ((InternalEObject) newSSL)
0526:                                .eInverseAdd(
0527:                                        this ,
0528:                                        EOPPOSITE_FEATURE_BASE
0529:                                                - componentflowPackage.HTTP_PROVIDER__SSL,
0530:                                        null, msgs);
0531:                    msgs = basicSetSSL(newSSL, msgs);
0532:                    if (msgs != null)
0533:                        msgs.dispatch();
0534:                } else if (eNotificationRequired())
0535:                    eNotify(new ENotificationImpl(this , Notification.SET,
0536:                            componentflowPackage.HTTP_PROVIDER__SSL, newSSL,
0537:                            newSSL));
0538:            }
0539:
0540:            /**
0541:             * <!-- begin-user-doc -->
0542:             * <!-- end-user-doc -->
0543:             * @generated
0544:             */
0545:            public int getTimeout() {
0546:                return timeout;
0547:            }
0548:
0549:            /**
0550:             * <!-- begin-user-doc -->
0551:             * <!-- end-user-doc -->
0552:             * @generated
0553:             */
0554:            public void setTimeout(int newTimeout) {
0555:                int oldTimeout = timeout;
0556:                timeout = newTimeout;
0557:                if (eNotificationRequired())
0558:                    eNotify(new ENotificationImpl(this , Notification.SET,
0559:                            componentflowPackage.HTTP_PROVIDER__TIMEOUT,
0560:                            oldTimeout, timeout));
0561:            }
0562:
0563:            /**
0564:             * <!-- begin-user-doc -->
0565:             * <!-- end-user-doc -->
0566:             * @generated
0567:             */
0568:            public AttachmentModeType getAttachmentMode() {
0569:                return attachmentMode;
0570:            }
0571:
0572:            /**
0573:             * <!-- begin-user-doc -->
0574:             * <!-- end-user-doc -->
0575:             * @generated
0576:             */
0577:            public void setAttachmentMode(AttachmentModeType newAttachmentMode) {
0578:                AttachmentModeType oldAttachmentMode = attachmentMode;
0579:                attachmentMode = newAttachmentMode == null ? ATTACHMENT_MODE_EDEFAULT
0580:                        : newAttachmentMode;
0581:                if (eNotificationRequired())
0582:                    eNotify(new ENotificationImpl(
0583:                            this ,
0584:                            Notification.SET,
0585:                            componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE,
0586:                            oldAttachmentMode, attachmentMode));
0587:            }
0588:
0589:            /**
0590:             * <!-- begin-user-doc -->
0591:             * <!-- end-user-doc -->
0592:             * @generated
0593:             */
0594:            public String getMarshaller() {
0595:                return marshaller;
0596:            }
0597:
0598:            /**
0599:             * <!-- begin-user-doc -->
0600:             * <!-- end-user-doc -->
0601:             * @generated
0602:             */
0603:            public void setMarshaller(String newMarshaller) {
0604:                String oldMarshaller = marshaller;
0605:                marshaller = newMarshaller;
0606:                if (eNotificationRequired())
0607:                    eNotify(new ENotificationImpl(this , Notification.SET,
0608:                            componentflowPackage.HTTP_PROVIDER__MARSHALLER,
0609:                            oldMarshaller, marshaller));
0610:            }
0611:
0612:            /**
0613:             * <!-- begin-user-doc -->
0614:             * <!-- end-user-doc -->
0615:             * @generated
0616:             */
0617:            public String getImportedWSDL() {
0618:                return importedWSDL;
0619:            }
0620:
0621:            /**
0622:             * <!-- begin-user-doc -->
0623:             * <!-- end-user-doc -->
0624:             * @generated
0625:             */
0626:            public void setImportedWSDL(String newImportedWSDL) {
0627:                String oldImportedWSDL = importedWSDL;
0628:                importedWSDL = newImportedWSDL;
0629:                if (eNotificationRequired())
0630:                    eNotify(new ENotificationImpl(this , Notification.SET,
0631:                            componentflowPackage.HTTP_PROVIDER__IMPORTED_WSDL,
0632:                            oldImportedWSDL, importedWSDL));
0633:            }
0634:
0635:            /**
0636:             * <!-- begin-user-doc -->
0637:             * <!-- end-user-doc -->
0638:             * @generated
0639:             */
0640:            public String getBasicAuthUser() {
0641:                return basicAuthUser;
0642:            }
0643:
0644:            /**
0645:             * <!-- begin-user-doc -->
0646:             * <!-- end-user-doc -->
0647:             * @generated
0648:             */
0649:            public void setBasicAuthUser(String newBasicAuthUser) {
0650:                String oldBasicAuthUser = basicAuthUser;
0651:                basicAuthUser = newBasicAuthUser;
0652:                if (eNotificationRequired())
0653:                    eNotify(new ENotificationImpl(
0654:                            this ,
0655:                            Notification.SET,
0656:                            componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_USER,
0657:                            oldBasicAuthUser, basicAuthUser));
0658:            }
0659:
0660:            /**
0661:             * <!-- begin-user-doc -->
0662:             * <!-- end-user-doc -->
0663:             * @generated
0664:             */
0665:            public String getBasicAuthPassword() {
0666:                return basicAuthPassword;
0667:            }
0668:
0669:            /**
0670:             * <!-- begin-user-doc -->
0671:             * <!-- end-user-doc -->
0672:             * @generated
0673:             */
0674:            public void setBasicAuthPassword(String newBasicAuthPassword) {
0675:                String oldBasicAuthPassword = basicAuthPassword;
0676:                basicAuthPassword = newBasicAuthPassword;
0677:                if (eNotificationRequired())
0678:                    eNotify(new ENotificationImpl(
0679:                            this ,
0680:                            Notification.SET,
0681:                            componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_PASSWORD,
0682:                            oldBasicAuthPassword, basicAuthPassword));
0683:            }
0684:
0685:            /**
0686:             * <!-- begin-user-doc -->
0687:             * <!-- end-user-doc -->
0688:             * @generated
0689:             */
0690:            public String getDefaultOperation() {
0691:                return defaultOperation;
0692:            }
0693:
0694:            /**
0695:             * <!-- begin-user-doc -->
0696:             * <!-- end-user-doc -->
0697:             * @generated
0698:             */
0699:            public void setDefaultOperation(String newDefaultOperation) {
0700:                String oldDefaultOperation = defaultOperation;
0701:                defaultOperation = newDefaultOperation;
0702:                if (eNotificationRequired())
0703:                    eNotify(new ENotificationImpl(
0704:                            this ,
0705:                            Notification.SET,
0706:                            componentflowPackage.HTTP_PROVIDER__DEFAULT_OPERATION,
0707:                            oldDefaultOperation, defaultOperation));
0708:            }
0709:
0710:            /**
0711:             * <!-- begin-user-doc -->
0712:             * <!-- end-user-doc -->
0713:             * @generated
0714:             */
0715:            public String getService() {
0716:                return service;
0717:            }
0718:
0719:            /**
0720:             * <!-- begin-user-doc -->
0721:             * <!-- end-user-doc -->
0722:             * @generated
0723:             */
0724:            public void setService(String newService) {
0725:                String oldService = service;
0726:                service = newService;
0727:                if (eNotificationRequired())
0728:                    eNotify(new ENotificationImpl(this , Notification.SET,
0729:                            componentflowPackage.HTTP_PROVIDER__SERVICE,
0730:                            oldService, service));
0731:            }
0732:
0733:            /**
0734:             * <!-- begin-user-doc -->
0735:             * <!-- end-user-doc -->
0736:             * @generated
0737:             */
0738:            public String getPort() {
0739:                return port;
0740:            }
0741:
0742:            /**
0743:             * <!-- begin-user-doc -->
0744:             * <!-- end-user-doc -->
0745:             * @generated
0746:             */
0747:            public void setPort(String newPort) {
0748:                String oldPort = port;
0749:                port = newPort;
0750:                if (eNotificationRequired())
0751:                    eNotify(new ENotificationImpl(this , Notification.SET,
0752:                            componentflowPackage.HTTP_PROVIDER__PORT, oldPort,
0753:                            port));
0754:            }
0755:
0756:            /**
0757:             * <!-- begin-user-doc -->
0758:             * <!-- end-user-doc -->
0759:             * @generated
0760:             */
0761:            public String getProxyHost() {
0762:                return proxyHost;
0763:            }
0764:
0765:            /**
0766:             * <!-- begin-user-doc -->
0767:             * <!-- end-user-doc -->
0768:             * @generated
0769:             */
0770:            public void setProxyHost(String newProxyHost) {
0771:                String oldProxyHost = proxyHost;
0772:                proxyHost = newProxyHost;
0773:                if (eNotificationRequired())
0774:                    eNotify(new ENotificationImpl(this , Notification.SET,
0775:                            componentflowPackage.HTTP_PROVIDER__PROXY_HOST,
0776:                            oldProxyHost, proxyHost));
0777:            }
0778:
0779:            /**
0780:             * <!-- begin-user-doc -->
0781:             * <!-- end-user-doc -->
0782:             * @generated
0783:             */
0784:            public String getProxyUser() {
0785:                return proxyUser;
0786:            }
0787:
0788:            /**
0789:             * <!-- begin-user-doc -->
0790:             * <!-- end-user-doc -->
0791:             * @generated
0792:             */
0793:            public void setProxyUser(String newProxyUser) {
0794:                String oldProxyUser = proxyUser;
0795:                proxyUser = newProxyUser;
0796:                if (eNotificationRequired())
0797:                    eNotify(new ENotificationImpl(this , Notification.SET,
0798:                            componentflowPackage.HTTP_PROVIDER__PROXY_USER,
0799:                            oldProxyUser, proxyUser));
0800:            }
0801:
0802:            /**
0803:             * <!-- begin-user-doc -->
0804:             * <!-- end-user-doc -->
0805:             * @generated
0806:             */
0807:            public String getProxyPort() {
0808:                return proxyPort;
0809:            }
0810:
0811:            /**
0812:             * <!-- begin-user-doc -->
0813:             * <!-- end-user-doc -->
0814:             * @generated
0815:             */
0816:            public void setProxyPort(String newProxyPort) {
0817:                String oldProxyPort = proxyPort;
0818:                proxyPort = newProxyPort;
0819:                if (eNotificationRequired())
0820:                    eNotify(new ENotificationImpl(this , Notification.SET,
0821:                            componentflowPackage.HTTP_PROVIDER__PROXY_PORT,
0822:                            oldProxyPort, proxyPort));
0823:            }
0824:
0825:            /**
0826:             * <!-- begin-user-doc -->
0827:             * <!-- end-user-doc -->
0828:             * @generated
0829:             */
0830:            public String getProxyPassword() {
0831:                return proxyPassword;
0832:            }
0833:
0834:            /**
0835:             * <!-- begin-user-doc -->
0836:             * <!-- end-user-doc -->
0837:             * @generated
0838:             */
0839:            public void setProxyPassword(String newProxyPassword) {
0840:                String oldProxyPassword = proxyPassword;
0841:                proxyPassword = newProxyPassword;
0842:                if (eNotificationRequired())
0843:                    eNotify(new ENotificationImpl(this , Notification.SET,
0844:                            componentflowPackage.HTTP_PROVIDER__PROXY_PASSWORD,
0845:                            oldProxyPassword, proxyPassword));
0846:            }
0847:
0848:            /**
0849:             * <!-- begin-user-doc -->
0850:             * <!-- end-user-doc -->
0851:             * @generated
0852:             */
0853:            public NotificationChain eInverseRemove(InternalEObject otherEnd,
0854:                    int featureID, NotificationChain msgs) {
0855:                switch (featureID) {
0856:                case componentflowPackage.HTTP_PROVIDER__SSL:
0857:                    return basicSetSSL(null, msgs);
0858:                }
0859:                return super .eInverseRemove(otherEnd, featureID, msgs);
0860:            }
0861:
0862:            /**
0863:             * <!-- begin-user-doc -->
0864:             * <!-- end-user-doc -->
0865:             * @generated
0866:             */
0867:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
0868:                switch (featureID) {
0869:                case componentflowPackage.HTTP_PROVIDER__LOCATION_URL:
0870:                    return getLocationUrl();
0871:                case componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED:
0872:                    return isSoapEnabled() ? Boolean.TRUE : Boolean.FALSE;
0873:                case componentflowPackage.HTTP_PROVIDER__USE_SSL:
0874:                    return isUseSsl() ? Boolean.TRUE : Boolean.FALSE;
0875:                case componentflowPackage.HTTP_PROVIDER__SSL:
0876:                    return getSSL();
0877:                case componentflowPackage.HTTP_PROVIDER__TIMEOUT:
0878:                    return new Integer(getTimeout());
0879:                case componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE:
0880:                    return getAttachmentMode();
0881:                case componentflowPackage.HTTP_PROVIDER__MARSHALLER:
0882:                    return getMarshaller();
0883:                case componentflowPackage.HTTP_PROVIDER__IMPORTED_WSDL:
0884:                    return getImportedWSDL();
0885:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_USER:
0886:                    return getBasicAuthUser();
0887:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_PASSWORD:
0888:                    return getBasicAuthPassword();
0889:                case componentflowPackage.HTTP_PROVIDER__DEFAULT_OPERATION:
0890:                    return getDefaultOperation();
0891:                case componentflowPackage.HTTP_PROVIDER__SERVICE:
0892:                    return getService();
0893:                case componentflowPackage.HTTP_PROVIDER__PORT:
0894:                    return getPort();
0895:                case componentflowPackage.HTTP_PROVIDER__PROXY_HOST:
0896:                    return getProxyHost();
0897:                case componentflowPackage.HTTP_PROVIDER__PROXY_USER:
0898:                    return getProxyUser();
0899:                case componentflowPackage.HTTP_PROVIDER__PROXY_PORT:
0900:                    return getProxyPort();
0901:                case componentflowPackage.HTTP_PROVIDER__PROXY_PASSWORD:
0902:                    return getProxyPassword();
0903:                }
0904:                return super .eGet(featureID, resolve, coreType);
0905:            }
0906:
0907:            /**
0908:             * <!-- begin-user-doc -->
0909:             * <!-- end-user-doc -->
0910:             * @generated
0911:             */
0912:            public void eSet(int featureID, Object newValue) {
0913:                switch (featureID) {
0914:                case componentflowPackage.HTTP_PROVIDER__LOCATION_URL:
0915:                    setLocationUrl((String) newValue);
0916:                    return;
0917:                case componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED:
0918:                    setSoapEnabled(((Boolean) newValue).booleanValue());
0919:                    return;
0920:                case componentflowPackage.HTTP_PROVIDER__USE_SSL:
0921:                    setUseSsl(((Boolean) newValue).booleanValue());
0922:                    return;
0923:                case componentflowPackage.HTTP_PROVIDER__SSL:
0924:                    setSSL((SSL) newValue);
0925:                    return;
0926:                case componentflowPackage.HTTP_PROVIDER__TIMEOUT:
0927:                    setTimeout(((Integer) newValue).intValue());
0928:                    return;
0929:                case componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE:
0930:                    setAttachmentMode((AttachmentModeType) newValue);
0931:                    return;
0932:                case componentflowPackage.HTTP_PROVIDER__MARSHALLER:
0933:                    setMarshaller((String) newValue);
0934:                    return;
0935:                case componentflowPackage.HTTP_PROVIDER__IMPORTED_WSDL:
0936:                    setImportedWSDL((String) newValue);
0937:                    return;
0938:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_USER:
0939:                    setBasicAuthUser((String) newValue);
0940:                    return;
0941:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_PASSWORD:
0942:                    setBasicAuthPassword((String) newValue);
0943:                    return;
0944:                case componentflowPackage.HTTP_PROVIDER__DEFAULT_OPERATION:
0945:                    setDefaultOperation((String) newValue);
0946:                    return;
0947:                case componentflowPackage.HTTP_PROVIDER__SERVICE:
0948:                    setService((String) newValue);
0949:                    return;
0950:                case componentflowPackage.HTTP_PROVIDER__PORT:
0951:                    setPort((String) newValue);
0952:                    return;
0953:                case componentflowPackage.HTTP_PROVIDER__PROXY_HOST:
0954:                    setProxyHost((String) newValue);
0955:                    return;
0956:                case componentflowPackage.HTTP_PROVIDER__PROXY_USER:
0957:                    setProxyUser((String) newValue);
0958:                    return;
0959:                case componentflowPackage.HTTP_PROVIDER__PROXY_PORT:
0960:                    setProxyPort((String) newValue);
0961:                    return;
0962:                case componentflowPackage.HTTP_PROVIDER__PROXY_PASSWORD:
0963:                    setProxyPassword((String) newValue);
0964:                    return;
0965:                }
0966:                super .eSet(featureID, newValue);
0967:            }
0968:
0969:            /**
0970:             * <!-- begin-user-doc -->
0971:             * <!-- end-user-doc -->
0972:             * @generated
0973:             */
0974:            public void eUnset(int featureID) {
0975:                switch (featureID) {
0976:                case componentflowPackage.HTTP_PROVIDER__LOCATION_URL:
0977:                    setLocationUrl(LOCATION_URL_EDEFAULT);
0978:                    return;
0979:                case componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED:
0980:                    setSoapEnabled(SOAP_ENABLED_EDEFAULT);
0981:                    return;
0982:                case componentflowPackage.HTTP_PROVIDER__USE_SSL:
0983:                    setUseSsl(USE_SSL_EDEFAULT);
0984:                    return;
0985:                case componentflowPackage.HTTP_PROVIDER__SSL:
0986:                    setSSL((SSL) null);
0987:                    return;
0988:                case componentflowPackage.HTTP_PROVIDER__TIMEOUT:
0989:                    setTimeout(TIMEOUT_EDEFAULT);
0990:                    return;
0991:                case componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE:
0992:                    setAttachmentMode(ATTACHMENT_MODE_EDEFAULT);
0993:                    return;
0994:                case componentflowPackage.HTTP_PROVIDER__MARSHALLER:
0995:                    setMarshaller(MARSHALLER_EDEFAULT);
0996:                    return;
0997:                case componentflowPackage.HTTP_PROVIDER__IMPORTED_WSDL:
0998:                    setImportedWSDL(IMPORTED_WSDL_EDEFAULT);
0999:                    return;
1000:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_USER:
1001:                    setBasicAuthUser(BASIC_AUTH_USER_EDEFAULT);
1002:                    return;
1003:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_PASSWORD:
1004:                    setBasicAuthPassword(BASIC_AUTH_PASSWORD_EDEFAULT);
1005:                    return;
1006:                case componentflowPackage.HTTP_PROVIDER__DEFAULT_OPERATION:
1007:                    setDefaultOperation(DEFAULT_OPERATION_EDEFAULT);
1008:                    return;
1009:                case componentflowPackage.HTTP_PROVIDER__SERVICE:
1010:                    setService(SERVICE_EDEFAULT);
1011:                    return;
1012:                case componentflowPackage.HTTP_PROVIDER__PORT:
1013:                    setPort(PORT_EDEFAULT);
1014:                    return;
1015:                case componentflowPackage.HTTP_PROVIDER__PROXY_HOST:
1016:                    setProxyHost(PROXY_HOST_EDEFAULT);
1017:                    return;
1018:                case componentflowPackage.HTTP_PROVIDER__PROXY_USER:
1019:                    setProxyUser(PROXY_USER_EDEFAULT);
1020:                    return;
1021:                case componentflowPackage.HTTP_PROVIDER__PROXY_PORT:
1022:                    setProxyPort(PROXY_PORT_EDEFAULT);
1023:                    return;
1024:                case componentflowPackage.HTTP_PROVIDER__PROXY_PASSWORD:
1025:                    setProxyPassword(PROXY_PASSWORD_EDEFAULT);
1026:                    return;
1027:                }
1028:                super .eUnset(featureID);
1029:            }
1030:
1031:            /**
1032:             * <!-- begin-user-doc -->
1033:             * <!-- end-user-doc -->
1034:             * @generated
1035:             */
1036:            public boolean eIsSet(int featureID) {
1037:                switch (featureID) {
1038:                case componentflowPackage.HTTP_PROVIDER__LOCATION_URL:
1039:                    return LOCATION_URL_EDEFAULT == null ? locationUrl != null
1040:                            : !LOCATION_URL_EDEFAULT.equals(locationUrl);
1041:                case componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED:
1042:                    return soapEnabled != SOAP_ENABLED_EDEFAULT;
1043:                case componentflowPackage.HTTP_PROVIDER__USE_SSL:
1044:                    return useSsl != USE_SSL_EDEFAULT;
1045:                case componentflowPackage.HTTP_PROVIDER__SSL:
1046:                    return ssl != null;
1047:                case componentflowPackage.HTTP_PROVIDER__TIMEOUT:
1048:                    return timeout != TIMEOUT_EDEFAULT;
1049:                case componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE:
1050:                    return attachmentMode != ATTACHMENT_MODE_EDEFAULT;
1051:                case componentflowPackage.HTTP_PROVIDER__MARSHALLER:
1052:                    return MARSHALLER_EDEFAULT == null ? marshaller != null
1053:                            : !MARSHALLER_EDEFAULT.equals(marshaller);
1054:                case componentflowPackage.HTTP_PROVIDER__IMPORTED_WSDL:
1055:                    return IMPORTED_WSDL_EDEFAULT == null ? importedWSDL != null
1056:                            : !IMPORTED_WSDL_EDEFAULT.equals(importedWSDL);
1057:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_USER:
1058:                    return BASIC_AUTH_USER_EDEFAULT == null ? basicAuthUser != null
1059:                            : !BASIC_AUTH_USER_EDEFAULT.equals(basicAuthUser);
1060:                case componentflowPackage.HTTP_PROVIDER__BASIC_AUTH_PASSWORD:
1061:                    return BASIC_AUTH_PASSWORD_EDEFAULT == null ? basicAuthPassword != null
1062:                            : !BASIC_AUTH_PASSWORD_EDEFAULT
1063:                                    .equals(basicAuthPassword);
1064:                case componentflowPackage.HTTP_PROVIDER__DEFAULT_OPERATION:
1065:                    return DEFAULT_OPERATION_EDEFAULT == null ? defaultOperation != null
1066:                            : !DEFAULT_OPERATION_EDEFAULT
1067:                                    .equals(defaultOperation);
1068:                case componentflowPackage.HTTP_PROVIDER__SERVICE:
1069:                    return SERVICE_EDEFAULT == null ? service != null
1070:                            : !SERVICE_EDEFAULT.equals(service);
1071:                case componentflowPackage.HTTP_PROVIDER__PORT:
1072:                    return PORT_EDEFAULT == null ? port != null
1073:                            : !PORT_EDEFAULT.equals(port);
1074:                case componentflowPackage.HTTP_PROVIDER__PROXY_HOST:
1075:                    return PROXY_HOST_EDEFAULT == null ? proxyHost != null
1076:                            : !PROXY_HOST_EDEFAULT.equals(proxyHost);
1077:                case componentflowPackage.HTTP_PROVIDER__PROXY_USER:
1078:                    return PROXY_USER_EDEFAULT == null ? proxyUser != null
1079:                            : !PROXY_USER_EDEFAULT.equals(proxyUser);
1080:                case componentflowPackage.HTTP_PROVIDER__PROXY_PORT:
1081:                    return PROXY_PORT_EDEFAULT == null ? proxyPort != null
1082:                            : !PROXY_PORT_EDEFAULT.equals(proxyPort);
1083:                case componentflowPackage.HTTP_PROVIDER__PROXY_PASSWORD:
1084:                    return PROXY_PASSWORD_EDEFAULT == null ? proxyPassword != null
1085:                            : !PROXY_PASSWORD_EDEFAULT.equals(proxyPassword);
1086:                }
1087:                return super .eIsSet(featureID);
1088:            }
1089:
1090:            /**
1091:             * <!-- begin-user-doc -->
1092:             * <!-- end-user-doc -->
1093:             * @generated
1094:             */
1095:            public int eBaseStructuralFeatureID(int derivedFeatureID,
1096:                    Class baseClass) {
1097:                if (baseClass == HttpConnection.class) {
1098:                    switch (derivedFeatureID) {
1099:                    case componentflowPackage.HTTP_PROVIDER__LOCATION_URL:
1100:                        return componentflowPackage.HTTP_CONNECTION__LOCATION_URL;
1101:                    case componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED:
1102:                        return componentflowPackage.HTTP_CONNECTION__SOAP_ENABLED;
1103:                    case componentflowPackage.HTTP_PROVIDER__USE_SSL:
1104:                        return componentflowPackage.HTTP_CONNECTION__USE_SSL;
1105:                    case componentflowPackage.HTTP_PROVIDER__SSL:
1106:                        return componentflowPackage.HTTP_CONNECTION__SSL;
1107:                    case componentflowPackage.HTTP_PROVIDER__TIMEOUT:
1108:                        return componentflowPackage.HTTP_CONNECTION__TIMEOUT;
1109:                    case componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE:
1110:                        return componentflowPackage.HTTP_CONNECTION__ATTACHMENT_MODE;
1111:                    case componentflowPackage.HTTP_PROVIDER__MARSHALLER:
1112:                        return componentflowPackage.HTTP_CONNECTION__MARSHALLER;
1113:                    default:
1114:                        return -1;
1115:                    }
1116:                }
1117:                return super .eBaseStructuralFeatureID(derivedFeatureID,
1118:                        baseClass);
1119:            }
1120:
1121:            /**
1122:             * <!-- begin-user-doc -->
1123:             * <!-- end-user-doc -->
1124:             * @generated
1125:             */
1126:            public int eDerivedStructuralFeatureID(int baseFeatureID,
1127:                    Class baseClass) {
1128:                if (baseClass == HttpConnection.class) {
1129:                    switch (baseFeatureID) {
1130:                    case componentflowPackage.HTTP_CONNECTION__LOCATION_URL:
1131:                        return componentflowPackage.HTTP_PROVIDER__LOCATION_URL;
1132:                    case componentflowPackage.HTTP_CONNECTION__SOAP_ENABLED:
1133:                        return componentflowPackage.HTTP_PROVIDER__SOAP_ENABLED;
1134:                    case componentflowPackage.HTTP_CONNECTION__USE_SSL:
1135:                        return componentflowPackage.HTTP_PROVIDER__USE_SSL;
1136:                    case componentflowPackage.HTTP_CONNECTION__SSL:
1137:                        return componentflowPackage.HTTP_PROVIDER__SSL;
1138:                    case componentflowPackage.HTTP_CONNECTION__TIMEOUT:
1139:                        return componentflowPackage.HTTP_PROVIDER__TIMEOUT;
1140:                    case componentflowPackage.HTTP_CONNECTION__ATTACHMENT_MODE:
1141:                        return componentflowPackage.HTTP_PROVIDER__ATTACHMENT_MODE;
1142:                    case componentflowPackage.HTTP_CONNECTION__MARSHALLER:
1143:                        return componentflowPackage.HTTP_PROVIDER__MARSHALLER;
1144:                    default:
1145:                        return -1;
1146:                    }
1147:                }
1148:                return super .eDerivedStructuralFeatureID(baseFeatureID,
1149:                        baseClass);
1150:            }
1151:
1152:            /**
1153:             * <!-- begin-user-doc -->
1154:             * <!-- end-user-doc -->
1155:             * @generated
1156:             */
1157:            public String toString() {
1158:                if (eIsProxy())
1159:                    return super .toString();
1160:
1161:                StringBuffer result = new StringBuffer(super .toString());
1162:                result.append(" (locationUrl: ");
1163:                result.append(locationUrl);
1164:                result.append(", soapEnabled: ");
1165:                result.append(soapEnabled);
1166:                result.append(", useSsl: ");
1167:                result.append(useSsl);
1168:                result.append(", timeout: ");
1169:                result.append(timeout);
1170:                result.append(", attachmentMode: ");
1171:                result.append(attachmentMode);
1172:                result.append(", marshaller: ");
1173:                result.append(marshaller);
1174:                result.append(", importedWSDL: ");
1175:                result.append(importedWSDL);
1176:                result.append(", basicAuthUser: ");
1177:                result.append(basicAuthUser);
1178:                result.append(", basicAuthPassword: ");
1179:                result.append(basicAuthPassword);
1180:                result.append(", defaultOperation: ");
1181:                result.append(defaultOperation);
1182:                result.append(", service: ");
1183:                result.append(service);
1184:                result.append(", port: ");
1185:                result.append(port);
1186:                result.append(", proxyHost: ");
1187:                result.append(proxyHost);
1188:                result.append(", proxyUser: ");
1189:                result.append(proxyUser);
1190:                result.append(", proxyPort: ");
1191:                result.append(proxyPort);
1192:                result.append(", proxyPassword: ");
1193:                result.append(proxyPassword);
1194:                result.append(')');
1195:                return result.toString();
1196:            }
1197:
1198:        } //HttpProviderImpl
www___.___j__ava_2s__.___c__o_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.