All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yandex.qatools.allure.data.AllureTestCase Maven / Gradle / Ivy

There is a newer version: 1.5.4
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.11.29 at 11:32:48 AM UTC 
//


package ru.yandex.qatools.allure.data;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import ru.yandex.qatools.allure.model.Attachment;
import ru.yandex.qatools.allure.model.Failure;
import ru.yandex.qatools.allure.model.SeverityLevel;
import ru.yandex.qatools.allure.model.Status;


/**
 * 

Java class for allure-test-case complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="allure-test-case">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="suite-uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="time" type="{urn:data.allure.qatools.yandex.ru}time"/>
 *         <element name="summary" type="{urn:data.allure.qatools.yandex.ru}summary"/>
 *         <element name="failure" type="{urn:data.allure.qatools.yandex.ru}failure" minOccurs="0"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="tags" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="steps" type="{urn:data.allure.qatools.yandex.ru}allure-test-step" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="attachments" type="{urn:data.allure.qatools.yandex.ru}attachment" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="severity" type="{urn:data.allure.qatools.yandex.ru}severity-level"/>
 *         <element name="status" type="{urn:data.allure.qatools.yandex.ru}status"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "allure-test-case", propOrder = { "uid", "suiteUid", "title", "time", "summary", "failure", "description", "tags", "steps", "attachments", "severity", "status" }) public class AllureTestCase { @XmlElement(required = true) protected String uid; @XmlElement(name = "suite-uid", required = true) protected String suiteUid; @XmlElement(required = true) protected String title; @XmlElement(required = true) protected Time time; @XmlElement(required = true) protected Summary summary; protected Failure failure; protected String description; protected List tags; protected List steps; protected List attachments; @XmlElement(required = true) protected SeverityLevel severity; @XmlElement(required = true) protected Status status; /** * Gets the value of the uid property. * * @return * possible object is * {@link String } * */ public String getUid() { return uid; } /** * Sets the value of the uid property. * * @param value * allowed object is * {@link String } * */ public void setUid(String value) { this.uid = value; } /** * Gets the value of the suiteUid property. * * @return * possible object is * {@link String } * */ public String getSuiteUid() { return suiteUid; } /** * Sets the value of the suiteUid property. * * @param value * allowed object is * {@link String } * */ public void setSuiteUid(String value) { this.suiteUid = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link Time } * */ public Time getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link Time } * */ public void setTime(Time value) { this.time = value; } /** * Gets the value of the summary property. * * @return * possible object is * {@link Summary } * */ public Summary getSummary() { return summary; } /** * Sets the value of the summary property. * * @param value * allowed object is * {@link Summary } * */ public void setSummary(Summary value) { this.summary = value; } /** * Gets the value of the failure property. * * @return * possible object is * {@link Failure } * */ public Failure getFailure() { return failure; } /** * Sets the value of the failure property. * * @param value * allowed object is * {@link Failure } * */ public void setFailure(Failure value) { this.failure = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the tags property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the tags property. * *

* For example, to add a new item, do as follows: *

     *    getTags().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTags() { if (tags == null) { tags = new ArrayList(); } return this.tags; } /** * Gets the value of the steps property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the steps property. * *

* For example, to add a new item, do as follows: *

     *    getSteps().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AllureTestStep } * * */ public List getSteps() { if (steps == null) { steps = new ArrayList(); } return this.steps; } /** * Gets the value of the attachments property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the attachments property. * *

* For example, to add a new item, do as follows: *

     *    getAttachments().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Attachment } * * */ public List getAttachments() { if (attachments == null) { attachments = new ArrayList(); } return this.attachments; } /** * Gets the value of the severity property. * * @return * possible object is * {@link SeverityLevel } * */ public SeverityLevel getSeverity() { return severity; } /** * Sets the value of the severity property. * * @param value * allowed object is * {@link SeverityLevel } * */ public void setSeverity(SeverityLevel value) { this.severity = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link Status } * */ public Status getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Status } * */ public void setStatus(Status value) { this.status = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy