public class AdviceRequestMessage 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 |
AdviceRequestMessage.CropStage
Clase Java para anonymous complex type.
|
static class |
AdviceRequestMessage.Location
Clase Java para anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
cropKind |
protected AdviceRequestMessage.CropStage |
cropStage |
protected AdviceRequestMessage.Location |
location |
protected float |
relativeHumidity |
protected BigInteger |
requestIdentification |
protected float |
temperature |
| Constructor and Description |
|---|
AdviceRequestMessage() |
| 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.
|
AdviceRequestMessage.CropStage |
getCropStage()
Obtiene el valor de la propiedad cropStage.
|
AdviceRequestMessage.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(AdviceRequestMessage.CropStage value)
Define el valor de la propiedad cropStage.
|
void |
setLocation(AdviceRequestMessage.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() |
AdviceRequestMessage |
withCropKind(String value) |
AdviceRequestMessage |
withCropStage(AdviceRequestMessage.CropStage value) |
AdviceRequestMessage |
withLocation(AdviceRequestMessage.Location value) |
AdviceRequestMessage |
withRelativeHumidity(float value) |
AdviceRequestMessage |
withRequestIdentification(BigInteger value) |
AdviceRequestMessage |
withTemperature(float value) |
@NotNull protected String cropKind
@NotNull protected AdviceRequestMessage.Location location
@NotNull protected AdviceRequestMessage.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 AdviceRequestMessage.Location getLocation()
AdviceRequestMessage.Locationpublic void setLocation(AdviceRequestMessage.Location value)
value - allowed object is
AdviceRequestMessage.Locationpublic boolean isSetLocation()
public AdviceRequestMessage.CropStage getCropStage()
AdviceRequestMessage.CropStagepublic void setCropStage(AdviceRequestMessage.CropStage value)
value - allowed object is
AdviceRequestMessage.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 AdviceRequestMessage withCropKind(String value)
public AdviceRequestMessage withLocation(AdviceRequestMessage.Location value)
public AdviceRequestMessage withCropStage(AdviceRequestMessage.CropStage value)
public AdviceRequestMessage withTemperature(float value)
public AdviceRequestMessage withRelativeHumidity(float value)
public AdviceRequestMessage withRequestIdentification(BigInteger value)
Copyright © 2016. All Rights Reserved.