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 TransitionRefs extends XMLCollection {
12:
13: // min=0, max=unbounded
14: public TransitionRefs(Split parent) {
15: super (parent, false);
16: }
17:
18: public XMLElement generateNewElement() {
19: return new TransitionRef(this );
20: }
21:
22: public TransitionRef getTransitionRef(String Id) {
23: return (TransitionRef) super.getCollectionElement(Id);
24: }
25:
26: }
|