1 10 11 package org.enhydra.jawe.wfxml; 12 13 import org.enhydra.jawe.xml.*; 14 import org.enhydra.jawe.xml.panels.*; 15 import org.enhydra.jawe.xml.elements.*; 16 import javax.swing.*; 17 import org.w3c.dom.*; 18 19 public class DefInfo extends XMLComplexElement { 20 private XMLAttribute attrDefinitionKey = new XMLAttribute("DefinitionKey"); 21 private XMLAttribute attrName=new XMLAttribute("Name"); 22 private XMLAttribute attrDescription=new XMLAttribute("Description"); 23 private XMLAttribute attrVersion=new XMLAttribute("Version"); 24 private XMLAttribute attrStatus=new XMLAttribute("Status"); 25 26 public DefInfo () { 27 super(); 28 fillStructure(); 29 } 30 31 protected void fillStructure () { 32 attributes.add(attrDefinitionKey); 33 complexStructure.add(attrDefinitionKey); 34 attributes.add(attrName); 35 complexStructure.add(attrName); 36 attributes.add(attrDescription); 37 complexStructure.add(attrDescription); 38 attributes.add(attrVersion); 39 complexStructure.add(attrVersion); 40 attributes.add(attrStatus); 41 complexStructure.add(attrStatus); 42 } 43 44 } 45 | Popular Tags |