Source Code Cross Referenced for EmailProviderImpl.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 com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.EmailProvider;
009:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.EndPoint;
010:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Provider;
011:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.RecordTypeType;
012:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
013:
014:        import org.eclipse.emf.common.notify.Notification;
015:
016:        import org.eclipse.emf.ecore.EClass;
017:
018:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
019:
020:        /**
021:         * <!-- begin-user-doc -->
022:         * An implementation of the model object '<em><b>Email Provider</b></em>'.
023:         * <!-- end-user-doc -->
024:         * <p>
025:         * The following features are implemented:
026:         * <ul>
027:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getEndPointName <em>End Point Name</em>}</li>
028:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getCharset <em>Charset</em>}</li>
029:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getRecordType <em>Record Type</em>}</li>
030:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getFrom <em>From</em>}</li>
031:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getTo <em>To</em>}</li>
032:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getCc <em>Cc</em>}</li>
033:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getBcc <em>Bcc</em>}</li>
034:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.EmailProviderImpl#getSubject <em>Subject</em>}</li>
035:         * </ul>
036:         * </p>
037:         *
038:         * @generated
039:         */
040:        public class EmailProviderImpl extends ConnectionImpl implements 
041:                EmailProvider {
042:            /**
043:             * <!-- begin-user-doc -->
044:             * <!-- end-user-doc -->
045:             * @generated
046:             */
047:            public static final String copyright = "Copyright, Bostech Corp.";
048:
049:            /**
050:             * The default value of the '{@link #getEndPointName() <em>End Point Name</em>}' attribute.
051:             * <!-- begin-user-doc -->
052:             * <!-- end-user-doc -->
053:             * @see #getEndPointName()
054:             * @generated
055:             * @ordered
056:             */
057:            protected static final String END_POINT_NAME_EDEFAULT = null;
058:
059:            /**
060:             * The cached value of the '{@link #getEndPointName() <em>End Point Name</em>}' attribute.
061:             * <!-- begin-user-doc -->
062:             * <!-- end-user-doc -->
063:             * @see #getEndPointName()
064:             * @generated
065:             * @ordered
066:             */
067:            protected String endPointName = END_POINT_NAME_EDEFAULT;
068:
069:            /**
070:             * The default value of the '{@link #getCharset() <em>Charset</em>}' attribute.
071:             * <!-- begin-user-doc -->
072:             * <!-- end-user-doc -->
073:             * @see #getCharset()
074:             * @generated
075:             * @ordered
076:             */
077:            protected static final String CHARSET_EDEFAULT = "SYSTEM_DEFAULT";
078:
079:            /**
080:             * The cached value of the '{@link #getCharset() <em>Charset</em>}' attribute.
081:             * <!-- begin-user-doc -->
082:             * <!-- end-user-doc -->
083:             * @see #getCharset()
084:             * @generated
085:             * @ordered
086:             */
087:            protected String charset = CHARSET_EDEFAULT;
088:
089:            /**
090:             * The default value of the '{@link #getRecordType() <em>Record Type</em>}' attribute.
091:             * <!-- begin-user-doc -->
092:             * <!-- end-user-doc -->
093:             * @see #getRecordType()
094:             * @generated
095:             * @ordered
096:             */
097:            protected static final RecordTypeType RECORD_TYPE_EDEFAULT = RecordTypeType.STRING_LITERAL;
098:
099:            /**
100:             * The cached value of the '{@link #getRecordType() <em>Record Type</em>}' attribute.
101:             * <!-- begin-user-doc -->
102:             * <!-- end-user-doc -->
103:             * @see #getRecordType()
104:             * @generated
105:             * @ordered
106:             */
107:            protected RecordTypeType recordType = RECORD_TYPE_EDEFAULT;
108:
109:            /**
110:             * The default value of the '{@link #getFrom() <em>From</em>}' attribute.
111:             * <!-- begin-user-doc -->
112:             * <!-- end-user-doc -->
113:             * @see #getFrom()
114:             * @generated
115:             * @ordered
116:             */
117:            protected static final String FROM_EDEFAULT = null;
118:
119:            /**
120:             * The cached value of the '{@link #getFrom() <em>From</em>}' attribute.
121:             * <!-- begin-user-doc -->
122:             * <!-- end-user-doc -->
123:             * @see #getFrom()
124:             * @generated
125:             * @ordered
126:             */
127:            protected String from = FROM_EDEFAULT;
128:
129:            /**
130:             * The default value of the '{@link #getTo() <em>To</em>}' attribute.
131:             * <!-- begin-user-doc -->
132:             * <!-- end-user-doc -->
133:             * @see #getTo()
134:             * @generated
135:             * @ordered
136:             */
137:            protected static final String TO_EDEFAULT = null;
138:
139:            /**
140:             * The cached value of the '{@link #getTo() <em>To</em>}' attribute.
141:             * <!-- begin-user-doc -->
142:             * <!-- end-user-doc -->
143:             * @see #getTo()
144:             * @generated
145:             * @ordered
146:             */
147:            protected String to = TO_EDEFAULT;
148:
149:            /**
150:             * The default value of the '{@link #getCc() <em>Cc</em>}' attribute.
151:             * <!-- begin-user-doc -->
152:             * <!-- end-user-doc -->
153:             * @see #getCc()
154:             * @generated
155:             * @ordered
156:             */
157:            protected static final String CC_EDEFAULT = null;
158:
159:            /**
160:             * The cached value of the '{@link #getCc() <em>Cc</em>}' attribute.
161:             * <!-- begin-user-doc -->
162:             * <!-- end-user-doc -->
163:             * @see #getCc()
164:             * @generated
165:             * @ordered
166:             */
167:            protected String cc = CC_EDEFAULT;
168:
169:            /**
170:             * The default value of the '{@link #getBcc() <em>Bcc</em>}' attribute.
171:             * <!-- begin-user-doc -->
172:             * <!-- end-user-doc -->
173:             * @see #getBcc()
174:             * @generated
175:             * @ordered
176:             */
177:            protected static final String BCC_EDEFAULT = null;
178:
179:            /**
180:             * The cached value of the '{@link #getBcc() <em>Bcc</em>}' attribute.
181:             * <!-- begin-user-doc -->
182:             * <!-- end-user-doc -->
183:             * @see #getBcc()
184:             * @generated
185:             * @ordered
186:             */
187:            protected String bcc = BCC_EDEFAULT;
188:
189:            /**
190:             * The default value of the '{@link #getSubject() <em>Subject</em>}' attribute.
191:             * <!-- begin-user-doc -->
192:             * <!-- end-user-doc -->
193:             * @see #getSubject()
194:             * @generated
195:             * @ordered
196:             */
197:            protected static final String SUBJECT_EDEFAULT = null;
198:
199:            /**
200:             * The cached value of the '{@link #getSubject() <em>Subject</em>}' attribute.
201:             * <!-- begin-user-doc -->
202:             * <!-- end-user-doc -->
203:             * @see #getSubject()
204:             * @generated
205:             * @ordered
206:             */
207:            protected String subject = SUBJECT_EDEFAULT;
208:
209:            /**
210:             * <!-- begin-user-doc -->
211:             * <!-- end-user-doc -->
212:             * @generated
213:             */
214:            protected EmailProviderImpl() {
215:                super ();
216:            }
217:
218:            /**
219:             * <!-- begin-user-doc -->
220:             * <!-- end-user-doc -->
221:             * @generated
222:             */
223:            protected EClass eStaticClass() {
224:                return componentflowPackage.Literals.EMAIL_PROVIDER;
225:            }
226:
227:            /**
228:             * <!-- begin-user-doc -->
229:             * <!-- end-user-doc -->
230:             * @generated
231:             */
232:            public String getEndPointName() {
233:                return endPointName;
234:            }
235:
236:            /**
237:             * <!-- begin-user-doc -->
238:             * <!-- end-user-doc -->
239:             * @generated
240:             */
241:            public void setEndPointName(String newEndPointName) {
242:                String oldEndPointName = endPointName;
243:                endPointName = newEndPointName;
244:                if (eNotificationRequired())
245:                    eNotify(new ENotificationImpl(
246:                            this ,
247:                            Notification.SET,
248:                            componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME,
249:                            oldEndPointName, endPointName));
250:            }
251:
252:            /**
253:             * <!-- begin-user-doc -->
254:             * <!-- end-user-doc -->
255:             * @generated
256:             */
257:            public String getCharset() {
258:                return charset;
259:            }
260:
261:            /**
262:             * <!-- begin-user-doc -->
263:             * <!-- end-user-doc -->
264:             * @generated
265:             */
266:            public void setCharset(String newCharset) {
267:                String oldCharset = charset;
268:                charset = newCharset;
269:                if (eNotificationRequired())
270:                    eNotify(new ENotificationImpl(this , Notification.SET,
271:                            componentflowPackage.EMAIL_PROVIDER__CHARSET,
272:                            oldCharset, charset));
273:            }
274:
275:            /**
276:             * <!-- begin-user-doc -->
277:             * <!-- end-user-doc -->
278:             * @generated
279:             */
280:            public RecordTypeType getRecordType() {
281:                return recordType;
282:            }
283:
284:            /**
285:             * <!-- begin-user-doc -->
286:             * <!-- end-user-doc -->
287:             * @generated
288:             */
289:            public void setRecordType(RecordTypeType newRecordType) {
290:                RecordTypeType oldRecordType = recordType;
291:                recordType = newRecordType == null ? RECORD_TYPE_EDEFAULT
292:                        : newRecordType;
293:                if (eNotificationRequired())
294:                    eNotify(new ENotificationImpl(this , Notification.SET,
295:                            componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE,
296:                            oldRecordType, recordType));
297:            }
298:
299:            /**
300:             * <!-- begin-user-doc -->
301:             * <!-- end-user-doc -->
302:             * @generated
303:             */
304:            public String getFrom() {
305:                return from;
306:            }
307:
308:            /**
309:             * <!-- begin-user-doc -->
310:             * <!-- end-user-doc -->
311:             * @generated
312:             */
313:            public void setFrom(String newFrom) {
314:                String oldFrom = from;
315:                from = newFrom;
316:                if (eNotificationRequired())
317:                    eNotify(new ENotificationImpl(this , Notification.SET,
318:                            componentflowPackage.EMAIL_PROVIDER__FROM, oldFrom,
319:                            from));
320:            }
321:
322:            /**
323:             * <!-- begin-user-doc -->
324:             * <!-- end-user-doc -->
325:             * @generated
326:             */
327:            public String getTo() {
328:                return to;
329:            }
330:
331:            /**
332:             * <!-- begin-user-doc -->
333:             * <!-- end-user-doc -->
334:             * @generated
335:             */
336:            public void setTo(String newTo) {
337:                String oldTo = to;
338:                to = newTo;
339:                if (eNotificationRequired())
340:                    eNotify(new ENotificationImpl(this , Notification.SET,
341:                            componentflowPackage.EMAIL_PROVIDER__TO, oldTo, to));
342:            }
343:
344:            /**
345:             * <!-- begin-user-doc -->
346:             * <!-- end-user-doc -->
347:             * @generated
348:             */
349:            public String getCc() {
350:                return cc;
351:            }
352:
353:            /**
354:             * <!-- begin-user-doc -->
355:             * <!-- end-user-doc -->
356:             * @generated
357:             */
358:            public void setCc(String newCc) {
359:                String oldCc = cc;
360:                cc = newCc;
361:                if (eNotificationRequired())
362:                    eNotify(new ENotificationImpl(this , Notification.SET,
363:                            componentflowPackage.EMAIL_PROVIDER__CC, oldCc, cc));
364:            }
365:
366:            /**
367:             * <!-- begin-user-doc -->
368:             * <!-- end-user-doc -->
369:             * @generated
370:             */
371:            public String getBcc() {
372:                return bcc;
373:            }
374:
375:            /**
376:             * <!-- begin-user-doc -->
377:             * <!-- end-user-doc -->
378:             * @generated
379:             */
380:            public void setBcc(String newBcc) {
381:                String oldBcc = bcc;
382:                bcc = newBcc;
383:                if (eNotificationRequired())
384:                    eNotify(new ENotificationImpl(this , Notification.SET,
385:                            componentflowPackage.EMAIL_PROVIDER__BCC, oldBcc,
386:                            bcc));
387:            }
388:
389:            /**
390:             * <!-- begin-user-doc -->
391:             * <!-- end-user-doc -->
392:             * @generated
393:             */
394:            public String getSubject() {
395:                return subject;
396:            }
397:
398:            /**
399:             * <!-- begin-user-doc -->
400:             * <!-- end-user-doc -->
401:             * @generated
402:             */
403:            public void setSubject(String newSubject) {
404:                String oldSubject = subject;
405:                subject = newSubject;
406:                if (eNotificationRequired())
407:                    eNotify(new ENotificationImpl(this , Notification.SET,
408:                            componentflowPackage.EMAIL_PROVIDER__SUBJECT,
409:                            oldSubject, subject));
410:            }
411:
412:            /**
413:             * <!-- begin-user-doc -->
414:             * <!-- end-user-doc -->
415:             * @generated
416:             */
417:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
418:                switch (featureID) {
419:                case componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME:
420:                    return getEndPointName();
421:                case componentflowPackage.EMAIL_PROVIDER__CHARSET:
422:                    return getCharset();
423:                case componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE:
424:                    return getRecordType();
425:                case componentflowPackage.EMAIL_PROVIDER__FROM:
426:                    return getFrom();
427:                case componentflowPackage.EMAIL_PROVIDER__TO:
428:                    return getTo();
429:                case componentflowPackage.EMAIL_PROVIDER__CC:
430:                    return getCc();
431:                case componentflowPackage.EMAIL_PROVIDER__BCC:
432:                    return getBcc();
433:                case componentflowPackage.EMAIL_PROVIDER__SUBJECT:
434:                    return getSubject();
435:                }
436:                return super .eGet(featureID, resolve, coreType);
437:            }
438:
439:            /**
440:             * <!-- begin-user-doc -->
441:             * <!-- end-user-doc -->
442:             * @generated
443:             */
444:            public void eSet(int featureID, Object newValue) {
445:                switch (featureID) {
446:                case componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME:
447:                    setEndPointName((String) newValue);
448:                    return;
449:                case componentflowPackage.EMAIL_PROVIDER__CHARSET:
450:                    setCharset((String) newValue);
451:                    return;
452:                case componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE:
453:                    setRecordType((RecordTypeType) newValue);
454:                    return;
455:                case componentflowPackage.EMAIL_PROVIDER__FROM:
456:                    setFrom((String) newValue);
457:                    return;
458:                case componentflowPackage.EMAIL_PROVIDER__TO:
459:                    setTo((String) newValue);
460:                    return;
461:                case componentflowPackage.EMAIL_PROVIDER__CC:
462:                    setCc((String) newValue);
463:                    return;
464:                case componentflowPackage.EMAIL_PROVIDER__BCC:
465:                    setBcc((String) newValue);
466:                    return;
467:                case componentflowPackage.EMAIL_PROVIDER__SUBJECT:
468:                    setSubject((String) newValue);
469:                    return;
470:                }
471:                super .eSet(featureID, newValue);
472:            }
473:
474:            /**
475:             * <!-- begin-user-doc -->
476:             * <!-- end-user-doc -->
477:             * @generated
478:             */
479:            public void eUnset(int featureID) {
480:                switch (featureID) {
481:                case componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME:
482:                    setEndPointName(END_POINT_NAME_EDEFAULT);
483:                    return;
484:                case componentflowPackage.EMAIL_PROVIDER__CHARSET:
485:                    setCharset(CHARSET_EDEFAULT);
486:                    return;
487:                case componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE:
488:                    setRecordType(RECORD_TYPE_EDEFAULT);
489:                    return;
490:                case componentflowPackage.EMAIL_PROVIDER__FROM:
491:                    setFrom(FROM_EDEFAULT);
492:                    return;
493:                case componentflowPackage.EMAIL_PROVIDER__TO:
494:                    setTo(TO_EDEFAULT);
495:                    return;
496:                case componentflowPackage.EMAIL_PROVIDER__CC:
497:                    setCc(CC_EDEFAULT);
498:                    return;
499:                case componentflowPackage.EMAIL_PROVIDER__BCC:
500:                    setBcc(BCC_EDEFAULT);
501:                    return;
502:                case componentflowPackage.EMAIL_PROVIDER__SUBJECT:
503:                    setSubject(SUBJECT_EDEFAULT);
504:                    return;
505:                }
506:                super .eUnset(featureID);
507:            }
508:
509:            /**
510:             * <!-- begin-user-doc -->
511:             * <!-- end-user-doc -->
512:             * @generated
513:             */
514:            public boolean eIsSet(int featureID) {
515:                switch (featureID) {
516:                case componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME:
517:                    return END_POINT_NAME_EDEFAULT == null ? endPointName != null
518:                            : !END_POINT_NAME_EDEFAULT.equals(endPointName);
519:                case componentflowPackage.EMAIL_PROVIDER__CHARSET:
520:                    return CHARSET_EDEFAULT == null ? charset != null
521:                            : !CHARSET_EDEFAULT.equals(charset);
522:                case componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE:
523:                    return recordType != RECORD_TYPE_EDEFAULT;
524:                case componentflowPackage.EMAIL_PROVIDER__FROM:
525:                    return FROM_EDEFAULT == null ? from != null
526:                            : !FROM_EDEFAULT.equals(from);
527:                case componentflowPackage.EMAIL_PROVIDER__TO:
528:                    return TO_EDEFAULT == null ? to != null : !TO_EDEFAULT
529:                            .equals(to);
530:                case componentflowPackage.EMAIL_PROVIDER__CC:
531:                    return CC_EDEFAULT == null ? cc != null : !CC_EDEFAULT
532:                            .equals(cc);
533:                case componentflowPackage.EMAIL_PROVIDER__BCC:
534:                    return BCC_EDEFAULT == null ? bcc != null : !BCC_EDEFAULT
535:                            .equals(bcc);
536:                case componentflowPackage.EMAIL_PROVIDER__SUBJECT:
537:                    return SUBJECT_EDEFAULT == null ? subject != null
538:                            : !SUBJECT_EDEFAULT.equals(subject);
539:                }
540:                return super .eIsSet(featureID);
541:            }
542:
543:            /**
544:             * <!-- begin-user-doc -->
545:             * <!-- end-user-doc -->
546:             * @generated
547:             */
548:            public int eBaseStructuralFeatureID(int derivedFeatureID,
549:                    Class baseClass) {
550:                if (baseClass == EndPoint.class) {
551:                    switch (derivedFeatureID) {
552:                    case componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME:
553:                        return componentflowPackage.END_POINT__END_POINT_NAME;
554:                    case componentflowPackage.EMAIL_PROVIDER__CHARSET:
555:                        return componentflowPackage.END_POINT__CHARSET;
556:                    case componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE:
557:                        return componentflowPackage.END_POINT__RECORD_TYPE;
558:                    default:
559:                        return -1;
560:                    }
561:                }
562:                if (baseClass == Provider.class) {
563:                    switch (derivedFeatureID) {
564:                    default:
565:                        return -1;
566:                    }
567:                }
568:                return super .eBaseStructuralFeatureID(derivedFeatureID,
569:                        baseClass);
570:            }
571:
572:            /**
573:             * <!-- begin-user-doc -->
574:             * <!-- end-user-doc -->
575:             * @generated
576:             */
577:            public int eDerivedStructuralFeatureID(int baseFeatureID,
578:                    Class baseClass) {
579:                if (baseClass == EndPoint.class) {
580:                    switch (baseFeatureID) {
581:                    case componentflowPackage.END_POINT__END_POINT_NAME:
582:                        return componentflowPackage.EMAIL_PROVIDER__END_POINT_NAME;
583:                    case componentflowPackage.END_POINT__CHARSET:
584:                        return componentflowPackage.EMAIL_PROVIDER__CHARSET;
585:                    case componentflowPackage.END_POINT__RECORD_TYPE:
586:                        return componentflowPackage.EMAIL_PROVIDER__RECORD_TYPE;
587:                    default:
588:                        return -1;
589:                    }
590:                }
591:                if (baseClass == Provider.class) {
592:                    switch (baseFeatureID) {
593:                    default:
594:                        return -1;
595:                    }
596:                }
597:                return super .eDerivedStructuralFeatureID(baseFeatureID,
598:                        baseClass);
599:            }
600:
601:            /**
602:             * <!-- begin-user-doc -->
603:             * <!-- end-user-doc -->
604:             * @generated
605:             */
606:            public String toString() {
607:                if (eIsProxy())
608:                    return super .toString();
609:
610:                StringBuffer result = new StringBuffer(super .toString());
611:                result.append(" (endPointName: ");
612:                result.append(endPointName);
613:                result.append(", charset: ");
614:                result.append(charset);
615:                result.append(", recordType: ");
616:                result.append(recordType);
617:                result.append(", from: ");
618:                result.append(from);
619:                result.append(", to: ");
620:                result.append(to);
621:                result.append(", cc: ");
622:                result.append(cc);
623:                result.append(", bcc: ");
624:                result.append(bcc);
625:                result.append(", subject: ");
626:                result.append(subject);
627:                result.append(')');
628:                return result.toString();
629:            }
630:
631:        } //EmailProviderImpl
w___w__w__.__ja___v__a___2__s__._c___om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.