All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qameta.allure.entity.Time Maven / Gradle / Ivy

There is a newer version: 2.30.0
Show newest version

package io.qameta.allure.entity;

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.XmlSeeAlso;
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">
 *       <sequence>
 *         <element name="start" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="stop" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="duration" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Time", propOrder = { "start", "stop", "duration" }) @XmlSeeAlso({ GroupTime.class }) public class Time implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true, type = Long.class, nillable = true) protected Long start; @XmlElement(required = true, type = Long.class, nillable = true) protected Long stop; @XmlElement(required = true, type = Long.class, nillable = true) protected Long duration; /** * Gets the value of the start property. * * @return * possible object is * {@link Long } * */ public Long getStart() { 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() { 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() { return duration; } /** * Sets the value of the duration property. * * @param value * allowed object is * {@link Long } * */ public void setDuration(Long value) { this.duration = value; } public Time withStart(Long value) { setStart(value); return this; } public Time withStop(Long value) { setStop(value); return this; } public Time withDuration(Long value) { setDuration(value); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy