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

fr.sii.sonar.test.junit.domain.v7.Testcase Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
//
// Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.2.7 
// Voir http://java.sun.com/xml/jaxb 
// Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source. 
// Généré le : 2016.05.09 à 12:07:13 PM CEST 
//


package fr.sii.sonar.test.junit.domain.v7;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{}skipped"/>
 *           <element ref="{}error"/>
 *           <element ref="{}failure"/>
 *           <element ref="{}system-out"/>
 *           <element ref="{}system-err"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="assertions" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="classname" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="line" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "skippedOrErrorOrFailure" }) @XmlRootElement(name = "testcase") public class Testcase { @XmlElementRefs({ @XmlElementRef(name = "error", type = Error.class), @XmlElementRef(name = "failure", type = Failure.class), @XmlElementRef(name = "skipped", type = Skipped.class), @XmlElementRef(name = "system-out", type = JAXBElement.class), @XmlElementRef(name = "system-err", type = JAXBElement.class) }) protected List skippedOrErrorOrFailure; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "assertions") protected String assertions; @XmlAttribute(name = "time") protected String time; @XmlAttribute(name = "classname") protected String classname; @XmlAttribute(name = "status") protected String status; @XmlAttribute(name = "class") protected String clazz; @XmlAttribute(name = "file") protected String file; @XmlAttribute(name = "line") protected String line; /** * Gets the value of the skippedOrErrorOrFailure 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 skippedOrErrorOrFailure property. * *

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

     *    getSkippedOrErrorOrFailure().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Error } * {@link Skipped } * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link JAXBElement }{@code <}{@link String }{@code >} * {@link Failure } * * */ public List getSkippedOrErrorOrFailure() { if (skippedOrErrorOrFailure == null) { skippedOrErrorOrFailure = new ArrayList(); } return this.skippedOrErrorOrFailure; } /** * Obtient la valeur de la propriété name. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Définit la valeur de la propriété name. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Obtient la valeur de la propriété assertions. * * @return * possible object is * {@link String } * */ public String getAssertions() { return assertions; } /** * Définit la valeur de la propriété assertions. * * @param value * allowed object is * {@link String } * */ public void setAssertions(String value) { this.assertions = value; } /** * Obtient la valeur de la propriété time. * * @return * possible object is * {@link String } * */ public String getTime() { return time; } /** * Définit la valeur de la propriété time. * * @param value * allowed object is * {@link String } * */ public void setTime(String value) { this.time = value; } /** * Obtient la valeur de la propriété classname. * * @return * possible object is * {@link String } * */ public String getClassname() { return classname; } /** * Définit la valeur de la propriété classname. * * @param value * allowed object is * {@link String } * */ public void setClassname(String value) { this.classname = value; } /** * Obtient la valeur de la propriété status. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Définit la valeur de la propriété status. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Obtient la valeur de la propriété clazz. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Définit la valeur de la propriété clazz. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } /** * Obtient la valeur de la propriété file. * * @return * possible object is * {@link String } * */ public String getFile() { return file; } /** * Définit la valeur de la propriété file. * * @param value * allowed object is * {@link String } * */ public void setFile(String value) { this.file = value; } /** * Obtient la valeur de la propriété line. * * @return * possible object is * {@link String } * */ public String getLine() { return line; } /** * Définit la valeur de la propriété line. * * @param value * allowed object is * {@link String } * */ public void setLine(String value) { this.line = value; } }