01: package org.enhydra.shark.xpdl.elements;
02:
03: import org.enhydra.shark.xpdl.XMLComplexElement;
04:
05: /**
06: * Represents coresponding element from XPDL schema.
07: *
08: * @author Sasa Bojanic
09: */
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: refType.getChoices();
23: add(refType);
24: }
25:
26: public DataTypes getDataTypes() {
27: return (DataTypes) get("DataTypes");
28: }
29:
30: }
|