1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2015.09.30 at 09:12:12 PM UTC 6 // 7 8 9 package ch.powerunit.report; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlElement; 17 import javax.xml.bind.annotation.XmlRootElement; 18 import javax.xml.bind.annotation.XmlType; 19 20 21 /** 22 * <p>Java class for anonymous complex type. 23 * 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 26 * <pre> 27 * <complexType> 28 * <complexContent> 29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 30 * <sequence> 31 * <element ref="{}skipped" minOccurs="0"/> 32 * <element ref="{}error" maxOccurs="unbounded" minOccurs="0"/> 33 * <element ref="{}failure" maxOccurs="unbounded" minOccurs="0"/> 34 * <element ref="{}system-out" maxOccurs="unbounded" minOccurs="0"/> 35 * <element ref="{}system-err" maxOccurs="unbounded" minOccurs="0"/> 36 * </sequence> 37 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 38 * <attribute name="assertions" type="{http://www.w3.org/2001/XMLSchema}string" /> 39 * <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}long" /> 40 * <attribute name="classname" type="{http://www.w3.org/2001/XMLSchema}string" /> 41 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </pre> 46 * 47 * 48 */ 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "", propOrder = { 51 "skipped", 52 "error", 53 "failure", 54 "systemOut", 55 "systemErr" 56 }) 57 @XmlRootElement(name = "testcase") 58 public class Testcase { 59 60 protected String skipped; 61 protected List<Error> error; 62 protected List<Failure> failure; 63 @XmlElement(name = "system-out") 64 protected List<String> systemOut; 65 @XmlElement(name = "system-err") 66 protected List<String> systemErr; 67 @XmlAttribute(name = "name", required = true) 68 protected String name; 69 @XmlAttribute(name = "assertions") 70 protected String assertions; 71 @XmlAttribute(name = "time") 72 protected Long time; 73 @XmlAttribute(name = "classname") 74 protected String classname; 75 @XmlAttribute(name = "status") 76 protected String status; 77 78 /** 79 * Gets the value of the skipped property. 80 * 81 * @return 82 * possible object is 83 * {@link String } 84 * 85 */ 86 public String getSkipped() { 87 return skipped; 88 } 89 90 /** 91 * Sets the value of the skipped property. 92 * 93 * @param value 94 * allowed object is 95 * {@link String } 96 * 97 */ 98 public void setSkipped(String value) { 99 this.skipped = value; 100 } 101 102 /** 103 * Gets the value of the error property. 104 * 105 * <p> 106 * This accessor method returns a reference to the live list, 107 * not a snapshot. Therefore any modification you make to the 108 * returned list will be present inside the JAXB object. 109 * This is why there is not a <CODE>set</CODE> method for the error property. 110 * 111 * <p> 112 * For example, to add a new item, do as follows: 113 * <pre> 114 * getError().add(newItem); 115 * </pre> 116 * 117 * 118 * <p> 119 * Objects of the following type(s) are allowed in the list 120 * {@link Error } 121 * 122 * 123 */ 124 public List<Error> getError() { 125 if (error == null) { 126 error = new ArrayList<Error>(); 127 } 128 return this.error; 129 } 130 131 /** 132 * Gets the value of the failure property. 133 * 134 * <p> 135 * This accessor method returns a reference to the live list, 136 * not a snapshot. Therefore any modification you make to the 137 * returned list will be present inside the JAXB object. 138 * This is why there is not a <CODE>set</CODE> method for the failure property. 139 * 140 * <p> 141 * For example, to add a new item, do as follows: 142 * <pre> 143 * getFailure().add(newItem); 144 * </pre> 145 * 146 * 147 * <p> 148 * Objects of the following type(s) are allowed in the list 149 * {@link Failure } 150 * 151 * 152 */ 153 public List<Failure> getFailure() { 154 if (failure == null) { 155 failure = new ArrayList<Failure>(); 156 } 157 return this.failure; 158 } 159 160 /** 161 * Gets the value of the systemOut property. 162 * 163 * <p> 164 * This accessor method returns a reference to the live list, 165 * not a snapshot. Therefore any modification you make to the 166 * returned list will be present inside the JAXB object. 167 * This is why there is not a <CODE>set</CODE> method for the systemOut property. 168 * 169 * <p> 170 * For example, to add a new item, do as follows: 171 * <pre> 172 * getSystemOut().add(newItem); 173 * </pre> 174 * 175 * 176 * <p> 177 * Objects of the following type(s) are allowed in the list 178 * {@link String } 179 * 180 * 181 */ 182 public List<String> getSystemOut() { 183 if (systemOut == null) { 184 systemOut = new ArrayList<String>(); 185 } 186 return this.systemOut; 187 } 188 189 /** 190 * Gets the value of the systemErr property. 191 * 192 * <p> 193 * This accessor method returns a reference to the live list, 194 * not a snapshot. Therefore any modification you make to the 195 * returned list will be present inside the JAXB object. 196 * This is why there is not a <CODE>set</CODE> method for the systemErr property. 197 * 198 * <p> 199 * For example, to add a new item, do as follows: 200 * <pre> 201 * getSystemErr().add(newItem); 202 * </pre> 203 * 204 * 205 * <p> 206 * Objects of the following type(s) are allowed in the list 207 * {@link String } 208 * 209 * 210 */ 211 public List<String> getSystemErr() { 212 if (systemErr == null) { 213 systemErr = new ArrayList<String>(); 214 } 215 return this.systemErr; 216 } 217 218 /** 219 * Gets the value of the name property. 220 * 221 * @return 222 * possible object is 223 * {@link String } 224 * 225 */ 226 public String getName() { 227 return name; 228 } 229 230 /** 231 * Sets the value of the name property. 232 * 233 * @param value 234 * allowed object is 235 * {@link String } 236 * 237 */ 238 public void setName(String value) { 239 this.name = value; 240 } 241 242 /** 243 * Gets the value of the assertions property. 244 * 245 * @return 246 * possible object is 247 * {@link String } 248 * 249 */ 250 public String getAssertions() { 251 return assertions; 252 } 253 254 /** 255 * Sets the value of the assertions property. 256 * 257 * @param value 258 * allowed object is 259 * {@link String } 260 * 261 */ 262 public void setAssertions(String value) { 263 this.assertions = value; 264 } 265 266 /** 267 * Gets the value of the time property. 268 * 269 * @return 270 * possible object is 271 * {@link Long } 272 * 273 */ 274 public Long getTime() { 275 return time; 276 } 277 278 /** 279 * Sets the value of the time property. 280 * 281 * @param value 282 * allowed object is 283 * {@link Long } 284 * 285 */ 286 public void setTime(Long value) { 287 this.time = value; 288 } 289 290 /** 291 * Gets the value of the classname property. 292 * 293 * @return 294 * possible object is 295 * {@link String } 296 * 297 */ 298 public String getClassname() { 299 return classname; 300 } 301 302 /** 303 * Sets the value of the classname property. 304 * 305 * @param value 306 * allowed object is 307 * {@link String } 308 * 309 */ 310 public void setClassname(String value) { 311 this.classname = value; 312 } 313 314 /** 315 * Gets the value of the status property. 316 * 317 * @return 318 * possible object is 319 * {@link String } 320 * 321 */ 322 public String getStatus() { 323 return status; 324 } 325 326 /** 327 * Sets the value of the status property. 328 * 329 * @param value 330 * allowed object is 331 * {@link String } 332 * 333 */ 334 public void setStatus(String value) { 335 this.status = value; 336 } 337 338 }