public class Environment extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for environment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="environment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="parameter" type="{urn:model.commons.qatools.yandex.ru}parameter" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
name |
protected List<Parameter> |
parameter |
protected String |
url |
| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
List<Parameter> |
getParameter()
Gets the value of the parameter property.
|
String |
getUrl()
Gets the value of the url property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setUrl(String value)
Sets the value of the url property.
|
Environment |
withId(String value) |
Environment |
withName(String value) |
Environment |
withParameter(Collection<Parameter> values) |
Environment |
withParameter(Parameter... values) |
Environment |
withUrl(String value) |
public void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getUrl()
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic List<Parameter> getParameter()
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 parameter property.
For example, to add a new item, do as follows:
getParameter().add(newItem);
Objects of the following type(s) are allowed in the list
Parameter
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Environment withId(String value)
public Environment withName(String value)
public Environment withUrl(String value)
public Environment withParameter(Parameter... values)
public Environment withParameter(Collection<Parameter> values)
Copyright © 2017 Yandex. All rights reserved.