Source Code Cross Referenced for CCSLImpl.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.CCSL;
009:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Upoc;
010:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
011:
012:        import org.eclipse.emf.common.notify.Notification;
013:        import org.eclipse.emf.common.notify.NotificationChain;
014:
015:        import org.eclipse.emf.ecore.EClass;
016:        import org.eclipse.emf.ecore.InternalEObject;
017:
018:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
019:        import org.eclipse.emf.ecore.impl.EObjectImpl;
020:
021:        /**
022:         * <!-- begin-user-doc -->
023:         * An implementation of the model object '<em><b>CCSL</b></em>'.
024:         * <!-- end-user-doc -->
025:         * <p>
026:         * The following features are implemented:
027:         * <ul>
028:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getAddRecord <em>Add Record</em>}</li>
029:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getStripRecord <em>Strip Record</em>}</li>
030:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getSaveErrors <em>Save Errors</em>}</li>
031:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getUseUpoc <em>Use Upoc</em>}</li>
032:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getUseSendMessage <em>Use Send Message</em>}</li>
033:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.CCSLImpl#getUpoc <em>Upoc</em>}</li>
034:         * </ul>
035:         * </p>
036:         *
037:         * @generated
038:         */
039:        public abstract class CCSLImpl extends EObjectImpl implements  CCSL {
040:            /**
041:             * <!-- begin-user-doc -->
042:             * <!-- end-user-doc -->
043:             * @generated
044:             */
045:            public static final String copyright = "Copyright, Bostech Corp.";
046:
047:            /**
048:             * The default value of the '{@link #getAddRecord() <em>Add Record</em>}' attribute.
049:             * <!-- begin-user-doc -->
050:             * <!-- end-user-doc -->
051:             * @see #getAddRecord()
052:             * @generated
053:             * @ordered
054:             */
055:            protected static final Boolean ADD_RECORD_EDEFAULT = Boolean.FALSE;
056:
057:            /**
058:             * The cached value of the '{@link #getAddRecord() <em>Add Record</em>}' attribute.
059:             * <!-- begin-user-doc -->
060:             * <!-- end-user-doc -->
061:             * @see #getAddRecord()
062:             * @generated
063:             * @ordered
064:             */
065:            protected Boolean addRecord = ADD_RECORD_EDEFAULT;
066:
067:            /**
068:             * The default value of the '{@link #getStripRecord() <em>Strip Record</em>}' attribute.
069:             * <!-- begin-user-doc -->
070:             * <!-- end-user-doc -->
071:             * @see #getStripRecord()
072:             * @generated
073:             * @ordered
074:             */
075:            protected static final Boolean STRIP_RECORD_EDEFAULT = Boolean.FALSE;
076:
077:            /**
078:             * The cached value of the '{@link #getStripRecord() <em>Strip Record</em>}' attribute.
079:             * <!-- begin-user-doc -->
080:             * <!-- end-user-doc -->
081:             * @see #getStripRecord()
082:             * @generated
083:             * @ordered
084:             */
085:            protected Boolean stripRecord = STRIP_RECORD_EDEFAULT;
086:
087:            /**
088:             * The default value of the '{@link #getSaveErrors() <em>Save Errors</em>}' attribute.
089:             * <!-- begin-user-doc -->
090:             * <!-- end-user-doc -->
091:             * @see #getSaveErrors()
092:             * @generated
093:             * @ordered
094:             */
095:            protected static final Boolean SAVE_ERRORS_EDEFAULT = Boolean.TRUE;
096:
097:            /**
098:             * The cached value of the '{@link #getSaveErrors() <em>Save Errors</em>}' attribute.
099:             * <!-- begin-user-doc -->
100:             * <!-- end-user-doc -->
101:             * @see #getSaveErrors()
102:             * @generated
103:             * @ordered
104:             */
105:            protected Boolean saveErrors = SAVE_ERRORS_EDEFAULT;
106:
107:            /**
108:             * The default value of the '{@link #getUseUpoc() <em>Use Upoc</em>}' attribute.
109:             * <!-- begin-user-doc -->
110:             * <!-- end-user-doc -->
111:             * @see #getUseUpoc()
112:             * @generated
113:             * @ordered
114:             */
115:            protected static final Boolean USE_UPOC_EDEFAULT = Boolean.FALSE;
116:
117:            /**
118:             * The cached value of the '{@link #getUseUpoc() <em>Use Upoc</em>}' attribute.
119:             * <!-- begin-user-doc -->
120:             * <!-- end-user-doc -->
121:             * @see #getUseUpoc()
122:             * @generated
123:             * @ordered
124:             */
125:            protected Boolean useUpoc = USE_UPOC_EDEFAULT;
126:
127:            /**
128:             * The default value of the '{@link #getUseSendMessage() <em>Use Send Message</em>}' attribute.
129:             * <!-- begin-user-doc -->
130:             * <!-- end-user-doc -->
131:             * @see #getUseSendMessage()
132:             * @generated
133:             * @ordered
134:             */
135:            protected static final Boolean USE_SEND_MESSAGE_EDEFAULT = Boolean.FALSE;
136:
137:            /**
138:             * The cached value of the '{@link #getUseSendMessage() <em>Use Send Message</em>}' attribute.
139:             * <!-- begin-user-doc -->
140:             * <!-- end-user-doc -->
141:             * @see #getUseSendMessage()
142:             * @generated
143:             * @ordered
144:             */
145:            protected Boolean useSendMessage = USE_SEND_MESSAGE_EDEFAULT;
146:
147:            /**
148:             * The cached value of the '{@link #getUpoc() <em>Upoc</em>}' containment reference.
149:             * <!-- begin-user-doc -->
150:             * <!-- end-user-doc -->
151:             * @see #getUpoc()
152:             * @generated
153:             * @ordered
154:             */
155:            protected Upoc upoc = null;
156:
157:            /**
158:             * <!-- begin-user-doc -->
159:             * <!-- end-user-doc -->
160:             * @generated
161:             */
162:            protected CCSLImpl() {
163:                super ();
164:            }
165:
166:            /**
167:             * <!-- begin-user-doc -->
168:             * <!-- end-user-doc -->
169:             * @generated
170:             */
171:            protected EClass eStaticClass() {
172:                return componentflowPackage.Literals.CCSL;
173:            }
174:
175:            /**
176:             * <!-- begin-user-doc -->
177:             * <!-- end-user-doc -->
178:             * @generated
179:             */
180:            public Boolean getAddRecord() {
181:                return addRecord;
182:            }
183:
184:            /**
185:             * <!-- begin-user-doc -->
186:             * <!-- end-user-doc -->
187:             * @generated
188:             */
189:            public void setAddRecord(Boolean newAddRecord) {
190:                Boolean oldAddRecord = addRecord;
191:                addRecord = newAddRecord;
192:                if (eNotificationRequired())
193:                    eNotify(new ENotificationImpl(this , Notification.SET,
194:                            componentflowPackage.CCSL__ADD_RECORD,
195:                            oldAddRecord, addRecord));
196:            }
197:
198:            /**
199:             * <!-- begin-user-doc -->
200:             * <!-- end-user-doc -->
201:             * @generated
202:             */
203:            public Boolean getStripRecord() {
204:                return stripRecord;
205:            }
206:
207:            /**
208:             * <!-- begin-user-doc -->
209:             * <!-- end-user-doc -->
210:             * @generated
211:             */
212:            public void setStripRecord(Boolean newStripRecord) {
213:                Boolean oldStripRecord = stripRecord;
214:                stripRecord = newStripRecord;
215:                if (eNotificationRequired())
216:                    eNotify(new ENotificationImpl(this , Notification.SET,
217:                            componentflowPackage.CCSL__STRIP_RECORD,
218:                            oldStripRecord, stripRecord));
219:            }
220:
221:            /**
222:             * <!-- begin-user-doc -->
223:             * <!-- end-user-doc -->
224:             * @generated
225:             */
226:            public Boolean getSaveErrors() {
227:                return saveErrors;
228:            }
229:
230:            /**
231:             * <!-- begin-user-doc -->
232:             * <!-- end-user-doc -->
233:             * @generated
234:             */
235:            public void setSaveErrors(Boolean newSaveErrors) {
236:                Boolean oldSaveErrors = saveErrors;
237:                saveErrors = newSaveErrors;
238:                if (eNotificationRequired())
239:                    eNotify(new ENotificationImpl(this , Notification.SET,
240:                            componentflowPackage.CCSL__SAVE_ERRORS,
241:                            oldSaveErrors, saveErrors));
242:            }
243:
244:            /**
245:             * <!-- begin-user-doc -->
246:             * <!-- end-user-doc -->
247:             * @generated
248:             */
249:            public Boolean getUseUpoc() {
250:                return useUpoc;
251:            }
252:
253:            /**
254:             * <!-- begin-user-doc -->
255:             * <!-- end-user-doc -->
256:             * @generated
257:             */
258:            public void setUseUpoc(Boolean newUseUpoc) {
259:                Boolean oldUseUpoc = useUpoc;
260:                useUpoc = newUseUpoc;
261:                if (eNotificationRequired())
262:                    eNotify(new ENotificationImpl(this , Notification.SET,
263:                            componentflowPackage.CCSL__USE_UPOC, oldUseUpoc,
264:                            useUpoc));
265:            }
266:
267:            /**
268:             * <!-- begin-user-doc -->
269:             * <!-- end-user-doc -->
270:             * @generated
271:             */
272:            public Boolean getUseSendMessage() {
273:                return useSendMessage;
274:            }
275:
276:            /**
277:             * <!-- begin-user-doc -->
278:             * <!-- end-user-doc -->
279:             * @generated
280:             */
281:            public void setUseSendMessage(Boolean newUseSendMessage) {
282:                Boolean oldUseSendMessage = useSendMessage;
283:                useSendMessage = newUseSendMessage;
284:                if (eNotificationRequired())
285:                    eNotify(new ENotificationImpl(this , Notification.SET,
286:                            componentflowPackage.CCSL__USE_SEND_MESSAGE,
287:                            oldUseSendMessage, useSendMessage));
288:            }
289:
290:            /**
291:             * <!-- begin-user-doc -->
292:             * <!-- end-user-doc -->
293:             * @generated
294:             */
295:            public Upoc getUpoc() {
296:                return upoc;
297:            }
298:
299:            /**
300:             * <!-- begin-user-doc -->
301:             * <!-- end-user-doc -->
302:             * @generated
303:             */
304:            public NotificationChain basicSetUpoc(Upoc newUpoc,
305:                    NotificationChain msgs) {
306:                Upoc oldUpoc = upoc;
307:                upoc = newUpoc;
308:                if (eNotificationRequired()) {
309:                    ENotificationImpl notification = new ENotificationImpl(
310:                            this , Notification.SET,
311:                            componentflowPackage.CCSL__UPOC, oldUpoc, newUpoc);
312:                    if (msgs == null)
313:                        msgs = notification;
314:                    else
315:                        msgs.add(notification);
316:                }
317:                return msgs;
318:            }
319:
320:            /**
321:             * <!-- begin-user-doc -->
322:             * <!-- end-user-doc -->
323:             * @generated
324:             */
325:            public void setUpoc(Upoc newUpoc) {
326:                if (newUpoc != upoc) {
327:                    NotificationChain msgs = null;
328:                    if (upoc != null)
329:                        msgs = ((InternalEObject) upoc).eInverseRemove(this ,
330:                                EOPPOSITE_FEATURE_BASE
331:                                        - componentflowPackage.CCSL__UPOC,
332:                                null, msgs);
333:                    if (newUpoc != null)
334:                        msgs = ((InternalEObject) newUpoc).eInverseAdd(this ,
335:                                EOPPOSITE_FEATURE_BASE
336:                                        - componentflowPackage.CCSL__UPOC,
337:                                null, msgs);
338:                    msgs = basicSetUpoc(newUpoc, msgs);
339:                    if (msgs != null)
340:                        msgs.dispatch();
341:                } else if (eNotificationRequired())
342:                    eNotify(new ENotificationImpl(this , Notification.SET,
343:                            componentflowPackage.CCSL__UPOC, newUpoc, newUpoc));
344:            }
345:
346:            /**
347:             * <!-- begin-user-doc -->
348:             * <!-- end-user-doc -->
349:             * @generated
350:             */
351:            public NotificationChain eInverseRemove(InternalEObject otherEnd,
352:                    int featureID, NotificationChain msgs) {
353:                switch (featureID) {
354:                case componentflowPackage.CCSL__UPOC:
355:                    return basicSetUpoc(null, msgs);
356:                }
357:                return super .eInverseRemove(otherEnd, featureID, msgs);
358:            }
359:
360:            /**
361:             * <!-- begin-user-doc -->
362:             * <!-- end-user-doc -->
363:             * @generated
364:             */
365:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
366:                switch (featureID) {
367:                case componentflowPackage.CCSL__ADD_RECORD:
368:                    return getAddRecord();
369:                case componentflowPackage.CCSL__STRIP_RECORD:
370:                    return getStripRecord();
371:                case componentflowPackage.CCSL__SAVE_ERRORS:
372:                    return getSaveErrors();
373:                case componentflowPackage.CCSL__USE_UPOC:
374:                    return getUseUpoc();
375:                case componentflowPackage.CCSL__USE_SEND_MESSAGE:
376:                    return getUseSendMessage();
377:                case componentflowPackage.CCSL__UPOC:
378:                    return getUpoc();
379:                }
380:                return super .eGet(featureID, resolve, coreType);
381:            }
382:
383:            /**
384:             * <!-- begin-user-doc -->
385:             * <!-- end-user-doc -->
386:             * @generated
387:             */
388:            public void eSet(int featureID, Object newValue) {
389:                switch (featureID) {
390:                case componentflowPackage.CCSL__ADD_RECORD:
391:                    setAddRecord((Boolean) newValue);
392:                    return;
393:                case componentflowPackage.CCSL__STRIP_RECORD:
394:                    setStripRecord((Boolean) newValue);
395:                    return;
396:                case componentflowPackage.CCSL__SAVE_ERRORS:
397:                    setSaveErrors((Boolean) newValue);
398:                    return;
399:                case componentflowPackage.CCSL__USE_UPOC:
400:                    setUseUpoc((Boolean) newValue);
401:                    return;
402:                case componentflowPackage.CCSL__USE_SEND_MESSAGE:
403:                    setUseSendMessage((Boolean) newValue);
404:                    return;
405:                case componentflowPackage.CCSL__UPOC:
406:                    setUpoc((Upoc) newValue);
407:                    return;
408:                }
409:                super .eSet(featureID, newValue);
410:            }
411:
412:            /**
413:             * <!-- begin-user-doc -->
414:             * <!-- end-user-doc -->
415:             * @generated
416:             */
417:            public void eUnset(int featureID) {
418:                switch (featureID) {
419:                case componentflowPackage.CCSL__ADD_RECORD:
420:                    setAddRecord(ADD_RECORD_EDEFAULT);
421:                    return;
422:                case componentflowPackage.CCSL__STRIP_RECORD:
423:                    setStripRecord(STRIP_RECORD_EDEFAULT);
424:                    return;
425:                case componentflowPackage.CCSL__SAVE_ERRORS:
426:                    setSaveErrors(SAVE_ERRORS_EDEFAULT);
427:                    return;
428:                case componentflowPackage.CCSL__USE_UPOC:
429:                    setUseUpoc(USE_UPOC_EDEFAULT);
430:                    return;
431:                case componentflowPackage.CCSL__USE_SEND_MESSAGE:
432:                    setUseSendMessage(USE_SEND_MESSAGE_EDEFAULT);
433:                    return;
434:                case componentflowPackage.CCSL__UPOC:
435:                    setUpoc((Upoc) null);
436:                    return;
437:                }
438:                super .eUnset(featureID);
439:            }
440:
441:            /**
442:             * <!-- begin-user-doc -->
443:             * <!-- end-user-doc -->
444:             * @generated
445:             */
446:            public boolean eIsSet(int featureID) {
447:                switch (featureID) {
448:                case componentflowPackage.CCSL__ADD_RECORD:
449:                    return ADD_RECORD_EDEFAULT == null ? addRecord != null
450:                            : !ADD_RECORD_EDEFAULT.equals(addRecord);
451:                case componentflowPackage.CCSL__STRIP_RECORD:
452:                    return STRIP_RECORD_EDEFAULT == null ? stripRecord != null
453:                            : !STRIP_RECORD_EDEFAULT.equals(stripRecord);
454:                case componentflowPackage.CCSL__SAVE_ERRORS:
455:                    return SAVE_ERRORS_EDEFAULT == null ? saveErrors != null
456:                            : !SAVE_ERRORS_EDEFAULT.equals(saveErrors);
457:                case componentflowPackage.CCSL__USE_UPOC:
458:                    return USE_UPOC_EDEFAULT == null ? useUpoc != null
459:                            : !USE_UPOC_EDEFAULT.equals(useUpoc);
460:                case componentflowPackage.CCSL__USE_SEND_MESSAGE:
461:                    return USE_SEND_MESSAGE_EDEFAULT == null ? useSendMessage != null
462:                            : !USE_SEND_MESSAGE_EDEFAULT.equals(useSendMessage);
463:                case componentflowPackage.CCSL__UPOC:
464:                    return upoc != null;
465:                }
466:                return super .eIsSet(featureID);
467:            }
468:
469:            /**
470:             * <!-- begin-user-doc -->
471:             * <!-- end-user-doc -->
472:             * @generated
473:             */
474:            public String toString() {
475:                if (eIsProxy())
476:                    return super .toString();
477:
478:                StringBuffer result = new StringBuffer(super .toString());
479:                result.append(" (addRecord: ");
480:                result.append(addRecord);
481:                result.append(", stripRecord: ");
482:                result.append(stripRecord);
483:                result.append(", saveErrors: ");
484:                result.append(saveErrors);
485:                result.append(", useUpoc: ");
486:                result.append(useUpoc);
487:                result.append(", useSendMessage: ");
488:                result.append(useSendMessage);
489:                result.append(')');
490:                return result.toString();
491:            }
492:
493:        } //CCSLImpl
ww__w._ja__v_a_2_s___.co___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.