KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public class Member extends XMLComplexElement {
11
12    public Member (RecordType parent) {
13       super(parent,true);
14    }
15
16    public Member (UnionType parent) {
17       super(parent,true);
18    }
19
20    protected void fillStructure () {
21       DataTypes refType=new DataTypes(this);
22       add(refType);
23    }
24
25    public DataTypes getDataTypes() {
26       return (DataTypes)get("Type");
27    }
28    
29 }
30
Popular Tags