01: package org.enhydra.jawe;
02:
03: /**
04: * The base class for JaWE actions for generating new XPDL elements.
05: */
06: public abstract class NewActionBase extends ActionBase {
07:
08: protected Class xpdlTypeClass;
09:
10: public NewActionBase(JaWEComponent jawecomponent,
11: Class xpdlTypeClass) {
12: super (jawecomponent);
13: this .xpdlTypeClass = xpdlTypeClass;
14: }
15:
16: public NewActionBase(JaWEComponent jawecomponent, String name,
17: Class xpdlTypeClass) {
18: super (jawecomponent, name);
19: this .xpdlTypeClass = xpdlTypeClass;
20: }
21:
22: public Class getXPDLTypeClass() {
23: return xpdlTypeClass;
24: }
25:
26: }
|