ru.qatools.gridrouter.config.Browser Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.27 at 08:30:33 AM UTC
//
package ru.qatools.gridrouter.config;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Browser complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Browser">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="version" type="{urn:config.gridrouter.qatools.ru}Version" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="defaultVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Browser", propOrder = {
"versions"
})
public class Browser implements Serializable, WithVersionFind
{
@XmlElement(name = "version")
protected List versions;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "defaultVersion", required = true)
protected String defaultVersion;
/**
* Default no-arg constructor
*
*/
public Browser() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public Browser(final List versions, final String name, final String defaultVersion) {
this.versions = versions;
this.name = name;
this.defaultVersion = defaultVersion;
}
/**
* Gets the value of the versions property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the versions property.
*
*
* For example, to add a new item, do as follows:
*
* getVersions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Version }
*
*
*/
public List getVersions() {
if (versions == null) {
versions = new ArrayList();
}
return this.versions;
}
/**
* 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 defaultVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultVersion() {
return defaultVersion;
}
/**
* Sets the value of the defaultVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultVersion(String value) {
this.defaultVersion = value;
}
}