public class Advice 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="crop_kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="location">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="crop_stage">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="sown" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
<element name="growth" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
<element name="maturation" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
<element name="harvest" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="temperature" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="relative_humidity" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="request_identification" type="{http://www.w3.org/2001/XMLSchema}integer"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Advice.CropStage
Clase Java para anonymous complex type.
|
static class |
Advice.Location
Clase Java para anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
cropKind |
protected Advice.CropStage |
cropStage |
protected Advice.Location |
location |
protected float |
relativeHumidity |
protected BigInteger |
requestIdentification |
protected float |
temperature |
| Constructor and Description |
|---|
Advice() |
| 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) |
String |
getCropKind()
Obtiene el valor de la propiedad cropKind.
|
Advice.CropStage |
getCropStage()
Obtiene el valor de la propiedad cropStage.
|
Advice.Location |
getLocation()
Obtiene el valor de la propiedad location.
|
float |
getRelativeHumidity()
Obtiene el valor de la propiedad relativeHumidity.
|
BigInteger |
getRequestIdentification()
Obtiene el valor de la propiedad requestIdentification.
|
float |
getTemperature()
Obtiene el valor de la propiedad temperature.
|
boolean |
isSetCropKind() |
boolean |
isSetCropStage() |
boolean |
isSetLocation() |
boolean |
isSetRelativeHumidity() |
boolean |
isSetRequestIdentification() |
boolean |
isSetTemperature() |
void |
setCropKind(String value)
Define el valor de la propiedad cropKind.
|
void |
setCropStage(Advice.CropStage value)
Define el valor de la propiedad cropStage.
|
void |
setLocation(Advice.Location value)
Define el valor de la propiedad location.
|
void |
setRelativeHumidity(float value)
Define el valor de la propiedad relativeHumidity.
|
void |
setRequestIdentification(BigInteger value)
Define el valor de la propiedad requestIdentification.
|
void |
setTemperature(float value)
Define el valor de la propiedad temperature.
|
String |
toString() |
Advice |
withCropKind(String value) |
Advice |
withCropStage(Advice.CropStage value) |
Advice |
withLocation(Advice.Location value) |
Advice |
withRelativeHumidity(float value) |
Advice |
withRequestIdentification(BigInteger value) |
Advice |
withTemperature(float value) |
@NotNull protected String cropKind
@NotNull protected Advice.Location location
@NotNull protected Advice.CropStage cropStage
@NotNull protected float temperature
@NotNull protected float relativeHumidity
@NotNull protected BigInteger requestIdentification
public String getCropKind()
Stringpublic void setCropKind(String value)
value - allowed object is
Stringpublic boolean isSetCropKind()
public Advice.Location getLocation()
Advice.Locationpublic void setLocation(Advice.Location value)
value - allowed object is
Advice.Locationpublic boolean isSetLocation()
public Advice.CropStage getCropStage()
Advice.CropStagepublic void setCropStage(Advice.CropStage value)
value - allowed object is
Advice.CropStagepublic boolean isSetCropStage()
public float getTemperature()
public void setTemperature(float value)
public boolean isSetTemperature()
public float getRelativeHumidity()
public void setRelativeHumidity(float value)
public boolean isSetRelativeHumidity()
public BigInteger getRequestIdentification()
BigIntegerpublic void setRequestIdentification(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetRequestIdentification()
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 Advice withLocation(Advice.Location value)
public Advice withCropStage(Advice.CropStage value)
public Advice withTemperature(float value)
public Advice withRelativeHumidity(float value)
public Advice withRequestIdentification(BigInteger value)
Copyright © 2015. All Rights Reserved.