Source Code Cross Referenced for JMSConsumerImpl.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.DestinationStyleType;
0009:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JMSConfig;
0010:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.JMSConsumer;
0011:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ReadStyleType;
0012:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
0013:
0014:        import org.eclipse.emf.common.notify.Notification;
0015:        import org.eclipse.emf.common.notify.NotificationChain;
0016:
0017:        import org.eclipse.emf.ecore.EClass;
0018:        import org.eclipse.emf.ecore.InternalEObject;
0019:
0020:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
0021:
0022:        /**
0023:         * <!-- begin-user-doc -->
0024:         * An implementation of the model object '<em><b>JMS Consumer</b></em>'.
0025:         * <!-- end-user-doc -->
0026:         * <p>
0027:         * The following features are implemented:
0028:         * <ul>
0029:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getJndiInitialContextFactory <em>Jndi Initial Context Factory</em>}</li>
0030:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getJndiProviderUrl <em>Jndi Provider Url</em>}</li>
0031:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getDestinationStyle <em>Destination Style</em>}</li>
0032:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getTargetDestinationName <em>Target Destination Name</em>}</li>
0033:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getReadStyle <em>Read Style</em>}</li>
0034:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getRecordsPerMessage <em>Records Per Message</em>}</li>
0035:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getReplyDestinationName <em>Reply Destination Name</em>}</li>
0036:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getWriteStyle <em>Write Style</em>}</li>
0037:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getJndiConnectionFactoryName <em>Jndi Connection Factory Name</em>}</li>
0038:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getReplyTimeout <em>Reply Timeout</em>}</li>
0039:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getServiceName <em>Service Name</em>}</li>
0040:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#isEnableQuery <em>Enable Query</em>}</li>
0041:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getQueryExpression <em>Query Expression</em>}</li>
0042:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#isTransaction <em>Transaction</em>}</li>
0043:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#isRetry <em>Retry</em>}</li>
0044:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getMaxRetryCount <em>Max Retry Count</em>}</li>
0045:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getRetryInterval <em>Retry Interval</em>}</li>
0046:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.JMSConsumerImpl#getDLQ <em>DLQ</em>}</li>
0047:         * </ul>
0048:         * </p>
0049:         *
0050:         * @generated
0051:         */
0052:        public class JMSConsumerImpl extends ConsumerImpl implements 
0053:                JMSConsumer {
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 #getJndiInitialContextFactory() <em>Jndi Initial Context Factory</em>}' attribute.
0063:             * <!-- begin-user-doc -->
0064:             * <!-- end-user-doc -->
0065:             * @see #getJndiInitialContextFactory()
0066:             * @generated
0067:             * @ordered
0068:             */
0069:            protected static final String JNDI_INITIAL_CONTEXT_FACTORY_EDEFAULT = "com.sun.jndi.fscontext.RefFSContextFactory";
0070:
0071:            /**
0072:             * The cached value of the '{@link #getJndiInitialContextFactory() <em>Jndi Initial Context Factory</em>}' attribute.
0073:             * <!-- begin-user-doc -->
0074:             * <!-- end-user-doc -->
0075:             * @see #getJndiInitialContextFactory()
0076:             * @generated
0077:             * @ordered
0078:             */
0079:            protected String jndiInitialContextFactory = JNDI_INITIAL_CONTEXT_FACTORY_EDEFAULT;
0080:
0081:            /**
0082:             * The default value of the '{@link #getJndiProviderUrl() <em>Jndi Provider Url</em>}' attribute.
0083:             * <!-- begin-user-doc -->
0084:             * <!-- end-user-doc -->
0085:             * @see #getJndiProviderUrl()
0086:             * @generated
0087:             * @ordered
0088:             */
0089:            protected static final String JNDI_PROVIDER_URL_EDEFAULT = "file:/C:/CBESB/jndiDir";
0090:
0091:            /**
0092:             * The cached value of the '{@link #getJndiProviderUrl() <em>Jndi Provider Url</em>}' attribute.
0093:             * <!-- begin-user-doc -->
0094:             * <!-- end-user-doc -->
0095:             * @see #getJndiProviderUrl()
0096:             * @generated
0097:             * @ordered
0098:             */
0099:            protected String jndiProviderUrl = JNDI_PROVIDER_URL_EDEFAULT;
0100:
0101:            /**
0102:             * The default value of the '{@link #getDestinationStyle() <em>Destination Style</em>}' attribute.
0103:             * <!-- begin-user-doc -->
0104:             * <!-- end-user-doc -->
0105:             * @see #getDestinationStyle()
0106:             * @generated
0107:             * @ordered
0108:             */
0109:            protected static final DestinationStyleType DESTINATION_STYLE_EDEFAULT = DestinationStyleType.QUEUE_LITERAL;
0110:
0111:            /**
0112:             * The cached value of the '{@link #getDestinationStyle() <em>Destination Style</em>}' attribute.
0113:             * <!-- begin-user-doc -->
0114:             * <!-- end-user-doc -->
0115:             * @see #getDestinationStyle()
0116:             * @generated
0117:             * @ordered
0118:             */
0119:            protected DestinationStyleType destinationStyle = DESTINATION_STYLE_EDEFAULT;
0120:
0121:            /**
0122:             * The default value of the '{@link #getTargetDestinationName() <em>Target Destination Name</em>}' attribute.
0123:             * <!-- begin-user-doc -->
0124:             * <!-- end-user-doc -->
0125:             * @see #getTargetDestinationName()
0126:             * @generated
0127:             * @ordered
0128:             */
0129:            protected static final String TARGET_DESTINATION_NAME_EDEFAULT = null;
0130:
0131:            /**
0132:             * The cached value of the '{@link #getTargetDestinationName() <em>Target Destination Name</em>}' attribute.
0133:             * <!-- begin-user-doc -->
0134:             * <!-- end-user-doc -->
0135:             * @see #getTargetDestinationName()
0136:             * @generated
0137:             * @ordered
0138:             */
0139:            protected String targetDestinationName = TARGET_DESTINATION_NAME_EDEFAULT;
0140:
0141:            /**
0142:             * The default value of the '{@link #getReadStyle() <em>Read Style</em>}' attribute.
0143:             * <!-- begin-user-doc -->
0144:             * <!-- end-user-doc -->
0145:             * @see #getReadStyle()
0146:             * @generated
0147:             * @ordered
0148:             */
0149:            protected static final ReadStyleType READ_STYLE_EDEFAULT = ReadStyleType.RAW_LITERAL;
0150:
0151:            /**
0152:             * The cached value of the '{@link #getReadStyle() <em>Read Style</em>}' attribute.
0153:             * <!-- begin-user-doc -->
0154:             * <!-- end-user-doc -->
0155:             * @see #getReadStyle()
0156:             * @generated
0157:             * @ordered
0158:             */
0159:            protected ReadStyleType readStyle = READ_STYLE_EDEFAULT;
0160:
0161:            /**
0162:             * The default value of the '{@link #getRecordsPerMessage() <em>Records Per Message</em>}' attribute.
0163:             * <!-- begin-user-doc -->
0164:             * <!-- end-user-doc -->
0165:             * @see #getRecordsPerMessage()
0166:             * @generated
0167:             * @ordered
0168:             */
0169:            protected static final String RECORDS_PER_MESSAGE_EDEFAULT = "0";
0170:
0171:            /**
0172:             * The cached value of the '{@link #getRecordsPerMessage() <em>Records Per Message</em>}' attribute.
0173:             * <!-- begin-user-doc -->
0174:             * <!-- end-user-doc -->
0175:             * @see #getRecordsPerMessage()
0176:             * @generated
0177:             * @ordered
0178:             */
0179:            protected String recordsPerMessage = RECORDS_PER_MESSAGE_EDEFAULT;
0180:
0181:            /**
0182:             * The default value of the '{@link #getReplyDestinationName() <em>Reply Destination Name</em>}' attribute.
0183:             * <!-- begin-user-doc -->
0184:             * <!-- end-user-doc -->
0185:             * @see #getReplyDestinationName()
0186:             * @generated
0187:             * @ordered
0188:             */
0189:            protected static final String REPLY_DESTINATION_NAME_EDEFAULT = null;
0190:
0191:            /**
0192:             * The cached value of the '{@link #getReplyDestinationName() <em>Reply Destination Name</em>}' attribute.
0193:             * <!-- begin-user-doc -->
0194:             * <!-- end-user-doc -->
0195:             * @see #getReplyDestinationName()
0196:             * @generated
0197:             * @ordered
0198:             */
0199:            protected String replyDestinationName = REPLY_DESTINATION_NAME_EDEFAULT;
0200:
0201:            /**
0202:             * The default value of the '{@link #getWriteStyle() <em>Write Style</em>}' attribute.
0203:             * <!-- begin-user-doc -->
0204:             * <!-- end-user-doc -->
0205:             * @see #getWriteStyle()
0206:             * @generated
0207:             * @ordered
0208:             */
0209:            protected static final ReadStyleType WRITE_STYLE_EDEFAULT = ReadStyleType.RAW_LITERAL;
0210:
0211:            /**
0212:             * The cached value of the '{@link #getWriteStyle() <em>Write Style</em>}' attribute.
0213:             * <!-- begin-user-doc -->
0214:             * <!-- end-user-doc -->
0215:             * @see #getWriteStyle()
0216:             * @generated
0217:             * @ordered
0218:             */
0219:            protected ReadStyleType writeStyle = WRITE_STYLE_EDEFAULT;
0220:
0221:            /**
0222:             * The default value of the '{@link #getJndiConnectionFactoryName() <em>Jndi Connection Factory Name</em>}' attribute.
0223:             * <!-- begin-user-doc -->
0224:             * <!-- end-user-doc -->
0225:             * @see #getJndiConnectionFactoryName()
0226:             * @generated
0227:             * @ordered
0228:             */
0229:            protected static final String JNDI_CONNECTION_FACTORY_NAME_EDEFAULT = null;
0230:
0231:            /**
0232:             * The cached value of the '{@link #getJndiConnectionFactoryName() <em>Jndi Connection Factory Name</em>}' attribute.
0233:             * <!-- begin-user-doc -->
0234:             * <!-- end-user-doc -->
0235:             * @see #getJndiConnectionFactoryName()
0236:             * @generated
0237:             * @ordered
0238:             */
0239:            protected String jndiConnectionFactoryName = JNDI_CONNECTION_FACTORY_NAME_EDEFAULT;
0240:
0241:            /**
0242:             * The default value of the '{@link #getReplyTimeout() <em>Reply Timeout</em>}' attribute.
0243:             * <!-- begin-user-doc -->
0244:             * <!-- end-user-doc -->
0245:             * @see #getReplyTimeout()
0246:             * @generated
0247:             * @ordered
0248:             */
0249:            protected static final String REPLY_TIMEOUT_EDEFAULT = "0";
0250:
0251:            /**
0252:             * The cached value of the '{@link #getReplyTimeout() <em>Reply Timeout</em>}' attribute.
0253:             * <!-- begin-user-doc -->
0254:             * <!-- end-user-doc -->
0255:             * @see #getReplyTimeout()
0256:             * @generated
0257:             * @ordered
0258:             */
0259:            protected String replyTimeout = REPLY_TIMEOUT_EDEFAULT;
0260:
0261:            /**
0262:             * The default value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
0263:             * <!-- begin-user-doc -->
0264:             * <!-- end-user-doc -->
0265:             * @see #getServiceName()
0266:             * @generated
0267:             * @ordered
0268:             */
0269:            protected static final String SERVICE_NAME_EDEFAULT = null;
0270:
0271:            /**
0272:             * The cached value of the '{@link #getServiceName() <em>Service Name</em>}' attribute.
0273:             * <!-- begin-user-doc -->
0274:             * <!-- end-user-doc -->
0275:             * @see #getServiceName()
0276:             * @generated
0277:             * @ordered
0278:             */
0279:            protected String serviceName = SERVICE_NAME_EDEFAULT;
0280:
0281:            /**
0282:             * The default value of the '{@link #isEnableQuery() <em>Enable Query</em>}' attribute.
0283:             * <!-- begin-user-doc -->
0284:             * <!-- end-user-doc -->
0285:             * @see #isEnableQuery()
0286:             * @generated
0287:             * @ordered
0288:             */
0289:            protected static final boolean ENABLE_QUERY_EDEFAULT = false;
0290:
0291:            /**
0292:             * The cached value of the '{@link #isEnableQuery() <em>Enable Query</em>}' attribute.
0293:             * <!-- begin-user-doc -->
0294:             * <!-- end-user-doc -->
0295:             * @see #isEnableQuery()
0296:             * @generated
0297:             * @ordered
0298:             */
0299:            protected boolean enableQuery = ENABLE_QUERY_EDEFAULT;
0300:
0301:            /**
0302:             * The default value of the '{@link #getQueryExpression() <em>Query Expression</em>}' attribute.
0303:             * <!-- begin-user-doc -->
0304:             * <!-- end-user-doc -->
0305:             * @see #getQueryExpression()
0306:             * @generated
0307:             * @ordered
0308:             */
0309:            protected static final String QUERY_EXPRESSION_EDEFAULT = "";
0310:
0311:            /**
0312:             * The cached value of the '{@link #getQueryExpression() <em>Query Expression</em>}' attribute.
0313:             * <!-- begin-user-doc -->
0314:             * <!-- end-user-doc -->
0315:             * @see #getQueryExpression()
0316:             * @generated
0317:             * @ordered
0318:             */
0319:            protected String queryExpression = QUERY_EXPRESSION_EDEFAULT;
0320:
0321:            /**
0322:             * The default value of the '{@link #isTransaction() <em>Transaction</em>}' attribute.
0323:             * <!-- begin-user-doc -->
0324:             * <!-- end-user-doc -->
0325:             * @see #isTransaction()
0326:             * @generated
0327:             * @ordered
0328:             */
0329:            protected static final boolean TRANSACTION_EDEFAULT = false;
0330:
0331:            /**
0332:             * The cached value of the '{@link #isTransaction() <em>Transaction</em>}' attribute.
0333:             * <!-- begin-user-doc -->
0334:             * <!-- end-user-doc -->
0335:             * @see #isTransaction()
0336:             * @generated
0337:             * @ordered
0338:             */
0339:            protected boolean transaction = TRANSACTION_EDEFAULT;
0340:
0341:            /**
0342:             * The default value of the '{@link #isRetry() <em>Retry</em>}' attribute.
0343:             * <!-- begin-user-doc -->
0344:             * <!-- end-user-doc -->
0345:             * @see #isRetry()
0346:             * @generated
0347:             * @ordered
0348:             */
0349:            protected static final boolean RETRY_EDEFAULT = false;
0350:
0351:            /**
0352:             * The cached value of the '{@link #isRetry() <em>Retry</em>}' attribute.
0353:             * <!-- begin-user-doc -->
0354:             * <!-- end-user-doc -->
0355:             * @see #isRetry()
0356:             * @generated
0357:             * @ordered
0358:             */
0359:            protected boolean retry = RETRY_EDEFAULT;
0360:
0361:            /**
0362:             * The default value of the '{@link #getMaxRetryCount() <em>Max Retry Count</em>}' attribute.
0363:             * <!-- begin-user-doc -->
0364:             * <!-- end-user-doc -->
0365:             * @see #getMaxRetryCount()
0366:             * @generated
0367:             * @ordered
0368:             */
0369:            protected static final int MAX_RETRY_COUNT_EDEFAULT = 60;
0370:
0371:            /**
0372:             * The cached value of the '{@link #getMaxRetryCount() <em>Max Retry Count</em>}' attribute.
0373:             * <!-- begin-user-doc -->
0374:             * <!-- end-user-doc -->
0375:             * @see #getMaxRetryCount()
0376:             * @generated
0377:             * @ordered
0378:             */
0379:            protected int maxRetryCount = MAX_RETRY_COUNT_EDEFAULT;
0380:
0381:            /**
0382:             * The default value of the '{@link #getRetryInterval() <em>Retry Interval</em>}' attribute.
0383:             * <!-- begin-user-doc -->
0384:             * <!-- end-user-doc -->
0385:             * @see #getRetryInterval()
0386:             * @generated
0387:             * @ordered
0388:             */
0389:            protected static final int RETRY_INTERVAL_EDEFAULT = 60000;
0390:
0391:            /**
0392:             * The cached value of the '{@link #getRetryInterval() <em>Retry Interval</em>}' attribute.
0393:             * <!-- begin-user-doc -->
0394:             * <!-- end-user-doc -->
0395:             * @see #getRetryInterval()
0396:             * @generated
0397:             * @ordered
0398:             */
0399:            protected int retryInterval = RETRY_INTERVAL_EDEFAULT;
0400:
0401:            /**
0402:             * The default value of the '{@link #getDLQ() <em>DLQ</em>}' attribute.
0403:             * <!-- begin-user-doc -->
0404:             * <!-- end-user-doc -->
0405:             * @see #getDLQ()
0406:             * @generated
0407:             * @ordered
0408:             */
0409:            protected static final String DLQ_EDEFAULT = "";
0410:
0411:            /**
0412:             * The cached value of the '{@link #getDLQ() <em>DLQ</em>}' attribute.
0413:             * <!-- begin-user-doc -->
0414:             * <!-- end-user-doc -->
0415:             * @see #getDLQ()
0416:             * @generated
0417:             * @ordered
0418:             */
0419:            protected String dLQ = DLQ_EDEFAULT;
0420:
0421:            /**
0422:             * <!-- begin-user-doc -->
0423:             * <!-- end-user-doc -->
0424:             * @generated
0425:             */
0426:            protected JMSConsumerImpl() {
0427:                super ();
0428:            }
0429:
0430:            /**
0431:             * <!-- begin-user-doc -->
0432:             * <!-- end-user-doc -->
0433:             * @generated
0434:             */
0435:            protected EClass eStaticClass() {
0436:                return componentflowPackage.Literals.JMS_CONSUMER;
0437:            }
0438:
0439:            /**
0440:             * <!-- begin-user-doc -->
0441:             * <!-- end-user-doc -->
0442:             * @generated
0443:             */
0444:            public String getJndiInitialContextFactory() {
0445:                return jndiInitialContextFactory;
0446:            }
0447:
0448:            /**
0449:             * <!-- begin-user-doc -->
0450:             * <!-- end-user-doc -->
0451:             * @generated
0452:             */
0453:            public void setJndiInitialContextFactory(
0454:                    String newJndiInitialContextFactory) {
0455:                String oldJndiInitialContextFactory = jndiInitialContextFactory;
0456:                jndiInitialContextFactory = newJndiInitialContextFactory;
0457:                if (eNotificationRequired())
0458:                    eNotify(new ENotificationImpl(
0459:                            this ,
0460:                            Notification.SET,
0461:                            componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY,
0462:                            oldJndiInitialContextFactory,
0463:                            jndiInitialContextFactory));
0464:            }
0465:
0466:            /**
0467:             * <!-- begin-user-doc -->
0468:             * <!-- end-user-doc -->
0469:             * @generated
0470:             */
0471:            public String getJndiProviderUrl() {
0472:                return jndiProviderUrl;
0473:            }
0474:
0475:            /**
0476:             * <!-- begin-user-doc -->
0477:             * <!-- end-user-doc -->
0478:             * @generated
0479:             */
0480:            public void setJndiProviderUrl(String newJndiProviderUrl) {
0481:                String oldJndiProviderUrl = jndiProviderUrl;
0482:                jndiProviderUrl = newJndiProviderUrl;
0483:                if (eNotificationRequired())
0484:                    eNotify(new ENotificationImpl(
0485:                            this ,
0486:                            Notification.SET,
0487:                            componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL,
0488:                            oldJndiProviderUrl, jndiProviderUrl));
0489:            }
0490:
0491:            /**
0492:             * <!-- begin-user-doc -->
0493:             * <!-- end-user-doc -->
0494:             * @generated
0495:             */
0496:            public DestinationStyleType getDestinationStyle() {
0497:                return destinationStyle;
0498:            }
0499:
0500:            /**
0501:             * <!-- begin-user-doc -->
0502:             * <!-- end-user-doc -->
0503:             * @generated
0504:             */
0505:            public void setDestinationStyle(
0506:                    DestinationStyleType newDestinationStyle) {
0507:                DestinationStyleType oldDestinationStyle = destinationStyle;
0508:                destinationStyle = newDestinationStyle == null ? DESTINATION_STYLE_EDEFAULT
0509:                        : newDestinationStyle;
0510:                if (eNotificationRequired())
0511:                    eNotify(new ENotificationImpl(
0512:                            this ,
0513:                            Notification.SET,
0514:                            componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE,
0515:                            oldDestinationStyle, destinationStyle));
0516:            }
0517:
0518:            /**
0519:             * <!-- begin-user-doc -->
0520:             * <!-- end-user-doc -->
0521:             * @generated
0522:             */
0523:            public String getTargetDestinationName() {
0524:                return targetDestinationName;
0525:            }
0526:
0527:            /**
0528:             * <!-- begin-user-doc -->
0529:             * <!-- end-user-doc -->
0530:             * @generated
0531:             */
0532:            public void setTargetDestinationName(String newTargetDestinationName) {
0533:                String oldTargetDestinationName = targetDestinationName;
0534:                targetDestinationName = newTargetDestinationName;
0535:                if (eNotificationRequired())
0536:                    eNotify(new ENotificationImpl(
0537:                            this ,
0538:                            Notification.SET,
0539:                            componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME,
0540:                            oldTargetDestinationName, targetDestinationName));
0541:            }
0542:
0543:            /**
0544:             * <!-- begin-user-doc -->
0545:             * <!-- end-user-doc -->
0546:             * @generated
0547:             */
0548:            public ReadStyleType getReadStyle() {
0549:                return readStyle;
0550:            }
0551:
0552:            /**
0553:             * <!-- begin-user-doc -->
0554:             * <!-- end-user-doc -->
0555:             * @generated
0556:             */
0557:            public void setReadStyle(ReadStyleType newReadStyle) {
0558:                ReadStyleType oldReadStyle = readStyle;
0559:                readStyle = newReadStyle == null ? READ_STYLE_EDEFAULT
0560:                        : newReadStyle;
0561:                if (eNotificationRequired())
0562:                    eNotify(new ENotificationImpl(this , Notification.SET,
0563:                            componentflowPackage.JMS_CONSUMER__READ_STYLE,
0564:                            oldReadStyle, readStyle));
0565:            }
0566:
0567:            /**
0568:             * <!-- begin-user-doc -->
0569:             * <!-- end-user-doc -->
0570:             * @generated
0571:             */
0572:            public String getRecordsPerMessage() {
0573:                return recordsPerMessage;
0574:            }
0575:
0576:            /**
0577:             * <!-- begin-user-doc -->
0578:             * <!-- end-user-doc -->
0579:             * @generated
0580:             */
0581:            public void setRecordsPerMessage(String newRecordsPerMessage) {
0582:                String oldRecordsPerMessage = recordsPerMessage;
0583:                recordsPerMessage = newRecordsPerMessage;
0584:                if (eNotificationRequired())
0585:                    eNotify(new ENotificationImpl(
0586:                            this ,
0587:                            Notification.SET,
0588:                            componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE,
0589:                            oldRecordsPerMessage, recordsPerMessage));
0590:            }
0591:
0592:            /**
0593:             * <!-- begin-user-doc -->
0594:             * <!-- end-user-doc -->
0595:             * @generated
0596:             */
0597:            public String getReplyDestinationName() {
0598:                return replyDestinationName;
0599:            }
0600:
0601:            /**
0602:             * <!-- begin-user-doc -->
0603:             * <!-- end-user-doc -->
0604:             * @generated
0605:             */
0606:            public void setReplyDestinationName(String newReplyDestinationName) {
0607:                String oldReplyDestinationName = replyDestinationName;
0608:                replyDestinationName = newReplyDestinationName;
0609:                if (eNotificationRequired())
0610:                    eNotify(new ENotificationImpl(
0611:                            this ,
0612:                            Notification.SET,
0613:                            componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME,
0614:                            oldReplyDestinationName, replyDestinationName));
0615:            }
0616:
0617:            /**
0618:             * <!-- begin-user-doc -->
0619:             * <!-- end-user-doc -->
0620:             * @generated
0621:             */
0622:            public ReadStyleType getWriteStyle() {
0623:                return writeStyle;
0624:            }
0625:
0626:            /**
0627:             * <!-- begin-user-doc -->
0628:             * <!-- end-user-doc -->
0629:             * @generated
0630:             */
0631:            public void setWriteStyle(ReadStyleType newWriteStyle) {
0632:                ReadStyleType oldWriteStyle = writeStyle;
0633:                writeStyle = newWriteStyle == null ? WRITE_STYLE_EDEFAULT
0634:                        : newWriteStyle;
0635:                if (eNotificationRequired())
0636:                    eNotify(new ENotificationImpl(this , Notification.SET,
0637:                            componentflowPackage.JMS_CONSUMER__WRITE_STYLE,
0638:                            oldWriteStyle, writeStyle));
0639:            }
0640:
0641:            /**
0642:             * <!-- begin-user-doc -->
0643:             * <!-- end-user-doc -->
0644:             * @generated
0645:             */
0646:            public String getJndiConnectionFactoryName() {
0647:                return jndiConnectionFactoryName;
0648:            }
0649:
0650:            /**
0651:             * <!-- begin-user-doc -->
0652:             * <!-- end-user-doc -->
0653:             * @generated
0654:             */
0655:            public void setJndiConnectionFactoryName(
0656:                    String newJndiConnectionFactoryName) {
0657:                String oldJndiConnectionFactoryName = jndiConnectionFactoryName;
0658:                jndiConnectionFactoryName = newJndiConnectionFactoryName;
0659:                if (eNotificationRequired())
0660:                    eNotify(new ENotificationImpl(
0661:                            this ,
0662:                            Notification.SET,
0663:                            componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME,
0664:                            oldJndiConnectionFactoryName,
0665:                            jndiConnectionFactoryName));
0666:            }
0667:
0668:            /**
0669:             * <!-- begin-user-doc -->
0670:             * <!-- end-user-doc -->
0671:             * @generated
0672:             */
0673:            public String getReplyTimeout() {
0674:                return replyTimeout;
0675:            }
0676:
0677:            /**
0678:             * <!-- begin-user-doc -->
0679:             * <!-- end-user-doc -->
0680:             * @generated
0681:             */
0682:            public void setReplyTimeout(String newReplyTimeout) {
0683:                String oldReplyTimeout = replyTimeout;
0684:                replyTimeout = newReplyTimeout;
0685:                if (eNotificationRequired())
0686:                    eNotify(new ENotificationImpl(this , Notification.SET,
0687:                            componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT,
0688:                            oldReplyTimeout, replyTimeout));
0689:            }
0690:
0691:            /**
0692:             * <!-- begin-user-doc -->
0693:             * <!-- end-user-doc -->
0694:             * @generated
0695:             */
0696:            public String getServiceName() {
0697:                return serviceName;
0698:            }
0699:
0700:            /**
0701:             * <!-- begin-user-doc -->
0702:             * <!-- end-user-doc -->
0703:             * @generated
0704:             */
0705:            public void setServiceName(String newServiceName) {
0706:                String oldServiceName = serviceName;
0707:                serviceName = newServiceName;
0708:                if (eNotificationRequired())
0709:                    eNotify(new ENotificationImpl(this , Notification.SET,
0710:                            componentflowPackage.JMS_CONSUMER__SERVICE_NAME,
0711:                            oldServiceName, serviceName));
0712:            }
0713:
0714:            /**
0715:             * <!-- begin-user-doc -->
0716:             * <!-- end-user-doc -->
0717:             * @generated
0718:             */
0719:            public boolean isEnableQuery() {
0720:                return enableQuery;
0721:            }
0722:
0723:            /**
0724:             * <!-- begin-user-doc -->
0725:             * <!-- end-user-doc -->
0726:             * @generated
0727:             */
0728:            public void setEnableQuery(boolean newEnableQuery) {
0729:                boolean oldEnableQuery = enableQuery;
0730:                enableQuery = newEnableQuery;
0731:                if (eNotificationRequired())
0732:                    eNotify(new ENotificationImpl(this , Notification.SET,
0733:                            componentflowPackage.JMS_CONSUMER__ENABLE_QUERY,
0734:                            oldEnableQuery, enableQuery));
0735:            }
0736:
0737:            /**
0738:             * <!-- begin-user-doc -->
0739:             * <!-- end-user-doc -->
0740:             * @generated
0741:             */
0742:            public String getQueryExpression() {
0743:                return queryExpression;
0744:            }
0745:
0746:            /**
0747:             * <!-- begin-user-doc -->
0748:             * <!-- end-user-doc -->
0749:             * @generated
0750:             */
0751:            public void setQueryExpression(String newQueryExpression) {
0752:                String oldQueryExpression = queryExpression;
0753:                queryExpression = newQueryExpression;
0754:                if (eNotificationRequired())
0755:                    eNotify(new ENotificationImpl(
0756:                            this ,
0757:                            Notification.SET,
0758:                            componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION,
0759:                            oldQueryExpression, queryExpression));
0760:            }
0761:
0762:            /**
0763:             * <!-- begin-user-doc -->
0764:             * <!-- end-user-doc -->
0765:             * @generated
0766:             */
0767:            public boolean isTransaction() {
0768:                return transaction;
0769:            }
0770:
0771:            /**
0772:             * <!-- begin-user-doc -->
0773:             * <!-- end-user-doc -->
0774:             * @generated
0775:             */
0776:            public void setTransaction(boolean newTransaction) {
0777:                boolean oldTransaction = transaction;
0778:                transaction = newTransaction;
0779:                if (eNotificationRequired())
0780:                    eNotify(new ENotificationImpl(this , Notification.SET,
0781:                            componentflowPackage.JMS_CONSUMER__TRANSACTION,
0782:                            oldTransaction, transaction));
0783:            }
0784:
0785:            /**
0786:             * <!-- begin-user-doc -->
0787:             * <!-- end-user-doc -->
0788:             * @generated
0789:             */
0790:            public boolean isRetry() {
0791:                return retry;
0792:            }
0793:
0794:            /**
0795:             * <!-- begin-user-doc -->
0796:             * <!-- end-user-doc -->
0797:             * @generated
0798:             */
0799:            public void setRetry(boolean newRetry) {
0800:                boolean oldRetry = retry;
0801:                retry = newRetry;
0802:                if (eNotificationRequired())
0803:                    eNotify(new ENotificationImpl(this , Notification.SET,
0804:                            componentflowPackage.JMS_CONSUMER__RETRY, oldRetry,
0805:                            retry));
0806:            }
0807:
0808:            /**
0809:             * <!-- begin-user-doc -->
0810:             * <!-- end-user-doc -->
0811:             * @generated
0812:             */
0813:            public int getMaxRetryCount() {
0814:                return maxRetryCount;
0815:            }
0816:
0817:            /**
0818:             * <!-- begin-user-doc -->
0819:             * <!-- end-user-doc -->
0820:             * @generated
0821:             */
0822:            public void setMaxRetryCount(int newMaxRetryCount) {
0823:                int oldMaxRetryCount = maxRetryCount;
0824:                maxRetryCount = newMaxRetryCount;
0825:                if (eNotificationRequired())
0826:                    eNotify(new ENotificationImpl(this , Notification.SET,
0827:                            componentflowPackage.JMS_CONSUMER__MAX_RETRY_COUNT,
0828:                            oldMaxRetryCount, maxRetryCount));
0829:            }
0830:
0831:            /**
0832:             * <!-- begin-user-doc -->
0833:             * <!-- end-user-doc -->
0834:             * @generated
0835:             */
0836:            public int getRetryInterval() {
0837:                return retryInterval;
0838:            }
0839:
0840:            /**
0841:             * <!-- begin-user-doc -->
0842:             * <!-- end-user-doc -->
0843:             * @generated
0844:             */
0845:            public void setRetryInterval(int newRetryInterval) {
0846:                int oldRetryInterval = retryInterval;
0847:                retryInterval = newRetryInterval;
0848:                if (eNotificationRequired())
0849:                    eNotify(new ENotificationImpl(this , Notification.SET,
0850:                            componentflowPackage.JMS_CONSUMER__RETRY_INTERVAL,
0851:                            oldRetryInterval, retryInterval));
0852:            }
0853:
0854:            /**
0855:             * <!-- begin-user-doc -->
0856:             * <!-- end-user-doc -->
0857:             * @generated
0858:             */
0859:            public String getDLQ() {
0860:                return dLQ;
0861:            }
0862:
0863:            /**
0864:             * <!-- begin-user-doc -->
0865:             * <!-- end-user-doc -->
0866:             * @generated
0867:             */
0868:            public void setDLQ(String newDLQ) {
0869:                String oldDLQ = dLQ;
0870:                dLQ = newDLQ;
0871:                if (eNotificationRequired())
0872:                    eNotify(new ENotificationImpl(this , Notification.SET,
0873:                            componentflowPackage.JMS_CONSUMER__DLQ, oldDLQ, dLQ));
0874:            }
0875:
0876:            /**
0877:             * <!-- begin-user-doc -->
0878:             * <!-- end-user-doc -->
0879:             * @generated
0880:             */
0881:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
0882:                switch (featureID) {
0883:                case componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY:
0884:                    return getJndiInitialContextFactory();
0885:                case componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL:
0886:                    return getJndiProviderUrl();
0887:                case componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE:
0888:                    return getDestinationStyle();
0889:                case componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME:
0890:                    return getTargetDestinationName();
0891:                case componentflowPackage.JMS_CONSUMER__READ_STYLE:
0892:                    return getReadStyle();
0893:                case componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE:
0894:                    return getRecordsPerMessage();
0895:                case componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME:
0896:                    return getReplyDestinationName();
0897:                case componentflowPackage.JMS_CONSUMER__WRITE_STYLE:
0898:                    return getWriteStyle();
0899:                case componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME:
0900:                    return getJndiConnectionFactoryName();
0901:                case componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT:
0902:                    return getReplyTimeout();
0903:                case componentflowPackage.JMS_CONSUMER__SERVICE_NAME:
0904:                    return getServiceName();
0905:                case componentflowPackage.JMS_CONSUMER__ENABLE_QUERY:
0906:                    return isEnableQuery() ? Boolean.TRUE : Boolean.FALSE;
0907:                case componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION:
0908:                    return getQueryExpression();
0909:                case componentflowPackage.JMS_CONSUMER__TRANSACTION:
0910:                    return isTransaction() ? Boolean.TRUE : Boolean.FALSE;
0911:                case componentflowPackage.JMS_CONSUMER__RETRY:
0912:                    return isRetry() ? Boolean.TRUE : Boolean.FALSE;
0913:                case componentflowPackage.JMS_CONSUMER__MAX_RETRY_COUNT:
0914:                    return new Integer(getMaxRetryCount());
0915:                case componentflowPackage.JMS_CONSUMER__RETRY_INTERVAL:
0916:                    return new Integer(getRetryInterval());
0917:                case componentflowPackage.JMS_CONSUMER__DLQ:
0918:                    return getDLQ();
0919:                }
0920:                return super .eGet(featureID, resolve, coreType);
0921:            }
0922:
0923:            /**
0924:             * <!-- begin-user-doc -->
0925:             * <!-- end-user-doc -->
0926:             * @generated
0927:             */
0928:            public void eSet(int featureID, Object newValue) {
0929:                switch (featureID) {
0930:                case componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY:
0931:                    setJndiInitialContextFactory((String) newValue);
0932:                    return;
0933:                case componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL:
0934:                    setJndiProviderUrl((String) newValue);
0935:                    return;
0936:                case componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE:
0937:                    setDestinationStyle((DestinationStyleType) newValue);
0938:                    return;
0939:                case componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME:
0940:                    setTargetDestinationName((String) newValue);
0941:                    return;
0942:                case componentflowPackage.JMS_CONSUMER__READ_STYLE:
0943:                    setReadStyle((ReadStyleType) newValue);
0944:                    return;
0945:                case componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE:
0946:                    setRecordsPerMessage((String) newValue);
0947:                    return;
0948:                case componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME:
0949:                    setReplyDestinationName((String) newValue);
0950:                    return;
0951:                case componentflowPackage.JMS_CONSUMER__WRITE_STYLE:
0952:                    setWriteStyle((ReadStyleType) newValue);
0953:                    return;
0954:                case componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME:
0955:                    setJndiConnectionFactoryName((String) newValue);
0956:                    return;
0957:                case componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT:
0958:                    setReplyTimeout((String) newValue);
0959:                    return;
0960:                case componentflowPackage.JMS_CONSUMER__SERVICE_NAME:
0961:                    setServiceName((String) newValue);
0962:                    return;
0963:                case componentflowPackage.JMS_CONSUMER__ENABLE_QUERY:
0964:                    setEnableQuery(((Boolean) newValue).booleanValue());
0965:                    return;
0966:                case componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION:
0967:                    setQueryExpression((String) newValue);
0968:                    return;
0969:                case componentflowPackage.JMS_CONSUMER__TRANSACTION:
0970:                    setTransaction(((Boolean) newValue).booleanValue());
0971:                    return;
0972:                case componentflowPackage.JMS_CONSUMER__RETRY:
0973:                    setRetry(((Boolean) newValue).booleanValue());
0974:                    return;
0975:                case componentflowPackage.JMS_CONSUMER__MAX_RETRY_COUNT:
0976:                    setMaxRetryCount(((Integer) newValue).intValue());
0977:                    return;
0978:                case componentflowPackage.JMS_CONSUMER__RETRY_INTERVAL:
0979:                    setRetryInterval(((Integer) newValue).intValue());
0980:                    return;
0981:                case componentflowPackage.JMS_CONSUMER__DLQ:
0982:                    setDLQ((String) newValue);
0983:                    return;
0984:                }
0985:                super .eSet(featureID, newValue);
0986:            }
0987:
0988:            /**
0989:             * <!-- begin-user-doc -->
0990:             * <!-- end-user-doc -->
0991:             * @generated
0992:             */
0993:            public void eUnset(int featureID) {
0994:                switch (featureID) {
0995:                case componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY:
0996:                    setJndiInitialContextFactory(JNDI_INITIAL_CONTEXT_FACTORY_EDEFAULT);
0997:                    return;
0998:                case componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL:
0999:                    setJndiProviderUrl(JNDI_PROVIDER_URL_EDEFAULT);
1000:                    return;
1001:                case componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE:
1002:                    setDestinationStyle(DESTINATION_STYLE_EDEFAULT);
1003:                    return;
1004:                case componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME:
1005:                    setTargetDestinationName(TARGET_DESTINATION_NAME_EDEFAULT);
1006:                    return;
1007:                case componentflowPackage.JMS_CONSUMER__READ_STYLE:
1008:                    setReadStyle(READ_STYLE_EDEFAULT);
1009:                    return;
1010:                case componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE:
1011:                    setRecordsPerMessage(RECORDS_PER_MESSAGE_EDEFAULT);
1012:                    return;
1013:                case componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME:
1014:                    setReplyDestinationName(REPLY_DESTINATION_NAME_EDEFAULT);
1015:                    return;
1016:                case componentflowPackage.JMS_CONSUMER__WRITE_STYLE:
1017:                    setWriteStyle(WRITE_STYLE_EDEFAULT);
1018:                    return;
1019:                case componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME:
1020:                    setJndiConnectionFactoryName(JNDI_CONNECTION_FACTORY_NAME_EDEFAULT);
1021:                    return;
1022:                case componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT:
1023:                    setReplyTimeout(REPLY_TIMEOUT_EDEFAULT);
1024:                    return;
1025:                case componentflowPackage.JMS_CONSUMER__SERVICE_NAME:
1026:                    setServiceName(SERVICE_NAME_EDEFAULT);
1027:                    return;
1028:                case componentflowPackage.JMS_CONSUMER__ENABLE_QUERY:
1029:                    setEnableQuery(ENABLE_QUERY_EDEFAULT);
1030:                    return;
1031:                case componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION:
1032:                    setQueryExpression(QUERY_EXPRESSION_EDEFAULT);
1033:                    return;
1034:                case componentflowPackage.JMS_CONSUMER__TRANSACTION:
1035:                    setTransaction(TRANSACTION_EDEFAULT);
1036:                    return;
1037:                case componentflowPackage.JMS_CONSUMER__RETRY:
1038:                    setRetry(RETRY_EDEFAULT);
1039:                    return;
1040:                case componentflowPackage.JMS_CONSUMER__MAX_RETRY_COUNT:
1041:                    setMaxRetryCount(MAX_RETRY_COUNT_EDEFAULT);
1042:                    return;
1043:                case componentflowPackage.JMS_CONSUMER__RETRY_INTERVAL:
1044:                    setRetryInterval(RETRY_INTERVAL_EDEFAULT);
1045:                    return;
1046:                case componentflowPackage.JMS_CONSUMER__DLQ:
1047:                    setDLQ(DLQ_EDEFAULT);
1048:                    return;
1049:                }
1050:                super .eUnset(featureID);
1051:            }
1052:
1053:            /**
1054:             * <!-- begin-user-doc -->
1055:             * <!-- end-user-doc -->
1056:             * @generated
1057:             */
1058:            public boolean eIsSet(int featureID) {
1059:                switch (featureID) {
1060:                case componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY:
1061:                    return JNDI_INITIAL_CONTEXT_FACTORY_EDEFAULT == null ? jndiInitialContextFactory != null
1062:                            : !JNDI_INITIAL_CONTEXT_FACTORY_EDEFAULT
1063:                                    .equals(jndiInitialContextFactory);
1064:                case componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL:
1065:                    return JNDI_PROVIDER_URL_EDEFAULT == null ? jndiProviderUrl != null
1066:                            : !JNDI_PROVIDER_URL_EDEFAULT
1067:                                    .equals(jndiProviderUrl);
1068:                case componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE:
1069:                    return destinationStyle != DESTINATION_STYLE_EDEFAULT;
1070:                case componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME:
1071:                    return TARGET_DESTINATION_NAME_EDEFAULT == null ? targetDestinationName != null
1072:                            : !TARGET_DESTINATION_NAME_EDEFAULT
1073:                                    .equals(targetDestinationName);
1074:                case componentflowPackage.JMS_CONSUMER__READ_STYLE:
1075:                    return readStyle != READ_STYLE_EDEFAULT;
1076:                case componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE:
1077:                    return RECORDS_PER_MESSAGE_EDEFAULT == null ? recordsPerMessage != null
1078:                            : !RECORDS_PER_MESSAGE_EDEFAULT
1079:                                    .equals(recordsPerMessage);
1080:                case componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME:
1081:                    return REPLY_DESTINATION_NAME_EDEFAULT == null ? replyDestinationName != null
1082:                            : !REPLY_DESTINATION_NAME_EDEFAULT
1083:                                    .equals(replyDestinationName);
1084:                case componentflowPackage.JMS_CONSUMER__WRITE_STYLE:
1085:                    return writeStyle != WRITE_STYLE_EDEFAULT;
1086:                case componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME:
1087:                    return JNDI_CONNECTION_FACTORY_NAME_EDEFAULT == null ? jndiConnectionFactoryName != null
1088:                            : !JNDI_CONNECTION_FACTORY_NAME_EDEFAULT
1089:                                    .equals(jndiConnectionFactoryName);
1090:                case componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT:
1091:                    return REPLY_TIMEOUT_EDEFAULT == null ? replyTimeout != null
1092:                            : !REPLY_TIMEOUT_EDEFAULT.equals(replyTimeout);
1093:                case componentflowPackage.JMS_CONSUMER__SERVICE_NAME:
1094:                    return SERVICE_NAME_EDEFAULT == null ? serviceName != null
1095:                            : !SERVICE_NAME_EDEFAULT.equals(serviceName);
1096:                case componentflowPackage.JMS_CONSUMER__ENABLE_QUERY:
1097:                    return enableQuery != ENABLE_QUERY_EDEFAULT;
1098:                case componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION:
1099:                    return QUERY_EXPRESSION_EDEFAULT == null ? queryExpression != null
1100:                            : !QUERY_EXPRESSION_EDEFAULT
1101:                                    .equals(queryExpression);
1102:                case componentflowPackage.JMS_CONSUMER__TRANSACTION:
1103:                    return transaction != TRANSACTION_EDEFAULT;
1104:                case componentflowPackage.JMS_CONSUMER__RETRY:
1105:                    return retry != RETRY_EDEFAULT;
1106:                case componentflowPackage.JMS_CONSUMER__MAX_RETRY_COUNT:
1107:                    return maxRetryCount != MAX_RETRY_COUNT_EDEFAULT;
1108:                case componentflowPackage.JMS_CONSUMER__RETRY_INTERVAL:
1109:                    return retryInterval != RETRY_INTERVAL_EDEFAULT;
1110:                case componentflowPackage.JMS_CONSUMER__DLQ:
1111:                    return DLQ_EDEFAULT == null ? dLQ != null : !DLQ_EDEFAULT
1112:                            .equals(dLQ);
1113:                }
1114:                return super .eIsSet(featureID);
1115:            }
1116:
1117:            /**
1118:             * <!-- begin-user-doc -->
1119:             * <!-- end-user-doc -->
1120:             * @generated
1121:             */
1122:            public int eBaseStructuralFeatureID(int derivedFeatureID,
1123:                    Class baseClass) {
1124:                if (baseClass == JMSConfig.class) {
1125:                    switch (derivedFeatureID) {
1126:                    case componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY:
1127:                        return componentflowPackage.JMS_CONFIG__JNDI_INITIAL_CONTEXT_FACTORY;
1128:                    case componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL:
1129:                        return componentflowPackage.JMS_CONFIG__JNDI_PROVIDER_URL;
1130:                    case componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE:
1131:                        return componentflowPackage.JMS_CONFIG__DESTINATION_STYLE;
1132:                    case componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME:
1133:                        return componentflowPackage.JMS_CONFIG__TARGET_DESTINATION_NAME;
1134:                    case componentflowPackage.JMS_CONSUMER__READ_STYLE:
1135:                        return componentflowPackage.JMS_CONFIG__READ_STYLE;
1136:                    case componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE:
1137:                        return componentflowPackage.JMS_CONFIG__RECORDS_PER_MESSAGE;
1138:                    case componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME:
1139:                        return componentflowPackage.JMS_CONFIG__REPLY_DESTINATION_NAME;
1140:                    case componentflowPackage.JMS_CONSUMER__WRITE_STYLE:
1141:                        return componentflowPackage.JMS_CONFIG__WRITE_STYLE;
1142:                    case componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME:
1143:                        return componentflowPackage.JMS_CONFIG__JNDI_CONNECTION_FACTORY_NAME;
1144:                    case componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT:
1145:                        return componentflowPackage.JMS_CONFIG__REPLY_TIMEOUT;
1146:                    case componentflowPackage.JMS_CONSUMER__SERVICE_NAME:
1147:                        return componentflowPackage.JMS_CONFIG__SERVICE_NAME;
1148:                    case componentflowPackage.JMS_CONSUMER__ENABLE_QUERY:
1149:                        return componentflowPackage.JMS_CONFIG__ENABLE_QUERY;
1150:                    case componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION:
1151:                        return componentflowPackage.JMS_CONFIG__QUERY_EXPRESSION;
1152:                    default:
1153:                        return -1;
1154:                    }
1155:                }
1156:                return super .eBaseStructuralFeatureID(derivedFeatureID,
1157:                        baseClass);
1158:            }
1159:
1160:            /**
1161:             * <!-- begin-user-doc -->
1162:             * <!-- end-user-doc -->
1163:             * @generated
1164:             */
1165:            public int eDerivedStructuralFeatureID(int baseFeatureID,
1166:                    Class baseClass) {
1167:                if (baseClass == JMSConfig.class) {
1168:                    switch (baseFeatureID) {
1169:                    case componentflowPackage.JMS_CONFIG__JNDI_INITIAL_CONTEXT_FACTORY:
1170:                        return componentflowPackage.JMS_CONSUMER__JNDI_INITIAL_CONTEXT_FACTORY;
1171:                    case componentflowPackage.JMS_CONFIG__JNDI_PROVIDER_URL:
1172:                        return componentflowPackage.JMS_CONSUMER__JNDI_PROVIDER_URL;
1173:                    case componentflowPackage.JMS_CONFIG__DESTINATION_STYLE:
1174:                        return componentflowPackage.JMS_CONSUMER__DESTINATION_STYLE;
1175:                    case componentflowPackage.JMS_CONFIG__TARGET_DESTINATION_NAME:
1176:                        return componentflowPackage.JMS_CONSUMER__TARGET_DESTINATION_NAME;
1177:                    case componentflowPackage.JMS_CONFIG__READ_STYLE:
1178:                        return componentflowPackage.JMS_CONSUMER__READ_STYLE;
1179:                    case componentflowPackage.JMS_CONFIG__RECORDS_PER_MESSAGE:
1180:                        return componentflowPackage.JMS_CONSUMER__RECORDS_PER_MESSAGE;
1181:                    case componentflowPackage.JMS_CONFIG__REPLY_DESTINATION_NAME:
1182:                        return componentflowPackage.JMS_CONSUMER__REPLY_DESTINATION_NAME;
1183:                    case componentflowPackage.JMS_CONFIG__WRITE_STYLE:
1184:                        return componentflowPackage.JMS_CONSUMER__WRITE_STYLE;
1185:                    case componentflowPackage.JMS_CONFIG__JNDI_CONNECTION_FACTORY_NAME:
1186:                        return componentflowPackage.JMS_CONSUMER__JNDI_CONNECTION_FACTORY_NAME;
1187:                    case componentflowPackage.JMS_CONFIG__REPLY_TIMEOUT:
1188:                        return componentflowPackage.JMS_CONSUMER__REPLY_TIMEOUT;
1189:                    case componentflowPackage.JMS_CONFIG__SERVICE_NAME:
1190:                        return componentflowPackage.JMS_CONSUMER__SERVICE_NAME;
1191:                    case componentflowPackage.JMS_CONFIG__ENABLE_QUERY:
1192:                        return componentflowPackage.JMS_CONSUMER__ENABLE_QUERY;
1193:                    case componentflowPackage.JMS_CONFIG__QUERY_EXPRESSION:
1194:                        return componentflowPackage.JMS_CONSUMER__QUERY_EXPRESSION;
1195:                    default:
1196:                        return -1;
1197:                    }
1198:                }
1199:                return super .eDerivedStructuralFeatureID(baseFeatureID,
1200:                        baseClass);
1201:            }
1202:
1203:            /**
1204:             * <!-- begin-user-doc -->
1205:             * <!-- end-user-doc -->
1206:             * @generated
1207:             */
1208:            public String toString() {
1209:                if (eIsProxy())
1210:                    return super .toString();
1211:
1212:                StringBuffer result = new StringBuffer(super .toString());
1213:                result.append(" (jndiInitialContextFactory: ");
1214:                result.append(jndiInitialContextFactory);
1215:                result.append(", jndiProviderUrl: ");
1216:                result.append(jndiProviderUrl);
1217:                result.append(", destinationStyle: ");
1218:                result.append(destinationStyle);
1219:                result.append(", targetDestinationName: ");
1220:                result.append(targetDestinationName);
1221:                result.append(", readStyle: ");
1222:                result.append(readStyle);
1223:                result.append(", recordsPerMessage: ");
1224:                result.append(recordsPerMessage);
1225:                result.append(", replyDestinationName: ");
1226:                result.append(replyDestinationName);
1227:                result.append(", writeStyle: ");
1228:                result.append(writeStyle);
1229:                result.append(", jndiConnectionFactoryName: ");
1230:                result.append(jndiConnectionFactoryName);
1231:                result.append(", replyTimeout: ");
1232:                result.append(replyTimeout);
1233:                result.append(", serviceName: ");
1234:                result.append(serviceName);
1235:                result.append(", enableQuery: ");
1236:                result.append(enableQuery);
1237:                result.append(", queryExpression: ");
1238:                result.append(queryExpression);
1239:                result.append(", transaction: ");
1240:                result.append(transaction);
1241:                result.append(", retry: ");
1242:                result.append(retry);
1243:                result.append(", maxRetryCount: ");
1244:                result.append(maxRetryCount);
1245:                result.append(", retryInterval: ");
1246:                result.append(retryInterval);
1247:                result.append(", dLQ: ");
1248:                result.append(dLQ);
1249:                result.append(')');
1250:                return result.toString();
1251:            }
1252:
1253:        } //JMSConsumerImpl
w__w__w_._j__a_va2_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.