public class WeatherScenarioSimpleRequestMessage extends eu.limetri.ygg.api.RequestMessage implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para anonymous complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType>
<complexContent>
<extension base="{http://www.limetri.eu/schemas/ygg}RequestMessage">
<sequence>
<element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="weatherVariable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Calendar |
endTime |
protected double |
latitude |
protected double |
longitude |
protected Calendar |
startTime |
protected List<String> |
weatherVariable |
| Constructor and Description |
|---|
WeatherScenarioSimpleRequestMessage() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Calendar |
getEndTime()
Obtiene el valor de la propiedad endTime.
|
double |
getLatitude()
Obtiene el valor de la propiedad latitude.
|
double |
getLongitude()
Obtiene el valor de la propiedad longitude.
|
Calendar |
getStartTime()
Obtiene el valor de la propiedad startTime.
|
List<String> |
getWeatherVariable()
Gets the value of the weatherVariable property.
|
boolean |
isSetEndTime() |
boolean |
isSetLatitude() |
boolean |
isSetLongitude() |
boolean |
isSetStartTime() |
boolean |
isSetWeatherVariable() |
void |
setEndTime(Calendar value)
Define el valor de la propiedad endTime.
|
void |
setLatitude(double value)
Define el valor de la propiedad latitude.
|
void |
setLongitude(double value)
Define el valor de la propiedad longitude.
|
void |
setStartTime(Calendar value)
Define el valor de la propiedad startTime.
|
String |
toString() |
void |
unsetWeatherVariable() |
WeatherScenarioSimpleRequestMessage |
withEndTime(Calendar value) |
WeatherScenarioSimpleRequestMessage |
withLatitude(double value) |
WeatherScenarioSimpleRequestMessage |
withLongitude(double value) |
WeatherScenarioSimpleRequestMessage |
withStartTime(Calendar value) |
WeatherScenarioSimpleRequestMessage |
withWeatherVariable(Collection<String> values) |
WeatherScenarioSimpleRequestMessage |
withWeatherVariable(String... values) |
protected double latitude
protected double longitude
protected Calendar startTime
protected Calendar endTime
public double getLatitude()
public void setLatitude(double value)
public boolean isSetLatitude()
public double getLongitude()
public void setLongitude(double value)
public boolean isSetLongitude()
public Calendar getStartTime()
Stringpublic void setStartTime(Calendar value)
value - allowed object is
Stringpublic boolean isSetStartTime()
public Calendar getEndTime()
Stringpublic void setEndTime(Calendar value)
value - allowed object is
Stringpublic boolean isSetEndTime()
public List<String> getWeatherVariable()
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 weatherVariable property.
For example, to add a new item, do as follows:
getWeatherVariable().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetWeatherVariable()
public void unsetWeatherVariable()
public String toString()
toString in class eu.limetri.ygg.api.RequestMessagepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class eu.limetri.ygg.api.RequestMessagepublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class eu.limetri.ygg.api.RequestMessagepublic WeatherScenarioSimpleRequestMessage withLatitude(double value)
public WeatherScenarioSimpleRequestMessage withLongitude(double value)
public WeatherScenarioSimpleRequestMessage withStartTime(Calendar value)
public WeatherScenarioSimpleRequestMessage withEndTime(Calendar value)
public WeatherScenarioSimpleRequestMessage withWeatherVariable(String... values)
public WeatherScenarioSimpleRequestMessage withWeatherVariable(Collection<String> values)
Copyright © 2015. All Rights Reserved.