1 10 11 package org.enhydra.jawe.xml.elements; 12 13 import org.enhydra.jawe.xml.*; 14 import org.enhydra.jawe.xml.panels.*; 15 import org.w3c.dom.*; 16 17 20 public class TransitionRef extends XMLComplexElement { 21 22 private XMLAttribute attrId=new XMLAttribute("Id"); 24 27 public TransitionRef () { 28 super (); 29 30 fillStructure(); 31 } 32 33 protected void fillStructure() { 34 attrId.setRequired(true); 35 complexStructure.add(attrId); 36 attributes.add(attrId); 37 } 38 39 45 public void setValue (Object v) { 46 attrId.setValue(v); 47 } 48 49 public Object toValue () { 50 return attrId.toValue(); 51 } 52 53 60 public Object clone () { 61 TransitionRef t=(TransitionRef)super.clone(); 62 t.attrId=(XMLAttribute)this.attrId.clone(); 63 t.fillStructure(); 64 65 return t; 66 } 67 68 69 public String toString () { 70 return attrId.toString(); 71 } 72 73 } 74 | Popular Tags |