01: package org.enhydra.shark.xpdl.elements;
02:
03: import org.enhydra.shark.xpdl.XMLCollection;
04: import org.enhydra.shark.xpdl.XMLElement;
05:
06: /**
07: * Represents coresponding element from XPDL schema.
08: *
09: * @author Sasa Bojanic
10: */
11: public class TransitionRestrictions extends XMLCollection {
12:
13: // min=0, max=unbounded
14: public TransitionRestrictions(Activity act) {
15: super (act, false);
16: }
17:
18: public XMLElement generateNewElement() {
19: return new TransitionRestriction(this);
20: }
21:
22: }
|