KickJava   Java API By Example, From Geeks To Geeks.

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


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

11 public class WorkflowProcesses extends XMLCollection {
12
13    // min=0, max=unbounded
14
public WorkflowProcesses(Package JavaDoc parent) {
15       super(parent, false);
16    }
17
18    public XMLElement generateNewElement() {
19       return new WorkflowProcess(this);
20    }
21
22    public WorkflowProcess getWorkflowProcess(String JavaDoc Id) {
23       return (WorkflowProcess) super.getCollectionElement(Id);
24    }
25
26 }
Popular Tags