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 FinishMode extends XMLComplexElement {
11:
12: public FinishMode(Activity parent) {
13: super (parent, false);
14: }
15:
16: protected void fillStructure() {
17: StartFinishModes refMode = new StartFinishModes(this );
18:
19: add(refMode);
20: }
21:
22: public StartFinishModes getStartFinishModes() {
23: return (StartFinishModes) get("Mode");
24: }
25: }
|