1 package org.enhydra.shark.xpdl.elements; 2 3 import org.enhydra.shark.xpdl.XMLAttribute; 4 import org.enhydra.shark.xpdl.XMLComplexElement; 5 6 11 public class ArrayType extends XMLComplexElement { 12 13 public ArrayType (DataTypes parent) { 14 super(parent,true); 15 } 16 17 protected void fillStructure () { 18 XMLAttribute attrLowerIndex=new XMLAttribute(this,"LowerIndex",true); XMLAttribute attrUpperIndex=new XMLAttribute(this,"UpperIndex",true); DataTypes refType=new DataTypes(this); 21 22 add(attrLowerIndex); 23 add(attrUpperIndex); 24 add(refType); 25 } 26 27 public DataTypes getDataTypes() { 28 return (DataTypes)get("Type"); 29 } 30 31 public String getLowerIndex() { 32 return get("LowerIndex").toValue(); 33 } 34 public void setLowerIndex(String li) { 35 set("LowerIndex",li); 36 } 37 38 public String getUpperIndex() { 39 return get("UpperIndex").toValue(); 40 } 41 public void setUpperIndex(String ui) { 42 set("UpperIndex",ui); 43 } 44 45 46 } 47 | Popular Tags |