org.allurefw.report.entity.Summary Maven / Gradle / Ivy
The newest version!
package org.allurefw.report.entity;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Summary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Summary">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="attachments" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* <attribute name="steps" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Summary")
public class Summary implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "attachments")
protected Long attachments;
@XmlAttribute(name = "steps")
protected Long steps;
/**
* Gets the value of the attachments property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getAttachments() {
if (attachments == null) {
return 0L;
} else {
return attachments;
}
}
/**
* Sets the value of the attachments property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAttachments(Long value) {
this.attachments = value;
}
/**
* Gets the value of the steps property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getSteps() {
if (steps == null) {
return 0L;
} else {
return steps;
}
}
/**
* Sets the value of the steps property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setSteps(Long value) {
this.steps = value;
}
public Summary withAttachments(Long value) {
setAttachments(value);
return this;
}
public Summary withSteps(Long value) {
setSteps(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy