001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2008.01.25 at 09:11:52 AM GMT-10:00 006 // 007 008 009 package org.hackystat.sensor.ant.junit.jaxb; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlAttribute; 016 import javax.xml.bind.annotation.XmlElement; 017 import javax.xml.bind.annotation.XmlRootElement; 018 import javax.xml.bind.annotation.XmlType; 019 020 021 /** 022 * <p>Java class for anonymous complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element ref="{}properties"/> 032 * <element ref="{}testcase" maxOccurs="unbounded" minOccurs="0"/> 033 * <element name="system-out" type="{http://www.w3.org/2001/XMLSchema}anyType"/> 034 * <element name="system-err" type="{http://www.w3.org/2001/XMLSchema}anyType"/> 035 * </sequence> 036 * <attribute ref="{}errors"/> 037 * <attribute ref="{}failures"/> 038 * <attribute ref="{}name"/> 039 * <attribute ref="{}time"/> 040 * </restriction> 041 * </complexContent> 042 * </complexType> 043 * </pre> 044 * 045 * 046 */ 047 @XmlAccessorType(XmlAccessType.FIELD) 048 @XmlType(name = "", propOrder = { 049 "properties", 050 "testcase", 051 "systemOut", 052 "systemErr" 053 }) 054 @XmlRootElement(name = "testsuite") 055 public class Testsuite { 056 057 @XmlElement(required = true) 058 protected Properties properties; 059 protected List<Testcase> testcase; 060 @XmlElement(name = "system-out", required = true) 061 protected Object systemOut; 062 @XmlElement(name = "system-err", required = true) 063 protected Object systemErr; 064 @XmlAttribute 065 protected Integer errors; 066 @XmlAttribute 067 protected Integer failures; 068 @XmlAttribute 069 protected String name; 070 @XmlAttribute 071 protected Double time; 072 073 /** 074 * Gets the value of the properties property. 075 * 076 * @return 077 * possible object is 078 * {@link Properties } 079 * 080 */ 081 public Properties getProperties() { 082 return properties; 083 } 084 085 /** 086 * Sets the value of the properties property. 087 * 088 * @param value 089 * allowed object is 090 * {@link Properties } 091 * 092 */ 093 public void setProperties(Properties value) { 094 this.properties = value; 095 } 096 097 /** 098 * Gets the value of the testcase property. 099 * 100 * <p> 101 * This accessor method returns a reference to the live list, 102 * not a snapshot. Therefore any modification you make to the 103 * returned list will be present inside the JAXB object. 104 * This is why there is not a <CODE>set</CODE> method for the testcase property. 105 * 106 * <p> 107 * For example, to add a new item, do as follows: 108 * <pre> 109 * getTestcase().add(newItem); 110 * </pre> 111 * 112 * 113 * <p> 114 * Objects of the following type(s) are allowed in the list 115 * {@link Testcase } 116 * 117 * 118 */ 119 public List<Testcase> getTestcase() { 120 if (testcase == null) { 121 testcase = new ArrayList<Testcase>(); 122 } 123 return this.testcase; 124 } 125 126 /** 127 * Gets the value of the systemOut property. 128 * 129 * @return 130 * possible object is 131 * {@link Object } 132 * 133 */ 134 public Object getSystemOut() { 135 return systemOut; 136 } 137 138 /** 139 * Sets the value of the systemOut property. 140 * 141 * @param value 142 * allowed object is 143 * {@link Object } 144 * 145 */ 146 public void setSystemOut(Object value) { 147 this.systemOut = value; 148 } 149 150 /** 151 * Gets the value of the systemErr property. 152 * 153 * @return 154 * possible object is 155 * {@link Object } 156 * 157 */ 158 public Object getSystemErr() { 159 return systemErr; 160 } 161 162 /** 163 * Sets the value of the systemErr property. 164 * 165 * @param value 166 * allowed object is 167 * {@link Object } 168 * 169 */ 170 public void setSystemErr(Object value) { 171 this.systemErr = value; 172 } 173 174 /** 175 * Gets the value of the errors property. 176 * 177 * @return 178 * possible object is 179 * {@link Integer } 180 * 181 */ 182 public Integer getErrors() { 183 return errors; 184 } 185 186 /** 187 * Sets the value of the errors property. 188 * 189 * @param value 190 * allowed object is 191 * {@link Integer } 192 * 193 */ 194 public void setErrors(Integer value) { 195 this.errors = value; 196 } 197 198 /** 199 * Gets the value of the failures property. 200 * 201 * @return 202 * possible object is 203 * {@link Integer } 204 * 205 */ 206 public Integer getFailures() { 207 return failures; 208 } 209 210 /** 211 * Sets the value of the failures property. 212 * 213 * @param value 214 * allowed object is 215 * {@link Integer } 216 * 217 */ 218 public void setFailures(Integer value) { 219 this.failures = value; 220 } 221 222 /** 223 * Gets the value of the name property. 224 * 225 * @return 226 * possible object is 227 * {@link String } 228 * 229 */ 230 public String getName() { 231 return name; 232 } 233 234 /** 235 * Sets the value of the name property. 236 * 237 * @param value 238 * allowed object is 239 * {@link String } 240 * 241 */ 242 public void setName(String value) { 243 this.name = value; 244 } 245 246 /** 247 * Gets the value of the time property. 248 * 249 * @return 250 * possible object is 251 * {@link Double } 252 * 253 */ 254 public Double getTime() { 255 return time; 256 } 257 258 /** 259 * Sets the value of the time property. 260 * 261 * @param value 262 * allowed object is 263 * {@link Double } 264 * 265 */ 266 public void setTime(Double value) { 267 this.time = value; 268 } 269 270 }