1 package org.enhydra.shark.xpdl; 2 3 9 public abstract class XMLCollectionElement extends XMLComplexElement { 10 11 public XMLCollectionElement (XMLCollection parent, boolean isRequired) { 12 super(parent, isRequired); 13 } 14 15 protected void fillStructure () { 16 XMLAttribute attrId=new XMLAttribute(this,"Id", true); super.add(attrId); 18 } 19 20 public final String getId () { 21 return get("Id").toValue(); 22 } 23 public final void setId (String id) { 24 set("Id",id); 25 } 26 27 } 28 | Popular Tags |