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

org.allurefw.report.entity.TestGroup Maven / Gradle / Ivy

The newest version!

package org.allurefw.report.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for TestGroup complex type. * *

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

 * <complexType name="TestGroup">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="descriptionHtml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="links" type="{urn:entity.report.allurefw.org}Links" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TestGroup", propOrder = { }) public class TestGroup implements Serializable, WithDescription, WithName { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected String uid; @XmlElement(required = true) protected String name; @XmlElement(required = true) protected String type; protected String description; protected String descriptionHtml; @XmlElementWrapper @XmlElement(name = "link") protected List links; /** * 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the descriptionHtml property. * * @return * possible object is * {@link String } * */ public String getDescriptionHtml() { return descriptionHtml; } /** * Sets the value of the descriptionHtml property. * * @param value * allowed object is * {@link String } * */ public void setDescriptionHtml(String value) { this.descriptionHtml = value; } public List getLinks() { if (links == null) { links = new ArrayList(); } return links; } public void setLinks(List links) { this.links = links; } public TestGroup withUid(String value) { setUid(value); return this; } public TestGroup withName(String value) { setName(value); return this; } public TestGroup withType(String value) { setType(value); return this; } public TestGroup withDescription(String value) { setDescription(value); return this; } public TestGroup withDescriptionHtml(String value) { setDescriptionHtml(value); return this; } public TestGroup withLinks(Link... values) { if (values!= null) { for (Link value: values) { getLinks().add(value); } } return this; } public TestGroup withLinks(Collection values) { if (values!= null) { getLinks().addAll(values); } return this; } public TestGroup withLinks(List links) { setLinks(links); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy