001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id$
006: */package com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl;
007:
008: import org.eclipse.emf.common.notify.Notification;
009: import org.eclipse.emf.common.notify.NotificationChain;
010: import org.eclipse.emf.ecore.EClass;
011: import org.eclipse.emf.ecore.InternalEObject;
012: import org.eclipse.emf.ecore.impl.ENotificationImpl;
013:
014: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Consumer;
015: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Provider;
016: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Scheduler;
017: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.Script;
018: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.ScriptType;
019: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowFactory;
020: import com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.componentflowPackage;
021:
022: /**
023: * <!-- begin-user-doc -->
024: * An implementation of the model object '<em><b>Script</b></em>'.
025: * <!-- end-user-doc -->
026: * <p>
027: * The following features are implemented:
028: * <ul>
029: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getType <em>Type</em>}</li>
030: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getTriggerTime <em>Trigger Time</em>}</li>
031: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getClass_ <em>Class </em>}</li>
032: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getClassDescription <em>Class Description</em>}</li>
033: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getScriptConsumer <em>Script Consumer</em>}</li>
034: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getScriptProvider <em>Script Provider</em>}</li>
035: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#isUseScheduler <em>Use Scheduler</em>}</li>
036: * <li>{@link com.bostechcorp.cbesb.ui.componentflow.componentFlowEditor.impl.ScriptImpl#getScheduler <em>Scheduler</em>}</li>
037: * </ul>
038: * </p>
039: *
040: * @generated
041: */
042: public class ScriptImpl extends BindingComponentImpl implements Script {
043: /**
044: * <!-- begin-user-doc -->
045: * <!-- end-user-doc -->
046: * @generated
047: */
048: public static final String copyright = "Copyright, Bostech Corp.";
049:
050: /**
051: * The default value of the '{@link #getType() <em>Type</em>}' attribute.
052: * <!-- begin-user-doc -->
053: * <!-- end-user-doc -->
054: * @see #getType()
055: * @generated
056: * @ordered
057: */
058: protected static final ScriptType TYPE_EDEFAULT = ScriptType.GROOVY_LITERAL;
059:
060: /**
061: * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
062: * <!-- begin-user-doc -->
063: * <!-- end-user-doc -->
064: * @see #getType()
065: * @generated
066: * @ordered
067: */
068: protected ScriptType type = TYPE_EDEFAULT;
069:
070: /**
071: * The default value of the '{@link #getTriggerTime() <em>Trigger Time</em>}' attribute.
072: * <!-- begin-user-doc -->
073: * <!-- end-user-doc -->
074: * @see #getTriggerTime()
075: * @generated
076: * @ordered
077: */
078: protected static final String TRIGGER_TIME_EDEFAULT = "1000";
079:
080: /**
081: * The cached value of the '{@link #getTriggerTime() <em>Trigger Time</em>}' attribute.
082: * <!-- begin-user-doc -->
083: * <!-- end-user-doc -->
084: * @see #getTriggerTime()
085: * @generated
086: * @ordered
087: */
088: protected String triggerTime = TRIGGER_TIME_EDEFAULT;
089:
090: /**
091: * The default value of the '{@link #getClass_() <em>Class </em>}' attribute.
092: * <!-- begin-user-doc -->
093: * <!-- end-user-doc -->
094: * @see #getClass_()
095: * @generated
096: * @ordered
097: */
098: protected static final String CLASS__EDEFAULT = null;
099:
100: /**
101: * The cached value of the '{@link #getClass_() <em>Class </em>}' attribute.
102: * <!-- begin-user-doc -->
103: * <!-- end-user-doc -->
104: * @see #getClass_()
105: * @generated
106: * @ordered
107: */
108: protected String class_ = CLASS__EDEFAULT;
109:
110: /**
111: * The default value of the '{@link #getClassDescription() <em>Class Description</em>}' attribute.
112: * <!-- begin-user-doc -->
113: * <!-- end-user-doc -->
114: * @see #getClassDescription()
115: * @generated
116: * @ordered
117: */
118: protected static final String CLASS_DESCRIPTION_EDEFAULT = null;
119:
120: /**
121: * The cached value of the '{@link #getClassDescription() <em>Class Description</em>}' attribute.
122: * <!-- begin-user-doc -->
123: * <!-- end-user-doc -->
124: * @see #getClassDescription()
125: * @generated
126: * @ordered
127: */
128: protected String classDescription = CLASS_DESCRIPTION_EDEFAULT;
129:
130: /**
131: * The cached value of the '{@link #getScriptConsumer() <em>Script Consumer</em>}' containment reference.
132: * <!-- begin-user-doc -->
133: * <!-- end-user-doc -->
134: * @see #getScriptConsumer()
135: * @generated
136: * @ordered
137: */
138: protected Consumer scriptConsumer = null;
139:
140: /**
141: * The cached value of the '{@link #getScriptProvider() <em>Script Provider</em>}' containment reference.
142: * <!-- begin-user-doc -->
143: * <!-- end-user-doc -->
144: * @see #getScriptProvider()
145: * @generated
146: * @ordered
147: */
148: protected Provider scriptProvider = null;
149:
150: /**
151: * The default value of the '{@link #isUseScheduler() <em>Use Scheduler</em>}' attribute.
152: * <!-- begin-user-doc -->
153: * <!-- end-user-doc -->
154: * @see #isUseScheduler()
155: * @generated
156: * @ordered
157: */
158: protected static final boolean USE_SCHEDULER_EDEFAULT = false;
159:
160: /**
161: * The cached value of the '{@link #isUseScheduler() <em>Use Scheduler</em>}' attribute.
162: * <!-- begin-user-doc -->
163: * <!-- end-user-doc -->
164: * @see #isUseScheduler()
165: * @generated
166: * @ordered
167: */
168: protected boolean useScheduler = USE_SCHEDULER_EDEFAULT;
169:
170: /**
171: * The cached value of the '{@link #getScheduler() <em>Scheduler</em>}' containment reference.
172: * <!-- begin-user-doc -->
173: * <!-- end-user-doc -->
174: * @see #getScheduler()
175: * @generated
176: * @ordered
177: */
178: protected Scheduler scheduler = null;
179:
180: /**
181: * <!-- begin-user-doc -->
182: * <!-- end-user-doc -->
183: * @generated NOT
184: */
185: protected ScriptImpl() {
186: super ();
187: Consumer consumer = componentflowFactory.eINSTANCE
188: .createConsumer();
189: Provider provider = componentflowFactory.eINSTANCE
190: .createProvider();
191:
192: this .setScriptConsumer(consumer);
193: this .setScriptProvider(provider);
194:
195: Scheduler newSchedule = componentflowFactory.eINSTANCE
196: .createScheduler();
197: this .setScheduler(newSchedule);
198:
199: /*
200: ((SchedulerImpl)newSchedule).eSet(componentflowPackage.SCHEDULER__STANDARD, (Object)newSDSchedule);
201: ((SchedulerImpl)newSchedule).eSet(componentflowPackage.SCHEDULER__AUTO_RETRY, (Object)newARSchedule);*/
202: }
203:
204: /**
205: * <!-- begin-user-doc -->
206: * <!-- end-user-doc -->
207: * @generated
208: */
209: protected EClass eStaticClass() {
210: return componentflowPackage.Literals.SCRIPT;
211: }
212:
213: /**
214: * <!-- begin-user-doc -->
215: * <!-- end-user-doc -->
216: * @generated
217: */
218: public ScriptType getType() {
219: return type;
220: }
221:
222: /**
223: * <!-- begin-user-doc -->
224: * <!-- end-user-doc -->
225: * @generated
226: */
227: public void setType(ScriptType newType) {
228: ScriptType oldType = type;
229: type = newType == null ? TYPE_EDEFAULT : newType;
230: if (eNotificationRequired())
231: eNotify(new ENotificationImpl(this , Notification.SET,
232: componentflowPackage.SCRIPT__TYPE, oldType, type));
233: }
234:
235: /**
236: * <!-- begin-user-doc -->
237: * <!-- end-user-doc -->
238: * @generated
239: */
240: public String getTriggerTime() {
241: return triggerTime;
242: }
243:
244: /**
245: * <!-- begin-user-doc -->
246: * <!-- end-user-doc -->
247: * @generated
248: */
249: public void setTriggerTime(String newTriggerTime) {
250: String oldTriggerTime = triggerTime;
251: triggerTime = newTriggerTime;
252: if (eNotificationRequired())
253: eNotify(new ENotificationImpl(this , Notification.SET,
254: componentflowPackage.SCRIPT__TRIGGER_TIME,
255: oldTriggerTime, triggerTime));
256: }
257:
258: /**
259: * <!-- begin-user-doc -->
260: * <!-- end-user-doc -->
261: * @generated
262: */
263: public String getClass_() {
264: return class_;
265: }
266:
267: /**
268: * <!-- begin-user-doc -->
269: * <!-- end-user-doc -->
270: * @generated
271: */
272: public void setClass_(String newClass_) {
273: String oldClass_ = class_;
274: class_ = newClass_;
275: if (eNotificationRequired())
276: eNotify(new ENotificationImpl(this , Notification.SET,
277: componentflowPackage.SCRIPT__CLASS_, oldClass_,
278: class_));
279: }
280:
281: /**
282: * <!-- begin-user-doc -->
283: * <!-- end-user-doc -->
284: * @generated
285: */
286: public String getClassDescription() {
287: return classDescription;
288: }
289:
290: /**
291: * <!-- begin-user-doc -->
292: * <!-- end-user-doc -->
293: * @generated
294: */
295: public void setClassDescription(String newClassDescription) {
296: String oldClassDescription = classDescription;
297: classDescription = newClassDescription;
298: if (eNotificationRequired())
299: eNotify(new ENotificationImpl(this , Notification.SET,
300: componentflowPackage.SCRIPT__CLASS_DESCRIPTION,
301: oldClassDescription, classDescription));
302: }
303:
304: /**
305: * <!-- begin-user-doc -->
306: * <!-- end-user-doc -->
307: * @generated
308: */
309: public Consumer getScriptConsumer() {
310: return scriptConsumer;
311: }
312:
313: /**
314: * <!-- begin-user-doc -->
315: * <!-- end-user-doc -->
316: * @generated
317: */
318: public NotificationChain basicSetScriptConsumer(
319: Consumer newScriptConsumer, NotificationChain msgs) {
320: Consumer oldScriptConsumer = scriptConsumer;
321: scriptConsumer = newScriptConsumer;
322: if (eNotificationRequired()) {
323: ENotificationImpl notification = new ENotificationImpl(
324: this , Notification.SET,
325: componentflowPackage.SCRIPT__SCRIPT_CONSUMER,
326: oldScriptConsumer, newScriptConsumer);
327: if (msgs == null)
328: msgs = notification;
329: else
330: msgs.add(notification);
331: }
332: return msgs;
333: }
334:
335: /**
336: * <!-- begin-user-doc -->
337: * <!-- end-user-doc -->
338: * @generated
339: */
340: public void setScriptConsumer(Consumer newScriptConsumer) {
341: if (newScriptConsumer != scriptConsumer) {
342: NotificationChain msgs = null;
343: if (scriptConsumer != null)
344: msgs = ((InternalEObject) scriptConsumer)
345: .eInverseRemove(
346: this ,
347: EOPPOSITE_FEATURE_BASE
348: - componentflowPackage.SCRIPT__SCRIPT_CONSUMER,
349: null, msgs);
350: if (newScriptConsumer != null)
351: msgs = ((InternalEObject) newScriptConsumer)
352: .eInverseAdd(
353: this ,
354: EOPPOSITE_FEATURE_BASE
355: - componentflowPackage.SCRIPT__SCRIPT_CONSUMER,
356: null, msgs);
357: msgs = basicSetScriptConsumer(newScriptConsumer, msgs);
358: if (msgs != null)
359: msgs.dispatch();
360: } else if (eNotificationRequired())
361: eNotify(new ENotificationImpl(this , Notification.SET,
362: componentflowPackage.SCRIPT__SCRIPT_CONSUMER,
363: newScriptConsumer, newScriptConsumer));
364: }
365:
366: /**
367: * <!-- begin-user-doc -->
368: * <!-- end-user-doc -->
369: * @generated
370: */
371: public Provider getScriptProvider() {
372: return scriptProvider;
373: }
374:
375: /**
376: * <!-- begin-user-doc -->
377: * <!-- end-user-doc -->
378: * @generated
379: */
380: public NotificationChain basicSetScriptProvider(
381: Provider newScriptProvider, NotificationChain msgs) {
382: Provider oldScriptProvider = scriptProvider;
383: scriptProvider = newScriptProvider;
384: if (eNotificationRequired()) {
385: ENotificationImpl notification = new ENotificationImpl(
386: this , Notification.SET,
387: componentflowPackage.SCRIPT__SCRIPT_PROVIDER,
388: oldScriptProvider, newScriptProvider);
389: if (msgs == null)
390: msgs = notification;
391: else
392: msgs.add(notification);
393: }
394: return msgs;
395: }
396:
397: /**
398: * <!-- begin-user-doc -->
399: * <!-- end-user-doc -->
400: * @generated
401: */
402: public void setScriptProvider(Provider newScriptProvider) {
403: if (newScriptProvider != scriptProvider) {
404: NotificationChain msgs = null;
405: if (scriptProvider != null)
406: msgs = ((InternalEObject) scriptProvider)
407: .eInverseRemove(
408: this ,
409: EOPPOSITE_FEATURE_BASE
410: - componentflowPackage.SCRIPT__SCRIPT_PROVIDER,
411: null, msgs);
412: if (newScriptProvider != null)
413: msgs = ((InternalEObject) newScriptProvider)
414: .eInverseAdd(
415: this ,
416: EOPPOSITE_FEATURE_BASE
417: - componentflowPackage.SCRIPT__SCRIPT_PROVIDER,
418: null, msgs);
419: msgs = basicSetScriptProvider(newScriptProvider, msgs);
420: if (msgs != null)
421: msgs.dispatch();
422: } else if (eNotificationRequired())
423: eNotify(new ENotificationImpl(this , Notification.SET,
424: componentflowPackage.SCRIPT__SCRIPT_PROVIDER,
425: newScriptProvider, newScriptProvider));
426: }
427:
428: /**
429: * <!-- begin-user-doc -->
430: * <!-- end-user-doc -->
431: * @generated
432: */
433: public boolean isUseScheduler() {
434: return useScheduler;
435: }
436:
437: /**
438: * <!-- begin-user-doc -->
439: * <!-- end-user-doc -->
440: * @generated
441: */
442: public void setUseScheduler(boolean newUseScheduler) {
443: boolean oldUseScheduler = useScheduler;
444: useScheduler = newUseScheduler;
445: if (eNotificationRequired())
446: eNotify(new ENotificationImpl(this , Notification.SET,
447: componentflowPackage.SCRIPT__USE_SCHEDULER,
448: oldUseScheduler, useScheduler));
449: }
450:
451: /**
452: * <!-- begin-user-doc -->
453: * <!-- end-user-doc -->
454: * @generated
455: */
456: public Scheduler getScheduler() {
457: return scheduler;
458: }
459:
460: /**
461: * <!-- begin-user-doc -->
462: * <!-- end-user-doc -->
463: * @generated
464: */
465: public NotificationChain basicSetScheduler(Scheduler newScheduler,
466: NotificationChain msgs) {
467: Scheduler oldScheduler = scheduler;
468: scheduler = newScheduler;
469: if (eNotificationRequired()) {
470: ENotificationImpl notification = new ENotificationImpl(
471: this , Notification.SET,
472: componentflowPackage.SCRIPT__SCHEDULER,
473: oldScheduler, newScheduler);
474: if (msgs == null)
475: msgs = notification;
476: else
477: msgs.add(notification);
478: }
479: return msgs;
480: }
481:
482: /**
483: * <!-- begin-user-doc -->
484: * <!-- end-user-doc -->
485: * @generated
486: */
487: public void setScheduler(Scheduler newScheduler) {
488: if (newScheduler != scheduler) {
489: NotificationChain msgs = null;
490: if (scheduler != null)
491: msgs = ((InternalEObject) scheduler)
492: .eInverseRemove(
493: this ,
494: EOPPOSITE_FEATURE_BASE
495: - componentflowPackage.SCRIPT__SCHEDULER,
496: null, msgs);
497: if (newScheduler != null)
498: msgs = ((InternalEObject) newScheduler)
499: .eInverseAdd(
500: this ,
501: EOPPOSITE_FEATURE_BASE
502: - componentflowPackage.SCRIPT__SCHEDULER,
503: null, msgs);
504: msgs = basicSetScheduler(newScheduler, msgs);
505: if (msgs != null)
506: msgs.dispatch();
507: } else if (eNotificationRequired())
508: eNotify(new ENotificationImpl(this , Notification.SET,
509: componentflowPackage.SCRIPT__SCHEDULER,
510: newScheduler, newScheduler));
511: }
512:
513: /**
514: * <!-- begin-user-doc -->
515: * <!-- end-user-doc -->
516: * @generated
517: */
518: public NotificationChain eInverseRemove(InternalEObject otherEnd,
519: int featureID, NotificationChain msgs) {
520: switch (featureID) {
521: case componentflowPackage.SCRIPT__SCRIPT_CONSUMER:
522: return basicSetScriptConsumer(null, msgs);
523: case componentflowPackage.SCRIPT__SCRIPT_PROVIDER:
524: return basicSetScriptProvider(null, msgs);
525: case componentflowPackage.SCRIPT__SCHEDULER:
526: return basicSetScheduler(null, msgs);
527: }
528: return super .eInverseRemove(otherEnd, featureID, msgs);
529: }
530:
531: /**
532: * <!-- begin-user-doc -->
533: * <!-- end-user-doc -->
534: * @generated
535: */
536: public Object eGet(int featureID, boolean resolve, boolean coreType) {
537: switch (featureID) {
538: case componentflowPackage.SCRIPT__TYPE:
539: return getType();
540: case componentflowPackage.SCRIPT__TRIGGER_TIME:
541: return getTriggerTime();
542: case componentflowPackage.SCRIPT__CLASS_:
543: return getClass_();
544: case componentflowPackage.SCRIPT__CLASS_DESCRIPTION:
545: return getClassDescription();
546: case componentflowPackage.SCRIPT__SCRIPT_CONSUMER:
547: return getScriptConsumer();
548: case componentflowPackage.SCRIPT__SCRIPT_PROVIDER:
549: return getScriptProvider();
550: case componentflowPackage.SCRIPT__USE_SCHEDULER:
551: return isUseScheduler() ? Boolean.TRUE : Boolean.FALSE;
552: case componentflowPackage.SCRIPT__SCHEDULER:
553: return getScheduler();
554: }
555: return super .eGet(featureID, resolve, coreType);
556: }
557:
558: /**
559: * <!-- begin-user-doc -->
560: * <!-- end-user-doc -->
561: * @generated
562: */
563: public void eSet(int featureID, Object newValue) {
564: switch (featureID) {
565: case componentflowPackage.SCRIPT__TYPE:
566: setType((ScriptType) newValue);
567: return;
568: case componentflowPackage.SCRIPT__TRIGGER_TIME:
569: setTriggerTime((String) newValue);
570: return;
571: case componentflowPackage.SCRIPT__CLASS_:
572: setClass_((String) newValue);
573: return;
574: case componentflowPackage.SCRIPT__CLASS_DESCRIPTION:
575: setClassDescription((String) newValue);
576: return;
577: case componentflowPackage.SCRIPT__SCRIPT_CONSUMER:
578: setScriptConsumer((Consumer) newValue);
579: return;
580: case componentflowPackage.SCRIPT__SCRIPT_PROVIDER:
581: setScriptProvider((Provider) newValue);
582: return;
583: case componentflowPackage.SCRIPT__USE_SCHEDULER:
584: setUseScheduler(((Boolean) newValue).booleanValue());
585: return;
586: case componentflowPackage.SCRIPT__SCHEDULER:
587: setScheduler((Scheduler) newValue);
588: return;
589: }
590: super .eSet(featureID, newValue);
591: }
592:
593: /**
594: * <!-- begin-user-doc -->
595: * <!-- end-user-doc -->
596: * @generated
597: */
598: public void eUnset(int featureID) {
599: switch (featureID) {
600: case componentflowPackage.SCRIPT__TYPE:
601: setType(TYPE_EDEFAULT);
602: return;
603: case componentflowPackage.SCRIPT__TRIGGER_TIME:
604: setTriggerTime(TRIGGER_TIME_EDEFAULT);
605: return;
606: case componentflowPackage.SCRIPT__CLASS_:
607: setClass_(CLASS__EDEFAULT);
608: return;
609: case componentflowPackage.SCRIPT__CLASS_DESCRIPTION:
610: setClassDescription(CLASS_DESCRIPTION_EDEFAULT);
611: return;
612: case componentflowPackage.SCRIPT__SCRIPT_CONSUMER:
613: setScriptConsumer((Consumer) null);
614: return;
615: case componentflowPackage.SCRIPT__SCRIPT_PROVIDER:
616: setScriptProvider((Provider) null);
617: return;
618: case componentflowPackage.SCRIPT__USE_SCHEDULER:
619: setUseScheduler(USE_SCHEDULER_EDEFAULT);
620: return;
621: case componentflowPackage.SCRIPT__SCHEDULER:
622: setScheduler((Scheduler) null);
623: return;
624: }
625: super .eUnset(featureID);
626: }
627:
628: /**
629: * <!-- begin-user-doc -->
630: * <!-- end-user-doc -->
631: * @generated
632: */
633: public boolean eIsSet(int featureID) {
634: switch (featureID) {
635: case componentflowPackage.SCRIPT__TYPE:
636: return type != TYPE_EDEFAULT;
637: case componentflowPackage.SCRIPT__TRIGGER_TIME:
638: return TRIGGER_TIME_EDEFAULT == null ? triggerTime != null
639: : !TRIGGER_TIME_EDEFAULT.equals(triggerTime);
640: case componentflowPackage.SCRIPT__CLASS_:
641: return CLASS__EDEFAULT == null ? class_ != null
642: : !CLASS__EDEFAULT.equals(class_);
643: case componentflowPackage.SCRIPT__CLASS_DESCRIPTION:
644: return CLASS_DESCRIPTION_EDEFAULT == null ? classDescription != null
645: : !CLASS_DESCRIPTION_EDEFAULT
646: .equals(classDescription);
647: case componentflowPackage.SCRIPT__SCRIPT_CONSUMER:
648: return scriptConsumer != null;
649: case componentflowPackage.SCRIPT__SCRIPT_PROVIDER:
650: return scriptProvider != null;
651: case componentflowPackage.SCRIPT__USE_SCHEDULER:
652: return useScheduler != USE_SCHEDULER_EDEFAULT;
653: case componentflowPackage.SCRIPT__SCHEDULER:
654: return scheduler != null;
655: }
656: return super .eIsSet(featureID);
657: }
658:
659: /**
660: * <!-- begin-user-doc -->
661: * <!-- end-user-doc -->
662: * @generated
663: */
664: public String toString() {
665: if (eIsProxy())
666: return super .toString();
667:
668: StringBuffer result = new StringBuffer(super .toString());
669: result.append(" (type: ");
670: result.append(type);
671: result.append(", triggerTime: ");
672: result.append(triggerTime);
673: result.append(", class_: ");
674: result.append(class_);
675: result.append(", classDescription: ");
676: result.append(classDescription);
677: result.append(", UseScheduler: ");
678: result.append(useScheduler);
679: result.append(')');
680: return result.toString();
681: }
682:
683: /**
684: * <!-- begin-user-doc -->
685: * <!-- end-user-doc -->
686: * @generated NOT
687: */
688: public Consumer getConsumer() {
689: // TODO Auto-generated method stub
690: return this .getScriptConsumer();
691: }
692:
693: @Override
694: /**
695: * <!-- begin-user-doc -->
696: * <!-- end-user-doc -->
697: * @generated NOT
698: */
699: public Provider getProvider() {
700: // TODO Auto-generated method stub
701: return this .getScriptProvider();
702: }
703:
704: } //ScriptImpl
|