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

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

There is a newer version: 2.32.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.XmlType;


/**
 * 

Java class for GroupTime complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="GroupTime">
 *   <complexContent>
 *     <extension base="{urn:entity.allure.qameta.io}Time">
 *       <sequence>
 *         <element name="minDuration" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="maxDuration" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         <element name="sumDuration" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "GroupTime", propOrder = { "minDuration", "maxDuration", "sumDuration" }) public class GroupTime extends Time implements Serializable, ExtraGroupTimeMethods { private final static long serialVersionUID = 1L; @XmlElement(required = true, type = Long.class, nillable = true) protected Long minDuration; @XmlElement(required = true, type = Long.class, nillable = true) protected Long maxDuration; @XmlElement(required = true, type = Long.class, nillable = true) protected Long sumDuration; /** * Gets the value of the minDuration property. * * @return * possible object is * {@link Long } * */ public Long getMinDuration() { return minDuration; } /** * Sets the value of the minDuration property. * * @param value * allowed object is * {@link Long } * */ public void setMinDuration(Long value) { this.minDuration = value; } /** * Gets the value of the maxDuration property. * * @return * possible object is * {@link Long } * */ public Long getMaxDuration() { return maxDuration; } /** * Sets the value of the maxDuration property. * * @param value * allowed object is * {@link Long } * */ public void setMaxDuration(Long value) { this.maxDuration = value; } /** * Gets the value of the sumDuration property. * * @return * possible object is * {@link Long } * */ public Long getSumDuration() { return sumDuration; } /** * Sets the value of the sumDuration property. * * @param value * allowed object is * {@link Long } * */ public void setSumDuration(Long value) { this.sumDuration = value; } public GroupTime withMinDuration(Long value) { setMinDuration(value); return this; } public GroupTime withMaxDuration(Long value) { setMaxDuration(value); return this; } public GroupTime withSumDuration(Long value) { setSumDuration(value); return this; } @Override public GroupTime withStart(Long value) { setStart(value); return this; } @Override public GroupTime withStop(Long value) { setStop(value); return this; } @Override public GroupTime withDuration(Long value) { setDuration(value); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy