/*******************************************************************************
* Copyright (c) 2017 BREDEX GmbH.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* BREDEX GmbH - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.jubula.client.core.exporter.junitmodel;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"m_testsuite"
})
@XmlRootElement(name = "testsuites")
public class Testsuites {
/**
*
*/
@XmlElement (name = "testsuite")
private List<Testsuite> m_testsuite;
/**
*
*/
@XmlAttribute(name = "name")
private String m_name;
/**
*
*/
@XmlAttribute(name = "time")
private String m_time;
/**
*
*/
@XmlAttribute(name = "tests")
private String m_tests;
/**
*
*/
@XmlAttribute(name = "failures")
private String m_failures;
/**
*
*/
@XmlAttribute(name = "disabled")
private String m_disabled;
/**
*
*/
@XmlAttribute(name = "errors")
private String m_errors;
/**
* Gets the value of the testsuite property.
*
* <p>
* 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 <CODE>set</CODE> method for the testsuite property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTestsuite().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Testsuite }
*
* @return List of testsuites
*/
public List<Testsuite> getTestsuite() {
if (m_testsuite == null) {
m_testsuite = new ArrayList<Testsuite>();
}
return this.m_testsuite;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return m_name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.m_name = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTime() {
return m_time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTime(String value) {
this.m_time = value;
}
/**
* Gets the value of the tests property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTests() {
return m_tests;
}
/**
* Sets the value of the tests property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTests(String value) {
this.m_tests = value;
}
/**
* Gets the value of the failures property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFailures() {
return m_failures;
}
/**
* Sets the value of the failures property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFailures(String value) {
this.m_failures = value;
}
/**
* Gets the value of the disabled property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisabled() {
return m_disabled;
}
/**
* Sets the value of the disabled property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisabled(String value) {
this.m_disabled = value;
}
/**
* Gets the value of the errors property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrors() {
return m_errors;
}
/**
* Sets the value of the errors property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrors(String value) {
this.m_errors = value;
}
}