KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > xpdl > elements > StartMode


1 package org.enhydra.shark.xpdl.elements;
2
3 import org.enhydra.shark.xpdl.XMLComplexElement;
4
5 /**
6  * Represents coresponding element from XPDL schema.
7  *
8  * @author Sasa Bojanic
9  */

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 }
28
Popular Tags