public class AdviceType extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para AdviceType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="AdviceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<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>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AdviceType.CropStage
Clase Java para anonymous complex type.
|
static class |
AdviceType.Location
Clase Java para anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
cropKind |
protected AdviceType.CropStage |
cropStage |
protected AdviceType.Location |
location |
protected float |
relativeHumidity |
protected BigInteger |
requestIdentification |
protected float |
temperature |
| Constructor and Description |
|---|
AdviceType() |
| 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.
|
AdviceType.CropStage |
getCropStage()
Obtiene el valor de la propiedad cropStage.
|
AdviceType.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(AdviceType.CropStage value)
Define el valor de la propiedad cropStage.
|
void |
setLocation(AdviceType.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() |
AdviceType |
withCropKind(String value) |
AdviceType |
withCropStage(AdviceType.CropStage value) |
AdviceType |
withLocation(AdviceType.Location value) |
AdviceType |
withRelativeHumidity(float value) |
AdviceType |
withRequestIdentification(BigInteger value) |
AdviceType |
withTemperature(float value) |
@NotNull protected String cropKind
@NotNull protected AdviceType.Location location
@NotNull protected AdviceType.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 AdviceType.Location getLocation()
AdviceType.Locationpublic void setLocation(AdviceType.Location value)
value - allowed object is
AdviceType.Locationpublic boolean isSetLocation()
public AdviceType.CropStage getCropStage()
AdviceType.CropStagepublic void setCropStage(AdviceType.CropStage value)
value - allowed object is
AdviceType.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 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.ToStringpublic 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.ToStringpublic AdviceType withCropKind(String value)
public AdviceType withLocation(AdviceType.Location value)
public AdviceType withCropStage(AdviceType.CropStage value)
public AdviceType withTemperature(float value)
public AdviceType withRelativeHumidity(float value)
public AdviceType withRequestIdentification(BigInteger value)
Copyright © 2015. All Rights Reserved.