public class Browser extends Object implements Serializable, WithVersionFind
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultVersion |
protected String |
name |
protected List<Version> |
versions |
| Constructor and Description |
|---|
Browser()
Default no-arg constructor
|
Browser(List<Version> versions,
String name,
String defaultVersion)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultVersion()
Gets the value of the defaultVersion property.
|
String |
getName()
Gets the value of the name property.
|
List<Version> |
getVersions()
Gets the value of the versions property.
|
void |
setDefaultVersion(String value)
Sets the value of the defaultVersion property.
|
void |
setName(String value)
Sets the value of the name property.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindDefaultVersion, findVersionpublic List<Version> getVersions()
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
Version
getVersions in interface WithVersionFindpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDefaultVersion()
getDefaultVersion in interface WithVersionFindStringCopyright © 2015 Yandex. All rights reserved.