Source Code Cross Referenced for JDBCImpl.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) 


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id$
006:         */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl;
007:
008:        import org.eclipse.emf.common.notify.Notification;
009:        import org.eclipse.emf.ecore.EClass;
010:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
011:
012:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.DefaultMepType;
013:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JDBC;
014:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ProviderCCSL;
015:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Upoc;
016:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowFactory;
017:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
018:
019:        /**
020:         * <!-- begin-user-doc -->
021:         * An implementation of the model object '<em><b>JDBC</b></em>'.
022:         * <!-- end-user-doc -->
023:         * <p>
024:         * The following features are implemented:
025:         * <ul>
026:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getDriver <em>Driver</em>}</li>
027:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getURL <em>URL</em>}</li>
028:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getUser <em>User</em>}</li>
029:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getPassword <em>Password</em>}</li>
030:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getRequestHandler <em>Request Handler</em>}</li>
031:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getExecHandler <em>Exec Handler</em>}</li>
032:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getAutoCommit <em>Auto Commit</em>}</li>
033:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getConnectionRetries <em>Connection Retries</em>}</li>
034:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getConnectionIterval <em>Connection Iterval</em>}</li>
035:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getTransactionTimeout <em>Transaction Timeout</em>}</li>
036:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JDBCImpl#getDefaultPageSize <em>Default Page Size</em>}</li>
037:         * </ul>
038:         * </p>
039:         *
040:         * @generated
041:         */
042:        public class JDBCImpl extends ServiceEngineImpl implements  JDBC {
043:            /**
044:             * <!-- begin-user-doc -->
045:             * <!-- end-user-doc -->
046:             * @generated
047:             */
048:            public static final String copyright = "Copyright, Bostech Corp.";
049:
050:            /**
051:             * The default value of the '{@link #getDriver() <em>Driver</em>}' attribute.
052:             * <!-- begin-user-doc -->
053:             * <!-- end-user-doc -->
054:             * @see #getDriver()
055:             * @generated
056:             * @ordered
057:             */
058:            protected static final String DRIVER_EDEFAULT = null;
059:
060:            /**
061:             * The cached value of the '{@link #getDriver() <em>Driver</em>}' attribute.
062:             * <!-- begin-user-doc -->
063:             * <!-- end-user-doc -->
064:             * @see #getDriver()
065:             * @generated
066:             * @ordered
067:             */
068:            protected String driver = DRIVER_EDEFAULT;
069:
070:            /**
071:             * The default value of the '{@link #getURL() <em>URL</em>}' attribute.
072:             * <!-- begin-user-doc -->
073:             * <!-- end-user-doc -->
074:             * @see #getURL()
075:             * @generated
076:             * @ordered
077:             */
078:            protected static final String URL_EDEFAULT = null;
079:
080:            /**
081:             * The cached value of the '{@link #getURL() <em>URL</em>}' attribute.
082:             * <!-- begin-user-doc -->
083:             * <!-- end-user-doc -->
084:             * @see #getURL()
085:             * @generated
086:             * @ordered
087:             */
088:            protected String uRL = URL_EDEFAULT;
089:
090:            /**
091:             * The default value of the '{@link #getUser() <em>User</em>}' attribute.
092:             * <!-- begin-user-doc -->
093:             * <!-- end-user-doc -->
094:             * @see #getUser()
095:             * @generated
096:             * @ordered
097:             */
098:            protected static final String USER_EDEFAULT = null;
099:
100:            /**
101:             * The cached value of the '{@link #getUser() <em>User</em>}' attribute.
102:             * <!-- begin-user-doc -->
103:             * <!-- end-user-doc -->
104:             * @see #getUser()
105:             * @generated
106:             * @ordered
107:             */
108:            protected String user = USER_EDEFAULT;
109:
110:            /**
111:             * The default value of the '{@link #getPassword() <em>Password</em>}' attribute.
112:             * <!-- begin-user-doc -->
113:             * <!-- end-user-doc -->
114:             * @see #getPassword()
115:             * @generated
116:             * @ordered
117:             */
118:            protected static final String PASSWORD_EDEFAULT = null;
119:
120:            /**
121:             * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute.
122:             * <!-- begin-user-doc -->
123:             * <!-- end-user-doc -->
124:             * @see #getPassword()
125:             * @generated
126:             * @ordered
127:             */
128:            protected String password = PASSWORD_EDEFAULT;
129:
130:            /**
131:             * The default value of the '{@link #getRequestHandler() <em>Request Handler</em>}' attribute.
132:             * <!-- begin-user-doc -->
133:             * <!-- end-user-doc -->
134:             * @see #getRequestHandler()
135:             * @generated
136:             * @ordered
137:             */
138:            protected static final String REQUEST_HANDLER_EDEFAULT = "com.bostechcorp.cbesb.runtime.component.jdbc.processors.JdbcDefaultRequestHandler";
139:
140:            /**
141:             * The cached value of the '{@link #getRequestHandler() <em>Request Handler</em>}' attribute.
142:             * <!-- begin-user-doc -->
143:             * <!-- end-user-doc -->
144:             * @see #getRequestHandler()
145:             * @generated
146:             * @ordered
147:             */
148:            protected String requestHandler = REQUEST_HANDLER_EDEFAULT;
149:
150:            /**
151:             * The default value of the '{@link #getExecHandler() <em>Exec Handler</em>}' attribute.
152:             * <!-- begin-user-doc -->
153:             * <!-- end-user-doc -->
154:             * @see #getExecHandler()
155:             * @generated
156:             * @ordered
157:             */
158:            protected static final String EXEC_HANDLER_EDEFAULT = "com.bostechcorp.cbesb.runtime.component.jdbc.processors.JdbcDefaultExecutionHandler";
159:
160:            /**
161:             * The cached value of the '{@link #getExecHandler() <em>Exec Handler</em>}' attribute.
162:             * <!-- begin-user-doc -->
163:             * <!-- end-user-doc -->
164:             * @see #getExecHandler()
165:             * @generated
166:             * @ordered
167:             */
168:            protected String execHandler = EXEC_HANDLER_EDEFAULT;
169:
170:            /**
171:             * The default value of the '{@link #getAutoCommit() <em>Auto Commit</em>}' attribute.
172:             * <!-- begin-user-doc -->
173:             * <!-- end-user-doc -->
174:             * @see #getAutoCommit()
175:             * @generated
176:             * @ordered
177:             */
178:            protected static final String AUTO_COMMIT_EDEFAULT = "true";
179:
180:            /**
181:             * The cached value of the '{@link #getAutoCommit() <em>Auto Commit</em>}' attribute.
182:             * <!-- begin-user-doc -->
183:             * <!-- end-user-doc -->
184:             * @see #getAutoCommit()
185:             * @generated
186:             * @ordered
187:             */
188:            protected String autoCommit = AUTO_COMMIT_EDEFAULT;
189:
190:            /**
191:             * The default value of the '{@link #getConnectionRetries() <em>Connection Retries</em>}' attribute.
192:             * <!-- begin-user-doc -->
193:             * <!-- end-user-doc -->
194:             * @see #getConnectionRetries()
195:             * @generated
196:             * @ordered
197:             */
198:            protected static final String CONNECTION_RETRIES_EDEFAULT = "3";
199:
200:            /**
201:             * The cached value of the '{@link #getConnectionRetries() <em>Connection Retries</em>}' attribute.
202:             * <!-- begin-user-doc -->
203:             * <!-- end-user-doc -->
204:             * @see #getConnectionRetries()
205:             * @generated
206:             * @ordered
207:             */
208:            protected String connectionRetries = CONNECTION_RETRIES_EDEFAULT;
209:
210:            /**
211:             * The default value of the '{@link #getConnectionIterval() <em>Connection Iterval</em>}' attribute.
212:             * <!-- begin-user-doc -->
213:             * <!-- end-user-doc -->
214:             * @see #getConnectionIterval()
215:             * @generated
216:             * @ordered
217:             */
218:            protected static final String CONNECTION_ITERVAL_EDEFAULT = "3000";
219:
220:            /**
221:             * The cached value of the '{@link #getConnectionIterval() <em>Connection Iterval</em>}' attribute.
222:             * <!-- begin-user-doc -->
223:             * <!-- end-user-doc -->
224:             * @see #getConnectionIterval()
225:             * @generated
226:             * @ordered
227:             */
228:            protected String connectionIterval = CONNECTION_ITERVAL_EDEFAULT;
229:
230:            /**
231:             * The default value of the '{@link #getTransactionTimeout() <em>Transaction Timeout</em>}' attribute.
232:             * <!-- begin-user-doc -->
233:             * <!-- end-user-doc -->
234:             * @see #getTransactionTimeout()
235:             * @generated
236:             * @ordered
237:             */
238:            protected static final String TRANSACTION_TIMEOUT_EDEFAULT = "30000";
239:
240:            /**
241:             * The cached value of the '{@link #getTransactionTimeout() <em>Transaction Timeout</em>}' attribute.
242:             * <!-- begin-user-doc -->
243:             * <!-- end-user-doc -->
244:             * @see #getTransactionTimeout()
245:             * @generated
246:             * @ordered
247:             */
248:            protected String transactionTimeout = TRANSACTION_TIMEOUT_EDEFAULT;
249:
250:            /**
251:             * The default value of the '{@link #getDefaultPageSize() <em>Default Page Size</em>}' attribute.
252:             * <!-- begin-user-doc -->
253:             * <!-- end-user-doc -->
254:             * @see #getDefaultPageSize()
255:             * @generated
256:             * @ordered
257:             */
258:            protected static final String DEFAULT_PAGE_SIZE_EDEFAULT = "-1";
259:
260:            /**
261:             * The cached value of the '{@link #getDefaultPageSize() <em>Default Page Size</em>}' attribute.
262:             * <!-- begin-user-doc -->
263:             * <!-- end-user-doc -->
264:             * @see #getDefaultPageSize()
265:             * @generated
266:             * @ordered
267:             */
268:            protected String defaultPageSize = DEFAULT_PAGE_SIZE_EDEFAULT;
269:
270:            /**
271:             * <!-- begin-user-doc -->
272:             * <!-- end-user-doc -->
273:             * @generated
274:             */
275:            protected JDBCImpl() {
276:                super ();
277:            }
278:
279:            /**
280:             * <!-- begin-user-doc -->
281:             * <!-- end-user-doc -->
282:             * @generated
283:             */
284:            protected EClass eStaticClass() {
285:                return componentflowPackage.Literals.JDBC;
286:            }
287:
288:            /**
289:             * <!-- begin-user-doc -->
290:             * <!-- end-user-doc -->
291:             * @generated
292:             */
293:            public String getDriver() {
294:                return driver;
295:            }
296:
297:            /**
298:             * <!-- begin-user-doc -->
299:             * <!-- end-user-doc -->
300:             * @generated
301:             */
302:            public void setDriver(String newDriver) {
303:                String oldDriver = driver;
304:                driver = newDriver;
305:                if (eNotificationRequired())
306:                    eNotify(new ENotificationImpl(this , Notification.SET,
307:                            componentflowPackage.JDBC__DRIVER, oldDriver,
308:                            driver));
309:            }
310:
311:            /**
312:             * <!-- begin-user-doc -->
313:             * <!-- end-user-doc -->
314:             * @generated
315:             */
316:            public String getURL() {
317:                return uRL;
318:            }
319:
320:            /**
321:             * <!-- begin-user-doc -->
322:             * <!-- end-user-doc -->
323:             * @generated
324:             */
325:            public void setURL(String newURL) {
326:                String oldURL = uRL;
327:                uRL = newURL;
328:                if (eNotificationRequired())
329:                    eNotify(new ENotificationImpl(this , Notification.SET,
330:                            componentflowPackage.JDBC__URL, oldURL, uRL));
331:            }
332:
333:            /**
334:             * <!-- begin-user-doc -->
335:             * <!-- end-user-doc -->
336:             * @generated
337:             */
338:            public String getUser() {
339:                return user;
340:            }
341:
342:            /**
343:             * <!-- begin-user-doc -->
344:             * <!-- end-user-doc -->
345:             * @generated
346:             */
347:            public void setUser(String newUser) {
348:                String oldUser = user;
349:                user = newUser;
350:                if (eNotificationRequired())
351:                    eNotify(new ENotificationImpl(this , Notification.SET,
352:                            componentflowPackage.JDBC__USER, oldUser, user));
353:            }
354:
355:            /**
356:             * <!-- begin-user-doc -->
357:             * <!-- end-user-doc -->
358:             * @generated
359:             */
360:            public String getPassword() {
361:                return password;
362:            }
363:
364:            /**
365:             * <!-- begin-user-doc -->
366:             * <!-- end-user-doc -->
367:             * @generated
368:             */
369:            public void setPassword(String newPassword) {
370:                String oldPassword = password;
371:                password = newPassword;
372:                if (eNotificationRequired())
373:                    eNotify(new ENotificationImpl(this , Notification.SET,
374:                            componentflowPackage.JDBC__PASSWORD, oldPassword,
375:                            password));
376:            }
377:
378:            /**
379:             * <!-- begin-user-doc -->
380:             * <!-- end-user-doc -->
381:             * @generated
382:             */
383:            public String getRequestHandler() {
384:                return requestHandler;
385:            }
386:
387:            /**
388:             * <!-- begin-user-doc -->
389:             * <!-- end-user-doc -->
390:             * @generated
391:             */
392:            public void setRequestHandler(String newRequestHandler) {
393:                String oldRequestHandler = requestHandler;
394:                requestHandler = newRequestHandler;
395:                if (eNotificationRequired())
396:                    eNotify(new ENotificationImpl(this , Notification.SET,
397:                            componentflowPackage.JDBC__REQUEST_HANDLER,
398:                            oldRequestHandler, requestHandler));
399:            }
400:
401:            /**
402:             * <!-- begin-user-doc -->
403:             * <!-- end-user-doc -->
404:             * @generated
405:             */
406:            public String getExecHandler() {
407:                return execHandler;
408:            }
409:
410:            /**
411:             * <!-- begin-user-doc -->
412:             * <!-- end-user-doc -->
413:             * @generated
414:             */
415:            public void setExecHandler(String newExecHandler) {
416:                String oldExecHandler = execHandler;
417:                execHandler = newExecHandler;
418:                if (eNotificationRequired())
419:                    eNotify(new ENotificationImpl(this , Notification.SET,
420:                            componentflowPackage.JDBC__EXEC_HANDLER,
421:                            oldExecHandler, execHandler));
422:            }
423:
424:            /**
425:             * <!-- begin-user-doc -->
426:             * <!-- end-user-doc -->
427:             * @generated
428:             */
429:            public String getAutoCommit() {
430:                return autoCommit;
431:            }
432:
433:            /**
434:             * <!-- begin-user-doc -->
435:             * <!-- end-user-doc -->
436:             * @generated
437:             */
438:            public void setAutoCommit(String newAutoCommit) {
439:                String oldAutoCommit = autoCommit;
440:                autoCommit = newAutoCommit;
441:                if (eNotificationRequired())
442:                    eNotify(new ENotificationImpl(this , Notification.SET,
443:                            componentflowPackage.JDBC__AUTO_COMMIT,
444:                            oldAutoCommit, autoCommit));
445:            }
446:
447:            /**
448:             * <!-- begin-user-doc -->
449:             * <!-- end-user-doc -->
450:             * @generated
451:             */
452:            public String getConnectionRetries() {
453:                return connectionRetries;
454:            }
455:
456:            /**
457:             * <!-- begin-user-doc -->
458:             * <!-- end-user-doc -->
459:             * @generated
460:             */
461:            public void setConnectionRetries(String newConnectionRetries) {
462:                String oldConnectionRetries = connectionRetries;
463:                connectionRetries = newConnectionRetries;
464:                if (eNotificationRequired())
465:                    eNotify(new ENotificationImpl(this , Notification.SET,
466:                            componentflowPackage.JDBC__CONNECTION_RETRIES,
467:                            oldConnectionRetries, connectionRetries));
468:            }
469:
470:            /**
471:             * <!-- begin-user-doc -->
472:             * <!-- end-user-doc -->
473:             * @generated
474:             */
475:            public String getConnectionIterval() {
476:                return connectionIterval;
477:            }
478:
479:            /**
480:             * <!-- begin-user-doc -->
481:             * <!-- end-user-doc -->
482:             * @generated
483:             */
484:            public void setConnectionIterval(String newConnectionIterval) {
485:                String oldConnectionIterval = connectionIterval;
486:                connectionIterval = newConnectionIterval;
487:                if (eNotificationRequired())
488:                    eNotify(new ENotificationImpl(this , Notification.SET,
489:                            componentflowPackage.JDBC__CONNECTION_ITERVAL,
490:                            oldConnectionIterval, connectionIterval));
491:            }
492:
493:            /**
494:             * <!-- begin-user-doc -->
495:             * <!-- end-user-doc -->
496:             * @generated
497:             */
498:            public String getTransactionTimeout() {
499:                return transactionTimeout;
500:            }
501:
502:            /**
503:             * <!-- begin-user-doc -->
504:             * <!-- end-user-doc -->
505:             * @generated
506:             */
507:            public void setTransactionTimeout(String newTransactionTimeout) {
508:                String oldTransactionTimeout = transactionTimeout;
509:                transactionTimeout = newTransactionTimeout;
510:                if (eNotificationRequired())
511:                    eNotify(new ENotificationImpl(this , Notification.SET,
512:                            componentflowPackage.JDBC__TRANSACTION_TIMEOUT,
513:                            oldTransactionTimeout, transactionTimeout));
514:            }
515:
516:            /**
517:             * <!-- begin-user-doc -->
518:             * <!-- end-user-doc -->
519:             * @generated
520:             */
521:            public String getDefaultPageSize() {
522:                return defaultPageSize;
523:            }
524:
525:            /**
526:             * <!-- begin-user-doc -->
527:             * <!-- end-user-doc -->
528:             * @generated
529:             */
530:            public void setDefaultPageSize(String newDefaultPageSize) {
531:                String oldDefaultPageSize = defaultPageSize;
532:                defaultPageSize = newDefaultPageSize;
533:                if (eNotificationRequired())
534:                    eNotify(new ENotificationImpl(this , Notification.SET,
535:                            componentflowPackage.JDBC__DEFAULT_PAGE_SIZE,
536:                            oldDefaultPageSize, defaultPageSize));
537:            }
538:
539:            /**
540:             * <!-- begin-user-doc -->
541:             * <!-- end-user-doc -->
542:             * @generated
543:             */
544:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
545:                switch (featureID) {
546:                case componentflowPackage.JDBC__DRIVER:
547:                    return getDriver();
548:                case componentflowPackage.JDBC__URL:
549:                    return getURL();
550:                case componentflowPackage.JDBC__USER:
551:                    return getUser();
552:                case componentflowPackage.JDBC__PASSWORD:
553:                    return getPassword();
554:                case componentflowPackage.JDBC__REQUEST_HANDLER:
555:                    return getRequestHandler();
556:                case componentflowPackage.JDBC__EXEC_HANDLER:
557:                    return getExecHandler();
558:                case componentflowPackage.JDBC__AUTO_COMMIT:
559:                    return getAutoCommit();
560:                case componentflowPackage.JDBC__CONNECTION_RETRIES:
561:                    return getConnectionRetries();
562:                case componentflowPackage.JDBC__CONNECTION_ITERVAL:
563:                    return getConnectionIterval();
564:                case componentflowPackage.JDBC__TRANSACTION_TIMEOUT:
565:                    return getTransactionTimeout();
566:                case componentflowPackage.JDBC__DEFAULT_PAGE_SIZE:
567:                    return getDefaultPageSize();
568:                }
569:                return super .eGet(featureID, resolve, coreType);
570:            }
571:
572:            /**
573:             * <!-- begin-user-doc -->
574:             * <!-- end-user-doc -->
575:             * @generated
576:             */
577:            public void eSet(int featureID, Object newValue) {
578:                switch (featureID) {
579:                case componentflowPackage.JDBC__DRIVER:
580:                    setDriver((String) newValue);
581:                    return;
582:                case componentflowPackage.JDBC__URL:
583:                    setURL((String) newValue);
584:                    return;
585:                case componentflowPackage.JDBC__USER:
586:                    setUser((String) newValue);
587:                    return;
588:                case componentflowPackage.JDBC__PASSWORD:
589:                    setPassword((String) newValue);
590:                    return;
591:                case componentflowPackage.JDBC__REQUEST_HANDLER:
592:                    setRequestHandler((String) newValue);
593:                    return;
594:                case componentflowPackage.JDBC__EXEC_HANDLER:
595:                    setExecHandler((String) newValue);
596:                    return;
597:                case componentflowPackage.JDBC__AUTO_COMMIT:
598:                    setAutoCommit((String) newValue);
599:                    return;
600:                case componentflowPackage.JDBC__CONNECTION_RETRIES:
601:                    setConnectionRetries((String) newValue);
602:                    return;
603:                case componentflowPackage.JDBC__CONNECTION_ITERVAL:
604:                    setConnectionIterval((String) newValue);
605:                    return;
606:                case componentflowPackage.JDBC__TRANSACTION_TIMEOUT:
607:                    setTransactionTimeout((String) newValue);
608:                    return;
609:                case componentflowPackage.JDBC__DEFAULT_PAGE_SIZE:
610:                    setDefaultPageSize((String) newValue);
611:                    return;
612:                }
613:                super .eSet(featureID, newValue);
614:            }
615:
616:            /**
617:             * <!-- begin-user-doc -->
618:             * <!-- end-user-doc -->
619:             * @generated
620:             */
621:            public void eUnset(int featureID) {
622:                switch (featureID) {
623:                case componentflowPackage.JDBC__DRIVER:
624:                    setDriver(DRIVER_EDEFAULT);
625:                    return;
626:                case componentflowPackage.JDBC__URL:
627:                    setURL(URL_EDEFAULT);
628:                    return;
629:                case componentflowPackage.JDBC__USER:
630:                    setUser(USER_EDEFAULT);
631:                    return;
632:                case componentflowPackage.JDBC__PASSWORD:
633:                    setPassword(PASSWORD_EDEFAULT);
634:                    return;
635:                case componentflowPackage.JDBC__REQUEST_HANDLER:
636:                    setRequestHandler(REQUEST_HANDLER_EDEFAULT);
637:                    return;
638:                case componentflowPackage.JDBC__EXEC_HANDLER:
639:                    setExecHandler(EXEC_HANDLER_EDEFAULT);
640:                    return;
641:                case componentflowPackage.JDBC__AUTO_COMMIT:
642:                    setAutoCommit(AUTO_COMMIT_EDEFAULT);
643:                    return;
644:                case componentflowPackage.JDBC__CONNECTION_RETRIES:
645:                    setConnectionRetries(CONNECTION_RETRIES_EDEFAULT);
646:                    return;
647:                case componentflowPackage.JDBC__CONNECTION_ITERVAL:
648:                    setConnectionIterval(CONNECTION_ITERVAL_EDEFAULT);
649:                    return;
650:                case componentflowPackage.JDBC__TRANSACTION_TIMEOUT:
651:                    setTransactionTimeout(TRANSACTION_TIMEOUT_EDEFAULT);
652:                    return;
653:                case componentflowPackage.JDBC__DEFAULT_PAGE_SIZE:
654:                    setDefaultPageSize(DEFAULT_PAGE_SIZE_EDEFAULT);
655:                    return;
656:                }
657:                super .eUnset(featureID);
658:            }
659:
660:            /**
661:             * <!-- begin-user-doc -->
662:             * <!-- end-user-doc -->
663:             * @generated
664:             */
665:            public boolean eIsSet(int featureID) {
666:                switch (featureID) {
667:                case componentflowPackage.JDBC__DRIVER:
668:                    return DRIVER_EDEFAULT == null ? driver != null
669:                            : !DRIVER_EDEFAULT.equals(driver);
670:                case componentflowPackage.JDBC__URL:
671:                    return URL_EDEFAULT == null ? uRL != null : !URL_EDEFAULT
672:                            .equals(uRL);
673:                case componentflowPackage.JDBC__USER:
674:                    return USER_EDEFAULT == null ? user != null
675:                            : !USER_EDEFAULT.equals(user);
676:                case componentflowPackage.JDBC__PASSWORD:
677:                    return PASSWORD_EDEFAULT == null ? password != null
678:                            : !PASSWORD_EDEFAULT.equals(password);
679:                case componentflowPackage.JDBC__REQUEST_HANDLER:
680:                    return REQUEST_HANDLER_EDEFAULT == null ? requestHandler != null
681:                            : !REQUEST_HANDLER_EDEFAULT.equals(requestHandler);
682:                case componentflowPackage.JDBC__EXEC_HANDLER:
683:                    return EXEC_HANDLER_EDEFAULT == null ? execHandler != null
684:                            : !EXEC_HANDLER_EDEFAULT.equals(execHandler);
685:                case componentflowPackage.JDBC__AUTO_COMMIT:
686:                    return AUTO_COMMIT_EDEFAULT == null ? autoCommit != null
687:                            : !AUTO_COMMIT_EDEFAULT.equals(autoCommit);
688:                case componentflowPackage.JDBC__CONNECTION_RETRIES:
689:                    return CONNECTION_RETRIES_EDEFAULT == null ? connectionRetries != null
690:                            : !CONNECTION_RETRIES_EDEFAULT
691:                                    .equals(connectionRetries);
692:                case componentflowPackage.JDBC__CONNECTION_ITERVAL:
693:                    return CONNECTION_ITERVAL_EDEFAULT == null ? connectionIterval != null
694:                            : !CONNECTION_ITERVAL_EDEFAULT
695:                                    .equals(connectionIterval);
696:                case componentflowPackage.JDBC__TRANSACTION_TIMEOUT:
697:                    return TRANSACTION_TIMEOUT_EDEFAULT == null ? transactionTimeout != null
698:                            : !TRANSACTION_TIMEOUT_EDEFAULT
699:                                    .equals(transactionTimeout);
700:                case componentflowPackage.JDBC__DEFAULT_PAGE_SIZE:
701:                    return DEFAULT_PAGE_SIZE_EDEFAULT == null ? defaultPageSize != null
702:                            : !DEFAULT_PAGE_SIZE_EDEFAULT
703:                                    .equals(defaultPageSize);
704:                }
705:                return super .eIsSet(featureID);
706:            }
707:
708:            /**
709:             * <!-- begin-user-doc -->
710:             * <!-- end-user-doc -->
711:             * @generated
712:             */
713:            public String toString() {
714:                if (eIsProxy())
715:                    return super .toString();
716:
717:                StringBuffer result = new StringBuffer(super .toString());
718:                result.append(" (driver: ");
719:                result.append(driver);
720:                result.append(", uRL: ");
721:                result.append(uRL);
722:                result.append(", user: ");
723:                result.append(user);
724:                result.append(", password: ");
725:                result.append(password);
726:                result.append(", requestHandler: ");
727:                result.append(requestHandler);
728:                result.append(", execHandler: ");
729:                result.append(execHandler);
730:                result.append(", autoCommit: ");
731:                result.append(autoCommit);
732:                result.append(", connectionRetries: ");
733:                result.append(connectionRetries);
734:                result.append(", connectionIterval: ");
735:                result.append(connectionIterval);
736:                result.append(", transactionTimeout: ");
737:                result.append(transactionTimeout);
738:                result.append(", defaultPageSize: ");
739:                result.append(defaultPageSize);
740:                result.append(')');
741:                return result.toString();
742:            }
743:
744:            /**
745:             * <!-- begin-user-doc -->
746:             * <!-- end-user-doc -->
747:             * @generated not
748:             */
749:            public DefaultMepType getDefaultMep() {
750:                return DefaultMepType.INOUT_LITERAL;
751:            }
752:        } //JDBCImpl
w_w_w__.j___a___v___a2__s.__c___o___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.