ru.yandex.qatools.allure.data.Time Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data;
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 time complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="time">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="start" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* <attribute name="stop" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "time")
public class Time {
@XmlAttribute(name = "start")
protected Long start;
@XmlAttribute(name = "stop")
protected Long stop;
@XmlAttribute(name = "duration")
protected Long duration;
/**
* Gets the value of the start property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getStart() {
if (start == null) {
return 0L;
} else {
return start;
}
}
/**
* Sets the value of the start property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setStart(Long value) {
this.start = value;
}
/**
* Gets the value of the stop property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getStop() {
if (stop == null) {
return 0L;
} else {
return stop;
}
}
/**
* Sets the value of the stop property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setStop(Long value) {
this.stop = value;
}
/**
* Gets the value of the duration property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getDuration() {
if (duration == null) {
return 0L;
} else {
return duration;
}
}
/**
* Sets the value of the duration property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setDuration(Long value) {
this.duration = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy