Source Code Cross Referenced for StandardScheduleImpl.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.StandardSchedule;
009:        import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
010:
011:        import org.eclipse.emf.common.notify.Notification;
012:
013:        import org.eclipse.emf.ecore.EClass;
014:
015:        import org.eclipse.emf.ecore.impl.ENotificationImpl;
016:
017:        /**
018:         * <!-- begin-user-doc -->
019:         * An implementation of the model object '<em><b>Standard Schedule</b></em>'.
020:         * <!-- end-user-doc -->
021:         * <p>
022:         * The following features are implemented:
023:         * <ul>
024:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.StandardScheduleImpl#getSeconds <em>Seconds</em>}</li>
025:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.StandardScheduleImpl#getMinutes <em>Minutes</em>}</li>
026:         *   <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.StandardScheduleImpl#getHours <em>Hours</em>}</li>
027:         * </ul>
028:         * </p>
029:         *
030:         * @generated
031:         */
032:        public class StandardScheduleImpl extends CommonScheduleImpl implements 
033:                StandardSchedule {
034:            /**
035:             * <!-- begin-user-doc -->
036:             * <!-- end-user-doc -->
037:             * @generated
038:             */
039:            public static final String copyright = "Copyright, Bostech Corp.";
040:
041:            /**
042:             * The default value of the '{@link #getSeconds() <em>Seconds</em>}' attribute.
043:             * <!-- begin-user-doc -->
044:             * <!-- end-user-doc -->
045:             * @see #getSeconds()
046:             * @generated
047:             * @ordered
048:             */
049:            protected static final String SECONDS_EDEFAULT = null;
050:
051:            /**
052:             * The cached value of the '{@link #getSeconds() <em>Seconds</em>}' attribute.
053:             * <!-- begin-user-doc -->
054:             * <!-- end-user-doc -->
055:             * @see #getSeconds()
056:             * @generated
057:             * @ordered
058:             */
059:            protected String seconds = SECONDS_EDEFAULT;
060:
061:            /**
062:             * The default value of the '{@link #getMinutes() <em>Minutes</em>}' attribute.
063:             * <!-- begin-user-doc -->
064:             * <!-- end-user-doc -->
065:             * @see #getMinutes()
066:             * @generated
067:             * @ordered
068:             */
069:            protected static final String MINUTES_EDEFAULT = null;
070:
071:            /**
072:             * The cached value of the '{@link #getMinutes() <em>Minutes</em>}' attribute.
073:             * <!-- begin-user-doc -->
074:             * <!-- end-user-doc -->
075:             * @see #getMinutes()
076:             * @generated
077:             * @ordered
078:             */
079:            protected String minutes = MINUTES_EDEFAULT;
080:
081:            /**
082:             * The default value of the '{@link #getHours() <em>Hours</em>}' attribute.
083:             * <!-- begin-user-doc -->
084:             * <!-- end-user-doc -->
085:             * @see #getHours()
086:             * @generated
087:             * @ordered
088:             */
089:            protected static final String HOURS_EDEFAULT = null;
090:
091:            /**
092:             * The cached value of the '{@link #getHours() <em>Hours</em>}' attribute.
093:             * <!-- begin-user-doc -->
094:             * <!-- end-user-doc -->
095:             * @see #getHours()
096:             * @generated
097:             * @ordered
098:             */
099:            protected String hours = HOURS_EDEFAULT;
100:
101:            /**
102:             * <!-- begin-user-doc -->
103:             * <!-- end-user-doc -->
104:             * @generated
105:             */
106:            protected StandardScheduleImpl() {
107:                super ();
108:            }
109:
110:            /**
111:             * <!-- begin-user-doc -->
112:             * <!-- end-user-doc -->
113:             * @generated
114:             */
115:            protected EClass eStaticClass() {
116:                return componentflowPackage.Literals.STANDARD_SCHEDULE;
117:            }
118:
119:            /**
120:             * <!-- begin-user-doc -->
121:             * <!-- end-user-doc -->
122:             * @generated
123:             */
124:            public String getSeconds() {
125:                return seconds;
126:            }
127:
128:            /**
129:             * <!-- begin-user-doc -->
130:             * <!-- end-user-doc -->
131:             * @generated
132:             */
133:            public void setSeconds(String newSeconds) {
134:                String oldSeconds = seconds;
135:                seconds = newSeconds;
136:                if (eNotificationRequired())
137:                    eNotify(new ENotificationImpl(this , Notification.SET,
138:                            componentflowPackage.STANDARD_SCHEDULE__SECONDS,
139:                            oldSeconds, seconds));
140:            }
141:
142:            /**
143:             * <!-- begin-user-doc -->
144:             * <!-- end-user-doc -->
145:             * @generated
146:             */
147:            public String getMinutes() {
148:                return minutes;
149:            }
150:
151:            /**
152:             * <!-- begin-user-doc -->
153:             * <!-- end-user-doc -->
154:             * @generated
155:             */
156:            public void setMinutes(String newMinutes) {
157:                String oldMinutes = minutes;
158:                minutes = newMinutes;
159:                if (eNotificationRequired())
160:                    eNotify(new ENotificationImpl(this , Notification.SET,
161:                            componentflowPackage.STANDARD_SCHEDULE__MINUTES,
162:                            oldMinutes, minutes));
163:            }
164:
165:            /**
166:             * <!-- begin-user-doc -->
167:             * <!-- end-user-doc -->
168:             * @generated
169:             */
170:            public String getHours() {
171:                return hours;
172:            }
173:
174:            /**
175:             * <!-- begin-user-doc -->
176:             * <!-- end-user-doc -->
177:             * @generated
178:             */
179:            public void setHours(String newHours) {
180:                String oldHours = hours;
181:                hours = newHours;
182:                if (eNotificationRequired())
183:                    eNotify(new ENotificationImpl(this , Notification.SET,
184:                            componentflowPackage.STANDARD_SCHEDULE__HOURS,
185:                            oldHours, hours));
186:            }
187:
188:            /**
189:             * <!-- begin-user-doc -->
190:             * <!-- end-user-doc -->
191:             * @generated
192:             */
193:            public Object eGet(int featureID, boolean resolve, boolean coreType) {
194:                switch (featureID) {
195:                case componentflowPackage.STANDARD_SCHEDULE__SECONDS:
196:                    return getSeconds();
197:                case componentflowPackage.STANDARD_SCHEDULE__MINUTES:
198:                    return getMinutes();
199:                case componentflowPackage.STANDARD_SCHEDULE__HOURS:
200:                    return getHours();
201:                }
202:                return super .eGet(featureID, resolve, coreType);
203:            }
204:
205:            /**
206:             * <!-- begin-user-doc -->
207:             * <!-- end-user-doc -->
208:             * @generated
209:             */
210:            public void eSet(int featureID, Object newValue) {
211:                switch (featureID) {
212:                case componentflowPackage.STANDARD_SCHEDULE__SECONDS:
213:                    setSeconds((String) newValue);
214:                    return;
215:                case componentflowPackage.STANDARD_SCHEDULE__MINUTES:
216:                    setMinutes((String) newValue);
217:                    return;
218:                case componentflowPackage.STANDARD_SCHEDULE__HOURS:
219:                    setHours((String) newValue);
220:                    return;
221:                }
222:                super .eSet(featureID, newValue);
223:            }
224:
225:            /**
226:             * <!-- begin-user-doc -->
227:             * <!-- end-user-doc -->
228:             * @generated
229:             */
230:            public void eUnset(int featureID) {
231:                switch (featureID) {
232:                case componentflowPackage.STANDARD_SCHEDULE__SECONDS:
233:                    setSeconds(SECONDS_EDEFAULT);
234:                    return;
235:                case componentflowPackage.STANDARD_SCHEDULE__MINUTES:
236:                    setMinutes(MINUTES_EDEFAULT);
237:                    return;
238:                case componentflowPackage.STANDARD_SCHEDULE__HOURS:
239:                    setHours(HOURS_EDEFAULT);
240:                    return;
241:                }
242:                super .eUnset(featureID);
243:            }
244:
245:            /**
246:             * <!-- begin-user-doc -->
247:             * <!-- end-user-doc -->
248:             * @generated
249:             */
250:            public boolean eIsSet(int featureID) {
251:                switch (featureID) {
252:                case componentflowPackage.STANDARD_SCHEDULE__SECONDS:
253:                    return SECONDS_EDEFAULT == null ? seconds != null
254:                            : !SECONDS_EDEFAULT.equals(seconds);
255:                case componentflowPackage.STANDARD_SCHEDULE__MINUTES:
256:                    return MINUTES_EDEFAULT == null ? minutes != null
257:                            : !MINUTES_EDEFAULT.equals(minutes);
258:                case componentflowPackage.STANDARD_SCHEDULE__HOURS:
259:                    return HOURS_EDEFAULT == null ? hours != null
260:                            : !HOURS_EDEFAULT.equals(hours);
261:                }
262:                return super .eIsSet(featureID);
263:            }
264:
265:            /**
266:             * <!-- begin-user-doc -->
267:             * <!-- end-user-doc -->
268:             * @generated NOT
269:             */
270:            public String toString() {
271:                if (eIsProxy())
272:                    return super .toString();
273:
274:                StringBuffer result = new StringBuffer("");
275:                result.append(" (Seconds: ");
276:                result.append(seconds);
277:                result.append(", Minutes: ");
278:                result.append(minutes);
279:                result.append(", Hours: ");
280:                result.append(hours);
281:                result.append(')');
282:                return result.toString();
283:            }
284:
285:        } //StandardScheduleImpl
w___ww___.ja___v__a_2s.___c_o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.