ru.yandex.qatools.allure.data.AllureFeature Maven / Gradle / Ivy
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.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for allure-feature complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allure-feature">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="statistic" type="{urn:data.allure.qatools.yandex.ru}statistic"/>
* <element name="stories" type="{urn:data.allure.qatools.yandex.ru}allure-stories" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allure-feature", propOrder = {
})
public class AllureFeature {
@XmlElement(required = true)
protected String title;
@XmlElement(required = true)
protected Statistic statistic;
@XmlElementWrapper(name = "stories")
@XmlElement(name = "story")
protected List stories;
/**
* 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 statistic property.
*
* @return
* possible object is
* {@link Statistic }
*
*/
public Statistic getStatistic() {
return statistic;
}
/**
* Sets the value of the statistic property.
*
* @param value
* allowed object is
* {@link Statistic }
*
*/
public void setStatistic(Statistic value) {
this.statistic = value;
}
public List getStories() {
if (stories == null) {
stories = new ArrayList();
}
return stories;
}
public void setStories(List stories) {
this.stories = stories;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy