//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-646
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.11.25 at 04:56:33 PM CET
//
package slash.navigation.googlemaps.elevation;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="result" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="location">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="elevation" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"status",
"result"
})
@XmlRootElement(name = "ElevationResponse")
public class ElevationResponse {
@XmlElement(required = true)
protected String status;
@XmlElement(required = true)
protected List<ElevationResponse.Result> result;
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the result property.
*
* <p>
* 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 <CODE>set</CODE> method for the result property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getResult().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ElevationResponse.Result }
*
*
*/
public List<ElevationResponse.Result> getResult() {
if (result == null) {
result = new ArrayList<>();
}
return this.result;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="location">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="elevation" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"location",
"elevation"
})
public static class Result {
@XmlElement(required = true)
protected ElevationResponse.Result.Location location;
@XmlElement(required = true)
protected BigDecimal elevation;
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link ElevationResponse.Result.Location }
*
*/
public ElevationResponse.Result.Location getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link ElevationResponse.Result.Location }
*
*/
public void setLocation(ElevationResponse.Result.Location value) {
this.location = value;
}
/**
* Gets the value of the elevation property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getElevation() {
return elevation;
}
/**
* Sets the value of the elevation property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setElevation(BigDecimal value) {
this.elevation = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="lat" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="lng" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"lat",
"lng"
})
public static class Location {
@XmlElement(required = true)
protected BigDecimal lat;
@XmlElement(required = true)
protected BigDecimal lng;
/**
* Gets the value of the lat property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLat() {
return lat;
}
/**
* Sets the value of the lat property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLat(BigDecimal value) {
this.lat = value;
}
/**
* Gets the value of the lng property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getLng() {
return lng;
}
/**
* Sets the value of the lng property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setLng(BigDecimal value) {
this.lng = value;
}
}
}
}