KickJava   Java API By Example, From Geeks To Geeks.

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


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 TransitionRestriction extends XMLComplexElement {
11    
12    public TransitionRestriction (TransitionRestrictions parent) {
13       super(parent, false);
14    }
15
16    protected void fillStructure () {
17       Join refJoin=new Join(this); // min=0
18
Split refSplit=new Split(this); // min=0
19

20       add(refJoin);
21       add(refSplit);
22    }
23
24    public Join getJoin() {
25       return (Join)get("Join");
26    }
27    public Split getSplit() {
28       return (Split)get("Split");
29    }
30 }
31
Popular Tags