/* * Copyright 2013 Serdar. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // 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: 2013.03.14 at 08:42:30 PM MEZ // package de.fub.gpxmodule.xml; import java.math.BigDecimal; import java.util.Date; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * * A geographic point with optional elevation and time. Available for use by * other schemas. * * * <p> * Java class for ptType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="ptType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="ele" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> * <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * </sequence> * <attribute name="lat" use="required" type="{http://www.topografix.com/GPX/1/1}latitudeType" /> * <attribute name="lon" use="required" type="{http://www.topografix.com/GPX/1/1}longitudeType" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ptType", propOrder = { "ele", "time" }) public class Pt { protected BigDecimal ele; @XmlElement(type = String.class) @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "dateTime") protected Date time; @XmlAttribute(name = "lat", required = true) @XmlJavaTypeAdapter(Adapter6.class) protected BigDecimal lat; @XmlAttribute(name = "lon", required = true) @XmlJavaTypeAdapter(Adapter5.class) protected BigDecimal lon; /** * Gets the value of the ele property. * * @return possible object is {@link BigDecimal } * */ public BigDecimal getEle() { return ele; } /** * Sets the value of the ele property. * * @param value allowed object is {@link BigDecimal } * */ public void setEle(BigDecimal value) { this.ele = value; } /** * Gets the value of the time property. * * @return possible object is {@link String } * */ public Date getTime() { return time; } /** * Sets the value of the time property. * * @param value allowed object is {@link String } * */ public void setTime(Date value) { this.time = value; } /** * Gets the value of the lat property. * * @return possible object is {@link String } * */ public BigDecimal getLat() { return lat; } /** * Sets the value of the lat property. * * @param value allowed object is {@link String } * */ public void setLat(BigDecimal value) { this.lat = value; } /** * Gets the value of the lon property. * * @return possible object is {@link String } * */ public BigDecimal getLon() { return lon; } /** * Sets the value of the lon property. * * @param value allowed object is {@link String } * */ public void setLon(BigDecimal value) { this.lon = value; } }