1 package org.enhydra.shark.xpdl.elements; 2 3 import org.enhydra.shark.xpdl.XMLComplexElement; 4 5 10 public class PackageHeader extends XMLComplexElement { 11 12 public PackageHeader (Package parent) { 13 super(parent, true); 14 } 15 16 protected void fillStructure () { 17 XPDLVersion refXPDLVersion=new XPDLVersion(this); 18 Vendor refVendor=new Vendor(this); 19 Created refCreated=new Created(this); 20 Description refDescription=new Description(this); Documentation refDocumentation=new Documentation(this); PriorityUnit refPriorityUnit=new PriorityUnit(this); CostUnit refCostUnit=new CostUnit(this); 25 add(refXPDLVersion); 26 add(refVendor); 27 add(refCreated); 28 add(refDescription); 29 add(refDocumentation); 30 add(refPriorityUnit); 31 add(refCostUnit); 32 } 33 34 public String getCostUnit() { 35 return get("CostUnit").toValue(); 36 } 37 public void setCostUnit(String costUnit) { 38 set("CostUnit",costUnit); 39 } 40 public String getCreated() { 41 return get("Created").toValue(); 42 } 43 public void setCreated(String created) { 44 set("Created",created); 45 } 46 public String getDescription() { 47 return get("Description").toValue(); 48 } 49 public void setDescription(String description) { 50 set("Description",description); 51 } 52 public String getDocumentation() { 53 return get("Documentation").toValue(); 54 } 55 public void setDocumentation(String documentation) { 56 set("Documentation",documentation); 57 } 58 public String getPriorityUnit() { 59 return get("PriorityUnit").toValue(); 60 } 61 public void setPriorityUnit(String priorityUnit) { 62 set("PriorityUnit",priorityUnit); 63 } 64 public String getVendor() { 65 return get("Vendor").toValue(); 66 } 67 public void setVendor(String vendor) { 68 set("Vendor",vendor); 69 } 70 public String getXPDLVersion() { 71 return get("XPDLVersion").toValue(); 72 } 73 public void setXPDLVersion(String xpdlVersion) { 74 set("XPDLVersion",xpdlVersion); 75 } 76 } 77 | Popular Tags |