org.allurefw.report.TotalData Maven / Gradle / Ivy
The newest version!
package org.allurefw.report;
import java.io.Serializable;
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 org.allurefw.report.entity.GroupTime;
import org.allurefw.report.entity.Statistic;
import org.allurefw.report.entity.WithGroupTime;
import org.allurefw.report.entity.WithStatistic;
/**
* Java class for TotalData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TotalData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="statistic" type="{urn:report.allurefw.org}Statistic"/>
* <element name="time" type="{urn:report.allurefw.org}GroupTime"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TotalData", propOrder = {
"statistic",
"time"
})
public class TotalData implements Serializable, WithGroupTime, WithStatistic
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected Statistic statistic;
@XmlElement(required = true)
protected GroupTime time;
/**
* 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;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link GroupTime }
*
*/
public GroupTime getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link GroupTime }
*
*/
public void setTime(GroupTime value) {
this.time = value;
}
public TotalData withStatistic(Statistic value) {
setStatistic(value);
return this;
}
public TotalData withTime(GroupTime value) {
setTime(value);
return this;
}
}