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 FormalParameters extends XMLCollection {
12:
13: public FormalParameters(ApplicationTypes parent) {
14: super (parent, false);
15: }
16:
17: public FormalParameters(WorkflowProcess parent) {
18: super (parent, false);
19: }
20:
21: public XMLElement generateNewElement() {
22: return new FormalParameter(this );
23: }
24:
25: public FormalParameter getFormalParameter(String Id) {
26: return (FormalParameter) super.getCollectionElement(Id);
27: }
28:
29: }
|