KickJava   Java API By Example, From Geeks To Geeks.

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


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 Participants extends XMLCollection {
12
13    public Participants(Package JavaDoc parent) {
14       super(parent, false);
15    }
16
17    public Participants(WorkflowProcess parent) {
18       super(parent, false);
19    }
20
21    public XMLElement generateNewElement() {
22       return new Participant(this);
23    }
24
25    public Participant getParticipant (String JavaDoc Id) {
26       return (Participant)super.getCollectionElement(Id);
27    }
28
29 }
30
Popular Tags