org.allurefw.report.XunitWidgetItem 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.Statistic;
/**
* Java class for XunitWidgetItem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="XunitWidgetItem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="statistic" type="{urn:report.allurefw.org}Statistic"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "XunitWidgetItem", propOrder = {
"uid",
"name",
"statistic"
})
public class XunitWidgetItem implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected String uid;
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected Statistic statistic;
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = 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 XunitWidgetItem withUid(String value) {
setUid(value);
return this;
}
public XunitWidgetItem withName(String value) {
setName(value);
return this;
}
public XunitWidgetItem withStatistic(Statistic value) {
setStatistic(value);
return this;
}
}