01: package org.enhydra.shark.xpdl.elements;
02:
03: import org.enhydra.shark.xpdl.XMLComplexElement;
04:
05: /**
06: * Represents coresponding element from XPDL schema.
07: *
08: * @author Sasa Bojanic
09: */
10: public class StartMode extends XMLComplexElement {
11:
12: public StartMode(Activity parent) {
13: super (parent, false);
14: }
15:
16: protected void fillStructure() {
17: StartFinishModes refMode = new StartFinishModes(this );
18:
19: //refMode.setRequired(true);
20: add(refMode);
21: }
22:
23: public StartFinishModes getStartFinishModes() {
24: return (StartFinishModes) get("Mode");
25: }
26:
27: }
|