public class Version extends Object implements Serializable, VersionWithCount
Java class for Version complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Version">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="region" type="{urn:config.gridrouter.qatools.ru}Region" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
number |
protected List<Region> |
regions |
| Constructor and Description |
|---|
Version()
Default no-arg constructor
|
Version(List<Region> regions,
String number)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNumber()
Gets the value of the number property.
|
List<Region> |
getRegions()
Gets the value of the regions property.
|
void |
setNumber(String value)
Sets the value of the number property.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCountpublic List<Region> getRegions()
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 regions property.
For example, to add a new item, do as follows:
getRegions().add(newItem);
Objects of the following type(s) are allowed in the list
Region
getRegions in interface VersionWithCountpublic String getNumber()
StringCopyright © 2015 Yandex. All rights reserved.