001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 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: 2017.04.15 at 10:50:52 PM IST 006// 007 008 009package com.thed.zblast.parser.jaxb.junit; 010 011import com.thed.model.ExecutionRequest; 012 013import java.util.ArrayList; 014import java.util.HashSet; 015import java.util.List; 016import java.util.Set; 017import javax.xml.bind.annotation.*; 018 019 020/** 021 * <p>Java class for anonymous complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element ref="{}skipped" minOccurs="0"/> 031 * <element ref="{}error" maxOccurs="unbounded" minOccurs="0"/> 032 * <element ref="{}failure" maxOccurs="unbounded" minOccurs="0"/> 033 * <element ref="{}system-out" maxOccurs="unbounded" minOccurs="0"/> 034 * <element ref="{}system-err" maxOccurs="unbounded" minOccurs="0"/> 035 * </sequence> 036 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 037 * <attribute name="assertions" type="{http://www.w3.org/2001/XMLSchema}string" /> 038 * <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" /> 039 * <attribute name="classname" type="{http://www.w3.org/2001/XMLSchema}string" /> 040 * <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /> 041 * </restriction> 042 * </complexContent> 043 * </complexType> 044 * </pre> 045 * 046 * 047 */ 048@XmlAccessorType(XmlAccessType.FIELD) 049@XmlType(name = "", propOrder = { 050 "skipped", 051 "error", 052 "failure", 053 "systemOut", 054 "systemErr", 055 "attachments", 056 "requirements" 057}) 058@XmlRootElement(name = "testcase") 059public class Testcase { 060 061 protected String skipped; 062 protected List<Error> error; 063 protected List<Failure> failure; 064 protected Attachments attachments; 065 protected Requirements requirements; 066 @XmlElement(name = "system-out") 067 protected List<String> systemOut; 068 @XmlElement(name = "system-err") 069 protected List<String> systemErr; 070 @XmlAttribute(name = "name", required = true) 071 protected String name; 072 @XmlAttribute(name = "tag", required = false) 073 protected String tag; 074 @XmlAttribute(name = "assertions") 075 protected String assertions; 076 @XmlAttribute(name = "time") 077 protected String time; 078 @XmlAttribute(name = "classname") 079 protected String classname; 080 081 @XmlAttribute(name = "status") 082 protected String status; 083 @XmlAttribute(name = "errors") 084 protected String errors; 085 @XmlAttribute(name = "successes") 086 protected String successes; 087 088 @XmlTransient 089 private Set<String> requirementIds=new HashSet<>(); 090 @XmlTransient 091 private List<String> attachmentList=new ArrayList<>(); 092 @XmlTransient 093 private String statusPassAttachment; 094 @XmlTransient 095 private String statusFailAttachment; 096 @XmlTransient 097 private String statusAttachment; 098 @XmlTransient 099 private ExecutionRequest executionRequest; 100 101 public String getErrors() { 102 return errors; 103 } 104 105 public void setErrors(String errors) { 106 this.errors = errors; 107 } 108 109 public String getSuccesses() { 110 return successes; 111 } 112 113 public void setSuccesses(String successes) { 114 this.successes = successes; 115 } 116 /** 117 * Gets the value of the skipped property. 118 * 119 * @return 120 * possible object is 121 * {@link String } 122 * 123 */ 124 public String getSkipped() { 125 return skipped; 126 } 127 128 /** 129 * Sets the value of the skipped property. 130 * 131 * @param value 132 * allowed object is 133 * {@link String } 134 * 135 */ 136 public void setSkipped(String value) { 137 this.skipped = value; 138 } 139 140 /** 141 * Gets the value of the error property. 142 * 143 * <p> 144 * This accessor method returns a reference to the live list, 145 * not a snapshot. Therefore any modification you make to the 146 * returned list will be present inside the JAXB object. 147 * This is why there is not a <CODE>set</CODE> method for the error property. 148 * 149 * <p> 150 * For example, to add a new item, do as follows: 151 * <pre> 152 * getError().add(newItem); 153 * </pre> 154 * 155 * 156 * <p> 157 * Objects of the following type(s) are allowed in the list 158 * {@link Error } 159 * 160 * 161 */ 162 public List<Error> getError() { 163 if (error == null) { 164 error = new ArrayList<Error>(); 165 } 166 return this.error; 167 } 168 169 /** 170 * Gets the value of the failure property. 171 * 172 * <p> 173 * This accessor method returns a reference to the live list, 174 * not a snapshot. Therefore any modification you make to the 175 * returned list will be present inside the JAXB object. 176 * This is why there is not a <CODE>set</CODE> method for the failure property. 177 * 178 * <p> 179 * For example, to add a new item, do as follows: 180 * <pre> 181 * getFailure().add(newItem); 182 * </pre> 183 * 184 * 185 * <p> 186 * Objects of the following type(s) are allowed in the list 187 * {@link Failure } 188 * 189 * 190 */ 191 public List<Failure> getFailure() { 192 if (failure == null) { 193 failure = new ArrayList<Failure>(); 194 } 195 return this.failure; 196 } 197 198 /** 199 * Gets the value of the systemOut property. 200 * 201 * <p> 202 * This accessor method returns a reference to the live list, 203 * not a snapshot. Therefore any modification you make to the 204 * returned list will be present inside the JAXB object. 205 * This is why there is not a <CODE>set</CODE> method for the systemOut property. 206 * 207 * <p> 208 * For example, to add a new item, do as follows: 209 * <pre> 210 * getSystemOut().add(newItem); 211 * </pre> 212 * 213 * 214 * <p> 215 * Objects of the following type(s) are allowed in the list 216 * {@link String } 217 * 218 * 219 */ 220 public List<String> getSystemOut() { 221 if (systemOut == null) { 222 systemOut = new ArrayList<String>(); 223 } 224 return this.systemOut; 225 } 226 227 /** 228 * Gets the value of the systemErr property. 229 * 230 * <p> 231 * This accessor method returns a reference to the live list, 232 * not a snapshot. Therefore any modification you make to the 233 * returned list will be present inside the JAXB object. 234 * This is why there is not a <CODE>set</CODE> method for the systemErr property. 235 * 236 * <p> 237 * For example, to add a new item, do as follows: 238 * <pre> 239 * getSystemErr().add(newItem); 240 * </pre> 241 * 242 * 243 * <p> 244 * Objects of the following type(s) are allowed in the list 245 * {@link String } 246 * 247 * 248 */ 249 public List<String> getSystemErr() { 250 if (systemErr == null) { 251 systemErr = new ArrayList<String>(); 252 } 253 return this.systemErr; 254 } 255 256 /** 257 * Gets the value of the name property. 258 * 259 * @return 260 * possible object is 261 * {@link String } 262 * 263 */ 264 public String getName() { 265 return name; 266 } 267 268 /** 269 * Sets the value of the name property. 270 * 271 * @param value 272 * allowed object is 273 * {@link String } 274 * 275 */ 276 public void setName(String value) { 277 this.name = value; 278 } 279 280 public String getTag() { 281 return tag; 282 } 283 284 public void setTag(String tag) { 285 this.tag = tag; 286 } 287 288 /** 289 * Gets the value of the assertions property. 290 * 291 * @return 292 * possible object is 293 * {@link String } 294 * 295 */ 296 public String getAssertions() { 297 return assertions; 298 } 299 300 /** 301 * Sets the value of the assertions property. 302 * 303 * @param value 304 * allowed object is 305 * {@link String } 306 * 307 */ 308 public void setAssertions(String value) { 309 this.assertions = value; 310 } 311 312 /** 313 * Gets the value of the time property. 314 * 315 * @return 316 * possible object is 317 * {@link String } 318 * 319 */ 320 public String getTime() { 321 return time; 322 } 323 324 /** 325 * Sets the value of the time property. 326 * 327 * @param value 328 * allowed object is 329 * {@link String } 330 * 331 */ 332 public void setTime(String value) { 333 this.time = value; 334 } 335 336 /** 337 * Gets the value of the classname property. 338 * 339 * @return 340 * possible object is 341 * {@link String } 342 * 343 */ 344 public String getClassname() { 345 return classname; 346 } 347 348 /** 349 * Sets the value of the classname property. 350 * 351 * @param value 352 * allowed object is 353 * {@link String } 354 * 355 */ 356 public void setClassname(String value) { 357 this.classname = value; 358 } 359 360 /** 361 * Gets the value of the status property. 362 * 363 * @return 364 * possible object is 365 * {@link String } 366 * 367 */ 368 public String getStatus() { 369 return status; 370 } 371 372 /** 373 * Sets the value of the status property. 374 * 375 * @param value 376 * allowed object is 377 * {@link String } 378 * 379 */ 380 public void setStatus(String value) { 381 this.status = value; 382 } 383 384 public Attachments getAttachments() { 385 return attachments; 386 } 387 388 public void setAttachments(Attachments attachments) { 389 this.attachments = attachments; 390 } 391 392 public Requirements getRequirements() { 393 return requirements; 394 } 395 396 public void setRequirements(Requirements requirements) { 397 this.requirements = requirements; 398 } 399 400 public void setError(List<Error> error) { 401 this.error = error; 402 } 403 404 public void setFailure(List<Failure> failure) { 405 this.failure = failure; 406 } 407 408 public void setSystemOut(List<String> systemOut) { 409 this.systemOut = systemOut; 410 } 411 412 public void setSystemErr(List<String> systemErr) { 413 this.systemErr = systemErr; 414 } 415 416 public Set<String> getRequirementIds() { 417 return requirementIds; 418 } 419 420 public void setRequirementIds(Set<String> requirementIds) { 421 this.requirementIds = requirementIds; 422 } 423 424 public List<String> getAttachmentList() { 425 return attachmentList; 426 } 427 428 public void setAttachmentList(List<String> attachmentList) { 429 this.attachmentList = attachmentList; 430 } 431 432 public String getStatusPassAttachment() { 433 return statusPassAttachment; 434 } 435 436 public void setStatusPassAttachment(String statusPassAttachment) { 437 this.statusPassAttachment = statusPassAttachment; 438 } 439 440 public String getStatusFailAttachment() { 441 return statusFailAttachment; 442 } 443 444 public void setStatusFailAttachment(String statusFailAttachment) { 445 this.statusFailAttachment = statusFailAttachment; 446 } 447 448 public String getStatusAttachment() { 449 return statusAttachment; 450 } 451 452 public void setStatusAttachment(String statusAttachment) { 453 this.statusAttachment = statusAttachment; 454 } 455 456 public ExecutionRequest getExecutionRequest() { 457 return executionRequest; 458 } 459 460 public void setExecutionRequest(ExecutionRequest executionRequest) { 461 this.executionRequest = executionRequest; 462 } 463}