1 | Index: .classpath
|
---|
2 | ===================================================================
|
---|
3 | --- .classpath (revision 16369)
|
---|
4 | +++ .classpath (working copy)
|
---|
5 | @@ -2,6 +2,10 @@
|
---|
6 | <classpath>
|
---|
7 | <classpathentry kind="src" path="src"/>
|
---|
8 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
---|
9 | + <classpathentry exported="true" kind="lib" path="lib/jsr173-1.0_api.jar"/>
|
---|
10 | + <classpathentry exported="true" kind="lib" path="lib/jaxb-impl.jar"/>
|
---|
11 | + <classpathentry exported="true" kind="lib" path="lib/jaxb-api.jar"/>
|
---|
12 | + <classpathentry exported="true" kind="lib" path="lib/activation.jar"/>
|
---|
13 | <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
|
---|
14 | <classpathentry kind="output" path="bin"/>
|
---|
15 | </classpath>
|
---|
16 | Index: README
|
---|
17 | ===================================================================
|
---|
18 | --- README (revision 16369)
|
---|
19 | +++ README (working copy)
|
---|
20 | @@ -1,8 +1,9 @@
|
---|
21 | -README
|
---|
22 | +README
|
---|
23 | ======
|
---|
24 |
|
---|
25 | This plugin adds additional file formats into file open dialog.
|
---|
26 |
|
---|
27 | -Following file formats are support:
|
---|
28 | +Following file formats get support:
|
---|
29 |
|
---|
30 | -- TangoGPS
|
---|
31 | \ No newline at end of file
|
---|
32 | +- TangoGPS
|
---|
33 | +- Garmin Trainings Center TCX
|
---|
34 | \ No newline at end of file
|
---|
35 | Index: build.xml
|
---|
36 | ===================================================================
|
---|
37 | --- build.xml (revision 16369)
|
---|
38 | +++ build.xml (working copy)
|
---|
39 | @@ -50,9 +50,15 @@
|
---|
40 | -->
|
---|
41 | <target name="compile" depends="init">
|
---|
42 | <echo message="compiling sources for ${plugin.jar} ... "/>
|
---|
43 | - <javac srcdir="src" classpath="${josm}" debug="true" destdir="${plugin.build.dir}">
|
---|
44 | + <javac srcdir="src" debug="true" destdir="${plugin.build.dir}">
|
---|
45 | <compilerarg value="-Xlint:deprecation"/>
|
---|
46 | <compilerarg value="-Xlint:unchecked"/>
|
---|
47 | + <classpath>
|
---|
48 | + <pathelement location="${josm}"/>
|
---|
49 | + <fileset dir="lib">
|
---|
50 | + <include name="**/*.jar"/>
|
---|
51 | + </fileset>
|
---|
52 | + </classpath>
|
---|
53 | </javac>
|
---|
54 | </target>
|
---|
55 |
|
---|
56 | @@ -78,7 +84,14 @@
|
---|
57 | **
|
---|
58 | ************************************************
|
---|
59 | -->
|
---|
60 | - <manifest>
|
---|
61 | + <zipfileset src="lib/activation.jar" includes="**/*.class"/>
|
---|
62 | + <zipfileset src="lib/jsr173-1.0_api.jar" includes="**/*.class"/>
|
---|
63 | + <zipfileset src="lib/jaxb-api.jar" includes="**/*.class"/>
|
---|
64 | + <zipfileset src="lib/jaxb-api.jar" includes="**/*.properties"/>
|
---|
65 | +
|
---|
66 | + <zipfileset src="lib/jaxb-impl.jar" includes="**/*.class"/>
|
---|
67 | +
|
---|
68 | + <manifest>
|
---|
69 | <attribute name="Author" value="Dieter Muecke"/>
|
---|
70 | <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.DataImport"/>
|
---|
71 | <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
|
---|
72 | Index: src/org/openstreetmap/josm/io/Tcx.java
|
---|
73 | ===================================================================
|
---|
74 | --- src/org/openstreetmap/josm/io/Tcx.java (revision 0)
|
---|
75 | +++ src/org/openstreetmap/josm/io/Tcx.java (revision 0)
|
---|
76 | @@ -0,0 +1,220 @@
|
---|
77 | +// License: GPL. For details, see LICENSE file.
|
---|
78 | +package org.openstreetmap.josm.io;
|
---|
79 | +
|
---|
80 | +import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
81 | +
|
---|
82 | +import java.io.File;
|
---|
83 | +import java.io.IOException;
|
---|
84 | +import java.util.ArrayList;
|
---|
85 | +import java.util.Collection;
|
---|
86 | +
|
---|
87 | +import javax.xml.bind.JAXBContext;
|
---|
88 | +import javax.xml.bind.JAXBElement;
|
---|
89 | +import javax.xml.bind.JAXBException;
|
---|
90 | +import javax.xml.bind.Unmarshaller;
|
---|
91 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
92 | +
|
---|
93 | +import org.openstreetmap.josm.Main;
|
---|
94 | +import org.openstreetmap.josm.actions.ExtensionFileFilter;
|
---|
95 | +import org.openstreetmap.josm.data.coor.LatLon;
|
---|
96 | +import org.openstreetmap.josm.data.gpx.GpxData;
|
---|
97 | +import org.openstreetmap.josm.data.gpx.GpxTrack;
|
---|
98 | +import org.openstreetmap.josm.data.gpx.WayPoint;
|
---|
99 | +import org.openstreetmap.josm.gui.layer.GpxLayer;
|
---|
100 | +import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
|
---|
101 | +import org.openstreetmap.josm.io.tcx.ActivityLapT;
|
---|
102 | +import org.openstreetmap.josm.io.tcx.ActivityT;
|
---|
103 | +import org.openstreetmap.josm.io.tcx.CourseT;
|
---|
104 | +import org.openstreetmap.josm.io.tcx.PositionT;
|
---|
105 | +import org.openstreetmap.josm.io.tcx.TrackT;
|
---|
106 | +import org.openstreetmap.josm.io.tcx.TrackpointT;
|
---|
107 | +import org.openstreetmap.josm.io.tcx.TrainingCenterDatabaseT;
|
---|
108 | +
|
---|
109 | +
|
---|
110 | +/**
|
---|
111 | + * TCX Reader. This class is based on code genarated by the Java Architecture
|
---|
112 | + * for XML Binding (JAXB). For this class to work you will need the API und IMPL
|
---|
113 | + * Jars from the RI. JAXB can be downloaded at <a
|
---|
114 | + * href="https://jaxb.dev.java.net/">https://jaxb.dev.java.net/</a>. This class
|
---|
115 | + * has been developed using JAXB version 2.1.7.
|
---|
116 | + * <p>
|
---|
117 | + * Additional information and tutorial are available at: <a
|
---|
118 | + * href="http://java.sun.com/developer/technicalArticles/WebServices/jaxb/">http://java.sun.com/developer/technicalArticles/WebServices/jaxb/</a>
|
---|
119 | + * <p>
|
---|
120 | + * The Garmin TCX Schema file can be downloaded from: <a
|
---|
121 | + * href="http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd">http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd</a>
|
---|
122 | + * The command used to generate the code is: <code>
|
---|
123 | + * xjc.bat -p org.openstreetmap.josm.io.tcx TrainingCenterDatabasev2.xsd -d <path to the src folder of JOSM>
|
---|
124 | + * </code>
|
---|
125 | + * <p>
|
---|
126 | + * Note: if you get an exception that JAXB 2.1 is not supported on your system, you will have to add the jaxb-api.jar
|
---|
127 | + * to the endorsed directory (create it if necessary) of your JRE. Usually it is something like this:
|
---|
128 | + * \<program files>\Java\jre<java version>\lib\endorsed
|
---|
129 | + *
|
---|
130 | + * @author adrian <as@nitegate.de>
|
---|
131 | + *
|
---|
132 | + */
|
---|
133 | +public class Tcx extends FileImporter {
|
---|
134 | +
|
---|
135 | + //private File tcxFile;
|
---|
136 | +
|
---|
137 | + private GpxData gpxData;
|
---|
138 | +
|
---|
139 | +
|
---|
140 | + public Tcx() {
|
---|
141 | + super(new ExtensionFileFilter("tcx", "tcx",tr("TCX Files (*.tcx)")));
|
---|
142 | + }
|
---|
143 | +
|
---|
144 | + /**
|
---|
145 | + * @param tcxFile
|
---|
146 | + */
|
---|
147 | + @Override
|
---|
148 | + public void importData(File tcxFile) throws IOException {
|
---|
149 | + //this.tcxFile = tcxFile;
|
---|
150 | + parseFile(tcxFile);
|
---|
151 | +
|
---|
152 | + GpxData gpxData = getGpxData();
|
---|
153 | + gpxData.storageFile = tcxFile;
|
---|
154 | + GpxLayer gpxLayer = new GpxLayer(gpxData, tcxFile.getName());
|
---|
155 | + Main.main.addLayer(gpxLayer);
|
---|
156 | + if (Main.pref.getBoolean("marker.makeautomarkers", true))
|
---|
157 | + {
|
---|
158 | + MarkerLayer ml = new MarkerLayer(gpxData, tr("Markers from {0}", tcxFile.getName()), tcxFile, gpxLayer);
|
---|
159 | + if (ml.data.size() > 0)
|
---|
160 | + {
|
---|
161 | + Main.main.addLayer(ml);
|
---|
162 | + }
|
---|
163 | + }
|
---|
164 | +
|
---|
165 | + }
|
---|
166 | +
|
---|
167 | + /**
|
---|
168 | + *
|
---|
169 | + */
|
---|
170 | + @SuppressWarnings("unchecked") private void parseFile(File tcxFile) {
|
---|
171 | + try {
|
---|
172 | + JAXBContext jc = JAXBContext
|
---|
173 | + .newInstance(TrainingCenterDatabaseT.class);
|
---|
174 | + Unmarshaller unmarshaller = jc.createUnmarshaller();
|
---|
175 | + JAXBElement<TrainingCenterDatabaseT> element = (JAXBElement<TrainingCenterDatabaseT>)unmarshaller
|
---|
176 | + .unmarshal(tcxFile);
|
---|
177 | +
|
---|
178 | + TrainingCenterDatabaseT tcd = element.getValue();
|
---|
179 | +
|
---|
180 | + gpxData = new GpxData();
|
---|
181 | +
|
---|
182 | + // Usually logged activities are in the activities tag.
|
---|
183 | + parseDataFromActivities(tcd);
|
---|
184 | + // GPS tracks in the course tag are generated by the user.
|
---|
185 | + // Maybe not a good idea to import them.
|
---|
186 | + parseDataFromCourses(tcd);
|
---|
187 | +
|
---|
188 | + } catch (JAXBException e) {
|
---|
189 | + throw new RuntimeException(e);
|
---|
190 | + }
|
---|
191 | + }
|
---|
192 | +
|
---|
193 | + /** Convert a TrackpointT to a WayPoint.
|
---|
194 | + * @param tp TrackpointT to convert
|
---|
195 | + * @return tp converted to WayPoint, or null
|
---|
196 | + */
|
---|
197 | + private static WayPoint convertPoint(TrackpointT tp) {
|
---|
198 | +
|
---|
199 | + PositionT p = tp.getPosition();
|
---|
200 | +
|
---|
201 | + if (p == null)
|
---|
202 | + // If the TrackPointT lacks a position, return null.
|
---|
203 | + return null;
|
---|
204 | +
|
---|
205 | + WayPoint waypt = new WayPoint(new LatLon(p.getLatitudeDegrees(),
|
---|
206 | + p.getLongitudeDegrees()));
|
---|
207 | + Double altitudeMeters = tp.getAltitudeMeters();
|
---|
208 | + if (altitudeMeters != null) {
|
---|
209 | + waypt.attr.put("ele", altitudeMeters.toString());
|
---|
210 | + }
|
---|
211 | +
|
---|
212 | + XMLGregorianCalendar time = tp.getTime();
|
---|
213 | +
|
---|
214 | + if (time != null) {
|
---|
215 | + waypt.attr.put("time", time.toString());
|
---|
216 | + waypt.time = .001 * time.toGregorianCalendar().getTimeInMillis();
|
---|
217 | + }
|
---|
218 | +
|
---|
219 | + return waypt;
|
---|
220 | + }
|
---|
221 | +
|
---|
222 | + /**
|
---|
223 | + * @param tcd
|
---|
224 | + */
|
---|
225 | + private void parseDataFromActivities(TrainingCenterDatabaseT tcd) {
|
---|
226 | + int lap = 0;
|
---|
227 | + if ((tcd.getActivities() != null)
|
---|
228 | + && (tcd.getActivities().getActivity() != null)) {
|
---|
229 | + for (ActivityT activity : tcd.getActivities().getActivity()) {
|
---|
230 | + if (activity.getLap() != null) {
|
---|
231 | + for (ActivityLapT activityLap : activity.getLap()) {
|
---|
232 | + if (activityLap.getTrack() != null) {
|
---|
233 | + XMLGregorianCalendar startTime = activityLap
|
---|
234 | + .getStartTime();
|
---|
235 | + GpxTrack currentTrack = new GpxTrack();
|
---|
236 | + gpxData.tracks.add(currentTrack);
|
---|
237 | + for (TrackT track : activityLap.getTrack()) {
|
---|
238 | + if (track.getTrackpoint() != null) {
|
---|
239 | + Collection<WayPoint> currentTrackSeg = new ArrayList<WayPoint>();
|
---|
240 | + currentTrack.trackSegs.add(currentTrackSeg);
|
---|
241 | + for (TrackpointT tp :
|
---|
242 | + track.getTrackpoint()) {
|
---|
243 | + WayPoint waypt = convertPoint(tp);
|
---|
244 | +
|
---|
245 | + if (waypt != null) {
|
---|
246 | + if (startTime != null) {
|
---|
247 | + waypt.attr.put("name", "LAP"
|
---|
248 | + + (++lap));
|
---|
249 | + gpxData.waypoints.add(waypt);
|
---|
250 | + startTime = null;
|
---|
251 | + }
|
---|
252 | +
|
---|
253 | + currentTrackSeg.add(waypt);
|
---|
254 | + }
|
---|
255 | + }
|
---|
256 | + }
|
---|
257 | + }
|
---|
258 | + }
|
---|
259 | + }
|
---|
260 | + }
|
---|
261 | + }
|
---|
262 | + }
|
---|
263 | + }
|
---|
264 | +
|
---|
265 | + /**
|
---|
266 | + * @param tcd
|
---|
267 | + */
|
---|
268 | + private void parseDataFromCourses(TrainingCenterDatabaseT tcd) {
|
---|
269 | + if ((tcd.getCourses() != null)
|
---|
270 | + && (tcd.getCourses().getCourse() != null)) {
|
---|
271 | + for (CourseT course : tcd.getCourses().getCourse()) {
|
---|
272 | + if (course.getTrack() != null) {
|
---|
273 | + GpxTrack currentTrack = new GpxTrack();
|
---|
274 | + gpxData.tracks.add(currentTrack);
|
---|
275 | + for (TrackT track : course.getTrack()) {
|
---|
276 | + if (track.getTrackpoint() != null) {
|
---|
277 | + Collection<WayPoint> currentTrackSeg = new ArrayList<WayPoint>();
|
---|
278 | + currentTrack.trackSegs.add(currentTrackSeg);
|
---|
279 | + for (TrackpointT tp : track.getTrackpoint()) {
|
---|
280 | + WayPoint waypt = convertPoint(tp);
|
---|
281 | +
|
---|
282 | + if (waypt != null) {
|
---|
283 | + currentTrackSeg.add(waypt);
|
---|
284 | + }
|
---|
285 | + }
|
---|
286 | + }
|
---|
287 | + }
|
---|
288 | + }
|
---|
289 | + }
|
---|
290 | + }
|
---|
291 | + }
|
---|
292 | +
|
---|
293 | + private GpxData getGpxData() {
|
---|
294 | + return gpxData;
|
---|
295 | + }
|
---|
296 | +}
|
---|
297 | Index: src/org/openstreetmap/josm/io/tcx/AbstractSourceT.java
|
---|
298 | ===================================================================
|
---|
299 | --- src/org/openstreetmap/josm/io/tcx/AbstractSourceT.java (revision 0)
|
---|
300 | +++ src/org/openstreetmap/josm/io/tcx/AbstractSourceT.java (revision 0)
|
---|
301 | @@ -0,0 +1,77 @@
|
---|
302 | +//
|
---|
303 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
304 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
305 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
306 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
307 | +//
|
---|
308 | +
|
---|
309 | +
|
---|
310 | +package org.openstreetmap.josm.io.tcx;
|
---|
311 | +
|
---|
312 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
313 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
314 | +import javax.xml.bind.annotation.XmlElement;
|
---|
315 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
316 | +import javax.xml.bind.annotation.XmlType;
|
---|
317 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
318 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
319 | +
|
---|
320 | +
|
---|
321 | +/**
|
---|
322 | + * <p>Java class for AbstractSource_t complex type.
|
---|
323 | + *
|
---|
324 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
325 | + *
|
---|
326 | + * <pre>
|
---|
327 | + * <complexType name="AbstractSource_t">
|
---|
328 | + * <complexContent>
|
---|
329 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
330 | + * <sequence>
|
---|
331 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t"/>
|
---|
332 | + * </sequence>
|
---|
333 | + * </restriction>
|
---|
334 | + * </complexContent>
|
---|
335 | + * </complexType>
|
---|
336 | + * </pre>
|
---|
337 | + *
|
---|
338 | + *
|
---|
339 | + */
|
---|
340 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
341 | +@XmlType(name = "AbstractSource_t", propOrder = {
|
---|
342 | + "name"
|
---|
343 | +})
|
---|
344 | +@XmlSeeAlso({
|
---|
345 | + ApplicationT.class,
|
---|
346 | + DeviceT.class
|
---|
347 | +})
|
---|
348 | +public abstract class AbstractSourceT {
|
---|
349 | +
|
---|
350 | + @XmlElement(name = "Name", required = true)
|
---|
351 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
352 | + protected String name;
|
---|
353 | +
|
---|
354 | + /**
|
---|
355 | + * Gets the value of the name property.
|
---|
356 | + *
|
---|
357 | + * @return
|
---|
358 | + * possible object is
|
---|
359 | + * {@link String }
|
---|
360 | + *
|
---|
361 | + */
|
---|
362 | + public String getName() {
|
---|
363 | + return name;
|
---|
364 | + }
|
---|
365 | +
|
---|
366 | + /**
|
---|
367 | + * Sets the value of the name property.
|
---|
368 | + *
|
---|
369 | + * @param value
|
---|
370 | + * allowed object is
|
---|
371 | + * {@link String }
|
---|
372 | + *
|
---|
373 | + */
|
---|
374 | + public void setName(String value) {
|
---|
375 | + this.name = value;
|
---|
376 | + }
|
---|
377 | +
|
---|
378 | +}
|
---|
379 | Index: src/org/openstreetmap/josm/io/tcx/AbstractStepT.java
|
---|
380 | ===================================================================
|
---|
381 | --- src/org/openstreetmap/josm/io/tcx/AbstractStepT.java (revision 0)
|
---|
382 | +++ src/org/openstreetmap/josm/io/tcx/AbstractStepT.java (revision 0)
|
---|
383 | @@ -0,0 +1,66 @@
|
---|
384 | +//
|
---|
385 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
386 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
387 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
388 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
389 | +//
|
---|
390 | +
|
---|
391 | +
|
---|
392 | +package org.openstreetmap.josm.io.tcx;
|
---|
393 | +
|
---|
394 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
395 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
396 | +import javax.xml.bind.annotation.XmlElement;
|
---|
397 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
398 | +import javax.xml.bind.annotation.XmlType;
|
---|
399 | +
|
---|
400 | +
|
---|
401 | +/**
|
---|
402 | + * <p>Java class for AbstractStep_t complex type.
|
---|
403 | + *
|
---|
404 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
405 | + *
|
---|
406 | + * <pre>
|
---|
407 | + * <complexType name="AbstractStep_t">
|
---|
408 | + * <complexContent>
|
---|
409 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
410 | + * <sequence>
|
---|
411 | + * <element name="StepId" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}StepId_t"/>
|
---|
412 | + * </sequence>
|
---|
413 | + * </restriction>
|
---|
414 | + * </complexContent>
|
---|
415 | + * </complexType>
|
---|
416 | + * </pre>
|
---|
417 | + *
|
---|
418 | + *
|
---|
419 | + */
|
---|
420 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
421 | +@XmlType(name = "AbstractStep_t", propOrder = {
|
---|
422 | + "stepId"
|
---|
423 | +})
|
---|
424 | +@XmlSeeAlso({
|
---|
425 | + RepeatT.class,
|
---|
426 | + StepT.class
|
---|
427 | +})
|
---|
428 | +public abstract class AbstractStepT {
|
---|
429 | +
|
---|
430 | + @XmlElement(name = "StepId")
|
---|
431 | + protected int stepId;
|
---|
432 | +
|
---|
433 | + /**
|
---|
434 | + * Gets the value of the stepId property.
|
---|
435 | + *
|
---|
436 | + */
|
---|
437 | + public int getStepId() {
|
---|
438 | + return stepId;
|
---|
439 | + }
|
---|
440 | +
|
---|
441 | + /**
|
---|
442 | + * Sets the value of the stepId property.
|
---|
443 | + *
|
---|
444 | + */
|
---|
445 | + public void setStepId(int value) {
|
---|
446 | + this.stepId = value;
|
---|
447 | + }
|
---|
448 | +
|
---|
449 | +}
|
---|
450 | Index: src/org/openstreetmap/josm/io/tcx/ActivityLapT.java
|
---|
451 | ===================================================================
|
---|
452 | --- src/org/openstreetmap/josm/io/tcx/ActivityLapT.java (revision 0)
|
---|
453 | +++ src/org/openstreetmap/josm/io/tcx/ActivityLapT.java (revision 0)
|
---|
454 | @@ -0,0 +1,392 @@
|
---|
455 | +//
|
---|
456 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
457 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
458 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
459 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
460 | +//
|
---|
461 | +
|
---|
462 | +
|
---|
463 | +package org.openstreetmap.josm.io.tcx;
|
---|
464 | +
|
---|
465 | +import java.util.ArrayList;
|
---|
466 | +import java.util.List;
|
---|
467 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
468 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
469 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
470 | +import javax.xml.bind.annotation.XmlElement;
|
---|
471 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
472 | +import javax.xml.bind.annotation.XmlType;
|
---|
473 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
474 | +
|
---|
475 | +
|
---|
476 | +/**
|
---|
477 | + * <p>Java class for ActivityLap_t complex type.
|
---|
478 | + *
|
---|
479 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
480 | + *
|
---|
481 | + * <pre>
|
---|
482 | + * <complexType name="ActivityLap_t">
|
---|
483 | + * <complexContent>
|
---|
484 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
485 | + * <sequence>
|
---|
486 | + * <element name="TotalTimeSeconds" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
487 | + * <element name="DistanceMeters" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
488 | + * <element name="MaximumSpeed" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
489 | + * <element name="Calories" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
490 | + * <element name="AverageHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
|
---|
491 | + * <element name="MaximumHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
|
---|
492 | + * <element name="Intensity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Intensity_t"/>
|
---|
493 | + * <element name="Cadence" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CadenceValue_t" minOccurs="0"/>
|
---|
494 | + * <element name="TriggerMethod" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}TriggerMethod_t"/>
|
---|
495 | + * <element name="Track" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Track_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
496 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
497 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
498 | + * </sequence>
|
---|
499 | + * <attribute name="StartTime" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
|
---|
500 | + * </restriction>
|
---|
501 | + * </complexContent>
|
---|
502 | + * </complexType>
|
---|
503 | + * </pre>
|
---|
504 | + *
|
---|
505 | + *
|
---|
506 | + */
|
---|
507 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
508 | +@XmlType(name = "ActivityLap_t", propOrder = {
|
---|
509 | + "totalTimeSeconds",
|
---|
510 | + "distanceMeters",
|
---|
511 | + "maximumSpeed",
|
---|
512 | + "calories",
|
---|
513 | + "averageHeartRateBpm",
|
---|
514 | + "maximumHeartRateBpm",
|
---|
515 | + "intensity",
|
---|
516 | + "cadence",
|
---|
517 | + "triggerMethod",
|
---|
518 | + "track",
|
---|
519 | + "notes",
|
---|
520 | + "extensions"
|
---|
521 | +})
|
---|
522 | +public class ActivityLapT {
|
---|
523 | +
|
---|
524 | + @XmlElement(name = "TotalTimeSeconds")
|
---|
525 | + protected double totalTimeSeconds;
|
---|
526 | + @XmlElement(name = "DistanceMeters")
|
---|
527 | + protected double distanceMeters;
|
---|
528 | + @XmlElement(name = "MaximumSpeed")
|
---|
529 | + protected Double maximumSpeed;
|
---|
530 | + @XmlElement(name = "Calories")
|
---|
531 | + @XmlSchemaType(name = "unsignedShort")
|
---|
532 | + protected int calories;
|
---|
533 | + @XmlElement(name = "AverageHeartRateBpm")
|
---|
534 | + protected HeartRateInBeatsPerMinuteT averageHeartRateBpm;
|
---|
535 | + @XmlElement(name = "MaximumHeartRateBpm")
|
---|
536 | + protected HeartRateInBeatsPerMinuteT maximumHeartRateBpm;
|
---|
537 | + @XmlElement(name = "Intensity", required = true)
|
---|
538 | + protected IntensityT intensity;
|
---|
539 | + @XmlElement(name = "Cadence")
|
---|
540 | + protected Short cadence;
|
---|
541 | + @XmlElement(name = "TriggerMethod", required = true)
|
---|
542 | + protected TriggerMethodT triggerMethod;
|
---|
543 | + @XmlElement(name = "Track")
|
---|
544 | + protected List<TrackT> track;
|
---|
545 | + @XmlElement(name = "Notes")
|
---|
546 | + protected String notes;
|
---|
547 | + @XmlElement(name = "Extensions")
|
---|
548 | + protected ExtensionsT extensions;
|
---|
549 | + @XmlAttribute(name = "StartTime", required = true)
|
---|
550 | + @XmlSchemaType(name = "dateTime")
|
---|
551 | + protected XMLGregorianCalendar startTime;
|
---|
552 | +
|
---|
553 | + /**
|
---|
554 | + * Gets the value of the totalTimeSeconds property.
|
---|
555 | + *
|
---|
556 | + */
|
---|
557 | + public double getTotalTimeSeconds() {
|
---|
558 | + return totalTimeSeconds;
|
---|
559 | + }
|
---|
560 | +
|
---|
561 | + /**
|
---|
562 | + * Sets the value of the totalTimeSeconds property.
|
---|
563 | + *
|
---|
564 | + */
|
---|
565 | + public void setTotalTimeSeconds(double value) {
|
---|
566 | + this.totalTimeSeconds = value;
|
---|
567 | + }
|
---|
568 | +
|
---|
569 | + /**
|
---|
570 | + * Gets the value of the distanceMeters property.
|
---|
571 | + *
|
---|
572 | + */
|
---|
573 | + public double getDistanceMeters() {
|
---|
574 | + return distanceMeters;
|
---|
575 | + }
|
---|
576 | +
|
---|
577 | + /**
|
---|
578 | + * Sets the value of the distanceMeters property.
|
---|
579 | + *
|
---|
580 | + */
|
---|
581 | + public void setDistanceMeters(double value) {
|
---|
582 | + this.distanceMeters = value;
|
---|
583 | + }
|
---|
584 | +
|
---|
585 | + /**
|
---|
586 | + * Gets the value of the maximumSpeed property.
|
---|
587 | + *
|
---|
588 | + * @return
|
---|
589 | + * possible object is
|
---|
590 | + * {@link Double }
|
---|
591 | + *
|
---|
592 | + */
|
---|
593 | + public Double getMaximumSpeed() {
|
---|
594 | + return maximumSpeed;
|
---|
595 | + }
|
---|
596 | +
|
---|
597 | + /**
|
---|
598 | + * Sets the value of the maximumSpeed property.
|
---|
599 | + *
|
---|
600 | + * @param value
|
---|
601 | + * allowed object is
|
---|
602 | + * {@link Double }
|
---|
603 | + *
|
---|
604 | + */
|
---|
605 | + public void setMaximumSpeed(Double value) {
|
---|
606 | + this.maximumSpeed = value;
|
---|
607 | + }
|
---|
608 | +
|
---|
609 | + /**
|
---|
610 | + * Gets the value of the calories property.
|
---|
611 | + *
|
---|
612 | + */
|
---|
613 | + public int getCalories() {
|
---|
614 | + return calories;
|
---|
615 | + }
|
---|
616 | +
|
---|
617 | + /**
|
---|
618 | + * Sets the value of the calories property.
|
---|
619 | + *
|
---|
620 | + */
|
---|
621 | + public void setCalories(int value) {
|
---|
622 | + this.calories = value;
|
---|
623 | + }
|
---|
624 | +
|
---|
625 | + /**
|
---|
626 | + * Gets the value of the averageHeartRateBpm property.
|
---|
627 | + *
|
---|
628 | + * @return
|
---|
629 | + * possible object is
|
---|
630 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
631 | + *
|
---|
632 | + */
|
---|
633 | + public HeartRateInBeatsPerMinuteT getAverageHeartRateBpm() {
|
---|
634 | + return averageHeartRateBpm;
|
---|
635 | + }
|
---|
636 | +
|
---|
637 | + /**
|
---|
638 | + * Sets the value of the averageHeartRateBpm property.
|
---|
639 | + *
|
---|
640 | + * @param value
|
---|
641 | + * allowed object is
|
---|
642 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
643 | + *
|
---|
644 | + */
|
---|
645 | + public void setAverageHeartRateBpm(HeartRateInBeatsPerMinuteT value) {
|
---|
646 | + this.averageHeartRateBpm = value;
|
---|
647 | + }
|
---|
648 | +
|
---|
649 | + /**
|
---|
650 | + * Gets the value of the maximumHeartRateBpm property.
|
---|
651 | + *
|
---|
652 | + * @return
|
---|
653 | + * possible object is
|
---|
654 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
655 | + *
|
---|
656 | + */
|
---|
657 | + public HeartRateInBeatsPerMinuteT getMaximumHeartRateBpm() {
|
---|
658 | + return maximumHeartRateBpm;
|
---|
659 | + }
|
---|
660 | +
|
---|
661 | + /**
|
---|
662 | + * Sets the value of the maximumHeartRateBpm property.
|
---|
663 | + *
|
---|
664 | + * @param value
|
---|
665 | + * allowed object is
|
---|
666 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
667 | + *
|
---|
668 | + */
|
---|
669 | + public void setMaximumHeartRateBpm(HeartRateInBeatsPerMinuteT value) {
|
---|
670 | + this.maximumHeartRateBpm = value;
|
---|
671 | + }
|
---|
672 | +
|
---|
673 | + /**
|
---|
674 | + * Gets the value of the intensity property.
|
---|
675 | + *
|
---|
676 | + * @return
|
---|
677 | + * possible object is
|
---|
678 | + * {@link IntensityT }
|
---|
679 | + *
|
---|
680 | + */
|
---|
681 | + public IntensityT getIntensity() {
|
---|
682 | + return intensity;
|
---|
683 | + }
|
---|
684 | +
|
---|
685 | + /**
|
---|
686 | + * Sets the value of the intensity property.
|
---|
687 | + *
|
---|
688 | + * @param value
|
---|
689 | + * allowed object is
|
---|
690 | + * {@link IntensityT }
|
---|
691 | + *
|
---|
692 | + */
|
---|
693 | + public void setIntensity(IntensityT value) {
|
---|
694 | + this.intensity = value;
|
---|
695 | + }
|
---|
696 | +
|
---|
697 | + /**
|
---|
698 | + * Gets the value of the cadence property.
|
---|
699 | + *
|
---|
700 | + * @return
|
---|
701 | + * possible object is
|
---|
702 | + * {@link Short }
|
---|
703 | + *
|
---|
704 | + */
|
---|
705 | + public Short getCadence() {
|
---|
706 | + return cadence;
|
---|
707 | + }
|
---|
708 | +
|
---|
709 | + /**
|
---|
710 | + * Sets the value of the cadence property.
|
---|
711 | + *
|
---|
712 | + * @param value
|
---|
713 | + * allowed object is
|
---|
714 | + * {@link Short }
|
---|
715 | + *
|
---|
716 | + */
|
---|
717 | + public void setCadence(Short value) {
|
---|
718 | + this.cadence = value;
|
---|
719 | + }
|
---|
720 | +
|
---|
721 | + /**
|
---|
722 | + * Gets the value of the triggerMethod property.
|
---|
723 | + *
|
---|
724 | + * @return
|
---|
725 | + * possible object is
|
---|
726 | + * {@link TriggerMethodT }
|
---|
727 | + *
|
---|
728 | + */
|
---|
729 | + public TriggerMethodT getTriggerMethod() {
|
---|
730 | + return triggerMethod;
|
---|
731 | + }
|
---|
732 | +
|
---|
733 | + /**
|
---|
734 | + * Sets the value of the triggerMethod property.
|
---|
735 | + *
|
---|
736 | + * @param value
|
---|
737 | + * allowed object is
|
---|
738 | + * {@link TriggerMethodT }
|
---|
739 | + *
|
---|
740 | + */
|
---|
741 | + public void setTriggerMethod(TriggerMethodT value) {
|
---|
742 | + this.triggerMethod = value;
|
---|
743 | + }
|
---|
744 | +
|
---|
745 | + /**
|
---|
746 | + * Gets the value of the track property.
|
---|
747 | + *
|
---|
748 | + * <p>
|
---|
749 | + * This accessor method returns a reference to the live list,
|
---|
750 | + * not a snapshot. Therefore any modification you make to the
|
---|
751 | + * returned list will be present inside the JAXB object.
|
---|
752 | + * This is why there is not a <CODE>set</CODE> method for the track property.
|
---|
753 | + *
|
---|
754 | + * <p>
|
---|
755 | + * For example, to add a new item, do as follows:
|
---|
756 | + * <pre>
|
---|
757 | + * getTrack().add(newItem);
|
---|
758 | + * </pre>
|
---|
759 | + *
|
---|
760 | + *
|
---|
761 | + * <p>
|
---|
762 | + * Objects of the following type(s) are allowed in the list
|
---|
763 | + * {@link TrackT }
|
---|
764 | + *
|
---|
765 | + *
|
---|
766 | + */
|
---|
767 | + public List<TrackT> getTrack() {
|
---|
768 | + if (track == null) {
|
---|
769 | + track = new ArrayList<TrackT>();
|
---|
770 | + }
|
---|
771 | + return this.track;
|
---|
772 | + }
|
---|
773 | +
|
---|
774 | + /**
|
---|
775 | + * Gets the value of the notes property.
|
---|
776 | + *
|
---|
777 | + * @return
|
---|
778 | + * possible object is
|
---|
779 | + * {@link String }
|
---|
780 | + *
|
---|
781 | + */
|
---|
782 | + public String getNotes() {
|
---|
783 | + return notes;
|
---|
784 | + }
|
---|
785 | +
|
---|
786 | + /**
|
---|
787 | + * Sets the value of the notes property.
|
---|
788 | + *
|
---|
789 | + * @param value
|
---|
790 | + * allowed object is
|
---|
791 | + * {@link String }
|
---|
792 | + *
|
---|
793 | + */
|
---|
794 | + public void setNotes(String value) {
|
---|
795 | + this.notes = value;
|
---|
796 | + }
|
---|
797 | +
|
---|
798 | + /**
|
---|
799 | + * Gets the value of the extensions property.
|
---|
800 | + *
|
---|
801 | + * @return
|
---|
802 | + * possible object is
|
---|
803 | + * {@link ExtensionsT }
|
---|
804 | + *
|
---|
805 | + */
|
---|
806 | + public ExtensionsT getExtensions() {
|
---|
807 | + return extensions;
|
---|
808 | + }
|
---|
809 | +
|
---|
810 | + /**
|
---|
811 | + * Sets the value of the extensions property.
|
---|
812 | + *
|
---|
813 | + * @param value
|
---|
814 | + * allowed object is
|
---|
815 | + * {@link ExtensionsT }
|
---|
816 | + *
|
---|
817 | + */
|
---|
818 | + public void setExtensions(ExtensionsT value) {
|
---|
819 | + this.extensions = value;
|
---|
820 | + }
|
---|
821 | +
|
---|
822 | + /**
|
---|
823 | + * Gets the value of the startTime property.
|
---|
824 | + *
|
---|
825 | + * @return
|
---|
826 | + * possible object is
|
---|
827 | + * {@link XMLGregorianCalendar }
|
---|
828 | + *
|
---|
829 | + */
|
---|
830 | + public XMLGregorianCalendar getStartTime() {
|
---|
831 | + return startTime;
|
---|
832 | + }
|
---|
833 | +
|
---|
834 | + /**
|
---|
835 | + * Sets the value of the startTime property.
|
---|
836 | + *
|
---|
837 | + * @param value
|
---|
838 | + * allowed object is
|
---|
839 | + * {@link XMLGregorianCalendar }
|
---|
840 | + *
|
---|
841 | + */
|
---|
842 | + public void setStartTime(XMLGregorianCalendar value) {
|
---|
843 | + this.startTime = value;
|
---|
844 | + }
|
---|
845 | +
|
---|
846 | +}
|
---|
847 | Index: src/org/openstreetmap/josm/io/tcx/ActivityListT.java
|
---|
848 | ===================================================================
|
---|
849 | --- src/org/openstreetmap/josm/io/tcx/ActivityListT.java (revision 0)
|
---|
850 | +++ src/org/openstreetmap/josm/io/tcx/ActivityListT.java (revision 0)
|
---|
851 | @@ -0,0 +1,109 @@
|
---|
852 | +//
|
---|
853 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
854 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
855 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
856 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
857 | +//
|
---|
858 | +
|
---|
859 | +
|
---|
860 | +package org.openstreetmap.josm.io.tcx;
|
---|
861 | +
|
---|
862 | +import java.util.ArrayList;
|
---|
863 | +import java.util.List;
|
---|
864 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
865 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
866 | +import javax.xml.bind.annotation.XmlElement;
|
---|
867 | +import javax.xml.bind.annotation.XmlType;
|
---|
868 | +
|
---|
869 | +
|
---|
870 | +/**
|
---|
871 | + * <p>Java class for ActivityList_t complex type.
|
---|
872 | + *
|
---|
873 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
874 | + *
|
---|
875 | + * <pre>
|
---|
876 | + * <complexType name="ActivityList_t">
|
---|
877 | + * <complexContent>
|
---|
878 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
879 | + * <sequence>
|
---|
880 | + * <element name="Activity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Activity_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
881 | + * <element name="MultiSportSession" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}MultiSportSession_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
882 | + * </sequence>
|
---|
883 | + * </restriction>
|
---|
884 | + * </complexContent>
|
---|
885 | + * </complexType>
|
---|
886 | + * </pre>
|
---|
887 | + *
|
---|
888 | + *
|
---|
889 | + */
|
---|
890 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
891 | +@XmlType(name = "ActivityList_t", propOrder = {
|
---|
892 | + "activity",
|
---|
893 | + "multiSportSession"
|
---|
894 | +})
|
---|
895 | +public class ActivityListT {
|
---|
896 | +
|
---|
897 | + @XmlElement(name = "Activity")
|
---|
898 | + protected List<ActivityT> activity;
|
---|
899 | + @XmlElement(name = "MultiSportSession")
|
---|
900 | + protected List<MultiSportSessionT> multiSportSession;
|
---|
901 | +
|
---|
902 | + /**
|
---|
903 | + * Gets the value of the activity property.
|
---|
904 | + *
|
---|
905 | + * <p>
|
---|
906 | + * This accessor method returns a reference to the live list,
|
---|
907 | + * not a snapshot. Therefore any modification you make to the
|
---|
908 | + * returned list will be present inside the JAXB object.
|
---|
909 | + * This is why there is not a <CODE>set</CODE> method for the activity property.
|
---|
910 | + *
|
---|
911 | + * <p>
|
---|
912 | + * For example, to add a new item, do as follows:
|
---|
913 | + * <pre>
|
---|
914 | + * getActivity().add(newItem);
|
---|
915 | + * </pre>
|
---|
916 | + *
|
---|
917 | + *
|
---|
918 | + * <p>
|
---|
919 | + * Objects of the following type(s) are allowed in the list
|
---|
920 | + * {@link ActivityT }
|
---|
921 | + *
|
---|
922 | + *
|
---|
923 | + */
|
---|
924 | + public List<ActivityT> getActivity() {
|
---|
925 | + if (activity == null) {
|
---|
926 | + activity = new ArrayList<ActivityT>();
|
---|
927 | + }
|
---|
928 | + return this.activity;
|
---|
929 | + }
|
---|
930 | +
|
---|
931 | + /**
|
---|
932 | + * Gets the value of the multiSportSession property.
|
---|
933 | + *
|
---|
934 | + * <p>
|
---|
935 | + * This accessor method returns a reference to the live list,
|
---|
936 | + * not a snapshot. Therefore any modification you make to the
|
---|
937 | + * returned list will be present inside the JAXB object.
|
---|
938 | + * This is why there is not a <CODE>set</CODE> method for the multiSportSession property.
|
---|
939 | + *
|
---|
940 | + * <p>
|
---|
941 | + * For example, to add a new item, do as follows:
|
---|
942 | + * <pre>
|
---|
943 | + * getMultiSportSession().add(newItem);
|
---|
944 | + * </pre>
|
---|
945 | + *
|
---|
946 | + *
|
---|
947 | + * <p>
|
---|
948 | + * Objects of the following type(s) are allowed in the list
|
---|
949 | + * {@link MultiSportSessionT }
|
---|
950 | + *
|
---|
951 | + *
|
---|
952 | + */
|
---|
953 | + public List<MultiSportSessionT> getMultiSportSession() {
|
---|
954 | + if (multiSportSession == null) {
|
---|
955 | + multiSportSession = new ArrayList<MultiSportSessionT>();
|
---|
956 | + }
|
---|
957 | + return this.multiSportSession;
|
---|
958 | + }
|
---|
959 | +
|
---|
960 | +}
|
---|
961 | Index: src/org/openstreetmap/josm/io/tcx/ActivityReferenceT.java
|
---|
962 | ===================================================================
|
---|
963 | --- src/org/openstreetmap/josm/io/tcx/ActivityReferenceT.java (revision 0)
|
---|
964 | +++ src/org/openstreetmap/josm/io/tcx/ActivityReferenceT.java (revision 0)
|
---|
965 | @@ -0,0 +1,72 @@
|
---|
966 | +//
|
---|
967 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
968 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
969 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
970 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
971 | +//
|
---|
972 | +
|
---|
973 | +
|
---|
974 | +package org.openstreetmap.josm.io.tcx;
|
---|
975 | +
|
---|
976 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
977 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
978 | +import javax.xml.bind.annotation.XmlElement;
|
---|
979 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
980 | +import javax.xml.bind.annotation.XmlType;
|
---|
981 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
982 | +
|
---|
983 | +
|
---|
984 | +/**
|
---|
985 | + * <p>Java class for ActivityReference_t complex type.
|
---|
986 | + *
|
---|
987 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
988 | + *
|
---|
989 | + * <pre>
|
---|
990 | + * <complexType name="ActivityReference_t">
|
---|
991 | + * <complexContent>
|
---|
992 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
993 | + * <sequence>
|
---|
994 | + * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
---|
995 | + * </sequence>
|
---|
996 | + * </restriction>
|
---|
997 | + * </complexContent>
|
---|
998 | + * </complexType>
|
---|
999 | + * </pre>
|
---|
1000 | + *
|
---|
1001 | + *
|
---|
1002 | + */
|
---|
1003 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1004 | +@XmlType(name = "ActivityReference_t", propOrder = {
|
---|
1005 | + "id"
|
---|
1006 | +})
|
---|
1007 | +public class ActivityReferenceT {
|
---|
1008 | +
|
---|
1009 | + @XmlElement(name = "Id", required = true)
|
---|
1010 | + @XmlSchemaType(name = "dateTime")
|
---|
1011 | + protected XMLGregorianCalendar id;
|
---|
1012 | +
|
---|
1013 | + /**
|
---|
1014 | + * Gets the value of the id property.
|
---|
1015 | + *
|
---|
1016 | + * @return
|
---|
1017 | + * possible object is
|
---|
1018 | + * {@link XMLGregorianCalendar }
|
---|
1019 | + *
|
---|
1020 | + */
|
---|
1021 | + public XMLGregorianCalendar getId() {
|
---|
1022 | + return id;
|
---|
1023 | + }
|
---|
1024 | +
|
---|
1025 | + /**
|
---|
1026 | + * Sets the value of the id property.
|
---|
1027 | + *
|
---|
1028 | + * @param value
|
---|
1029 | + * allowed object is
|
---|
1030 | + * {@link XMLGregorianCalendar }
|
---|
1031 | + *
|
---|
1032 | + */
|
---|
1033 | + public void setId(XMLGregorianCalendar value) {
|
---|
1034 | + this.id = value;
|
---|
1035 | + }
|
---|
1036 | +
|
---|
1037 | +}
|
---|
1038 | Index: src/org/openstreetmap/josm/io/tcx/ActivityT.java
|
---|
1039 | ===================================================================
|
---|
1040 | --- src/org/openstreetmap/josm/io/tcx/ActivityT.java (revision 0)
|
---|
1041 | +++ src/org/openstreetmap/josm/io/tcx/ActivityT.java (revision 0)
|
---|
1042 | @@ -0,0 +1,247 @@
|
---|
1043 | +//
|
---|
1044 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1045 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1046 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1047 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1048 | +//
|
---|
1049 | +
|
---|
1050 | +
|
---|
1051 | +package org.openstreetmap.josm.io.tcx;
|
---|
1052 | +
|
---|
1053 | +import java.util.ArrayList;
|
---|
1054 | +import java.util.List;
|
---|
1055 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1056 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1057 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
1058 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1059 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
1060 | +import javax.xml.bind.annotation.XmlType;
|
---|
1061 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
1062 | +
|
---|
1063 | +
|
---|
1064 | +/**
|
---|
1065 | + * <p>Java class for Activity_t complex type.
|
---|
1066 | + *
|
---|
1067 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1068 | + *
|
---|
1069 | + * <pre>
|
---|
1070 | + * <complexType name="Activity_t">
|
---|
1071 | + * <complexContent>
|
---|
1072 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
1073 | + * <sequence>
|
---|
1074 | + * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
---|
1075 | + * <element name="Lap" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityLap_t" maxOccurs="unbounded"/>
|
---|
1076 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
1077 | + * <element name="Training" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Training_t" minOccurs="0"/>
|
---|
1078 | + * <element name="Creator" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t" minOccurs="0"/>
|
---|
1079 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
1080 | + * </sequence>
|
---|
1081 | + * <attribute name="Sport" use="required" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Sport_t" />
|
---|
1082 | + * </restriction>
|
---|
1083 | + * </complexContent>
|
---|
1084 | + * </complexType>
|
---|
1085 | + * </pre>
|
---|
1086 | + *
|
---|
1087 | + *
|
---|
1088 | + */
|
---|
1089 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1090 | +@XmlType(name = "Activity_t", propOrder = {
|
---|
1091 | + "id",
|
---|
1092 | + "lap",
|
---|
1093 | + "notes",
|
---|
1094 | + "training",
|
---|
1095 | + "creator",
|
---|
1096 | + "extensions"
|
---|
1097 | +})
|
---|
1098 | +public class ActivityT {
|
---|
1099 | +
|
---|
1100 | + @XmlElement(name = "Id", required = true)
|
---|
1101 | + @XmlSchemaType(name = "dateTime")
|
---|
1102 | + protected XMLGregorianCalendar id;
|
---|
1103 | + @XmlElement(name = "Lap", required = true)
|
---|
1104 | + protected List<ActivityLapT> lap;
|
---|
1105 | + @XmlElement(name = "Notes")
|
---|
1106 | + protected String notes;
|
---|
1107 | + @XmlElement(name = "Training")
|
---|
1108 | + protected TrainingT training;
|
---|
1109 | + @XmlElement(name = "Creator")
|
---|
1110 | + protected AbstractSourceT creator;
|
---|
1111 | + @XmlElement(name = "Extensions")
|
---|
1112 | + protected ExtensionsT extensions;
|
---|
1113 | + @XmlAttribute(name = "Sport", required = true)
|
---|
1114 | + protected SportT sport;
|
---|
1115 | +
|
---|
1116 | + /**
|
---|
1117 | + * Gets the value of the id property.
|
---|
1118 | + *
|
---|
1119 | + * @return
|
---|
1120 | + * possible object is
|
---|
1121 | + * {@link XMLGregorianCalendar }
|
---|
1122 | + *
|
---|
1123 | + */
|
---|
1124 | + public XMLGregorianCalendar getId() {
|
---|
1125 | + return id;
|
---|
1126 | + }
|
---|
1127 | +
|
---|
1128 | + /**
|
---|
1129 | + * Sets the value of the id property.
|
---|
1130 | + *
|
---|
1131 | + * @param value
|
---|
1132 | + * allowed object is
|
---|
1133 | + * {@link XMLGregorianCalendar }
|
---|
1134 | + *
|
---|
1135 | + */
|
---|
1136 | + public void setId(XMLGregorianCalendar value) {
|
---|
1137 | + this.id = value;
|
---|
1138 | + }
|
---|
1139 | +
|
---|
1140 | + /**
|
---|
1141 | + * Gets the value of the lap property.
|
---|
1142 | + *
|
---|
1143 | + * <p>
|
---|
1144 | + * This accessor method returns a reference to the live list,
|
---|
1145 | + * not a snapshot. Therefore any modification you make to the
|
---|
1146 | + * returned list will be present inside the JAXB object.
|
---|
1147 | + * This is why there is not a <CODE>set</CODE> method for the lap property.
|
---|
1148 | + *
|
---|
1149 | + * <p>
|
---|
1150 | + * For example, to add a new item, do as follows:
|
---|
1151 | + * <pre>
|
---|
1152 | + * getLap().add(newItem);
|
---|
1153 | + * </pre>
|
---|
1154 | + *
|
---|
1155 | + *
|
---|
1156 | + * <p>
|
---|
1157 | + * Objects of the following type(s) are allowed in the list
|
---|
1158 | + * {@link ActivityLapT }
|
---|
1159 | + *
|
---|
1160 | + *
|
---|
1161 | + */
|
---|
1162 | + public List<ActivityLapT> getLap() {
|
---|
1163 | + if (lap == null) {
|
---|
1164 | + lap = new ArrayList<ActivityLapT>();
|
---|
1165 | + }
|
---|
1166 | + return this.lap;
|
---|
1167 | + }
|
---|
1168 | +
|
---|
1169 | + /**
|
---|
1170 | + * Gets the value of the notes property.
|
---|
1171 | + *
|
---|
1172 | + * @return
|
---|
1173 | + * possible object is
|
---|
1174 | + * {@link String }
|
---|
1175 | + *
|
---|
1176 | + */
|
---|
1177 | + public String getNotes() {
|
---|
1178 | + return notes;
|
---|
1179 | + }
|
---|
1180 | +
|
---|
1181 | + /**
|
---|
1182 | + * Sets the value of the notes property.
|
---|
1183 | + *
|
---|
1184 | + * @param value
|
---|
1185 | + * allowed object is
|
---|
1186 | + * {@link String }
|
---|
1187 | + *
|
---|
1188 | + */
|
---|
1189 | + public void setNotes(String value) {
|
---|
1190 | + this.notes = value;
|
---|
1191 | + }
|
---|
1192 | +
|
---|
1193 | + /**
|
---|
1194 | + * Gets the value of the training property.
|
---|
1195 | + *
|
---|
1196 | + * @return
|
---|
1197 | + * possible object is
|
---|
1198 | + * {@link TrainingT }
|
---|
1199 | + *
|
---|
1200 | + */
|
---|
1201 | + public TrainingT getTraining() {
|
---|
1202 | + return training;
|
---|
1203 | + }
|
---|
1204 | +
|
---|
1205 | + /**
|
---|
1206 | + * Sets the value of the training property.
|
---|
1207 | + *
|
---|
1208 | + * @param value
|
---|
1209 | + * allowed object is
|
---|
1210 | + * {@link TrainingT }
|
---|
1211 | + *
|
---|
1212 | + */
|
---|
1213 | + public void setTraining(TrainingT value) {
|
---|
1214 | + this.training = value;
|
---|
1215 | + }
|
---|
1216 | +
|
---|
1217 | + /**
|
---|
1218 | + * Gets the value of the creator property.
|
---|
1219 | + *
|
---|
1220 | + * @return
|
---|
1221 | + * possible object is
|
---|
1222 | + * {@link AbstractSourceT }
|
---|
1223 | + *
|
---|
1224 | + */
|
---|
1225 | + public AbstractSourceT getCreator() {
|
---|
1226 | + return creator;
|
---|
1227 | + }
|
---|
1228 | +
|
---|
1229 | + /**
|
---|
1230 | + * Sets the value of the creator property.
|
---|
1231 | + *
|
---|
1232 | + * @param value
|
---|
1233 | + * allowed object is
|
---|
1234 | + * {@link AbstractSourceT }
|
---|
1235 | + *
|
---|
1236 | + */
|
---|
1237 | + public void setCreator(AbstractSourceT value) {
|
---|
1238 | + this.creator = value;
|
---|
1239 | + }
|
---|
1240 | +
|
---|
1241 | + /**
|
---|
1242 | + * Gets the value of the extensions property.
|
---|
1243 | + *
|
---|
1244 | + * @return
|
---|
1245 | + * possible object is
|
---|
1246 | + * {@link ExtensionsT }
|
---|
1247 | + *
|
---|
1248 | + */
|
---|
1249 | + public ExtensionsT getExtensions() {
|
---|
1250 | + return extensions;
|
---|
1251 | + }
|
---|
1252 | +
|
---|
1253 | + /**
|
---|
1254 | + * Sets the value of the extensions property.
|
---|
1255 | + *
|
---|
1256 | + * @param value
|
---|
1257 | + * allowed object is
|
---|
1258 | + * {@link ExtensionsT }
|
---|
1259 | + *
|
---|
1260 | + */
|
---|
1261 | + public void setExtensions(ExtensionsT value) {
|
---|
1262 | + this.extensions = value;
|
---|
1263 | + }
|
---|
1264 | +
|
---|
1265 | + /**
|
---|
1266 | + * Gets the value of the sport property.
|
---|
1267 | + *
|
---|
1268 | + * @return
|
---|
1269 | + * possible object is
|
---|
1270 | + * {@link SportT }
|
---|
1271 | + *
|
---|
1272 | + */
|
---|
1273 | + public SportT getSport() {
|
---|
1274 | + return sport;
|
---|
1275 | + }
|
---|
1276 | +
|
---|
1277 | + /**
|
---|
1278 | + * Sets the value of the sport property.
|
---|
1279 | + *
|
---|
1280 | + * @param value
|
---|
1281 | + * allowed object is
|
---|
1282 | + * {@link SportT }
|
---|
1283 | + *
|
---|
1284 | + */
|
---|
1285 | + public void setSport(SportT value) {
|
---|
1286 | + this.sport = value;
|
---|
1287 | + }
|
---|
1288 | +
|
---|
1289 | +}
|
---|
1290 | Index: src/org/openstreetmap/josm/io/tcx/ApplicationT.java
|
---|
1291 | ===================================================================
|
---|
1292 | --- src/org/openstreetmap/josm/io/tcx/ApplicationT.java (revision 0)
|
---|
1293 | +++ src/org/openstreetmap/josm/io/tcx/ApplicationT.java (revision 0)
|
---|
1294 | @@ -0,0 +1,133 @@
|
---|
1295 | +//
|
---|
1296 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1297 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1298 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1299 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1300 | +//
|
---|
1301 | +
|
---|
1302 | +
|
---|
1303 | +package org.openstreetmap.josm.io.tcx;
|
---|
1304 | +
|
---|
1305 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1306 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1307 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1308 | +import javax.xml.bind.annotation.XmlType;
|
---|
1309 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
1310 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
1311 | +
|
---|
1312 | +
|
---|
1313 | +/**
|
---|
1314 | + * Identifies a PC software application.
|
---|
1315 | + *
|
---|
1316 | + * <p>Java class for Application_t complex type.
|
---|
1317 | + *
|
---|
1318 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1319 | + *
|
---|
1320 | + * <pre>
|
---|
1321 | + * <complexType name="Application_t">
|
---|
1322 | + * <complexContent>
|
---|
1323 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t">
|
---|
1324 | + * <sequence>
|
---|
1325 | + * <element name="Build" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Build_t"/>
|
---|
1326 | + * <element name="LangID" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}LangID_t"/>
|
---|
1327 | + * <element name="PartNumber" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}PartNumber_t"/>
|
---|
1328 | + * </sequence>
|
---|
1329 | + * </extension>
|
---|
1330 | + * </complexContent>
|
---|
1331 | + * </complexType>
|
---|
1332 | + * </pre>
|
---|
1333 | + *
|
---|
1334 | + *
|
---|
1335 | + */
|
---|
1336 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1337 | +@XmlType(name = "Application_t", propOrder = {
|
---|
1338 | + "build",
|
---|
1339 | + "langID",
|
---|
1340 | + "partNumber"
|
---|
1341 | +})
|
---|
1342 | +public class ApplicationT
|
---|
1343 | + extends AbstractSourceT
|
---|
1344 | +{
|
---|
1345 | +
|
---|
1346 | + @XmlElement(name = "Build", required = true)
|
---|
1347 | + protected BuildT build;
|
---|
1348 | + @XmlElement(name = "LangID", required = true)
|
---|
1349 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
1350 | + protected String langID;
|
---|
1351 | + @XmlElement(name = "PartNumber", required = true)
|
---|
1352 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
1353 | + protected String partNumber;
|
---|
1354 | +
|
---|
1355 | + /**
|
---|
1356 | + * Gets the value of the build property.
|
---|
1357 | + *
|
---|
1358 | + * @return
|
---|
1359 | + * possible object is
|
---|
1360 | + * {@link BuildT }
|
---|
1361 | + *
|
---|
1362 | + */
|
---|
1363 | + public BuildT getBuild() {
|
---|
1364 | + return build;
|
---|
1365 | + }
|
---|
1366 | +
|
---|
1367 | + /**
|
---|
1368 | + * Sets the value of the build property.
|
---|
1369 | + *
|
---|
1370 | + * @param value
|
---|
1371 | + * allowed object is
|
---|
1372 | + * {@link BuildT }
|
---|
1373 | + *
|
---|
1374 | + */
|
---|
1375 | + public void setBuild(BuildT value) {
|
---|
1376 | + this.build = value;
|
---|
1377 | + }
|
---|
1378 | +
|
---|
1379 | + /**
|
---|
1380 | + * Gets the value of the langID property.
|
---|
1381 | + *
|
---|
1382 | + * @return
|
---|
1383 | + * possible object is
|
---|
1384 | + * {@link String }
|
---|
1385 | + *
|
---|
1386 | + */
|
---|
1387 | + public String getLangID() {
|
---|
1388 | + return langID;
|
---|
1389 | + }
|
---|
1390 | +
|
---|
1391 | + /**
|
---|
1392 | + * Sets the value of the langID property.
|
---|
1393 | + *
|
---|
1394 | + * @param value
|
---|
1395 | + * allowed object is
|
---|
1396 | + * {@link String }
|
---|
1397 | + *
|
---|
1398 | + */
|
---|
1399 | + public void setLangID(String value) {
|
---|
1400 | + this.langID = value;
|
---|
1401 | + }
|
---|
1402 | +
|
---|
1403 | + /**
|
---|
1404 | + * Gets the value of the partNumber property.
|
---|
1405 | + *
|
---|
1406 | + * @return
|
---|
1407 | + * possible object is
|
---|
1408 | + * {@link String }
|
---|
1409 | + *
|
---|
1410 | + */
|
---|
1411 | + public String getPartNumber() {
|
---|
1412 | + return partNumber;
|
---|
1413 | + }
|
---|
1414 | +
|
---|
1415 | + /**
|
---|
1416 | + * Sets the value of the partNumber property.
|
---|
1417 | + *
|
---|
1418 | + * @param value
|
---|
1419 | + * allowed object is
|
---|
1420 | + * {@link String }
|
---|
1421 | + *
|
---|
1422 | + */
|
---|
1423 | + public void setPartNumber(String value) {
|
---|
1424 | + this.partNumber = value;
|
---|
1425 | + }
|
---|
1426 | +
|
---|
1427 | +}
|
---|
1428 | Index: src/org/openstreetmap/josm/io/tcx/BuildT.java
|
---|
1429 | ===================================================================
|
---|
1430 | --- src/org/openstreetmap/josm/io/tcx/BuildT.java (revision 0)
|
---|
1431 | +++ src/org/openstreetmap/josm/io/tcx/BuildT.java (revision 0)
|
---|
1432 | @@ -0,0 +1,157 @@
|
---|
1433 | +//
|
---|
1434 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1435 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1436 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1437 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1438 | +//
|
---|
1439 | +
|
---|
1440 | +
|
---|
1441 | +package org.openstreetmap.josm.io.tcx;
|
---|
1442 | +
|
---|
1443 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1444 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1445 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1446 | +import javax.xml.bind.annotation.XmlType;
|
---|
1447 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
1448 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
1449 | +
|
---|
1450 | +
|
---|
1451 | +/**
|
---|
1452 | + * <p>Java class for Build_t complex type.
|
---|
1453 | + *
|
---|
1454 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1455 | + *
|
---|
1456 | + * <pre>
|
---|
1457 | + * <complexType name="Build_t">
|
---|
1458 | + * <complexContent>
|
---|
1459 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
1460 | + * <sequence>
|
---|
1461 | + * <element name="Version" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Version_t"/>
|
---|
1462 | + * <element name="Type" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}BuildType_t" minOccurs="0"/>
|
---|
1463 | + * <element name="Time" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t" minOccurs="0"/>
|
---|
1464 | + * <element name="Builder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t" minOccurs="0"/>
|
---|
1465 | + * </sequence>
|
---|
1466 | + * </restriction>
|
---|
1467 | + * </complexContent>
|
---|
1468 | + * </complexType>
|
---|
1469 | + * </pre>
|
---|
1470 | + *
|
---|
1471 | + *
|
---|
1472 | + */
|
---|
1473 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1474 | +@XmlType(name = "Build_t", propOrder = {
|
---|
1475 | + "version",
|
---|
1476 | + "type",
|
---|
1477 | + "time",
|
---|
1478 | + "builder"
|
---|
1479 | +})
|
---|
1480 | +public class BuildT {
|
---|
1481 | +
|
---|
1482 | + @XmlElement(name = "Version", required = true)
|
---|
1483 | + protected VersionT version;
|
---|
1484 | + @XmlElement(name = "Type")
|
---|
1485 | + protected BuildTypeT type;
|
---|
1486 | + @XmlElement(name = "Time")
|
---|
1487 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
1488 | + protected String time;
|
---|
1489 | + @XmlElement(name = "Builder")
|
---|
1490 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
1491 | + protected String builder;
|
---|
1492 | +
|
---|
1493 | + /**
|
---|
1494 | + * Gets the value of the version property.
|
---|
1495 | + *
|
---|
1496 | + * @return
|
---|
1497 | + * possible object is
|
---|
1498 | + * {@link VersionT }
|
---|
1499 | + *
|
---|
1500 | + */
|
---|
1501 | + public VersionT getVersion() {
|
---|
1502 | + return version;
|
---|
1503 | + }
|
---|
1504 | +
|
---|
1505 | + /**
|
---|
1506 | + * Sets the value of the version property.
|
---|
1507 | + *
|
---|
1508 | + * @param value
|
---|
1509 | + * allowed object is
|
---|
1510 | + * {@link VersionT }
|
---|
1511 | + *
|
---|
1512 | + */
|
---|
1513 | + public void setVersion(VersionT value) {
|
---|
1514 | + this.version = value;
|
---|
1515 | + }
|
---|
1516 | +
|
---|
1517 | + /**
|
---|
1518 | + * Gets the value of the type property.
|
---|
1519 | + *
|
---|
1520 | + * @return
|
---|
1521 | + * possible object is
|
---|
1522 | + * {@link BuildTypeT }
|
---|
1523 | + *
|
---|
1524 | + */
|
---|
1525 | + public BuildTypeT getType() {
|
---|
1526 | + return type;
|
---|
1527 | + }
|
---|
1528 | +
|
---|
1529 | + /**
|
---|
1530 | + * Sets the value of the type property.
|
---|
1531 | + *
|
---|
1532 | + * @param value
|
---|
1533 | + * allowed object is
|
---|
1534 | + * {@link BuildTypeT }
|
---|
1535 | + *
|
---|
1536 | + */
|
---|
1537 | + public void setType(BuildTypeT value) {
|
---|
1538 | + this.type = value;
|
---|
1539 | + }
|
---|
1540 | +
|
---|
1541 | + /**
|
---|
1542 | + * Gets the value of the time property.
|
---|
1543 | + *
|
---|
1544 | + * @return
|
---|
1545 | + * possible object is
|
---|
1546 | + * {@link String }
|
---|
1547 | + *
|
---|
1548 | + */
|
---|
1549 | + public String getTime() {
|
---|
1550 | + return time;
|
---|
1551 | + }
|
---|
1552 | +
|
---|
1553 | + /**
|
---|
1554 | + * Sets the value of the time property.
|
---|
1555 | + *
|
---|
1556 | + * @param value
|
---|
1557 | + * allowed object is
|
---|
1558 | + * {@link String }
|
---|
1559 | + *
|
---|
1560 | + */
|
---|
1561 | + public void setTime(String value) {
|
---|
1562 | + this.time = value;
|
---|
1563 | + }
|
---|
1564 | +
|
---|
1565 | + /**
|
---|
1566 | + * Gets the value of the builder property.
|
---|
1567 | + *
|
---|
1568 | + * @return
|
---|
1569 | + * possible object is
|
---|
1570 | + * {@link String }
|
---|
1571 | + *
|
---|
1572 | + */
|
---|
1573 | + public String getBuilder() {
|
---|
1574 | + return builder;
|
---|
1575 | + }
|
---|
1576 | +
|
---|
1577 | + /**
|
---|
1578 | + * Sets the value of the builder property.
|
---|
1579 | + *
|
---|
1580 | + * @param value
|
---|
1581 | + * allowed object is
|
---|
1582 | + * {@link String }
|
---|
1583 | + *
|
---|
1584 | + */
|
---|
1585 | + public void setBuilder(String value) {
|
---|
1586 | + this.builder = value;
|
---|
1587 | + }
|
---|
1588 | +
|
---|
1589 | +}
|
---|
1590 | Index: src/org/openstreetmap/josm/io/tcx/BuildTypeT.java
|
---|
1591 | ===================================================================
|
---|
1592 | --- src/org/openstreetmap/josm/io/tcx/BuildTypeT.java (revision 0)
|
---|
1593 | +++ src/org/openstreetmap/josm/io/tcx/BuildTypeT.java (revision 0)
|
---|
1594 | @@ -0,0 +1,64 @@
|
---|
1595 | +//
|
---|
1596 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1597 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1598 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1599 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1600 | +//
|
---|
1601 | +
|
---|
1602 | +
|
---|
1603 | +package org.openstreetmap.josm.io.tcx;
|
---|
1604 | +
|
---|
1605 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
1606 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
1607 | +import javax.xml.bind.annotation.XmlType;
|
---|
1608 | +
|
---|
1609 | +
|
---|
1610 | +/**
|
---|
1611 | + * <p>Java class for BuildType_t.
|
---|
1612 | + *
|
---|
1613 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1614 | + * <p>
|
---|
1615 | + * <pre>
|
---|
1616 | + * <simpleType name="BuildType_t">
|
---|
1617 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
1618 | + * <enumeration value="Internal"/>
|
---|
1619 | + * <enumeration value="Alpha"/>
|
---|
1620 | + * <enumeration value="Beta"/>
|
---|
1621 | + * <enumeration value="Release"/>
|
---|
1622 | + * </restriction>
|
---|
1623 | + * </simpleType>
|
---|
1624 | + * </pre>
|
---|
1625 | + *
|
---|
1626 | + */
|
---|
1627 | +@XmlType(name = "BuildType_t")
|
---|
1628 | +@XmlEnum
|
---|
1629 | +public enum BuildTypeT {
|
---|
1630 | +
|
---|
1631 | + @XmlEnumValue("Internal")
|
---|
1632 | + INTERNAL("Internal"),
|
---|
1633 | + @XmlEnumValue("Alpha")
|
---|
1634 | + ALPHA("Alpha"),
|
---|
1635 | + @XmlEnumValue("Beta")
|
---|
1636 | + BETA("Beta"),
|
---|
1637 | + @XmlEnumValue("Release")
|
---|
1638 | + RELEASE("Release");
|
---|
1639 | + private final String value;
|
---|
1640 | +
|
---|
1641 | + BuildTypeT(String v) {
|
---|
1642 | + value = v;
|
---|
1643 | + }
|
---|
1644 | +
|
---|
1645 | + public String value() {
|
---|
1646 | + return value;
|
---|
1647 | + }
|
---|
1648 | +
|
---|
1649 | + public static BuildTypeT fromValue(String v) {
|
---|
1650 | + for (BuildTypeT c: BuildTypeT.values()) {
|
---|
1651 | + if (c.value.equals(v)) {
|
---|
1652 | + return c;
|
---|
1653 | + }
|
---|
1654 | + }
|
---|
1655 | + throw new IllegalArgumentException(v);
|
---|
1656 | + }
|
---|
1657 | +
|
---|
1658 | +}
|
---|
1659 | Index: src/org/openstreetmap/josm/io/tcx/CadenceT.java
|
---|
1660 | ===================================================================
|
---|
1661 | --- src/org/openstreetmap/josm/io/tcx/CadenceT.java (revision 0)
|
---|
1662 | +++ src/org/openstreetmap/josm/io/tcx/CadenceT.java (revision 0)
|
---|
1663 | @@ -0,0 +1,83 @@
|
---|
1664 | +//
|
---|
1665 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1666 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1667 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1668 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1669 | +//
|
---|
1670 | +
|
---|
1671 | +
|
---|
1672 | +package org.openstreetmap.josm.io.tcx;
|
---|
1673 | +
|
---|
1674 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1675 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1676 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1677 | +import javax.xml.bind.annotation.XmlType;
|
---|
1678 | +
|
---|
1679 | +
|
---|
1680 | +/**
|
---|
1681 | + * <p>Java class for Cadence_t complex type.
|
---|
1682 | + *
|
---|
1683 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1684 | + *
|
---|
1685 | + * <pre>
|
---|
1686 | + * <complexType name="Cadence_t">
|
---|
1687 | + * <complexContent>
|
---|
1688 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Target_t">
|
---|
1689 | + * <sequence>
|
---|
1690 | + * <element name="Low" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
1691 | + * <element name="High" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
1692 | + * </sequence>
|
---|
1693 | + * </extension>
|
---|
1694 | + * </complexContent>
|
---|
1695 | + * </complexType>
|
---|
1696 | + * </pre>
|
---|
1697 | + *
|
---|
1698 | + *
|
---|
1699 | + */
|
---|
1700 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1701 | +@XmlType(name = "Cadence_t", propOrder = {
|
---|
1702 | + "low",
|
---|
1703 | + "high"
|
---|
1704 | +})
|
---|
1705 | +public class CadenceT
|
---|
1706 | + extends TargetT
|
---|
1707 | +{
|
---|
1708 | +
|
---|
1709 | + @XmlElement(name = "Low")
|
---|
1710 | + protected double low;
|
---|
1711 | + @XmlElement(name = "High")
|
---|
1712 | + protected double high;
|
---|
1713 | +
|
---|
1714 | + /**
|
---|
1715 | + * Gets the value of the low property.
|
---|
1716 | + *
|
---|
1717 | + */
|
---|
1718 | + public double getLow() {
|
---|
1719 | + return low;
|
---|
1720 | + }
|
---|
1721 | +
|
---|
1722 | + /**
|
---|
1723 | + * Sets the value of the low property.
|
---|
1724 | + *
|
---|
1725 | + */
|
---|
1726 | + public void setLow(double value) {
|
---|
1727 | + this.low = value;
|
---|
1728 | + }
|
---|
1729 | +
|
---|
1730 | + /**
|
---|
1731 | + * Gets the value of the high property.
|
---|
1732 | + *
|
---|
1733 | + */
|
---|
1734 | + public double getHigh() {
|
---|
1735 | + return high;
|
---|
1736 | + }
|
---|
1737 | +
|
---|
1738 | + /**
|
---|
1739 | + * Sets the value of the high property.
|
---|
1740 | + *
|
---|
1741 | + */
|
---|
1742 | + public void setHigh(double value) {
|
---|
1743 | + this.high = value;
|
---|
1744 | + }
|
---|
1745 | +
|
---|
1746 | +}
|
---|
1747 | Index: src/org/openstreetmap/josm/io/tcx/CaloriesBurnedT.java
|
---|
1748 | ===================================================================
|
---|
1749 | --- src/org/openstreetmap/josm/io/tcx/CaloriesBurnedT.java (revision 0)
|
---|
1750 | +++ src/org/openstreetmap/josm/io/tcx/CaloriesBurnedT.java (revision 0)
|
---|
1751 | @@ -0,0 +1,65 @@
|
---|
1752 | +//
|
---|
1753 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1754 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1755 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1756 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1757 | +//
|
---|
1758 | +
|
---|
1759 | +
|
---|
1760 | +package org.openstreetmap.josm.io.tcx;
|
---|
1761 | +
|
---|
1762 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1763 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1764 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1765 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
1766 | +import javax.xml.bind.annotation.XmlType;
|
---|
1767 | +
|
---|
1768 | +
|
---|
1769 | +/**
|
---|
1770 | + * <p>Java class for CaloriesBurned_t complex type.
|
---|
1771 | + *
|
---|
1772 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1773 | + *
|
---|
1774 | + * <pre>
|
---|
1775 | + * <complexType name="CaloriesBurned_t">
|
---|
1776 | + * <complexContent>
|
---|
1777 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
1778 | + * <sequence>
|
---|
1779 | + * <element name="Calories" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
1780 | + * </sequence>
|
---|
1781 | + * </extension>
|
---|
1782 | + * </complexContent>
|
---|
1783 | + * </complexType>
|
---|
1784 | + * </pre>
|
---|
1785 | + *
|
---|
1786 | + *
|
---|
1787 | + */
|
---|
1788 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1789 | +@XmlType(name = "CaloriesBurned_t", propOrder = {
|
---|
1790 | + "calories"
|
---|
1791 | +})
|
---|
1792 | +public class CaloriesBurnedT
|
---|
1793 | + extends DurationT
|
---|
1794 | +{
|
---|
1795 | +
|
---|
1796 | + @XmlElement(name = "Calories")
|
---|
1797 | + @XmlSchemaType(name = "unsignedShort")
|
---|
1798 | + protected int calories;
|
---|
1799 | +
|
---|
1800 | + /**
|
---|
1801 | + * Gets the value of the calories property.
|
---|
1802 | + *
|
---|
1803 | + */
|
---|
1804 | + public int getCalories() {
|
---|
1805 | + return calories;
|
---|
1806 | + }
|
---|
1807 | +
|
---|
1808 | + /**
|
---|
1809 | + * Sets the value of the calories property.
|
---|
1810 | + *
|
---|
1811 | + */
|
---|
1812 | + public void setCalories(int value) {
|
---|
1813 | + this.calories = value;
|
---|
1814 | + }
|
---|
1815 | +
|
---|
1816 | +}
|
---|
1817 | Index: src/org/openstreetmap/josm/io/tcx/CourseFolderT.java
|
---|
1818 | ===================================================================
|
---|
1819 | --- src/org/openstreetmap/josm/io/tcx/CourseFolderT.java (revision 0)
|
---|
1820 | +++ src/org/openstreetmap/josm/io/tcx/CourseFolderT.java (revision 0)
|
---|
1821 | @@ -0,0 +1,193 @@
|
---|
1822 | +//
|
---|
1823 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
1824 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
1825 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
1826 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
1827 | +//
|
---|
1828 | +
|
---|
1829 | +
|
---|
1830 | +package org.openstreetmap.josm.io.tcx;
|
---|
1831 | +
|
---|
1832 | +import java.util.ArrayList;
|
---|
1833 | +import java.util.List;
|
---|
1834 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
1835 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
1836 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
1837 | +import javax.xml.bind.annotation.XmlElement;
|
---|
1838 | +import javax.xml.bind.annotation.XmlType;
|
---|
1839 | +
|
---|
1840 | +
|
---|
1841 | +/**
|
---|
1842 | + * <p>Java class for CourseFolder_t complex type.
|
---|
1843 | + *
|
---|
1844 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
1845 | + *
|
---|
1846 | + * <pre>
|
---|
1847 | + * <complexType name="CourseFolder_t">
|
---|
1848 | + * <complexContent>
|
---|
1849 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
1850 | + * <sequence>
|
---|
1851 | + * <element name="Folder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CourseFolder_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
1852 | + * <element name="CourseNameRef" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}NameKeyReference_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
1853 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
1854 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
1855 | + * </sequence>
|
---|
1856 | + * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
---|
1857 | + * </restriction>
|
---|
1858 | + * </complexContent>
|
---|
1859 | + * </complexType>
|
---|
1860 | + * </pre>
|
---|
1861 | + *
|
---|
1862 | + *
|
---|
1863 | + */
|
---|
1864 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
1865 | +@XmlType(name = "CourseFolder_t", propOrder = {
|
---|
1866 | + "folder",
|
---|
1867 | + "courseNameRef",
|
---|
1868 | + "notes",
|
---|
1869 | + "extensions"
|
---|
1870 | +})
|
---|
1871 | +public class CourseFolderT {
|
---|
1872 | +
|
---|
1873 | + @XmlElement(name = "Folder")
|
---|
1874 | + protected List<CourseFolderT> folder;
|
---|
1875 | + @XmlElement(name = "CourseNameRef")
|
---|
1876 | + protected List<NameKeyReferenceT> courseNameRef;
|
---|
1877 | + @XmlElement(name = "Notes")
|
---|
1878 | + protected String notes;
|
---|
1879 | + @XmlElement(name = "Extensions")
|
---|
1880 | + protected ExtensionsT extensions;
|
---|
1881 | + @XmlAttribute(name = "Name", required = true)
|
---|
1882 | + protected String name;
|
---|
1883 | +
|
---|
1884 | + /**
|
---|
1885 | + * Gets the value of the folder property.
|
---|
1886 | + *
|
---|
1887 | + * <p>
|
---|
1888 | + * This accessor method returns a reference to the live list,
|
---|
1889 | + * not a snapshot. Therefore any modification you make to the
|
---|
1890 | + * returned list will be present inside the JAXB object.
|
---|
1891 | + * This is why there is not a <CODE>set</CODE> method for the folder property.
|
---|
1892 | + *
|
---|
1893 | + * <p>
|
---|
1894 | + * For example, to add a new item, do as follows:
|
---|
1895 | + * <pre>
|
---|
1896 | + * getFolder().add(newItem);
|
---|
1897 | + * </pre>
|
---|
1898 | + *
|
---|
1899 | + *
|
---|
1900 | + * <p>
|
---|
1901 | + * Objects of the following type(s) are allowed in the list
|
---|
1902 | + * {@link CourseFolderT }
|
---|
1903 | + *
|
---|
1904 | + *
|
---|
1905 | + */
|
---|
1906 | + public List<CourseFolderT> getFolder() {
|
---|
1907 | + if (folder == null) {
|
---|
1908 | + folder = new ArrayList<CourseFolderT>();
|
---|
1909 | + }
|
---|
1910 | + return this.folder;
|
---|
1911 | + }
|
---|
1912 | +
|
---|
1913 | + /**
|
---|
1914 | + * Gets the value of the courseNameRef property.
|
---|
1915 | + *
|
---|
1916 | + * <p>
|
---|
1917 | + * This accessor method returns a reference to the live list,
|
---|
1918 | + * not a snapshot. Therefore any modification you make to the
|
---|
1919 | + * returned list will be present inside the JAXB object.
|
---|
1920 | + * This is why there is not a <CODE>set</CODE> method for the courseNameRef property.
|
---|
1921 | + *
|
---|
1922 | + * <p>
|
---|
1923 | + * For example, to add a new item, do as follows:
|
---|
1924 | + * <pre>
|
---|
1925 | + * getCourseNameRef().add(newItem);
|
---|
1926 | + * </pre>
|
---|
1927 | + *
|
---|
1928 | + *
|
---|
1929 | + * <p>
|
---|
1930 | + * Objects of the following type(s) are allowed in the list
|
---|
1931 | + * {@link NameKeyReferenceT }
|
---|
1932 | + *
|
---|
1933 | + *
|
---|
1934 | + */
|
---|
1935 | + public List<NameKeyReferenceT> getCourseNameRef() {
|
---|
1936 | + if (courseNameRef == null) {
|
---|
1937 | + courseNameRef = new ArrayList<NameKeyReferenceT>();
|
---|
1938 | + }
|
---|
1939 | + return this.courseNameRef;
|
---|
1940 | + }
|
---|
1941 | +
|
---|
1942 | + /**
|
---|
1943 | + * Gets the value of the notes property.
|
---|
1944 | + *
|
---|
1945 | + * @return
|
---|
1946 | + * possible object is
|
---|
1947 | + * {@link String }
|
---|
1948 | + *
|
---|
1949 | + */
|
---|
1950 | + public String getNotes() {
|
---|
1951 | + return notes;
|
---|
1952 | + }
|
---|
1953 | +
|
---|
1954 | + /**
|
---|
1955 | + * Sets the value of the notes property.
|
---|
1956 | + *
|
---|
1957 | + * @param value
|
---|
1958 | + * allowed object is
|
---|
1959 | + * {@link String }
|
---|
1960 | + *
|
---|
1961 | + */
|
---|
1962 | + public void setNotes(String value) {
|
---|
1963 | + this.notes = value;
|
---|
1964 | + }
|
---|
1965 | +
|
---|
1966 | + /**
|
---|
1967 | + * Gets the value of the extensions property.
|
---|
1968 | + *
|
---|
1969 | + * @return
|
---|
1970 | + * possible object is
|
---|
1971 | + * {@link ExtensionsT }
|
---|
1972 | + *
|
---|
1973 | + */
|
---|
1974 | + public ExtensionsT getExtensions() {
|
---|
1975 | + return extensions;
|
---|
1976 | + }
|
---|
1977 | +
|
---|
1978 | + /**
|
---|
1979 | + * Sets the value of the extensions property.
|
---|
1980 | + *
|
---|
1981 | + * @param value
|
---|
1982 | + * allowed object is
|
---|
1983 | + * {@link ExtensionsT }
|
---|
1984 | + *
|
---|
1985 | + */
|
---|
1986 | + public void setExtensions(ExtensionsT value) {
|
---|
1987 | + this.extensions = value;
|
---|
1988 | + }
|
---|
1989 | +
|
---|
1990 | + /**
|
---|
1991 | + * Gets the value of the name property.
|
---|
1992 | + *
|
---|
1993 | + * @return
|
---|
1994 | + * possible object is
|
---|
1995 | + * {@link String }
|
---|
1996 | + *
|
---|
1997 | + */
|
---|
1998 | + public String getName() {
|
---|
1999 | + return name;
|
---|
2000 | + }
|
---|
2001 | +
|
---|
2002 | + /**
|
---|
2003 | + * Sets the value of the name property.
|
---|
2004 | + *
|
---|
2005 | + * @param value
|
---|
2006 | + * allowed object is
|
---|
2007 | + * {@link String }
|
---|
2008 | + *
|
---|
2009 | + */
|
---|
2010 | + public void setName(String value) {
|
---|
2011 | + this.name = value;
|
---|
2012 | + }
|
---|
2013 | +
|
---|
2014 | +}
|
---|
2015 | Index: src/org/openstreetmap/josm/io/tcx/CourseLapT.java
|
---|
2016 | ===================================================================
|
---|
2017 | --- src/org/openstreetmap/josm/io/tcx/CourseLapT.java (revision 0)
|
---|
2018 | +++ src/org/openstreetmap/josm/io/tcx/CourseLapT.java (revision 0)
|
---|
2019 | @@ -0,0 +1,333 @@
|
---|
2020 | +//
|
---|
2021 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
2022 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
2023 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
2024 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
2025 | +//
|
---|
2026 | +
|
---|
2027 | +
|
---|
2028 | +package org.openstreetmap.josm.io.tcx;
|
---|
2029 | +
|
---|
2030 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
2031 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
2032 | +import javax.xml.bind.annotation.XmlElement;
|
---|
2033 | +import javax.xml.bind.annotation.XmlType;
|
---|
2034 | +
|
---|
2035 | +
|
---|
2036 | +/**
|
---|
2037 | + * <p>Java class for CourseLap_t complex type.
|
---|
2038 | + *
|
---|
2039 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
2040 | + *
|
---|
2041 | + * <pre>
|
---|
2042 | + * <complexType name="CourseLap_t">
|
---|
2043 | + * <complexContent>
|
---|
2044 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
2045 | + * <sequence>
|
---|
2046 | + * <element name="TotalTimeSeconds" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
2047 | + * <element name="DistanceMeters" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
2048 | + * <element name="BeginPosition" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Position_t" minOccurs="0"/>
|
---|
2049 | + * <element name="BeginAltitudeMeters" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
2050 | + * <element name="EndPosition" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Position_t" minOccurs="0"/>
|
---|
2051 | + * <element name="EndAltitudeMeters" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
2052 | + * <element name="AverageHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
|
---|
2053 | + * <element name="MaximumHeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
|
---|
2054 | + * <element name="Intensity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Intensity_t"/>
|
---|
2055 | + * <element name="Cadence" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CadenceValue_t" minOccurs="0"/>
|
---|
2056 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
2057 | + * </sequence>
|
---|
2058 | + * </restriction>
|
---|
2059 | + * </complexContent>
|
---|
2060 | + * </complexType>
|
---|
2061 | + * </pre>
|
---|
2062 | + *
|
---|
2063 | + *
|
---|
2064 | + */
|
---|
2065 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
2066 | +@XmlType(name = "CourseLap_t", propOrder = {
|
---|
2067 | + "totalTimeSeconds",
|
---|
2068 | + "distanceMeters",
|
---|
2069 | + "beginPosition",
|
---|
2070 | + "beginAltitudeMeters",
|
---|
2071 | + "endPosition",
|
---|
2072 | + "endAltitudeMeters",
|
---|
2073 | + "averageHeartRateBpm",
|
---|
2074 | + "maximumHeartRateBpm",
|
---|
2075 | + "intensity",
|
---|
2076 | + "cadence",
|
---|
2077 | + "extensions"
|
---|
2078 | +})
|
---|
2079 | +public class CourseLapT {
|
---|
2080 | +
|
---|
2081 | + @XmlElement(name = "TotalTimeSeconds")
|
---|
2082 | + protected double totalTimeSeconds;
|
---|
2083 | + @XmlElement(name = "DistanceMeters")
|
---|
2084 | + protected double distanceMeters;
|
---|
2085 | + @XmlElement(name = "BeginPosition")
|
---|
2086 | + protected PositionT beginPosition;
|
---|
2087 | + @XmlElement(name = "BeginAltitudeMeters")
|
---|
2088 | + protected Double beginAltitudeMeters;
|
---|
2089 | + @XmlElement(name = "EndPosition")
|
---|
2090 | + protected PositionT endPosition;
|
---|
2091 | + @XmlElement(name = "EndAltitudeMeters")
|
---|
2092 | + protected Double endAltitudeMeters;
|
---|
2093 | + @XmlElement(name = "AverageHeartRateBpm")
|
---|
2094 | + protected HeartRateInBeatsPerMinuteT averageHeartRateBpm;
|
---|
2095 | + @XmlElement(name = "MaximumHeartRateBpm")
|
---|
2096 | + protected HeartRateInBeatsPerMinuteT maximumHeartRateBpm;
|
---|
2097 | + @XmlElement(name = "Intensity", required = true)
|
---|
2098 | + protected IntensityT intensity;
|
---|
2099 | + @XmlElement(name = "Cadence")
|
---|
2100 | + protected Short cadence;
|
---|
2101 | + @XmlElement(name = "Extensions")
|
---|
2102 | + protected ExtensionsT extensions;
|
---|
2103 | +
|
---|
2104 | + /**
|
---|
2105 | + * Gets the value of the totalTimeSeconds property.
|
---|
2106 | + *
|
---|
2107 | + */
|
---|
2108 | + public double getTotalTimeSeconds() {
|
---|
2109 | + return totalTimeSeconds;
|
---|
2110 | + }
|
---|
2111 | +
|
---|
2112 | + /**
|
---|
2113 | + * Sets the value of the totalTimeSeconds property.
|
---|
2114 | + *
|
---|
2115 | + */
|
---|
2116 | + public void setTotalTimeSeconds(double value) {
|
---|
2117 | + this.totalTimeSeconds = value;
|
---|
2118 | + }
|
---|
2119 | +
|
---|
2120 | + /**
|
---|
2121 | + * Gets the value of the distanceMeters property.
|
---|
2122 | + *
|
---|
2123 | + */
|
---|
2124 | + public double getDistanceMeters() {
|
---|
2125 | + return distanceMeters;
|
---|
2126 | + }
|
---|
2127 | +
|
---|
2128 | + /**
|
---|
2129 | + * Sets the value of the distanceMeters property.
|
---|
2130 | + *
|
---|
2131 | + */
|
---|
2132 | + public void setDistanceMeters(double value) {
|
---|
2133 | + this.distanceMeters = value;
|
---|
2134 | + }
|
---|
2135 | +
|
---|
2136 | + /**
|
---|
2137 | + * Gets the value of the beginPosition property.
|
---|
2138 | + *
|
---|
2139 | + * @return
|
---|
2140 | + * possible object is
|
---|
2141 | + * {@link PositionT }
|
---|
2142 | + *
|
---|
2143 | + */
|
---|
2144 | + public PositionT getBeginPosition() {
|
---|
2145 | + return beginPosition;
|
---|
2146 | + }
|
---|
2147 | +
|
---|
2148 | + /**
|
---|
2149 | + * Sets the value of the beginPosition property.
|
---|
2150 | + *
|
---|
2151 | + * @param value
|
---|
2152 | + * allowed object is
|
---|
2153 | + * {@link PositionT }
|
---|
2154 | + *
|
---|
2155 | + */
|
---|
2156 | + public void setBeginPosition(PositionT value) {
|
---|
2157 | + this.beginPosition = value;
|
---|
2158 | + }
|
---|
2159 | +
|
---|
2160 | + /**
|
---|
2161 | + * Gets the value of the beginAltitudeMeters property.
|
---|
2162 | + *
|
---|
2163 | + * @return
|
---|
2164 | + * possible object is
|
---|
2165 | + * {@link Double }
|
---|
2166 | + *
|
---|
2167 | + */
|
---|
2168 | + public Double getBeginAltitudeMeters() {
|
---|
2169 | + return beginAltitudeMeters;
|
---|
2170 | + }
|
---|
2171 | +
|
---|
2172 | + /**
|
---|
2173 | + * Sets the value of the beginAltitudeMeters property.
|
---|
2174 | + *
|
---|
2175 | + * @param value
|
---|
2176 | + * allowed object is
|
---|
2177 | + * {@link Double }
|
---|
2178 | + *
|
---|
2179 | + */
|
---|
2180 | + public void setBeginAltitudeMeters(Double value) {
|
---|
2181 | + this.beginAltitudeMeters = value;
|
---|
2182 | + }
|
---|
2183 | +
|
---|
2184 | + /**
|
---|
2185 | + * Gets the value of the endPosition property.
|
---|
2186 | + *
|
---|
2187 | + * @return
|
---|
2188 | + * possible object is
|
---|
2189 | + * {@link PositionT }
|
---|
2190 | + *
|
---|
2191 | + */
|
---|
2192 | + public PositionT getEndPosition() {
|
---|
2193 | + return endPosition;
|
---|
2194 | + }
|
---|
2195 | +
|
---|
2196 | + /**
|
---|
2197 | + * Sets the value of the endPosition property.
|
---|
2198 | + *
|
---|
2199 | + * @param value
|
---|
2200 | + * allowed object is
|
---|
2201 | + * {@link PositionT }
|
---|
2202 | + *
|
---|
2203 | + */
|
---|
2204 | + public void setEndPosition(PositionT value) {
|
---|
2205 | + this.endPosition = value;
|
---|
2206 | + }
|
---|
2207 | +
|
---|
2208 | + /**
|
---|
2209 | + * Gets the value of the endAltitudeMeters property.
|
---|
2210 | + *
|
---|
2211 | + * @return
|
---|
2212 | + * possible object is
|
---|
2213 | + * {@link Double }
|
---|
2214 | + *
|
---|
2215 | + */
|
---|
2216 | + public Double getEndAltitudeMeters() {
|
---|
2217 | + return endAltitudeMeters;
|
---|
2218 | + }
|
---|
2219 | +
|
---|
2220 | + /**
|
---|
2221 | + * Sets the value of the endAltitudeMeters property.
|
---|
2222 | + *
|
---|
2223 | + * @param value
|
---|
2224 | + * allowed object is
|
---|
2225 | + * {@link Double }
|
---|
2226 | + *
|
---|
2227 | + */
|
---|
2228 | + public void setEndAltitudeMeters(Double value) {
|
---|
2229 | + this.endAltitudeMeters = value;
|
---|
2230 | + }
|
---|
2231 | +
|
---|
2232 | + /**
|
---|
2233 | + * Gets the value of the averageHeartRateBpm property.
|
---|
2234 | + *
|
---|
2235 | + * @return
|
---|
2236 | + * possible object is
|
---|
2237 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
2238 | + *
|
---|
2239 | + */
|
---|
2240 | + public HeartRateInBeatsPerMinuteT getAverageHeartRateBpm() {
|
---|
2241 | + return averageHeartRateBpm;
|
---|
2242 | + }
|
---|
2243 | +
|
---|
2244 | + /**
|
---|
2245 | + * Sets the value of the averageHeartRateBpm property.
|
---|
2246 | + *
|
---|
2247 | + * @param value
|
---|
2248 | + * allowed object is
|
---|
2249 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
2250 | + *
|
---|
2251 | + */
|
---|
2252 | + public void setAverageHeartRateBpm(HeartRateInBeatsPerMinuteT value) {
|
---|
2253 | + this.averageHeartRateBpm = value;
|
---|
2254 | + }
|
---|
2255 | +
|
---|
2256 | + /**
|
---|
2257 | + * Gets the value of the maximumHeartRateBpm property.
|
---|
2258 | + *
|
---|
2259 | + * @return
|
---|
2260 | + * possible object is
|
---|
2261 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
2262 | + *
|
---|
2263 | + */
|
---|
2264 | + public HeartRateInBeatsPerMinuteT getMaximumHeartRateBpm() {
|
---|
2265 | + return maximumHeartRateBpm;
|
---|
2266 | + }
|
---|
2267 | +
|
---|
2268 | + /**
|
---|
2269 | + * Sets the value of the maximumHeartRateBpm property.
|
---|
2270 | + *
|
---|
2271 | + * @param value
|
---|
2272 | + * allowed object is
|
---|
2273 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
2274 | + *
|
---|
2275 | + */
|
---|
2276 | + public void setMaximumHeartRateBpm(HeartRateInBeatsPerMinuteT value) {
|
---|
2277 | + this.maximumHeartRateBpm = value;
|
---|
2278 | + }
|
---|
2279 | +
|
---|
2280 | + /**
|
---|
2281 | + * Gets the value of the intensity property.
|
---|
2282 | + *
|
---|
2283 | + * @return
|
---|
2284 | + * possible object is
|
---|
2285 | + * {@link IntensityT }
|
---|
2286 | + *
|
---|
2287 | + */
|
---|
2288 | + public IntensityT getIntensity() {
|
---|
2289 | + return intensity;
|
---|
2290 | + }
|
---|
2291 | +
|
---|
2292 | + /**
|
---|
2293 | + * Sets the value of the intensity property.
|
---|
2294 | + *
|
---|
2295 | + * @param value
|
---|
2296 | + * allowed object is
|
---|
2297 | + * {@link IntensityT }
|
---|
2298 | + *
|
---|
2299 | + */
|
---|
2300 | + public void setIntensity(IntensityT value) {
|
---|
2301 | + this.intensity = value;
|
---|
2302 | + }
|
---|
2303 | +
|
---|
2304 | + /**
|
---|
2305 | + * Gets the value of the cadence property.
|
---|
2306 | + *
|
---|
2307 | + * @return
|
---|
2308 | + * possible object is
|
---|
2309 | + * {@link Short }
|
---|
2310 | + *
|
---|
2311 | + */
|
---|
2312 | + public Short getCadence() {
|
---|
2313 | + return cadence;
|
---|
2314 | + }
|
---|
2315 | +
|
---|
2316 | + /**
|
---|
2317 | + * Sets the value of the cadence property.
|
---|
2318 | + *
|
---|
2319 | + * @param value
|
---|
2320 | + * allowed object is
|
---|
2321 | + * {@link Short }
|
---|
2322 | + *
|
---|
2323 | + */
|
---|
2324 | + public void setCadence(Short value) {
|
---|
2325 | + this.cadence = value;
|
---|
2326 | + }
|
---|
2327 | +
|
---|
2328 | + /**
|
---|
2329 | + * Gets the value of the extensions property.
|
---|
2330 | + *
|
---|
2331 | + * @return
|
---|
2332 | + * possible object is
|
---|
2333 | + * {@link ExtensionsT }
|
---|
2334 | + *
|
---|
2335 | + */
|
---|
2336 | + public ExtensionsT getExtensions() {
|
---|
2337 | + return extensions;
|
---|
2338 | + }
|
---|
2339 | +
|
---|
2340 | + /**
|
---|
2341 | + * Sets the value of the extensions property.
|
---|
2342 | + *
|
---|
2343 | + * @param value
|
---|
2344 | + * allowed object is
|
---|
2345 | + * {@link ExtensionsT }
|
---|
2346 | + *
|
---|
2347 | + */
|
---|
2348 | + public void setExtensions(ExtensionsT value) {
|
---|
2349 | + this.extensions = value;
|
---|
2350 | + }
|
---|
2351 | +
|
---|
2352 | +}
|
---|
2353 | Index: src/org/openstreetmap/josm/io/tcx/CourseListT.java
|
---|
2354 | ===================================================================
|
---|
2355 | --- src/org/openstreetmap/josm/io/tcx/CourseListT.java (revision 0)
|
---|
2356 | +++ src/org/openstreetmap/josm/io/tcx/CourseListT.java (revision 0)
|
---|
2357 | @@ -0,0 +1,76 @@
|
---|
2358 | +//
|
---|
2359 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
2360 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
2361 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
2362 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
2363 | +//
|
---|
2364 | +
|
---|
2365 | +
|
---|
2366 | +package org.openstreetmap.josm.io.tcx;
|
---|
2367 | +
|
---|
2368 | +import java.util.ArrayList;
|
---|
2369 | +import java.util.List;
|
---|
2370 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
2371 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
2372 | +import javax.xml.bind.annotation.XmlElement;
|
---|
2373 | +import javax.xml.bind.annotation.XmlType;
|
---|
2374 | +
|
---|
2375 | +
|
---|
2376 | +/**
|
---|
2377 | + * <p>Java class for CourseList_t complex type.
|
---|
2378 | + *
|
---|
2379 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
2380 | + *
|
---|
2381 | + * <pre>
|
---|
2382 | + * <complexType name="CourseList_t">
|
---|
2383 | + * <complexContent>
|
---|
2384 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
2385 | + * <sequence>
|
---|
2386 | + * <element name="Course" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Course_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
2387 | + * </sequence>
|
---|
2388 | + * </restriction>
|
---|
2389 | + * </complexContent>
|
---|
2390 | + * </complexType>
|
---|
2391 | + * </pre>
|
---|
2392 | + *
|
---|
2393 | + *
|
---|
2394 | + */
|
---|
2395 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
2396 | +@XmlType(name = "CourseList_t", propOrder = {
|
---|
2397 | + "course"
|
---|
2398 | +})
|
---|
2399 | +public class CourseListT {
|
---|
2400 | +
|
---|
2401 | + @XmlElement(name = "Course")
|
---|
2402 | + protected List<CourseT> course;
|
---|
2403 | +
|
---|
2404 | + /**
|
---|
2405 | + * Gets the value of the course property.
|
---|
2406 | + *
|
---|
2407 | + * <p>
|
---|
2408 | + * This accessor method returns a reference to the live list,
|
---|
2409 | + * not a snapshot. Therefore any modification you make to the
|
---|
2410 | + * returned list will be present inside the JAXB object.
|
---|
2411 | + * This is why there is not a <CODE>set</CODE> method for the course property.
|
---|
2412 | + *
|
---|
2413 | + * <p>
|
---|
2414 | + * For example, to add a new item, do as follows:
|
---|
2415 | + * <pre>
|
---|
2416 | + * getCourse().add(newItem);
|
---|
2417 | + * </pre>
|
---|
2418 | + *
|
---|
2419 | + *
|
---|
2420 | + * <p>
|
---|
2421 | + * Objects of the following type(s) are allowed in the list
|
---|
2422 | + * {@link CourseT }
|
---|
2423 | + *
|
---|
2424 | + *
|
---|
2425 | + */
|
---|
2426 | + public List<CourseT> getCourse() {
|
---|
2427 | + if (course == null) {
|
---|
2428 | + course = new ArrayList<CourseT>();
|
---|
2429 | + }
|
---|
2430 | + return this.course;
|
---|
2431 | + }
|
---|
2432 | +
|
---|
2433 | +}
|
---|
2434 | Index: src/org/openstreetmap/josm/io/tcx/CoursePointT.java
|
---|
2435 | ===================================================================
|
---|
2436 | --- src/org/openstreetmap/josm/io/tcx/CoursePointT.java (revision 0)
|
---|
2437 | +++ src/org/openstreetmap/josm/io/tcx/CoursePointT.java (revision 0)
|
---|
2438 | @@ -0,0 +1,244 @@
|
---|
2439 | +//
|
---|
2440 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
2441 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
2442 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
2443 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
2444 | +//
|
---|
2445 | +
|
---|
2446 | +
|
---|
2447 | +package org.openstreetmap.josm.io.tcx;
|
---|
2448 | +
|
---|
2449 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
2450 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
2451 | +import javax.xml.bind.annotation.XmlElement;
|
---|
2452 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
2453 | +import javax.xml.bind.annotation.XmlType;
|
---|
2454 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
2455 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
2456 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
2457 | +
|
---|
2458 | +
|
---|
2459 | +/**
|
---|
2460 | + * <p>Java class for CoursePoint_t complex type.
|
---|
2461 | + *
|
---|
2462 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
2463 | + *
|
---|
2464 | + * <pre>
|
---|
2465 | + * <complexType name="CoursePoint_t">
|
---|
2466 | + * <complexContent>
|
---|
2467 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
2468 | + * <sequence>
|
---|
2469 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CoursePointName_t"/>
|
---|
2470 | + * <element name="Time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
---|
2471 | + * <element name="Position" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Position_t"/>
|
---|
2472 | + * <element name="AltitudeMeters" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
2473 | + * <element name="PointType" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CoursePointType_t"/>
|
---|
2474 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
2475 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
2476 | + * </sequence>
|
---|
2477 | + * </restriction>
|
---|
2478 | + * </complexContent>
|
---|
2479 | + * </complexType>
|
---|
2480 | + * </pre>
|
---|
2481 | + *
|
---|
2482 | + *
|
---|
2483 | + */
|
---|
2484 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
2485 | +@XmlType(name = "CoursePoint_t", propOrder = {
|
---|
2486 | + "name",
|
---|
2487 | + "time",
|
---|
2488 | + "position",
|
---|
2489 | + "altitudeMeters",
|
---|
2490 | + "pointType",
|
---|
2491 | + "notes",
|
---|
2492 | + "extensions"
|
---|
2493 | +})
|
---|
2494 | +public class CoursePointT {
|
---|
2495 | +
|
---|
2496 | + @XmlElement(name = "Name", required = true)
|
---|
2497 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
2498 | + protected String name;
|
---|
2499 | + @XmlElement(name = "Time", required = true)
|
---|
2500 | + @XmlSchemaType(name = "dateTime")
|
---|
2501 | + protected XMLGregorianCalendar time;
|
---|
2502 | + @XmlElement(name = "Position", required = true)
|
---|
2503 | + protected PositionT position;
|
---|
2504 | + @XmlElement(name = "AltitudeMeters")
|
---|
2505 | + protected Double altitudeMeters;
|
---|
2506 | + @XmlElement(name = "PointType", required = true)
|
---|
2507 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
2508 | + protected String pointType;
|
---|
2509 | + @XmlElement(name = "Notes")
|
---|
2510 | + protected String notes;
|
---|
2511 | + @XmlElement(name = "Extensions")
|
---|
2512 | + protected ExtensionsT extensions;
|
---|
2513 | +
|
---|
2514 | + /**
|
---|
2515 | + * Gets the value of the name property.
|
---|
2516 | + *
|
---|
2517 | + * @return
|
---|
2518 | + * possible object is
|
---|
2519 | + * {@link String }
|
---|
2520 | + *
|
---|
2521 | + */
|
---|
2522 | + public String getName() {
|
---|
2523 | + return name;
|
---|
2524 | + }
|
---|
2525 | +
|
---|
2526 | + /**
|
---|
2527 | + * Sets the value of the name property.
|
---|
2528 | + *
|
---|
2529 | + * @param value
|
---|
2530 | + * allowed object is
|
---|
2531 | + * {@link String }
|
---|
2532 | + *
|
---|
2533 | + */
|
---|
2534 | + public void setName(String value) {
|
---|
2535 | + this.name = value;
|
---|
2536 | + }
|
---|
2537 | +
|
---|
2538 | + /**
|
---|
2539 | + * Gets the value of the time property.
|
---|
2540 | + *
|
---|
2541 | + * @return
|
---|
2542 | + * possible object is
|
---|
2543 | + * {@link XMLGregorianCalendar }
|
---|
2544 | + *
|
---|
2545 | + */
|
---|
2546 | + public XMLGregorianCalendar getTime() {
|
---|
2547 | + return time;
|
---|
2548 | + }
|
---|
2549 | +
|
---|
2550 | + /**
|
---|
2551 | + * Sets the value of the time property.
|
---|
2552 | + *
|
---|
2553 | + * @param value
|
---|
2554 | + * allowed object is
|
---|
2555 | + * {@link XMLGregorianCalendar }
|
---|
2556 | + *
|
---|
2557 | + */
|
---|
2558 | + public void setTime(XMLGregorianCalendar value) {
|
---|
2559 | + this.time = value;
|
---|
2560 | + }
|
---|
2561 | +
|
---|
2562 | + /**
|
---|
2563 | + * Gets the value of the position property.
|
---|
2564 | + *
|
---|
2565 | + * @return
|
---|
2566 | + * possible object is
|
---|
2567 | + * {@link PositionT }
|
---|
2568 | + *
|
---|
2569 | + */
|
---|
2570 | + public PositionT getPosition() {
|
---|
2571 | + return position;
|
---|
2572 | + }
|
---|
2573 | +
|
---|
2574 | + /**
|
---|
2575 | + * Sets the value of the position property.
|
---|
2576 | + *
|
---|
2577 | + * @param value
|
---|
2578 | + * allowed object is
|
---|
2579 | + * {@link PositionT }
|
---|
2580 | + *
|
---|
2581 | + */
|
---|
2582 | + public void setPosition(PositionT value) {
|
---|
2583 | + this.position = value;
|
---|
2584 | + }
|
---|
2585 | +
|
---|
2586 | + /**
|
---|
2587 | + * Gets the value of the altitudeMeters property.
|
---|
2588 | + *
|
---|
2589 | + * @return
|
---|
2590 | + * possible object is
|
---|
2591 | + * {@link Double }
|
---|
2592 | + *
|
---|
2593 | + */
|
---|
2594 | + public Double getAltitudeMeters() {
|
---|
2595 | + return altitudeMeters;
|
---|
2596 | + }
|
---|
2597 | +
|
---|
2598 | + /**
|
---|
2599 | + * Sets the value of the altitudeMeters property.
|
---|
2600 | + *
|
---|
2601 | + * @param value
|
---|
2602 | + * allowed object is
|
---|
2603 | + * {@link Double }
|
---|
2604 | + *
|
---|
2605 | + */
|
---|
2606 | + public void setAltitudeMeters(Double value) {
|
---|
2607 | + this.altitudeMeters = value;
|
---|
2608 | + }
|
---|
2609 | +
|
---|
2610 | + /**
|
---|
2611 | + * Gets the value of the pointType property.
|
---|
2612 | + *
|
---|
2613 | + * @return
|
---|
2614 | + * possible object is
|
---|
2615 | + * {@link String }
|
---|
2616 | + *
|
---|
2617 | + */
|
---|
2618 | + public String getPointType() {
|
---|
2619 | + return pointType;
|
---|
2620 | + }
|
---|
2621 | +
|
---|
2622 | + /**
|
---|
2623 | + * Sets the value of the pointType property.
|
---|
2624 | + *
|
---|
2625 | + * @param value
|
---|
2626 | + * allowed object is
|
---|
2627 | + * {@link String }
|
---|
2628 | + *
|
---|
2629 | + */
|
---|
2630 | + public void setPointType(String value) {
|
---|
2631 | + this.pointType = value;
|
---|
2632 | + }
|
---|
2633 | +
|
---|
2634 | + /**
|
---|
2635 | + * Gets the value of the notes property.
|
---|
2636 | + *
|
---|
2637 | + * @return
|
---|
2638 | + * possible object is
|
---|
2639 | + * {@link String }
|
---|
2640 | + *
|
---|
2641 | + */
|
---|
2642 | + public String getNotes() {
|
---|
2643 | + return notes;
|
---|
2644 | + }
|
---|
2645 | +
|
---|
2646 | + /**
|
---|
2647 | + * Sets the value of the notes property.
|
---|
2648 | + *
|
---|
2649 | + * @param value
|
---|
2650 | + * allowed object is
|
---|
2651 | + * {@link String }
|
---|
2652 | + *
|
---|
2653 | + */
|
---|
2654 | + public void setNotes(String value) {
|
---|
2655 | + this.notes = value;
|
---|
2656 | + }
|
---|
2657 | +
|
---|
2658 | + /**
|
---|
2659 | + * Gets the value of the extensions property.
|
---|
2660 | + *
|
---|
2661 | + * @return
|
---|
2662 | + * possible object is
|
---|
2663 | + * {@link ExtensionsT }
|
---|
2664 | + *
|
---|
2665 | + */
|
---|
2666 | + public ExtensionsT getExtensions() {
|
---|
2667 | + return extensions;
|
---|
2668 | + }
|
---|
2669 | +
|
---|
2670 | + /**
|
---|
2671 | + * Sets the value of the extensions property.
|
---|
2672 | + *
|
---|
2673 | + * @param value
|
---|
2674 | + * allowed object is
|
---|
2675 | + * {@link ExtensionsT }
|
---|
2676 | + *
|
---|
2677 | + */
|
---|
2678 | + public void setExtensions(ExtensionsT value) {
|
---|
2679 | + this.extensions = value;
|
---|
2680 | + }
|
---|
2681 | +
|
---|
2682 | +}
|
---|
2683 | Index: src/org/openstreetmap/josm/io/tcx/CourseT.java
|
---|
2684 | ===================================================================
|
---|
2685 | --- src/org/openstreetmap/josm/io/tcx/CourseT.java (revision 0)
|
---|
2686 | +++ src/org/openstreetmap/josm/io/tcx/CourseT.java (revision 0)
|
---|
2687 | @@ -0,0 +1,257 @@
|
---|
2688 | +//
|
---|
2689 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
2690 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
2691 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
2692 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
2693 | +//
|
---|
2694 | +
|
---|
2695 | +
|
---|
2696 | +package org.openstreetmap.josm.io.tcx;
|
---|
2697 | +
|
---|
2698 | +import java.util.ArrayList;
|
---|
2699 | +import java.util.List;
|
---|
2700 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
2701 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
2702 | +import javax.xml.bind.annotation.XmlElement;
|
---|
2703 | +import javax.xml.bind.annotation.XmlType;
|
---|
2704 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
2705 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
2706 | +
|
---|
2707 | +
|
---|
2708 | +/**
|
---|
2709 | + * <p>Java class for Course_t complex type.
|
---|
2710 | + *
|
---|
2711 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
2712 | + *
|
---|
2713 | + * <pre>
|
---|
2714 | + * <complexType name="Course_t">
|
---|
2715 | + * <complexContent>
|
---|
2716 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
2717 | + * <sequence>
|
---|
2718 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t"/>
|
---|
2719 | + * <element name="Lap" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CourseLap_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
2720 | + * <element name="Track" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Track_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
2721 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
2722 | + * <element name="CoursePoint" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CoursePoint_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
2723 | + * <element name="Creator" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t" minOccurs="0"/>
|
---|
2724 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
2725 | + * </sequence>
|
---|
2726 | + * </restriction>
|
---|
2727 | + * </complexContent>
|
---|
2728 | + * </complexType>
|
---|
2729 | + * </pre>
|
---|
2730 | + *
|
---|
2731 | + *
|
---|
2732 | + */
|
---|
2733 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
2734 | +@XmlType(name = "Course_t", propOrder = {
|
---|
2735 | + "name",
|
---|
2736 | + "lap",
|
---|
2737 | + "track",
|
---|
2738 | + "notes",
|
---|
2739 | + "coursePoint",
|
---|
2740 | + "creator",
|
---|
2741 | + "extensions"
|
---|
2742 | +})
|
---|
2743 | +public class CourseT {
|
---|
2744 | +
|
---|
2745 | + @XmlElement(name = "Name", required = true)
|
---|
2746 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
2747 | + protected String name;
|
---|
2748 | + @XmlElement(name = "Lap")
|
---|
2749 | + protected List<CourseLapT> lap;
|
---|
2750 | + @XmlElement(name = "Track")
|
---|
2751 | + protected List<TrackT> track;
|
---|
2752 | + @XmlElement(name = "Notes")
|
---|
2753 | + protected String notes;
|
---|
2754 | + @XmlElement(name = "CoursePoint")
|
---|
2755 | + protected List<CoursePointT> coursePoint;
|
---|
2756 | + @XmlElement(name = "Creator")
|
---|
2757 | + protected AbstractSourceT creator;
|
---|
2758 | + @XmlElement(name = "Extensions")
|
---|
2759 | + protected ExtensionsT extensions;
|
---|
2760 | +
|
---|
2761 | + /**
|
---|
2762 | + * Gets the value of the name property.
|
---|
2763 | + *
|
---|
2764 | + * @return
|
---|
2765 | + * possible object is
|
---|
2766 | + * {@link String }
|
---|
2767 | + *
|
---|
2768 | + */
|
---|
2769 | + public String getName() {
|
---|
2770 | + return name;
|
---|
2771 | + }
|
---|
2772 | +
|
---|
2773 | + /**
|
---|
2774 | + * Sets the value of the name property.
|
---|
2775 | + *
|
---|
2776 | + * @param value
|
---|
2777 | + * allowed object is
|
---|
2778 | + * {@link String }
|
---|
2779 | + *
|
---|
2780 | + */
|
---|
2781 | + public void setName(String value) {
|
---|
2782 | + this.name = value;
|
---|
2783 | + }
|
---|
2784 | +
|
---|
2785 | + /**
|
---|
2786 | + * Gets the value of the lap property.
|
---|
2787 | + *
|
---|
2788 | + * <p>
|
---|
2789 | + * This accessor method returns a reference to the live list,
|
---|
2790 | + * not a snapshot. Therefore any modification you make to the
|
---|
2791 | + * returned list will be present inside the JAXB object.
|
---|
2792 | + * This is why there is not a <CODE>set</CODE> method for the lap property.
|
---|
2793 | + *
|
---|
2794 | + * <p>
|
---|
2795 | + * For example, to add a new item, do as follows:
|
---|
2796 | + * <pre>
|
---|
2797 | + * getLap().add(newItem);
|
---|
2798 | + * </pre>
|
---|
2799 | + *
|
---|
2800 | + *
|
---|
2801 | + * <p>
|
---|
2802 | + * Objects of the following type(s) are allowed in the list
|
---|
2803 | + * {@link CourseLapT }
|
---|
2804 | + *
|
---|
2805 | + *
|
---|
2806 | + */
|
---|
2807 | + public List<CourseLapT> getLap() {
|
---|
2808 | + if (lap == null) {
|
---|
2809 | + lap = new ArrayList<CourseLapT>();
|
---|
2810 | + }
|
---|
2811 | + return this.lap;
|
---|
2812 | + }
|
---|
2813 | +
|
---|
2814 | + /**
|
---|
2815 | + * Gets the value of the track property.
|
---|
2816 | + *
|
---|
2817 | + * <p>
|
---|
2818 | + * This accessor method returns a reference to the live list,
|
---|
2819 | + * not a snapshot. Therefore any modification you make to the
|
---|
2820 | + * returned list will be present inside the JAXB object.
|
---|
2821 | + * This is why there is not a <CODE>set</CODE> method for the track property.
|
---|
2822 | + *
|
---|
2823 | + * <p>
|
---|
2824 | + * For example, to add a new item, do as follows:
|
---|
2825 | + * <pre>
|
---|
2826 | + * getTrack().add(newItem);
|
---|
2827 | + * </pre>
|
---|
2828 | + *
|
---|
2829 | + *
|
---|
2830 | + * <p>
|
---|
2831 | + * Objects of the following type(s) are allowed in the list
|
---|
2832 | + * {@link TrackT }
|
---|
2833 | + *
|
---|
2834 | + *
|
---|
2835 | + */
|
---|
2836 | + public List<TrackT> getTrack() {
|
---|
2837 | + if (track == null) {
|
---|
2838 | + track = new ArrayList<TrackT>();
|
---|
2839 | + }
|
---|
2840 | + return this.track;
|
---|
2841 | + }
|
---|
2842 | +
|
---|
2843 | + /**
|
---|
2844 | + * Gets the value of the notes property.
|
---|
2845 | + *
|
---|
2846 | + * @return
|
---|
2847 | + * possible object is
|
---|
2848 | + * {@link String }
|
---|
2849 | + *
|
---|
2850 | + */
|
---|
2851 | + public String getNotes() {
|
---|
2852 | + return notes;
|
---|
2853 | + }
|
---|
2854 | +
|
---|
2855 | + /**
|
---|
2856 | + * Sets the value of the notes property.
|
---|
2857 | + *
|
---|
2858 | + * @param value
|
---|
2859 | + * allowed object is
|
---|
2860 | + * {@link String }
|
---|
2861 | + *
|
---|
2862 | + */
|
---|
2863 | + public void setNotes(String value) {
|
---|
2864 | + this.notes = value;
|
---|
2865 | + }
|
---|
2866 | +
|
---|
2867 | + /**
|
---|
2868 | + * Gets the value of the coursePoint property.
|
---|
2869 | + *
|
---|
2870 | + * <p>
|
---|
2871 | + * This accessor method returns a reference to the live list,
|
---|
2872 | + * not a snapshot. Therefore any modification you make to the
|
---|
2873 | + * returned list will be present inside the JAXB object.
|
---|
2874 | + * This is why there is not a <CODE>set</CODE> method for the coursePoint property.
|
---|
2875 | + *
|
---|
2876 | + * <p>
|
---|
2877 | + * For example, to add a new item, do as follows:
|
---|
2878 | + * <pre>
|
---|
2879 | + * getCoursePoint().add(newItem);
|
---|
2880 | + * </pre>
|
---|
2881 | + *
|
---|
2882 | + *
|
---|
2883 | + * <p>
|
---|
2884 | + * Objects of the following type(s) are allowed in the list
|
---|
2885 | + * {@link CoursePointT }
|
---|
2886 | + *
|
---|
2887 | + *
|
---|
2888 | + */
|
---|
2889 | + public List<CoursePointT> getCoursePoint() {
|
---|
2890 | + if (coursePoint == null) {
|
---|
2891 | + coursePoint = new ArrayList<CoursePointT>();
|
---|
2892 | + }
|
---|
2893 | + return this.coursePoint;
|
---|
2894 | + }
|
---|
2895 | +
|
---|
2896 | + /**
|
---|
2897 | + * Gets the value of the creator property.
|
---|
2898 | + *
|
---|
2899 | + * @return
|
---|
2900 | + * possible object is
|
---|
2901 | + * {@link AbstractSourceT }
|
---|
2902 | + *
|
---|
2903 | + */
|
---|
2904 | + public AbstractSourceT getCreator() {
|
---|
2905 | + return creator;
|
---|
2906 | + }
|
---|
2907 | +
|
---|
2908 | + /**
|
---|
2909 | + * Sets the value of the creator property.
|
---|
2910 | + *
|
---|
2911 | + * @param value
|
---|
2912 | + * allowed object is
|
---|
2913 | + * {@link AbstractSourceT }
|
---|
2914 | + *
|
---|
2915 | + */
|
---|
2916 | + public void setCreator(AbstractSourceT value) {
|
---|
2917 | + this.creator = value;
|
---|
2918 | + }
|
---|
2919 | +
|
---|
2920 | + /**
|
---|
2921 | + * Gets the value of the extensions property.
|
---|
2922 | + *
|
---|
2923 | + * @return
|
---|
2924 | + * possible object is
|
---|
2925 | + * {@link ExtensionsT }
|
---|
2926 | + *
|
---|
2927 | + */
|
---|
2928 | + public ExtensionsT getExtensions() {
|
---|
2929 | + return extensions;
|
---|
2930 | + }
|
---|
2931 | +
|
---|
2932 | + /**
|
---|
2933 | + * Sets the value of the extensions property.
|
---|
2934 | + *
|
---|
2935 | + * @param value
|
---|
2936 | + * allowed object is
|
---|
2937 | + * {@link ExtensionsT }
|
---|
2938 | + *
|
---|
2939 | + */
|
---|
2940 | + public void setExtensions(ExtensionsT value) {
|
---|
2941 | + this.extensions = value;
|
---|
2942 | + }
|
---|
2943 | +
|
---|
2944 | +}
|
---|
2945 | Index: src/org/openstreetmap/josm/io/tcx/CoursesT.java
|
---|
2946 | ===================================================================
|
---|
2947 | --- src/org/openstreetmap/josm/io/tcx/CoursesT.java (revision 0)
|
---|
2948 | +++ src/org/openstreetmap/josm/io/tcx/CoursesT.java (revision 0)
|
---|
2949 | @@ -0,0 +1,97 @@
|
---|
2950 | +//
|
---|
2951 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
2952 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
2953 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
2954 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
2955 | +//
|
---|
2956 | +
|
---|
2957 | +
|
---|
2958 | +package org.openstreetmap.josm.io.tcx;
|
---|
2959 | +
|
---|
2960 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
2961 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
2962 | +import javax.xml.bind.annotation.XmlElement;
|
---|
2963 | +import javax.xml.bind.annotation.XmlType;
|
---|
2964 | +
|
---|
2965 | +
|
---|
2966 | +/**
|
---|
2967 | + * <p>Java class for Courses_t complex type.
|
---|
2968 | + *
|
---|
2969 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
2970 | + *
|
---|
2971 | + * <pre>
|
---|
2972 | + * <complexType name="Courses_t">
|
---|
2973 | + * <complexContent>
|
---|
2974 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
2975 | + * <sequence>
|
---|
2976 | + * <element name="CourseFolder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CourseFolder_t"/>
|
---|
2977 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
2978 | + * </sequence>
|
---|
2979 | + * </restriction>
|
---|
2980 | + * </complexContent>
|
---|
2981 | + * </complexType>
|
---|
2982 | + * </pre>
|
---|
2983 | + *
|
---|
2984 | + *
|
---|
2985 | + */
|
---|
2986 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
2987 | +@XmlType(name = "Courses_t", propOrder = {
|
---|
2988 | + "courseFolder",
|
---|
2989 | + "extensions"
|
---|
2990 | +})
|
---|
2991 | +public class CoursesT {
|
---|
2992 | +
|
---|
2993 | + @XmlElement(name = "CourseFolder", required = true)
|
---|
2994 | + protected CourseFolderT courseFolder;
|
---|
2995 | + @XmlElement(name = "Extensions")
|
---|
2996 | + protected ExtensionsT extensions;
|
---|
2997 | +
|
---|
2998 | + /**
|
---|
2999 | + * Gets the value of the courseFolder property.
|
---|
3000 | + *
|
---|
3001 | + * @return
|
---|
3002 | + * possible object is
|
---|
3003 | + * {@link CourseFolderT }
|
---|
3004 | + *
|
---|
3005 | + */
|
---|
3006 | + public CourseFolderT getCourseFolder() {
|
---|
3007 | + return courseFolder;
|
---|
3008 | + }
|
---|
3009 | +
|
---|
3010 | + /**
|
---|
3011 | + * Sets the value of the courseFolder property.
|
---|
3012 | + *
|
---|
3013 | + * @param value
|
---|
3014 | + * allowed object is
|
---|
3015 | + * {@link CourseFolderT }
|
---|
3016 | + *
|
---|
3017 | + */
|
---|
3018 | + public void setCourseFolder(CourseFolderT value) {
|
---|
3019 | + this.courseFolder = value;
|
---|
3020 | + }
|
---|
3021 | +
|
---|
3022 | + /**
|
---|
3023 | + * Gets the value of the extensions property.
|
---|
3024 | + *
|
---|
3025 | + * @return
|
---|
3026 | + * possible object is
|
---|
3027 | + * {@link ExtensionsT }
|
---|
3028 | + *
|
---|
3029 | + */
|
---|
3030 | + public ExtensionsT getExtensions() {
|
---|
3031 | + return extensions;
|
---|
3032 | + }
|
---|
3033 | +
|
---|
3034 | + /**
|
---|
3035 | + * Sets the value of the extensions property.
|
---|
3036 | + *
|
---|
3037 | + * @param value
|
---|
3038 | + * allowed object is
|
---|
3039 | + * {@link ExtensionsT }
|
---|
3040 | + *
|
---|
3041 | + */
|
---|
3042 | + public void setExtensions(ExtensionsT value) {
|
---|
3043 | + this.extensions = value;
|
---|
3044 | + }
|
---|
3045 | +
|
---|
3046 | +}
|
---|
3047 | Index: src/org/openstreetmap/josm/io/tcx/CustomHeartRateZoneT.java
|
---|
3048 | ===================================================================
|
---|
3049 | --- src/org/openstreetmap/josm/io/tcx/CustomHeartRateZoneT.java (revision 0)
|
---|
3050 | +++ src/org/openstreetmap/josm/io/tcx/CustomHeartRateZoneT.java (revision 0)
|
---|
3051 | @@ -0,0 +1,99 @@
|
---|
3052 | +//
|
---|
3053 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3054 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3055 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3056 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3057 | +//
|
---|
3058 | +
|
---|
3059 | +
|
---|
3060 | +package org.openstreetmap.josm.io.tcx;
|
---|
3061 | +
|
---|
3062 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3063 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3064 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3065 | +import javax.xml.bind.annotation.XmlType;
|
---|
3066 | +
|
---|
3067 | +
|
---|
3068 | +/**
|
---|
3069 | + * <p>Java class for CustomHeartRateZone_t complex type.
|
---|
3070 | + *
|
---|
3071 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3072 | + *
|
---|
3073 | + * <pre>
|
---|
3074 | + * <complexType name="CustomHeartRateZone_t">
|
---|
3075 | + * <complexContent>
|
---|
3076 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t">
|
---|
3077 | + * <sequence>
|
---|
3078 | + * <element name="Low" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t"/>
|
---|
3079 | + * <element name="High" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t"/>
|
---|
3080 | + * </sequence>
|
---|
3081 | + * </extension>
|
---|
3082 | + * </complexContent>
|
---|
3083 | + * </complexType>
|
---|
3084 | + * </pre>
|
---|
3085 | + *
|
---|
3086 | + *
|
---|
3087 | + */
|
---|
3088 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3089 | +@XmlType(name = "CustomHeartRateZone_t", propOrder = {
|
---|
3090 | + "low",
|
---|
3091 | + "high"
|
---|
3092 | +})
|
---|
3093 | +public class CustomHeartRateZoneT
|
---|
3094 | + extends ZoneT
|
---|
3095 | +{
|
---|
3096 | +
|
---|
3097 | + @XmlElement(name = "Low", required = true)
|
---|
3098 | + protected HeartRateValueT low;
|
---|
3099 | + @XmlElement(name = "High", required = true)
|
---|
3100 | + protected HeartRateValueT high;
|
---|
3101 | +
|
---|
3102 | + /**
|
---|
3103 | + * Gets the value of the low property.
|
---|
3104 | + *
|
---|
3105 | + * @return
|
---|
3106 | + * possible object is
|
---|
3107 | + * {@link HeartRateValueT }
|
---|
3108 | + *
|
---|
3109 | + */
|
---|
3110 | + public HeartRateValueT getLow() {
|
---|
3111 | + return low;
|
---|
3112 | + }
|
---|
3113 | +
|
---|
3114 | + /**
|
---|
3115 | + * Sets the value of the low property.
|
---|
3116 | + *
|
---|
3117 | + * @param value
|
---|
3118 | + * allowed object is
|
---|
3119 | + * {@link HeartRateValueT }
|
---|
3120 | + *
|
---|
3121 | + */
|
---|
3122 | + public void setLow(HeartRateValueT value) {
|
---|
3123 | + this.low = value;
|
---|
3124 | + }
|
---|
3125 | +
|
---|
3126 | + /**
|
---|
3127 | + * Gets the value of the high property.
|
---|
3128 | + *
|
---|
3129 | + * @return
|
---|
3130 | + * possible object is
|
---|
3131 | + * {@link HeartRateValueT }
|
---|
3132 | + *
|
---|
3133 | + */
|
---|
3134 | + public HeartRateValueT getHigh() {
|
---|
3135 | + return high;
|
---|
3136 | + }
|
---|
3137 | +
|
---|
3138 | + /**
|
---|
3139 | + * Sets the value of the high property.
|
---|
3140 | + *
|
---|
3141 | + * @param value
|
---|
3142 | + * allowed object is
|
---|
3143 | + * {@link HeartRateValueT }
|
---|
3144 | + *
|
---|
3145 | + */
|
---|
3146 | + public void setHigh(HeartRateValueT value) {
|
---|
3147 | + this.high = value;
|
---|
3148 | + }
|
---|
3149 | +
|
---|
3150 | +}
|
---|
3151 | Index: src/org/openstreetmap/josm/io/tcx/CustomSpeedZoneT.java
|
---|
3152 | ===================================================================
|
---|
3153 | --- src/org/openstreetmap/josm/io/tcx/CustomSpeedZoneT.java (revision 0)
|
---|
3154 | +++ src/org/openstreetmap/josm/io/tcx/CustomSpeedZoneT.java (revision 0)
|
---|
3155 | @@ -0,0 +1,111 @@
|
---|
3156 | +//
|
---|
3157 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3158 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3159 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3160 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3161 | +//
|
---|
3162 | +
|
---|
3163 | +
|
---|
3164 | +package org.openstreetmap.josm.io.tcx;
|
---|
3165 | +
|
---|
3166 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3167 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3168 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3169 | +import javax.xml.bind.annotation.XmlType;
|
---|
3170 | +
|
---|
3171 | +
|
---|
3172 | +/**
|
---|
3173 | + * <p>Java class for CustomSpeedZone_t complex type.
|
---|
3174 | + *
|
---|
3175 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3176 | + *
|
---|
3177 | + * <pre>
|
---|
3178 | + * <complexType name="CustomSpeedZone_t">
|
---|
3179 | + * <complexContent>
|
---|
3180 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t">
|
---|
3181 | + * <sequence>
|
---|
3182 | + * <element name="ViewAs" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}SpeedType_t"/>
|
---|
3183 | + * <element name="LowInMetersPerSecond" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}SpeedInMetersPerSecond_t"/>
|
---|
3184 | + * <element name="HighInMetersPerSecond" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}SpeedInMetersPerSecond_t"/>
|
---|
3185 | + * </sequence>
|
---|
3186 | + * </extension>
|
---|
3187 | + * </complexContent>
|
---|
3188 | + * </complexType>
|
---|
3189 | + * </pre>
|
---|
3190 | + *
|
---|
3191 | + *
|
---|
3192 | + */
|
---|
3193 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3194 | +@XmlType(name = "CustomSpeedZone_t", propOrder = {
|
---|
3195 | + "viewAs",
|
---|
3196 | + "lowInMetersPerSecond",
|
---|
3197 | + "highInMetersPerSecond"
|
---|
3198 | +})
|
---|
3199 | +public class CustomSpeedZoneT
|
---|
3200 | + extends ZoneT
|
---|
3201 | +{
|
---|
3202 | +
|
---|
3203 | + @XmlElement(name = "ViewAs", required = true)
|
---|
3204 | + protected SpeedTypeT viewAs;
|
---|
3205 | + @XmlElement(name = "LowInMetersPerSecond")
|
---|
3206 | + protected double lowInMetersPerSecond;
|
---|
3207 | + @XmlElement(name = "HighInMetersPerSecond")
|
---|
3208 | + protected double highInMetersPerSecond;
|
---|
3209 | +
|
---|
3210 | + /**
|
---|
3211 | + * Gets the value of the viewAs property.
|
---|
3212 | + *
|
---|
3213 | + * @return
|
---|
3214 | + * possible object is
|
---|
3215 | + * {@link SpeedTypeT }
|
---|
3216 | + *
|
---|
3217 | + */
|
---|
3218 | + public SpeedTypeT getViewAs() {
|
---|
3219 | + return viewAs;
|
---|
3220 | + }
|
---|
3221 | +
|
---|
3222 | + /**
|
---|
3223 | + * Sets the value of the viewAs property.
|
---|
3224 | + *
|
---|
3225 | + * @param value
|
---|
3226 | + * allowed object is
|
---|
3227 | + * {@link SpeedTypeT }
|
---|
3228 | + *
|
---|
3229 | + */
|
---|
3230 | + public void setViewAs(SpeedTypeT value) {
|
---|
3231 | + this.viewAs = value;
|
---|
3232 | + }
|
---|
3233 | +
|
---|
3234 | + /**
|
---|
3235 | + * Gets the value of the lowInMetersPerSecond property.
|
---|
3236 | + *
|
---|
3237 | + */
|
---|
3238 | + public double getLowInMetersPerSecond() {
|
---|
3239 | + return lowInMetersPerSecond;
|
---|
3240 | + }
|
---|
3241 | +
|
---|
3242 | + /**
|
---|
3243 | + * Sets the value of the lowInMetersPerSecond property.
|
---|
3244 | + *
|
---|
3245 | + */
|
---|
3246 | + public void setLowInMetersPerSecond(double value) {
|
---|
3247 | + this.lowInMetersPerSecond = value;
|
---|
3248 | + }
|
---|
3249 | +
|
---|
3250 | + /**
|
---|
3251 | + * Gets the value of the highInMetersPerSecond property.
|
---|
3252 | + *
|
---|
3253 | + */
|
---|
3254 | + public double getHighInMetersPerSecond() {
|
---|
3255 | + return highInMetersPerSecond;
|
---|
3256 | + }
|
---|
3257 | +
|
---|
3258 | + /**
|
---|
3259 | + * Sets the value of the highInMetersPerSecond property.
|
---|
3260 | + *
|
---|
3261 | + */
|
---|
3262 | + public void setHighInMetersPerSecond(double value) {
|
---|
3263 | + this.highInMetersPerSecond = value;
|
---|
3264 | + }
|
---|
3265 | +
|
---|
3266 | +}
|
---|
3267 | Index: src/org/openstreetmap/josm/io/tcx/DeviceT.java
|
---|
3268 | ===================================================================
|
---|
3269 | --- src/org/openstreetmap/josm/io/tcx/DeviceT.java (revision 0)
|
---|
3270 | +++ src/org/openstreetmap/josm/io/tcx/DeviceT.java (revision 0)
|
---|
3271 | @@ -0,0 +1,118 @@
|
---|
3272 | +//
|
---|
3273 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3274 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3275 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3276 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3277 | +//
|
---|
3278 | +
|
---|
3279 | +
|
---|
3280 | +package org.openstreetmap.josm.io.tcx;
|
---|
3281 | +
|
---|
3282 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3283 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3284 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3285 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
3286 | +import javax.xml.bind.annotation.XmlType;
|
---|
3287 | +
|
---|
3288 | +
|
---|
3289 | +/**
|
---|
3290 | + * Identifies the originating GPS device that tracked a run or
|
---|
3291 | + * used to identify the type of device capable of handling
|
---|
3292 | + * the data for loading.
|
---|
3293 | + *
|
---|
3294 | + * <p>Java class for Device_t complex type.
|
---|
3295 | + *
|
---|
3296 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3297 | + *
|
---|
3298 | + * <pre>
|
---|
3299 | + * <complexType name="Device_t">
|
---|
3300 | + * <complexContent>
|
---|
3301 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t">
|
---|
3302 | + * <sequence>
|
---|
3303 | + * <element name="UnitId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/>
|
---|
3304 | + * <element name="ProductID" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
3305 | + * <element name="Version" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Version_t"/>
|
---|
3306 | + * </sequence>
|
---|
3307 | + * </extension>
|
---|
3308 | + * </complexContent>
|
---|
3309 | + * </complexType>
|
---|
3310 | + * </pre>
|
---|
3311 | + *
|
---|
3312 | + *
|
---|
3313 | + */
|
---|
3314 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3315 | +@XmlType(name = "Device_t", propOrder = {
|
---|
3316 | + "unitId",
|
---|
3317 | + "productID",
|
---|
3318 | + "version"
|
---|
3319 | +})
|
---|
3320 | +public class DeviceT
|
---|
3321 | + extends AbstractSourceT
|
---|
3322 | +{
|
---|
3323 | +
|
---|
3324 | + @XmlElement(name = "UnitId")
|
---|
3325 | + @XmlSchemaType(name = "unsignedInt")
|
---|
3326 | + protected long unitId;
|
---|
3327 | + @XmlElement(name = "ProductID")
|
---|
3328 | + @XmlSchemaType(name = "unsignedShort")
|
---|
3329 | + protected int productID;
|
---|
3330 | + @XmlElement(name = "Version", required = true)
|
---|
3331 | + protected VersionT version;
|
---|
3332 | +
|
---|
3333 | + /**
|
---|
3334 | + * Gets the value of the unitId property.
|
---|
3335 | + *
|
---|
3336 | + */
|
---|
3337 | + public long getUnitId() {
|
---|
3338 | + return unitId;
|
---|
3339 | + }
|
---|
3340 | +
|
---|
3341 | + /**
|
---|
3342 | + * Sets the value of the unitId property.
|
---|
3343 | + *
|
---|
3344 | + */
|
---|
3345 | + public void setUnitId(long value) {
|
---|
3346 | + this.unitId = value;
|
---|
3347 | + }
|
---|
3348 | +
|
---|
3349 | + /**
|
---|
3350 | + * Gets the value of the productID property.
|
---|
3351 | + *
|
---|
3352 | + */
|
---|
3353 | + public int getProductID() {
|
---|
3354 | + return productID;
|
---|
3355 | + }
|
---|
3356 | +
|
---|
3357 | + /**
|
---|
3358 | + * Sets the value of the productID property.
|
---|
3359 | + *
|
---|
3360 | + */
|
---|
3361 | + public void setProductID(int value) {
|
---|
3362 | + this.productID = value;
|
---|
3363 | + }
|
---|
3364 | +
|
---|
3365 | + /**
|
---|
3366 | + * Gets the value of the version property.
|
---|
3367 | + *
|
---|
3368 | + * @return
|
---|
3369 | + * possible object is
|
---|
3370 | + * {@link VersionT }
|
---|
3371 | + *
|
---|
3372 | + */
|
---|
3373 | + public VersionT getVersion() {
|
---|
3374 | + return version;
|
---|
3375 | + }
|
---|
3376 | +
|
---|
3377 | + /**
|
---|
3378 | + * Sets the value of the version property.
|
---|
3379 | + *
|
---|
3380 | + * @param value
|
---|
3381 | + * allowed object is
|
---|
3382 | + * {@link VersionT }
|
---|
3383 | + *
|
---|
3384 | + */
|
---|
3385 | + public void setVersion(VersionT value) {
|
---|
3386 | + this.version = value;
|
---|
3387 | + }
|
---|
3388 | +
|
---|
3389 | +}
|
---|
3390 | Index: src/org/openstreetmap/josm/io/tcx/DistanceT.java
|
---|
3391 | ===================================================================
|
---|
3392 | --- src/org/openstreetmap/josm/io/tcx/DistanceT.java (revision 0)
|
---|
3393 | +++ src/org/openstreetmap/josm/io/tcx/DistanceT.java (revision 0)
|
---|
3394 | @@ -0,0 +1,65 @@
|
---|
3395 | +//
|
---|
3396 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3397 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3398 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3399 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3400 | +//
|
---|
3401 | +
|
---|
3402 | +
|
---|
3403 | +package org.openstreetmap.josm.io.tcx;
|
---|
3404 | +
|
---|
3405 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3406 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3407 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3408 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
3409 | +import javax.xml.bind.annotation.XmlType;
|
---|
3410 | +
|
---|
3411 | +
|
---|
3412 | +/**
|
---|
3413 | + * <p>Java class for Distance_t complex type.
|
---|
3414 | + *
|
---|
3415 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3416 | + *
|
---|
3417 | + * <pre>
|
---|
3418 | + * <complexType name="Distance_t">
|
---|
3419 | + * <complexContent>
|
---|
3420 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
3421 | + * <sequence>
|
---|
3422 | + * <element name="Meters" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
3423 | + * </sequence>
|
---|
3424 | + * </extension>
|
---|
3425 | + * </complexContent>
|
---|
3426 | + * </complexType>
|
---|
3427 | + * </pre>
|
---|
3428 | + *
|
---|
3429 | + *
|
---|
3430 | + */
|
---|
3431 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3432 | +@XmlType(name = "Distance_t", propOrder = {
|
---|
3433 | + "meters"
|
---|
3434 | +})
|
---|
3435 | +public class DistanceT
|
---|
3436 | + extends DurationT
|
---|
3437 | +{
|
---|
3438 | +
|
---|
3439 | + @XmlElement(name = "Meters")
|
---|
3440 | + @XmlSchemaType(name = "unsignedShort")
|
---|
3441 | + protected int meters;
|
---|
3442 | +
|
---|
3443 | + /**
|
---|
3444 | + * Gets the value of the meters property.
|
---|
3445 | + *
|
---|
3446 | + */
|
---|
3447 | + public int getMeters() {
|
---|
3448 | + return meters;
|
---|
3449 | + }
|
---|
3450 | +
|
---|
3451 | + /**
|
---|
3452 | + * Sets the value of the meters property.
|
---|
3453 | + *
|
---|
3454 | + */
|
---|
3455 | + public void setMeters(int value) {
|
---|
3456 | + this.meters = value;
|
---|
3457 | + }
|
---|
3458 | +
|
---|
3459 | +}
|
---|
3460 | Index: src/org/openstreetmap/josm/io/tcx/DurationT.java
|
---|
3461 | ===================================================================
|
---|
3462 | --- src/org/openstreetmap/josm/io/tcx/DurationT.java (revision 0)
|
---|
3463 | +++ src/org/openstreetmap/josm/io/tcx/DurationT.java (revision 0)
|
---|
3464 | @@ -0,0 +1,46 @@
|
---|
3465 | +//
|
---|
3466 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3467 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3468 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3469 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3470 | +//
|
---|
3471 | +
|
---|
3472 | +
|
---|
3473 | +package org.openstreetmap.josm.io.tcx;
|
---|
3474 | +
|
---|
3475 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3476 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3477 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
3478 | +import javax.xml.bind.annotation.XmlType;
|
---|
3479 | +
|
---|
3480 | +
|
---|
3481 | +/**
|
---|
3482 | + * <p>Java class for Duration_t complex type.
|
---|
3483 | + *
|
---|
3484 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3485 | + *
|
---|
3486 | + * <pre>
|
---|
3487 | + * <complexType name="Duration_t">
|
---|
3488 | + * <complexContent>
|
---|
3489 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
3490 | + * </restriction>
|
---|
3491 | + * </complexContent>
|
---|
3492 | + * </complexType>
|
---|
3493 | + * </pre>
|
---|
3494 | + *
|
---|
3495 | + *
|
---|
3496 | + */
|
---|
3497 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3498 | +@XmlType(name = "Duration_t")
|
---|
3499 | +@XmlSeeAlso({
|
---|
3500 | + DistanceT.class,
|
---|
3501 | + TimeT.class,
|
---|
3502 | + UserInitiatedT.class,
|
---|
3503 | + HeartRateAboveT.class,
|
---|
3504 | + CaloriesBurnedT.class,
|
---|
3505 | + HeartRateBelowT.class
|
---|
3506 | +})
|
---|
3507 | +public abstract class DurationT {
|
---|
3508 | +
|
---|
3509 | +
|
---|
3510 | +}
|
---|
3511 | Index: src/org/openstreetmap/josm/io/tcx/ExtensionsT.java
|
---|
3512 | ===================================================================
|
---|
3513 | --- src/org/openstreetmap/josm/io/tcx/ExtensionsT.java (revision 0)
|
---|
3514 | +++ src/org/openstreetmap/josm/io/tcx/ExtensionsT.java (revision 0)
|
---|
3515 | @@ -0,0 +1,78 @@
|
---|
3516 | +//
|
---|
3517 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3518 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3519 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3520 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3521 | +//
|
---|
3522 | +
|
---|
3523 | +
|
---|
3524 | +package org.openstreetmap.josm.io.tcx;
|
---|
3525 | +
|
---|
3526 | +import java.util.ArrayList;
|
---|
3527 | +import java.util.List;
|
---|
3528 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3529 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3530 | +import javax.xml.bind.annotation.XmlAnyElement;
|
---|
3531 | +import javax.xml.bind.annotation.XmlType;
|
---|
3532 | +import org.w3c.dom.Element;
|
---|
3533 | +
|
---|
3534 | +
|
---|
3535 | +/**
|
---|
3536 | + * <p>Java class for Extensions_t complex type.
|
---|
3537 | + *
|
---|
3538 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3539 | + *
|
---|
3540 | + * <pre>
|
---|
3541 | + * <complexType name="Extensions_t">
|
---|
3542 | + * <complexContent>
|
---|
3543 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
3544 | + * <sequence>
|
---|
3545 | + * <any/>
|
---|
3546 | + * </sequence>
|
---|
3547 | + * </restriction>
|
---|
3548 | + * </complexContent>
|
---|
3549 | + * </complexType>
|
---|
3550 | + * </pre>
|
---|
3551 | + *
|
---|
3552 | + *
|
---|
3553 | + */
|
---|
3554 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3555 | +@XmlType(name = "Extensions_t", propOrder = {
|
---|
3556 | + "any"
|
---|
3557 | +})
|
---|
3558 | +public class ExtensionsT {
|
---|
3559 | +
|
---|
3560 | + @XmlAnyElement(lax = true)
|
---|
3561 | + protected List<Object> any;
|
---|
3562 | +
|
---|
3563 | + /**
|
---|
3564 | + * Gets the value of the any property.
|
---|
3565 | + *
|
---|
3566 | + * <p>
|
---|
3567 | + * This accessor method returns a reference to the live list,
|
---|
3568 | + * not a snapshot. Therefore any modification you make to the
|
---|
3569 | + * returned list will be present inside the JAXB object.
|
---|
3570 | + * This is why there is not a <CODE>set</CODE> method for the any property.
|
---|
3571 | + *
|
---|
3572 | + * <p>
|
---|
3573 | + * For example, to add a new item, do as follows:
|
---|
3574 | + * <pre>
|
---|
3575 | + * getAny().add(newItem);
|
---|
3576 | + * </pre>
|
---|
3577 | + *
|
---|
3578 | + *
|
---|
3579 | + * <p>
|
---|
3580 | + * Objects of the following type(s) are allowed in the list
|
---|
3581 | + * {@link Object }
|
---|
3582 | + * {@link Element }
|
---|
3583 | + *
|
---|
3584 | + *
|
---|
3585 | + */
|
---|
3586 | + public List<Object> getAny() {
|
---|
3587 | + if (any == null) {
|
---|
3588 | + any = new ArrayList<Object>();
|
---|
3589 | + }
|
---|
3590 | + return this.any;
|
---|
3591 | + }
|
---|
3592 | +
|
---|
3593 | +}
|
---|
3594 | Index: src/org/openstreetmap/josm/io/tcx/FirstSportT.java
|
---|
3595 | ===================================================================
|
---|
3596 | --- src/org/openstreetmap/josm/io/tcx/FirstSportT.java (revision 0)
|
---|
3597 | +++ src/org/openstreetmap/josm/io/tcx/FirstSportT.java (revision 0)
|
---|
3598 | @@ -0,0 +1,69 @@
|
---|
3599 | +//
|
---|
3600 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3601 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3602 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3603 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3604 | +//
|
---|
3605 | +
|
---|
3606 | +
|
---|
3607 | +package org.openstreetmap.josm.io.tcx;
|
---|
3608 | +
|
---|
3609 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3610 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3611 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3612 | +import javax.xml.bind.annotation.XmlType;
|
---|
3613 | +
|
---|
3614 | +
|
---|
3615 | +/**
|
---|
3616 | + * <p>Java class for FirstSport_t complex type.
|
---|
3617 | + *
|
---|
3618 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3619 | + *
|
---|
3620 | + * <pre>
|
---|
3621 | + * <complexType name="FirstSport_t">
|
---|
3622 | + * <complexContent>
|
---|
3623 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
3624 | + * <sequence>
|
---|
3625 | + * <element name="Activity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Activity_t"/>
|
---|
3626 | + * </sequence>
|
---|
3627 | + * </restriction>
|
---|
3628 | + * </complexContent>
|
---|
3629 | + * </complexType>
|
---|
3630 | + * </pre>
|
---|
3631 | + *
|
---|
3632 | + *
|
---|
3633 | + */
|
---|
3634 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3635 | +@XmlType(name = "FirstSport_t", propOrder = {
|
---|
3636 | + "activity"
|
---|
3637 | +})
|
---|
3638 | +public class FirstSportT {
|
---|
3639 | +
|
---|
3640 | + @XmlElement(name = "Activity", required = true)
|
---|
3641 | + protected ActivityT activity;
|
---|
3642 | +
|
---|
3643 | + /**
|
---|
3644 | + * Gets the value of the activity property.
|
---|
3645 | + *
|
---|
3646 | + * @return
|
---|
3647 | + * possible object is
|
---|
3648 | + * {@link ActivityT }
|
---|
3649 | + *
|
---|
3650 | + */
|
---|
3651 | + public ActivityT getActivity() {
|
---|
3652 | + return activity;
|
---|
3653 | + }
|
---|
3654 | +
|
---|
3655 | + /**
|
---|
3656 | + * Sets the value of the activity property.
|
---|
3657 | + *
|
---|
3658 | + * @param value
|
---|
3659 | + * allowed object is
|
---|
3660 | + * {@link ActivityT }
|
---|
3661 | + *
|
---|
3662 | + */
|
---|
3663 | + public void setActivity(ActivityT value) {
|
---|
3664 | + this.activity = value;
|
---|
3665 | + }
|
---|
3666 | +
|
---|
3667 | +}
|
---|
3668 | Index: src/org/openstreetmap/josm/io/tcx/FoldersT.java
|
---|
3669 | ===================================================================
|
---|
3670 | --- src/org/openstreetmap/josm/io/tcx/FoldersT.java (revision 0)
|
---|
3671 | +++ src/org/openstreetmap/josm/io/tcx/FoldersT.java (revision 0)
|
---|
3672 | @@ -0,0 +1,125 @@
|
---|
3673 | +//
|
---|
3674 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3675 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3676 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3677 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3678 | +//
|
---|
3679 | +
|
---|
3680 | +
|
---|
3681 | +package org.openstreetmap.josm.io.tcx;
|
---|
3682 | +
|
---|
3683 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3684 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3685 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3686 | +import javax.xml.bind.annotation.XmlType;
|
---|
3687 | +
|
---|
3688 | +
|
---|
3689 | +/**
|
---|
3690 | + * <p>Java class for Folders_t complex type.
|
---|
3691 | + *
|
---|
3692 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3693 | + *
|
---|
3694 | + * <pre>
|
---|
3695 | + * <complexType name="Folders_t">
|
---|
3696 | + * <complexContent>
|
---|
3697 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
3698 | + * <sequence>
|
---|
3699 | + * <element name="History" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}History_t" minOccurs="0"/>
|
---|
3700 | + * <element name="Workouts" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Workouts_t" minOccurs="0"/>
|
---|
3701 | + * <element name="Courses" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Courses_t" minOccurs="0"/>
|
---|
3702 | + * </sequence>
|
---|
3703 | + * </restriction>
|
---|
3704 | + * </complexContent>
|
---|
3705 | + * </complexType>
|
---|
3706 | + * </pre>
|
---|
3707 | + *
|
---|
3708 | + *
|
---|
3709 | + */
|
---|
3710 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3711 | +@XmlType(name = "Folders_t", propOrder = {
|
---|
3712 | + "history",
|
---|
3713 | + "workouts",
|
---|
3714 | + "courses"
|
---|
3715 | +})
|
---|
3716 | +public class FoldersT {
|
---|
3717 | +
|
---|
3718 | + @XmlElement(name = "History")
|
---|
3719 | + protected HistoryT history;
|
---|
3720 | + @XmlElement(name = "Workouts")
|
---|
3721 | + protected WorkoutsT workouts;
|
---|
3722 | + @XmlElement(name = "Courses")
|
---|
3723 | + protected CoursesT courses;
|
---|
3724 | +
|
---|
3725 | + /**
|
---|
3726 | + * Gets the value of the history property.
|
---|
3727 | + *
|
---|
3728 | + * @return
|
---|
3729 | + * possible object is
|
---|
3730 | + * {@link HistoryT }
|
---|
3731 | + *
|
---|
3732 | + */
|
---|
3733 | + public HistoryT getHistory() {
|
---|
3734 | + return history;
|
---|
3735 | + }
|
---|
3736 | +
|
---|
3737 | + /**
|
---|
3738 | + * Sets the value of the history property.
|
---|
3739 | + *
|
---|
3740 | + * @param value
|
---|
3741 | + * allowed object is
|
---|
3742 | + * {@link HistoryT }
|
---|
3743 | + *
|
---|
3744 | + */
|
---|
3745 | + public void setHistory(HistoryT value) {
|
---|
3746 | + this.history = value;
|
---|
3747 | + }
|
---|
3748 | +
|
---|
3749 | + /**
|
---|
3750 | + * Gets the value of the workouts property.
|
---|
3751 | + *
|
---|
3752 | + * @return
|
---|
3753 | + * possible object is
|
---|
3754 | + * {@link WorkoutsT }
|
---|
3755 | + *
|
---|
3756 | + */
|
---|
3757 | + public WorkoutsT getWorkouts() {
|
---|
3758 | + return workouts;
|
---|
3759 | + }
|
---|
3760 | +
|
---|
3761 | + /**
|
---|
3762 | + * Sets the value of the workouts property.
|
---|
3763 | + *
|
---|
3764 | + * @param value
|
---|
3765 | + * allowed object is
|
---|
3766 | + * {@link WorkoutsT }
|
---|
3767 | + *
|
---|
3768 | + */
|
---|
3769 | + public void setWorkouts(WorkoutsT value) {
|
---|
3770 | + this.workouts = value;
|
---|
3771 | + }
|
---|
3772 | +
|
---|
3773 | + /**
|
---|
3774 | + * Gets the value of the courses property.
|
---|
3775 | + *
|
---|
3776 | + * @return
|
---|
3777 | + * possible object is
|
---|
3778 | + * {@link CoursesT }
|
---|
3779 | + *
|
---|
3780 | + */
|
---|
3781 | + public CoursesT getCourses() {
|
---|
3782 | + return courses;
|
---|
3783 | + }
|
---|
3784 | +
|
---|
3785 | + /**
|
---|
3786 | + * Sets the value of the courses property.
|
---|
3787 | + *
|
---|
3788 | + * @param value
|
---|
3789 | + * allowed object is
|
---|
3790 | + * {@link CoursesT }
|
---|
3791 | + *
|
---|
3792 | + */
|
---|
3793 | + public void setCourses(CoursesT value) {
|
---|
3794 | + this.courses = value;
|
---|
3795 | + }
|
---|
3796 | +
|
---|
3797 | +}
|
---|
3798 | Index: src/org/openstreetmap/josm/io/tcx/GenderT.java
|
---|
3799 | ===================================================================
|
---|
3800 | --- src/org/openstreetmap/josm/io/tcx/GenderT.java (revision 0)
|
---|
3801 | +++ src/org/openstreetmap/josm/io/tcx/GenderT.java (revision 0)
|
---|
3802 | @@ -0,0 +1,58 @@
|
---|
3803 | +//
|
---|
3804 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3805 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3806 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3807 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3808 | +//
|
---|
3809 | +
|
---|
3810 | +
|
---|
3811 | +package org.openstreetmap.josm.io.tcx;
|
---|
3812 | +
|
---|
3813 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
3814 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
3815 | +import javax.xml.bind.annotation.XmlType;
|
---|
3816 | +
|
---|
3817 | +
|
---|
3818 | +/**
|
---|
3819 | + * <p>Java class for Gender_t.
|
---|
3820 | + *
|
---|
3821 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3822 | + * <p>
|
---|
3823 | + * <pre>
|
---|
3824 | + * <simpleType name="Gender_t">
|
---|
3825 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
3826 | + * <enumeration value="Male"/>
|
---|
3827 | + * <enumeration value="Female"/>
|
---|
3828 | + * </restriction>
|
---|
3829 | + * </simpleType>
|
---|
3830 | + * </pre>
|
---|
3831 | + *
|
---|
3832 | + */
|
---|
3833 | +@XmlType(name = "Gender_t")
|
---|
3834 | +@XmlEnum
|
---|
3835 | +public enum GenderT {
|
---|
3836 | +
|
---|
3837 | + @XmlEnumValue("Male")
|
---|
3838 | + MALE("Male"),
|
---|
3839 | + @XmlEnumValue("Female")
|
---|
3840 | + FEMALE("Female");
|
---|
3841 | + private final String value;
|
---|
3842 | +
|
---|
3843 | + GenderT(String v) {
|
---|
3844 | + value = v;
|
---|
3845 | + }
|
---|
3846 | +
|
---|
3847 | + public String value() {
|
---|
3848 | + return value;
|
---|
3849 | + }
|
---|
3850 | +
|
---|
3851 | + public static GenderT fromValue(String v) {
|
---|
3852 | + for (GenderT c: GenderT.values()) {
|
---|
3853 | + if (c.value.equals(v)) {
|
---|
3854 | + return c;
|
---|
3855 | + }
|
---|
3856 | + }
|
---|
3857 | + throw new IllegalArgumentException(v);
|
---|
3858 | + }
|
---|
3859 | +
|
---|
3860 | +}
|
---|
3861 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateAboveT.java
|
---|
3862 | ===================================================================
|
---|
3863 | --- src/org/openstreetmap/josm/io/tcx/HeartRateAboveT.java (revision 0)
|
---|
3864 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateAboveT.java (revision 0)
|
---|
3865 | @@ -0,0 +1,71 @@
|
---|
3866 | +//
|
---|
3867 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3868 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3869 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3870 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3871 | +//
|
---|
3872 | +
|
---|
3873 | +
|
---|
3874 | +package org.openstreetmap.josm.io.tcx;
|
---|
3875 | +
|
---|
3876 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3877 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3878 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3879 | +import javax.xml.bind.annotation.XmlType;
|
---|
3880 | +
|
---|
3881 | +
|
---|
3882 | +/**
|
---|
3883 | + * <p>Java class for HeartRateAbove_t complex type.
|
---|
3884 | + *
|
---|
3885 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3886 | + *
|
---|
3887 | + * <pre>
|
---|
3888 | + * <complexType name="HeartRateAbove_t">
|
---|
3889 | + * <complexContent>
|
---|
3890 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
3891 | + * <sequence>
|
---|
3892 | + * <element name="HeartRate" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t"/>
|
---|
3893 | + * </sequence>
|
---|
3894 | + * </extension>
|
---|
3895 | + * </complexContent>
|
---|
3896 | + * </complexType>
|
---|
3897 | + * </pre>
|
---|
3898 | + *
|
---|
3899 | + *
|
---|
3900 | + */
|
---|
3901 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3902 | +@XmlType(name = "HeartRateAbove_t", propOrder = {
|
---|
3903 | + "heartRate"
|
---|
3904 | +})
|
---|
3905 | +public class HeartRateAboveT
|
---|
3906 | + extends DurationT
|
---|
3907 | +{
|
---|
3908 | +
|
---|
3909 | + @XmlElement(name = "HeartRate", required = true)
|
---|
3910 | + protected HeartRateValueT heartRate;
|
---|
3911 | +
|
---|
3912 | + /**
|
---|
3913 | + * Gets the value of the heartRate property.
|
---|
3914 | + *
|
---|
3915 | + * @return
|
---|
3916 | + * possible object is
|
---|
3917 | + * {@link HeartRateValueT }
|
---|
3918 | + *
|
---|
3919 | + */
|
---|
3920 | + public HeartRateValueT getHeartRate() {
|
---|
3921 | + return heartRate;
|
---|
3922 | + }
|
---|
3923 | +
|
---|
3924 | + /**
|
---|
3925 | + * Sets the value of the heartRate property.
|
---|
3926 | + *
|
---|
3927 | + * @param value
|
---|
3928 | + * allowed object is
|
---|
3929 | + * {@link HeartRateValueT }
|
---|
3930 | + *
|
---|
3931 | + */
|
---|
3932 | + public void setHeartRate(HeartRateValueT value) {
|
---|
3933 | + this.heartRate = value;
|
---|
3934 | + }
|
---|
3935 | +
|
---|
3936 | +}
|
---|
3937 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateAsPercentOfMaxT.java
|
---|
3938 | ===================================================================
|
---|
3939 | --- src/org/openstreetmap/josm/io/tcx/HeartRateAsPercentOfMaxT.java (revision 0)
|
---|
3940 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateAsPercentOfMaxT.java (revision 0)
|
---|
3941 | @@ -0,0 +1,63 @@
|
---|
3942 | +//
|
---|
3943 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
3944 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
3945 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
3946 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
3947 | +//
|
---|
3948 | +
|
---|
3949 | +
|
---|
3950 | +package org.openstreetmap.josm.io.tcx;
|
---|
3951 | +
|
---|
3952 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
3953 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
3954 | +import javax.xml.bind.annotation.XmlElement;
|
---|
3955 | +import javax.xml.bind.annotation.XmlType;
|
---|
3956 | +
|
---|
3957 | +
|
---|
3958 | +/**
|
---|
3959 | + * <p>Java class for HeartRateAsPercentOfMax_t complex type.
|
---|
3960 | + *
|
---|
3961 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
3962 | + *
|
---|
3963 | + * <pre>
|
---|
3964 | + * <complexType name="HeartRateAsPercentOfMax_t">
|
---|
3965 | + * <complexContent>
|
---|
3966 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t">
|
---|
3967 | + * <sequence>
|
---|
3968 | + * <element name="Value" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}PercentOfMax_t"/>
|
---|
3969 | + * </sequence>
|
---|
3970 | + * </extension>
|
---|
3971 | + * </complexContent>
|
---|
3972 | + * </complexType>
|
---|
3973 | + * </pre>
|
---|
3974 | + *
|
---|
3975 | + *
|
---|
3976 | + */
|
---|
3977 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
3978 | +@XmlType(name = "HeartRateAsPercentOfMax_t", propOrder = {
|
---|
3979 | + "value"
|
---|
3980 | +})
|
---|
3981 | +public class HeartRateAsPercentOfMaxT
|
---|
3982 | + extends HeartRateValueT
|
---|
3983 | +{
|
---|
3984 | +
|
---|
3985 | + @XmlElement(name = "Value")
|
---|
3986 | + protected short value;
|
---|
3987 | +
|
---|
3988 | + /**
|
---|
3989 | + * Gets the value of the value property.
|
---|
3990 | + *
|
---|
3991 | + */
|
---|
3992 | + public short getValue() {
|
---|
3993 | + return value;
|
---|
3994 | + }
|
---|
3995 | +
|
---|
3996 | + /**
|
---|
3997 | + * Sets the value of the value property.
|
---|
3998 | + *
|
---|
3999 | + */
|
---|
4000 | + public void setValue(short value) {
|
---|
4001 | + this.value = value;
|
---|
4002 | + }
|
---|
4003 | +
|
---|
4004 | +}
|
---|
4005 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateBelowT.java
|
---|
4006 | ===================================================================
|
---|
4007 | --- src/org/openstreetmap/josm/io/tcx/HeartRateBelowT.java (revision 0)
|
---|
4008 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateBelowT.java (revision 0)
|
---|
4009 | @@ -0,0 +1,71 @@
|
---|
4010 | +//
|
---|
4011 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4012 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4013 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4014 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4015 | +//
|
---|
4016 | +
|
---|
4017 | +
|
---|
4018 | +package org.openstreetmap.josm.io.tcx;
|
---|
4019 | +
|
---|
4020 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4021 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4022 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4023 | +import javax.xml.bind.annotation.XmlType;
|
---|
4024 | +
|
---|
4025 | +
|
---|
4026 | +/**
|
---|
4027 | + * <p>Java class for HeartRateBelow_t complex type.
|
---|
4028 | + *
|
---|
4029 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4030 | + *
|
---|
4031 | + * <pre>
|
---|
4032 | + * <complexType name="HeartRateBelow_t">
|
---|
4033 | + * <complexContent>
|
---|
4034 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
4035 | + * <sequence>
|
---|
4036 | + * <element name="HeartRate" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t"/>
|
---|
4037 | + * </sequence>
|
---|
4038 | + * </extension>
|
---|
4039 | + * </complexContent>
|
---|
4040 | + * </complexType>
|
---|
4041 | + * </pre>
|
---|
4042 | + *
|
---|
4043 | + *
|
---|
4044 | + */
|
---|
4045 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4046 | +@XmlType(name = "HeartRateBelow_t", propOrder = {
|
---|
4047 | + "heartRate"
|
---|
4048 | +})
|
---|
4049 | +public class HeartRateBelowT
|
---|
4050 | + extends DurationT
|
---|
4051 | +{
|
---|
4052 | +
|
---|
4053 | + @XmlElement(name = "HeartRate", required = true)
|
---|
4054 | + protected HeartRateValueT heartRate;
|
---|
4055 | +
|
---|
4056 | + /**
|
---|
4057 | + * Gets the value of the heartRate property.
|
---|
4058 | + *
|
---|
4059 | + * @return
|
---|
4060 | + * possible object is
|
---|
4061 | + * {@link HeartRateValueT }
|
---|
4062 | + *
|
---|
4063 | + */
|
---|
4064 | + public HeartRateValueT getHeartRate() {
|
---|
4065 | + return heartRate;
|
---|
4066 | + }
|
---|
4067 | +
|
---|
4068 | + /**
|
---|
4069 | + * Sets the value of the heartRate property.
|
---|
4070 | + *
|
---|
4071 | + * @param value
|
---|
4072 | + * allowed object is
|
---|
4073 | + * {@link HeartRateValueT }
|
---|
4074 | + *
|
---|
4075 | + */
|
---|
4076 | + public void setHeartRate(HeartRateValueT value) {
|
---|
4077 | + this.heartRate = value;
|
---|
4078 | + }
|
---|
4079 | +
|
---|
4080 | +}
|
---|
4081 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateInBeatsPerMinuteT.java
|
---|
4082 | ===================================================================
|
---|
4083 | --- src/org/openstreetmap/josm/io/tcx/HeartRateInBeatsPerMinuteT.java (revision 0)
|
---|
4084 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateInBeatsPerMinuteT.java (revision 0)
|
---|
4085 | @@ -0,0 +1,63 @@
|
---|
4086 | +//
|
---|
4087 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4088 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4089 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4090 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4091 | +//
|
---|
4092 | +
|
---|
4093 | +
|
---|
4094 | +package org.openstreetmap.josm.io.tcx;
|
---|
4095 | +
|
---|
4096 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4097 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4098 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4099 | +import javax.xml.bind.annotation.XmlType;
|
---|
4100 | +
|
---|
4101 | +
|
---|
4102 | +/**
|
---|
4103 | + * <p>Java class for HeartRateInBeatsPerMinute_t complex type.
|
---|
4104 | + *
|
---|
4105 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4106 | + *
|
---|
4107 | + * <pre>
|
---|
4108 | + * <complexType name="HeartRateInBeatsPerMinute_t">
|
---|
4109 | + * <complexContent>
|
---|
4110 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateValue_t">
|
---|
4111 | + * <sequence>
|
---|
4112 | + * <element name="Value" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}positiveByte"/>
|
---|
4113 | + * </sequence>
|
---|
4114 | + * </extension>
|
---|
4115 | + * </complexContent>
|
---|
4116 | + * </complexType>
|
---|
4117 | + * </pre>
|
---|
4118 | + *
|
---|
4119 | + *
|
---|
4120 | + */
|
---|
4121 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4122 | +@XmlType(name = "HeartRateInBeatsPerMinute_t", propOrder = {
|
---|
4123 | + "value"
|
---|
4124 | +})
|
---|
4125 | +public class HeartRateInBeatsPerMinuteT
|
---|
4126 | + extends HeartRateValueT
|
---|
4127 | +{
|
---|
4128 | +
|
---|
4129 | + @XmlElement(name = "Value")
|
---|
4130 | + protected short value;
|
---|
4131 | +
|
---|
4132 | + /**
|
---|
4133 | + * Gets the value of the value property.
|
---|
4134 | + *
|
---|
4135 | + */
|
---|
4136 | + public short getValue() {
|
---|
4137 | + return value;
|
---|
4138 | + }
|
---|
4139 | +
|
---|
4140 | + /**
|
---|
4141 | + * Sets the value of the value property.
|
---|
4142 | + *
|
---|
4143 | + */
|
---|
4144 | + public void setValue(short value) {
|
---|
4145 | + this.value = value;
|
---|
4146 | + }
|
---|
4147 | +
|
---|
4148 | +}
|
---|
4149 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateT.java
|
---|
4150 | ===================================================================
|
---|
4151 | --- src/org/openstreetmap/josm/io/tcx/HeartRateT.java (revision 0)
|
---|
4152 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateT.java (revision 0)
|
---|
4153 | @@ -0,0 +1,71 @@
|
---|
4154 | +//
|
---|
4155 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4156 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4157 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4158 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4159 | +//
|
---|
4160 | +
|
---|
4161 | +
|
---|
4162 | +package org.openstreetmap.josm.io.tcx;
|
---|
4163 | +
|
---|
4164 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4165 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4166 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4167 | +import javax.xml.bind.annotation.XmlType;
|
---|
4168 | +
|
---|
4169 | +
|
---|
4170 | +/**
|
---|
4171 | + * <p>Java class for HeartRate_t complex type.
|
---|
4172 | + *
|
---|
4173 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4174 | + *
|
---|
4175 | + * <pre>
|
---|
4176 | + * <complexType name="HeartRate_t">
|
---|
4177 | + * <complexContent>
|
---|
4178 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Target_t">
|
---|
4179 | + * <sequence>
|
---|
4180 | + * <element name="HeartRateZone" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t"/>
|
---|
4181 | + * </sequence>
|
---|
4182 | + * </extension>
|
---|
4183 | + * </complexContent>
|
---|
4184 | + * </complexType>
|
---|
4185 | + * </pre>
|
---|
4186 | + *
|
---|
4187 | + *
|
---|
4188 | + */
|
---|
4189 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4190 | +@XmlType(name = "HeartRate_t", propOrder = {
|
---|
4191 | + "heartRateZone"
|
---|
4192 | +})
|
---|
4193 | +public class HeartRateT
|
---|
4194 | + extends TargetT
|
---|
4195 | +{
|
---|
4196 | +
|
---|
4197 | + @XmlElement(name = "HeartRateZone", required = true)
|
---|
4198 | + protected ZoneT heartRateZone;
|
---|
4199 | +
|
---|
4200 | + /**
|
---|
4201 | + * Gets the value of the heartRateZone property.
|
---|
4202 | + *
|
---|
4203 | + * @return
|
---|
4204 | + * possible object is
|
---|
4205 | + * {@link ZoneT }
|
---|
4206 | + *
|
---|
4207 | + */
|
---|
4208 | + public ZoneT getHeartRateZone() {
|
---|
4209 | + return heartRateZone;
|
---|
4210 | + }
|
---|
4211 | +
|
---|
4212 | + /**
|
---|
4213 | + * Sets the value of the heartRateZone property.
|
---|
4214 | + *
|
---|
4215 | + * @param value
|
---|
4216 | + * allowed object is
|
---|
4217 | + * {@link ZoneT }
|
---|
4218 | + *
|
---|
4219 | + */
|
---|
4220 | + public void setHeartRateZone(ZoneT value) {
|
---|
4221 | + this.heartRateZone = value;
|
---|
4222 | + }
|
---|
4223 | +
|
---|
4224 | +}
|
---|
4225 | Index: src/org/openstreetmap/josm/io/tcx/HeartRateValueT.java
|
---|
4226 | ===================================================================
|
---|
4227 | --- src/org/openstreetmap/josm/io/tcx/HeartRateValueT.java (revision 0)
|
---|
4228 | +++ src/org/openstreetmap/josm/io/tcx/HeartRateValueT.java (revision 0)
|
---|
4229 | @@ -0,0 +1,42 @@
|
---|
4230 | +//
|
---|
4231 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4232 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4233 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4234 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4235 | +//
|
---|
4236 | +
|
---|
4237 | +
|
---|
4238 | +package org.openstreetmap.josm.io.tcx;
|
---|
4239 | +
|
---|
4240 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4241 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4242 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
4243 | +import javax.xml.bind.annotation.XmlType;
|
---|
4244 | +
|
---|
4245 | +
|
---|
4246 | +/**
|
---|
4247 | + * <p>Java class for HeartRateValue_t complex type.
|
---|
4248 | + *
|
---|
4249 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4250 | + *
|
---|
4251 | + * <pre>
|
---|
4252 | + * <complexType name="HeartRateValue_t">
|
---|
4253 | + * <complexContent>
|
---|
4254 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
4255 | + * </restriction>
|
---|
4256 | + * </complexContent>
|
---|
4257 | + * </complexType>
|
---|
4258 | + * </pre>
|
---|
4259 | + *
|
---|
4260 | + *
|
---|
4261 | + */
|
---|
4262 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4263 | +@XmlType(name = "HeartRateValue_t")
|
---|
4264 | +@XmlSeeAlso({
|
---|
4265 | + HeartRateInBeatsPerMinuteT.class,
|
---|
4266 | + HeartRateAsPercentOfMaxT.class
|
---|
4267 | +})
|
---|
4268 | +public abstract class HeartRateValueT {
|
---|
4269 | +
|
---|
4270 | +
|
---|
4271 | +}
|
---|
4272 | Index: src/org/openstreetmap/josm/io/tcx/HistoryFolderT.java
|
---|
4273 | ===================================================================
|
---|
4274 | --- src/org/openstreetmap/josm/io/tcx/HistoryFolderT.java (revision 0)
|
---|
4275 | +++ src/org/openstreetmap/josm/io/tcx/HistoryFolderT.java (revision 0)
|
---|
4276 | @@ -0,0 +1,226 @@
|
---|
4277 | +//
|
---|
4278 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4279 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4280 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4281 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4282 | +//
|
---|
4283 | +
|
---|
4284 | +
|
---|
4285 | +package org.openstreetmap.josm.io.tcx;
|
---|
4286 | +
|
---|
4287 | +import java.util.ArrayList;
|
---|
4288 | +import java.util.List;
|
---|
4289 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4290 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4291 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
4292 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4293 | +import javax.xml.bind.annotation.XmlType;
|
---|
4294 | +
|
---|
4295 | +
|
---|
4296 | +/**
|
---|
4297 | + * <p>Java class for HistoryFolder_t complex type.
|
---|
4298 | + *
|
---|
4299 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4300 | + *
|
---|
4301 | + * <pre>
|
---|
4302 | + * <complexType name="HistoryFolder_t">
|
---|
4303 | + * <complexContent>
|
---|
4304 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
4305 | + * <sequence>
|
---|
4306 | + * <element name="Folder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HistoryFolder_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4307 | + * <element name="ActivityRef" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityReference_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4308 | + * <element name="Week" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Week_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4309 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
4310 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
4311 | + * </sequence>
|
---|
4312 | + * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
---|
4313 | + * </restriction>
|
---|
4314 | + * </complexContent>
|
---|
4315 | + * </complexType>
|
---|
4316 | + * </pre>
|
---|
4317 | + *
|
---|
4318 | + *
|
---|
4319 | + */
|
---|
4320 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4321 | +@XmlType(name = "HistoryFolder_t", propOrder = {
|
---|
4322 | + "folder",
|
---|
4323 | + "activityRef",
|
---|
4324 | + "week",
|
---|
4325 | + "notes",
|
---|
4326 | + "extensions"
|
---|
4327 | +})
|
---|
4328 | +public class HistoryFolderT {
|
---|
4329 | +
|
---|
4330 | + @XmlElement(name = "Folder")
|
---|
4331 | + protected List<HistoryFolderT> folder;
|
---|
4332 | + @XmlElement(name = "ActivityRef")
|
---|
4333 | + protected List<ActivityReferenceT> activityRef;
|
---|
4334 | + @XmlElement(name = "Week")
|
---|
4335 | + protected List<WeekT> week;
|
---|
4336 | + @XmlElement(name = "Notes")
|
---|
4337 | + protected String notes;
|
---|
4338 | + @XmlElement(name = "Extensions")
|
---|
4339 | + protected ExtensionsT extensions;
|
---|
4340 | + @XmlAttribute(name = "Name", required = true)
|
---|
4341 | + protected String name;
|
---|
4342 | +
|
---|
4343 | + /**
|
---|
4344 | + * Gets the value of the folder property.
|
---|
4345 | + *
|
---|
4346 | + * <p>
|
---|
4347 | + * This accessor method returns a reference to the live list,
|
---|
4348 | + * not a snapshot. Therefore any modification you make to the
|
---|
4349 | + * returned list will be present inside the JAXB object.
|
---|
4350 | + * This is why there is not a <CODE>set</CODE> method for the folder property.
|
---|
4351 | + *
|
---|
4352 | + * <p>
|
---|
4353 | + * For example, to add a new item, do as follows:
|
---|
4354 | + * <pre>
|
---|
4355 | + * getFolder().add(newItem);
|
---|
4356 | + * </pre>
|
---|
4357 | + *
|
---|
4358 | + *
|
---|
4359 | + * <p>
|
---|
4360 | + * Objects of the following type(s) are allowed in the list
|
---|
4361 | + * {@link HistoryFolderT }
|
---|
4362 | + *
|
---|
4363 | + *
|
---|
4364 | + */
|
---|
4365 | + public List<HistoryFolderT> getFolder() {
|
---|
4366 | + if (folder == null) {
|
---|
4367 | + folder = new ArrayList<HistoryFolderT>();
|
---|
4368 | + }
|
---|
4369 | + return this.folder;
|
---|
4370 | + }
|
---|
4371 | +
|
---|
4372 | + /**
|
---|
4373 | + * Gets the value of the activityRef property.
|
---|
4374 | + *
|
---|
4375 | + * <p>
|
---|
4376 | + * This accessor method returns a reference to the live list,
|
---|
4377 | + * not a snapshot. Therefore any modification you make to the
|
---|
4378 | + * returned list will be present inside the JAXB object.
|
---|
4379 | + * This is why there is not a <CODE>set</CODE> method for the activityRef property.
|
---|
4380 | + *
|
---|
4381 | + * <p>
|
---|
4382 | + * For example, to add a new item, do as follows:
|
---|
4383 | + * <pre>
|
---|
4384 | + * getActivityRef().add(newItem);
|
---|
4385 | + * </pre>
|
---|
4386 | + *
|
---|
4387 | + *
|
---|
4388 | + * <p>
|
---|
4389 | + * Objects of the following type(s) are allowed in the list
|
---|
4390 | + * {@link ActivityReferenceT }
|
---|
4391 | + *
|
---|
4392 | + *
|
---|
4393 | + */
|
---|
4394 | + public List<ActivityReferenceT> getActivityRef() {
|
---|
4395 | + if (activityRef == null) {
|
---|
4396 | + activityRef = new ArrayList<ActivityReferenceT>();
|
---|
4397 | + }
|
---|
4398 | + return this.activityRef;
|
---|
4399 | + }
|
---|
4400 | +
|
---|
4401 | + /**
|
---|
4402 | + * Gets the value of the week property.
|
---|
4403 | + *
|
---|
4404 | + * <p>
|
---|
4405 | + * This accessor method returns a reference to the live list,
|
---|
4406 | + * not a snapshot. Therefore any modification you make to the
|
---|
4407 | + * returned list will be present inside the JAXB object.
|
---|
4408 | + * This is why there is not a <CODE>set</CODE> method for the week property.
|
---|
4409 | + *
|
---|
4410 | + * <p>
|
---|
4411 | + * For example, to add a new item, do as follows:
|
---|
4412 | + * <pre>
|
---|
4413 | + * getWeek().add(newItem);
|
---|
4414 | + * </pre>
|
---|
4415 | + *
|
---|
4416 | + *
|
---|
4417 | + * <p>
|
---|
4418 | + * Objects of the following type(s) are allowed in the list
|
---|
4419 | + * {@link WeekT }
|
---|
4420 | + *
|
---|
4421 | + *
|
---|
4422 | + */
|
---|
4423 | + public List<WeekT> getWeek() {
|
---|
4424 | + if (week == null) {
|
---|
4425 | + week = new ArrayList<WeekT>();
|
---|
4426 | + }
|
---|
4427 | + return this.week;
|
---|
4428 | + }
|
---|
4429 | +
|
---|
4430 | + /**
|
---|
4431 | + * Gets the value of the notes property.
|
---|
4432 | + *
|
---|
4433 | + * @return
|
---|
4434 | + * possible object is
|
---|
4435 | + * {@link String }
|
---|
4436 | + *
|
---|
4437 | + */
|
---|
4438 | + public String getNotes() {
|
---|
4439 | + return notes;
|
---|
4440 | + }
|
---|
4441 | +
|
---|
4442 | + /**
|
---|
4443 | + * Sets the value of the notes property.
|
---|
4444 | + *
|
---|
4445 | + * @param value
|
---|
4446 | + * allowed object is
|
---|
4447 | + * {@link String }
|
---|
4448 | + *
|
---|
4449 | + */
|
---|
4450 | + public void setNotes(String value) {
|
---|
4451 | + this.notes = value;
|
---|
4452 | + }
|
---|
4453 | +
|
---|
4454 | + /**
|
---|
4455 | + * Gets the value of the extensions property.
|
---|
4456 | + *
|
---|
4457 | + * @return
|
---|
4458 | + * possible object is
|
---|
4459 | + * {@link ExtensionsT }
|
---|
4460 | + *
|
---|
4461 | + */
|
---|
4462 | + public ExtensionsT getExtensions() {
|
---|
4463 | + return extensions;
|
---|
4464 | + }
|
---|
4465 | +
|
---|
4466 | + /**
|
---|
4467 | + * Sets the value of the extensions property.
|
---|
4468 | + *
|
---|
4469 | + * @param value
|
---|
4470 | + * allowed object is
|
---|
4471 | + * {@link ExtensionsT }
|
---|
4472 | + *
|
---|
4473 | + */
|
---|
4474 | + public void setExtensions(ExtensionsT value) {
|
---|
4475 | + this.extensions = value;
|
---|
4476 | + }
|
---|
4477 | +
|
---|
4478 | + /**
|
---|
4479 | + * Gets the value of the name property.
|
---|
4480 | + *
|
---|
4481 | + * @return
|
---|
4482 | + * possible object is
|
---|
4483 | + * {@link String }
|
---|
4484 | + *
|
---|
4485 | + */
|
---|
4486 | + public String getName() {
|
---|
4487 | + return name;
|
---|
4488 | + }
|
---|
4489 | +
|
---|
4490 | + /**
|
---|
4491 | + * Sets the value of the name property.
|
---|
4492 | + *
|
---|
4493 | + * @param value
|
---|
4494 | + * allowed object is
|
---|
4495 | + * {@link String }
|
---|
4496 | + *
|
---|
4497 | + */
|
---|
4498 | + public void setName(String value) {
|
---|
4499 | + this.name = value;
|
---|
4500 | + }
|
---|
4501 | +
|
---|
4502 | +}
|
---|
4503 | Index: src/org/openstreetmap/josm/io/tcx/HistoryT.java
|
---|
4504 | ===================================================================
|
---|
4505 | --- src/org/openstreetmap/josm/io/tcx/HistoryT.java (revision 0)
|
---|
4506 | +++ src/org/openstreetmap/josm/io/tcx/HistoryT.java (revision 0)
|
---|
4507 | @@ -0,0 +1,181 @@
|
---|
4508 | +//
|
---|
4509 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4510 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4511 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4512 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4513 | +//
|
---|
4514 | +
|
---|
4515 | +
|
---|
4516 | +package org.openstreetmap.josm.io.tcx;
|
---|
4517 | +
|
---|
4518 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4519 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4520 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4521 | +import javax.xml.bind.annotation.XmlType;
|
---|
4522 | +
|
---|
4523 | +
|
---|
4524 | +/**
|
---|
4525 | + * <p>Java class for History_t complex type.
|
---|
4526 | + *
|
---|
4527 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4528 | + *
|
---|
4529 | + * <pre>
|
---|
4530 | + * <complexType name="History_t">
|
---|
4531 | + * <complexContent>
|
---|
4532 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
4533 | + * <sequence>
|
---|
4534 | + * <element name="Running" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HistoryFolder_t"/>
|
---|
4535 | + * <element name="Biking" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HistoryFolder_t"/>
|
---|
4536 | + * <element name="Other" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HistoryFolder_t"/>
|
---|
4537 | + * <element name="MultiSport" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}MultiSportFolder_t"/>
|
---|
4538 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
4539 | + * </sequence>
|
---|
4540 | + * </restriction>
|
---|
4541 | + * </complexContent>
|
---|
4542 | + * </complexType>
|
---|
4543 | + * </pre>
|
---|
4544 | + *
|
---|
4545 | + *
|
---|
4546 | + */
|
---|
4547 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4548 | +@XmlType(name = "History_t", propOrder = {
|
---|
4549 | + "running",
|
---|
4550 | + "biking",
|
---|
4551 | + "other",
|
---|
4552 | + "multiSport",
|
---|
4553 | + "extensions"
|
---|
4554 | +})
|
---|
4555 | +public class HistoryT {
|
---|
4556 | +
|
---|
4557 | + @XmlElement(name = "Running", required = true)
|
---|
4558 | + protected HistoryFolderT running;
|
---|
4559 | + @XmlElement(name = "Biking", required = true)
|
---|
4560 | + protected HistoryFolderT biking;
|
---|
4561 | + @XmlElement(name = "Other", required = true)
|
---|
4562 | + protected HistoryFolderT other;
|
---|
4563 | + @XmlElement(name = "MultiSport", required = true)
|
---|
4564 | + protected MultiSportFolderT multiSport;
|
---|
4565 | + @XmlElement(name = "Extensions")
|
---|
4566 | + protected ExtensionsT extensions;
|
---|
4567 | +
|
---|
4568 | + /**
|
---|
4569 | + * Gets the value of the running property.
|
---|
4570 | + *
|
---|
4571 | + * @return
|
---|
4572 | + * possible object is
|
---|
4573 | + * {@link HistoryFolderT }
|
---|
4574 | + *
|
---|
4575 | + */
|
---|
4576 | + public HistoryFolderT getRunning() {
|
---|
4577 | + return running;
|
---|
4578 | + }
|
---|
4579 | +
|
---|
4580 | + /**
|
---|
4581 | + * Sets the value of the running property.
|
---|
4582 | + *
|
---|
4583 | + * @param value
|
---|
4584 | + * allowed object is
|
---|
4585 | + * {@link HistoryFolderT }
|
---|
4586 | + *
|
---|
4587 | + */
|
---|
4588 | + public void setRunning(HistoryFolderT value) {
|
---|
4589 | + this.running = value;
|
---|
4590 | + }
|
---|
4591 | +
|
---|
4592 | + /**
|
---|
4593 | + * Gets the value of the biking property.
|
---|
4594 | + *
|
---|
4595 | + * @return
|
---|
4596 | + * possible object is
|
---|
4597 | + * {@link HistoryFolderT }
|
---|
4598 | + *
|
---|
4599 | + */
|
---|
4600 | + public HistoryFolderT getBiking() {
|
---|
4601 | + return biking;
|
---|
4602 | + }
|
---|
4603 | +
|
---|
4604 | + /**
|
---|
4605 | + * Sets the value of the biking property.
|
---|
4606 | + *
|
---|
4607 | + * @param value
|
---|
4608 | + * allowed object is
|
---|
4609 | + * {@link HistoryFolderT }
|
---|
4610 | + *
|
---|
4611 | + */
|
---|
4612 | + public void setBiking(HistoryFolderT value) {
|
---|
4613 | + this.biking = value;
|
---|
4614 | + }
|
---|
4615 | +
|
---|
4616 | + /**
|
---|
4617 | + * Gets the value of the other property.
|
---|
4618 | + *
|
---|
4619 | + * @return
|
---|
4620 | + * possible object is
|
---|
4621 | + * {@link HistoryFolderT }
|
---|
4622 | + *
|
---|
4623 | + */
|
---|
4624 | + public HistoryFolderT getOther() {
|
---|
4625 | + return other;
|
---|
4626 | + }
|
---|
4627 | +
|
---|
4628 | + /**
|
---|
4629 | + * Sets the value of the other property.
|
---|
4630 | + *
|
---|
4631 | + * @param value
|
---|
4632 | + * allowed object is
|
---|
4633 | + * {@link HistoryFolderT }
|
---|
4634 | + *
|
---|
4635 | + */
|
---|
4636 | + public void setOther(HistoryFolderT value) {
|
---|
4637 | + this.other = value;
|
---|
4638 | + }
|
---|
4639 | +
|
---|
4640 | + /**
|
---|
4641 | + * Gets the value of the multiSport property.
|
---|
4642 | + *
|
---|
4643 | + * @return
|
---|
4644 | + * possible object is
|
---|
4645 | + * {@link MultiSportFolderT }
|
---|
4646 | + *
|
---|
4647 | + */
|
---|
4648 | + public MultiSportFolderT getMultiSport() {
|
---|
4649 | + return multiSport;
|
---|
4650 | + }
|
---|
4651 | +
|
---|
4652 | + /**
|
---|
4653 | + * Sets the value of the multiSport property.
|
---|
4654 | + *
|
---|
4655 | + * @param value
|
---|
4656 | + * allowed object is
|
---|
4657 | + * {@link MultiSportFolderT }
|
---|
4658 | + *
|
---|
4659 | + */
|
---|
4660 | + public void setMultiSport(MultiSportFolderT value) {
|
---|
4661 | + this.multiSport = value;
|
---|
4662 | + }
|
---|
4663 | +
|
---|
4664 | + /**
|
---|
4665 | + * Gets the value of the extensions property.
|
---|
4666 | + *
|
---|
4667 | + * @return
|
---|
4668 | + * possible object is
|
---|
4669 | + * {@link ExtensionsT }
|
---|
4670 | + *
|
---|
4671 | + */
|
---|
4672 | + public ExtensionsT getExtensions() {
|
---|
4673 | + return extensions;
|
---|
4674 | + }
|
---|
4675 | +
|
---|
4676 | + /**
|
---|
4677 | + * Sets the value of the extensions property.
|
---|
4678 | + *
|
---|
4679 | + * @param value
|
---|
4680 | + * allowed object is
|
---|
4681 | + * {@link ExtensionsT }
|
---|
4682 | + *
|
---|
4683 | + */
|
---|
4684 | + public void setExtensions(ExtensionsT value) {
|
---|
4685 | + this.extensions = value;
|
---|
4686 | + }
|
---|
4687 | +
|
---|
4688 | +}
|
---|
4689 | Index: src/org/openstreetmap/josm/io/tcx/IntensityT.java
|
---|
4690 | ===================================================================
|
---|
4691 | --- src/org/openstreetmap/josm/io/tcx/IntensityT.java (revision 0)
|
---|
4692 | +++ src/org/openstreetmap/josm/io/tcx/IntensityT.java (revision 0)
|
---|
4693 | @@ -0,0 +1,58 @@
|
---|
4694 | +//
|
---|
4695 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4696 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4697 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4698 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4699 | +//
|
---|
4700 | +
|
---|
4701 | +
|
---|
4702 | +package org.openstreetmap.josm.io.tcx;
|
---|
4703 | +
|
---|
4704 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
4705 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
4706 | +import javax.xml.bind.annotation.XmlType;
|
---|
4707 | +
|
---|
4708 | +
|
---|
4709 | +/**
|
---|
4710 | + * <p>Java class for Intensity_t.
|
---|
4711 | + *
|
---|
4712 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4713 | + * <p>
|
---|
4714 | + * <pre>
|
---|
4715 | + * <simpleType name="Intensity_t">
|
---|
4716 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
4717 | + * <enumeration value="Active"/>
|
---|
4718 | + * <enumeration value="Resting"/>
|
---|
4719 | + * </restriction>
|
---|
4720 | + * </simpleType>
|
---|
4721 | + * </pre>
|
---|
4722 | + *
|
---|
4723 | + */
|
---|
4724 | +@XmlType(name = "Intensity_t")
|
---|
4725 | +@XmlEnum
|
---|
4726 | +public enum IntensityT {
|
---|
4727 | +
|
---|
4728 | + @XmlEnumValue("Active")
|
---|
4729 | + ACTIVE("Active"),
|
---|
4730 | + @XmlEnumValue("Resting")
|
---|
4731 | + RESTING("Resting");
|
---|
4732 | + private final String value;
|
---|
4733 | +
|
---|
4734 | + IntensityT(String v) {
|
---|
4735 | + value = v;
|
---|
4736 | + }
|
---|
4737 | +
|
---|
4738 | + public String value() {
|
---|
4739 | + return value;
|
---|
4740 | + }
|
---|
4741 | +
|
---|
4742 | + public static IntensityT fromValue(String v) {
|
---|
4743 | + for (IntensityT c: IntensityT.values()) {
|
---|
4744 | + if (c.value.equals(v)) {
|
---|
4745 | + return c;
|
---|
4746 | + }
|
---|
4747 | + }
|
---|
4748 | + throw new IllegalArgumentException(v);
|
---|
4749 | + }
|
---|
4750 | +
|
---|
4751 | +}
|
---|
4752 | Index: src/org/openstreetmap/josm/io/tcx/MultiSportFolderT.java
|
---|
4753 | ===================================================================
|
---|
4754 | --- src/org/openstreetmap/josm/io/tcx/MultiSportFolderT.java (revision 0)
|
---|
4755 | +++ src/org/openstreetmap/josm/io/tcx/MultiSportFolderT.java (revision 0)
|
---|
4756 | @@ -0,0 +1,226 @@
|
---|
4757 | +//
|
---|
4758 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4759 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4760 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4761 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4762 | +//
|
---|
4763 | +
|
---|
4764 | +
|
---|
4765 | +package org.openstreetmap.josm.io.tcx;
|
---|
4766 | +
|
---|
4767 | +import java.util.ArrayList;
|
---|
4768 | +import java.util.List;
|
---|
4769 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
4770 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
4771 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
4772 | +import javax.xml.bind.annotation.XmlElement;
|
---|
4773 | +import javax.xml.bind.annotation.XmlType;
|
---|
4774 | +
|
---|
4775 | +
|
---|
4776 | +/**
|
---|
4777 | + * <p>Java class for MultiSportFolder_t complex type.
|
---|
4778 | + *
|
---|
4779 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
4780 | + *
|
---|
4781 | + * <pre>
|
---|
4782 | + * <complexType name="MultiSportFolder_t">
|
---|
4783 | + * <complexContent>
|
---|
4784 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
4785 | + * <sequence>
|
---|
4786 | + * <element name="Folder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}MultiSportFolder_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4787 | + * <element name="MultisportActivityRef" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityReference_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4788 | + * <element name="Week" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Week_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
4789 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
4790 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
4791 | + * </sequence>
|
---|
4792 | + * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
---|
4793 | + * </restriction>
|
---|
4794 | + * </complexContent>
|
---|
4795 | + * </complexType>
|
---|
4796 | + * </pre>
|
---|
4797 | + *
|
---|
4798 | + *
|
---|
4799 | + */
|
---|
4800 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
4801 | +@XmlType(name = "MultiSportFolder_t", propOrder = {
|
---|
4802 | + "folder",
|
---|
4803 | + "multisportActivityRef",
|
---|
4804 | + "week",
|
---|
4805 | + "notes",
|
---|
4806 | + "extensions"
|
---|
4807 | +})
|
---|
4808 | +public class MultiSportFolderT {
|
---|
4809 | +
|
---|
4810 | + @XmlElement(name = "Folder")
|
---|
4811 | + protected List<MultiSportFolderT> folder;
|
---|
4812 | + @XmlElement(name = "MultisportActivityRef")
|
---|
4813 | + protected List<ActivityReferenceT> multisportActivityRef;
|
---|
4814 | + @XmlElement(name = "Week")
|
---|
4815 | + protected List<WeekT> week;
|
---|
4816 | + @XmlElement(name = "Notes")
|
---|
4817 | + protected String notes;
|
---|
4818 | + @XmlElement(name = "Extensions")
|
---|
4819 | + protected ExtensionsT extensions;
|
---|
4820 | + @XmlAttribute(name = "Name", required = true)
|
---|
4821 | + protected String name;
|
---|
4822 | +
|
---|
4823 | + /**
|
---|
4824 | + * Gets the value of the folder property.
|
---|
4825 | + *
|
---|
4826 | + * <p>
|
---|
4827 | + * This accessor method returns a reference to the live list,
|
---|
4828 | + * not a snapshot. Therefore any modification you make to the
|
---|
4829 | + * returned list will be present inside the JAXB object.
|
---|
4830 | + * This is why there is not a <CODE>set</CODE> method for the folder property.
|
---|
4831 | + *
|
---|
4832 | + * <p>
|
---|
4833 | + * For example, to add a new item, do as follows:
|
---|
4834 | + * <pre>
|
---|
4835 | + * getFolder().add(newItem);
|
---|
4836 | + * </pre>
|
---|
4837 | + *
|
---|
4838 | + *
|
---|
4839 | + * <p>
|
---|
4840 | + * Objects of the following type(s) are allowed in the list
|
---|
4841 | + * {@link MultiSportFolderT }
|
---|
4842 | + *
|
---|
4843 | + *
|
---|
4844 | + */
|
---|
4845 | + public List<MultiSportFolderT> getFolder() {
|
---|
4846 | + if (folder == null) {
|
---|
4847 | + folder = new ArrayList<MultiSportFolderT>();
|
---|
4848 | + }
|
---|
4849 | + return this.folder;
|
---|
4850 | + }
|
---|
4851 | +
|
---|
4852 | + /**
|
---|
4853 | + * Gets the value of the multisportActivityRef property.
|
---|
4854 | + *
|
---|
4855 | + * <p>
|
---|
4856 | + * This accessor method returns a reference to the live list,
|
---|
4857 | + * not a snapshot. Therefore any modification you make to the
|
---|
4858 | + * returned list will be present inside the JAXB object.
|
---|
4859 | + * This is why there is not a <CODE>set</CODE> method for the multisportActivityRef property.
|
---|
4860 | + *
|
---|
4861 | + * <p>
|
---|
4862 | + * For example, to add a new item, do as follows:
|
---|
4863 | + * <pre>
|
---|
4864 | + * getMultisportActivityRef().add(newItem);
|
---|
4865 | + * </pre>
|
---|
4866 | + *
|
---|
4867 | + *
|
---|
4868 | + * <p>
|
---|
4869 | + * Objects of the following type(s) are allowed in the list
|
---|
4870 | + * {@link ActivityReferenceT }
|
---|
4871 | + *
|
---|
4872 | + *
|
---|
4873 | + */
|
---|
4874 | + public List<ActivityReferenceT> getMultisportActivityRef() {
|
---|
4875 | + if (multisportActivityRef == null) {
|
---|
4876 | + multisportActivityRef = new ArrayList<ActivityReferenceT>();
|
---|
4877 | + }
|
---|
4878 | + return this.multisportActivityRef;
|
---|
4879 | + }
|
---|
4880 | +
|
---|
4881 | + /**
|
---|
4882 | + * Gets the value of the week property.
|
---|
4883 | + *
|
---|
4884 | + * <p>
|
---|
4885 | + * This accessor method returns a reference to the live list,
|
---|
4886 | + * not a snapshot. Therefore any modification you make to the
|
---|
4887 | + * returned list will be present inside the JAXB object.
|
---|
4888 | + * This is why there is not a <CODE>set</CODE> method for the week property.
|
---|
4889 | + *
|
---|
4890 | + * <p>
|
---|
4891 | + * For example, to add a new item, do as follows:
|
---|
4892 | + * <pre>
|
---|
4893 | + * getWeek().add(newItem);
|
---|
4894 | + * </pre>
|
---|
4895 | + *
|
---|
4896 | + *
|
---|
4897 | + * <p>
|
---|
4898 | + * Objects of the following type(s) are allowed in the list
|
---|
4899 | + * {@link WeekT }
|
---|
4900 | + *
|
---|
4901 | + *
|
---|
4902 | + */
|
---|
4903 | + public List<WeekT> getWeek() {
|
---|
4904 | + if (week == null) {
|
---|
4905 | + week = new ArrayList<WeekT>();
|
---|
4906 | + }
|
---|
4907 | + return this.week;
|
---|
4908 | + }
|
---|
4909 | +
|
---|
4910 | + /**
|
---|
4911 | + * Gets the value of the notes property.
|
---|
4912 | + *
|
---|
4913 | + * @return
|
---|
4914 | + * possible object is
|
---|
4915 | + * {@link String }
|
---|
4916 | + *
|
---|
4917 | + */
|
---|
4918 | + public String getNotes() {
|
---|
4919 | + return notes;
|
---|
4920 | + }
|
---|
4921 | +
|
---|
4922 | + /**
|
---|
4923 | + * Sets the value of the notes property.
|
---|
4924 | + *
|
---|
4925 | + * @param value
|
---|
4926 | + * allowed object is
|
---|
4927 | + * {@link String }
|
---|
4928 | + *
|
---|
4929 | + */
|
---|
4930 | + public void setNotes(String value) {
|
---|
4931 | + this.notes = value;
|
---|
4932 | + }
|
---|
4933 | +
|
---|
4934 | + /**
|
---|
4935 | + * Gets the value of the extensions property.
|
---|
4936 | + *
|
---|
4937 | + * @return
|
---|
4938 | + * possible object is
|
---|
4939 | + * {@link ExtensionsT }
|
---|
4940 | + *
|
---|
4941 | + */
|
---|
4942 | + public ExtensionsT getExtensions() {
|
---|
4943 | + return extensions;
|
---|
4944 | + }
|
---|
4945 | +
|
---|
4946 | + /**
|
---|
4947 | + * Sets the value of the extensions property.
|
---|
4948 | + *
|
---|
4949 | + * @param value
|
---|
4950 | + * allowed object is
|
---|
4951 | + * {@link ExtensionsT }
|
---|
4952 | + *
|
---|
4953 | + */
|
---|
4954 | + public void setExtensions(ExtensionsT value) {
|
---|
4955 | + this.extensions = value;
|
---|
4956 | + }
|
---|
4957 | +
|
---|
4958 | + /**
|
---|
4959 | + * Gets the value of the name property.
|
---|
4960 | + *
|
---|
4961 | + * @return
|
---|
4962 | + * possible object is
|
---|
4963 | + * {@link String }
|
---|
4964 | + *
|
---|
4965 | + */
|
---|
4966 | + public String getName() {
|
---|
4967 | + return name;
|
---|
4968 | + }
|
---|
4969 | +
|
---|
4970 | + /**
|
---|
4971 | + * Sets the value of the name property.
|
---|
4972 | + *
|
---|
4973 | + * @param value
|
---|
4974 | + * allowed object is
|
---|
4975 | + * {@link String }
|
---|
4976 | + *
|
---|
4977 | + */
|
---|
4978 | + public void setName(String value) {
|
---|
4979 | + this.name = value;
|
---|
4980 | + }
|
---|
4981 | +
|
---|
4982 | +}
|
---|
4983 | Index: src/org/openstreetmap/josm/io/tcx/MultiSportSessionT.java
|
---|
4984 | ===================================================================
|
---|
4985 | --- src/org/openstreetmap/josm/io/tcx/MultiSportSessionT.java (revision 0)
|
---|
4986 | +++ src/org/openstreetmap/josm/io/tcx/MultiSportSessionT.java (revision 0)
|
---|
4987 | @@ -0,0 +1,163 @@
|
---|
4988 | +//
|
---|
4989 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
4990 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
4991 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
4992 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
4993 | +//
|
---|
4994 | +
|
---|
4995 | +
|
---|
4996 | +package org.openstreetmap.josm.io.tcx;
|
---|
4997 | +
|
---|
4998 | +import java.util.ArrayList;
|
---|
4999 | +import java.util.List;
|
---|
5000 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
5001 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
5002 | +import javax.xml.bind.annotation.XmlElement;
|
---|
5003 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
5004 | +import javax.xml.bind.annotation.XmlType;
|
---|
5005 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
5006 | +
|
---|
5007 | +
|
---|
5008 | +/**
|
---|
5009 | + * <p>Java class for MultiSportSession_t complex type.
|
---|
5010 | + *
|
---|
5011 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
5012 | + *
|
---|
5013 | + * <pre>
|
---|
5014 | + * <complexType name="MultiSportSession_t">
|
---|
5015 | + * <complexContent>
|
---|
5016 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
5017 | + * <sequence>
|
---|
5018 | + * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
---|
5019 | + * <element name="FirstSport" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}FirstSport_t"/>
|
---|
5020 | + * <element name="NextSport" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}NextSport_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
5021 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
5022 | + * </sequence>
|
---|
5023 | + * </restriction>
|
---|
5024 | + * </complexContent>
|
---|
5025 | + * </complexType>
|
---|
5026 | + * </pre>
|
---|
5027 | + *
|
---|
5028 | + *
|
---|
5029 | + */
|
---|
5030 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
5031 | +@XmlType(name = "MultiSportSession_t", propOrder = {
|
---|
5032 | + "id",
|
---|
5033 | + "firstSport",
|
---|
5034 | + "nextSport",
|
---|
5035 | + "notes"
|
---|
5036 | +})
|
---|
5037 | +public class MultiSportSessionT {
|
---|
5038 | +
|
---|
5039 | + @XmlElement(name = "Id", required = true)
|
---|
5040 | + @XmlSchemaType(name = "dateTime")
|
---|
5041 | + protected XMLGregorianCalendar id;
|
---|
5042 | + @XmlElement(name = "FirstSport", required = true)
|
---|
5043 | + protected FirstSportT firstSport;
|
---|
5044 | + @XmlElement(name = "NextSport")
|
---|
5045 | + protected List<NextSportT> nextSport;
|
---|
5046 | + @XmlElement(name = "Notes")
|
---|
5047 | + protected String notes;
|
---|
5048 | +
|
---|
5049 | + /**
|
---|
5050 | + * Gets the value of the id property.
|
---|
5051 | + *
|
---|
5052 | + * @return
|
---|
5053 | + * possible object is
|
---|
5054 | + * {@link XMLGregorianCalendar }
|
---|
5055 | + *
|
---|
5056 | + */
|
---|
5057 | + public XMLGregorianCalendar getId() {
|
---|
5058 | + return id;
|
---|
5059 | + }
|
---|
5060 | +
|
---|
5061 | + /**
|
---|
5062 | + * Sets the value of the id property.
|
---|
5063 | + *
|
---|
5064 | + * @param value
|
---|
5065 | + * allowed object is
|
---|
5066 | + * {@link XMLGregorianCalendar }
|
---|
5067 | + *
|
---|
5068 | + */
|
---|
5069 | + public void setId(XMLGregorianCalendar value) {
|
---|
5070 | + this.id = value;
|
---|
5071 | + }
|
---|
5072 | +
|
---|
5073 | + /**
|
---|
5074 | + * Gets the value of the firstSport property.
|
---|
5075 | + *
|
---|
5076 | + * @return
|
---|
5077 | + * possible object is
|
---|
5078 | + * {@link FirstSportT }
|
---|
5079 | + *
|
---|
5080 | + */
|
---|
5081 | + public FirstSportT getFirstSport() {
|
---|
5082 | + return firstSport;
|
---|
5083 | + }
|
---|
5084 | +
|
---|
5085 | + /**
|
---|
5086 | + * Sets the value of the firstSport property.
|
---|
5087 | + *
|
---|
5088 | + * @param value
|
---|
5089 | + * allowed object is
|
---|
5090 | + * {@link FirstSportT }
|
---|
5091 | + *
|
---|
5092 | + */
|
---|
5093 | + public void setFirstSport(FirstSportT value) {
|
---|
5094 | + this.firstSport = value;
|
---|
5095 | + }
|
---|
5096 | +
|
---|
5097 | + /**
|
---|
5098 | + * Gets the value of the nextSport property.
|
---|
5099 | + *
|
---|
5100 | + * <p>
|
---|
5101 | + * This accessor method returns a reference to the live list,
|
---|
5102 | + * not a snapshot. Therefore any modification you make to the
|
---|
5103 | + * returned list will be present inside the JAXB object.
|
---|
5104 | + * This is why there is not a <CODE>set</CODE> method for the nextSport property.
|
---|
5105 | + *
|
---|
5106 | + * <p>
|
---|
5107 | + * For example, to add a new item, do as follows:
|
---|
5108 | + * <pre>
|
---|
5109 | + * getNextSport().add(newItem);
|
---|
5110 | + * </pre>
|
---|
5111 | + *
|
---|
5112 | + *
|
---|
5113 | + * <p>
|
---|
5114 | + * Objects of the following type(s) are allowed in the list
|
---|
5115 | + * {@link NextSportT }
|
---|
5116 | + *
|
---|
5117 | + *
|
---|
5118 | + */
|
---|
5119 | + public List<NextSportT> getNextSport() {
|
---|
5120 | + if (nextSport == null) {
|
---|
5121 | + nextSport = new ArrayList<NextSportT>();
|
---|
5122 | + }
|
---|
5123 | + return this.nextSport;
|
---|
5124 | + }
|
---|
5125 | +
|
---|
5126 | + /**
|
---|
5127 | + * Gets the value of the notes property.
|
---|
5128 | + *
|
---|
5129 | + * @return
|
---|
5130 | + * possible object is
|
---|
5131 | + * {@link String }
|
---|
5132 | + *
|
---|
5133 | + */
|
---|
5134 | + public String getNotes() {
|
---|
5135 | + return notes;
|
---|
5136 | + }
|
---|
5137 | +
|
---|
5138 | + /**
|
---|
5139 | + * Sets the value of the notes property.
|
---|
5140 | + *
|
---|
5141 | + * @param value
|
---|
5142 | + * allowed object is
|
---|
5143 | + * {@link String }
|
---|
5144 | + *
|
---|
5145 | + */
|
---|
5146 | + public void setNotes(String value) {
|
---|
5147 | + this.notes = value;
|
---|
5148 | + }
|
---|
5149 | +
|
---|
5150 | +}
|
---|
5151 | Index: src/org/openstreetmap/josm/io/tcx/NameKeyReferenceT.java
|
---|
5152 | ===================================================================
|
---|
5153 | --- src/org/openstreetmap/josm/io/tcx/NameKeyReferenceT.java (revision 0)
|
---|
5154 | +++ src/org/openstreetmap/josm/io/tcx/NameKeyReferenceT.java (revision 0)
|
---|
5155 | @@ -0,0 +1,72 @@
|
---|
5156 | +//
|
---|
5157 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
5158 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
5159 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5160 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
5161 | +//
|
---|
5162 | +
|
---|
5163 | +
|
---|
5164 | +package org.openstreetmap.josm.io.tcx;
|
---|
5165 | +
|
---|
5166 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
5167 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
5168 | +import javax.xml.bind.annotation.XmlElement;
|
---|
5169 | +import javax.xml.bind.annotation.XmlType;
|
---|
5170 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
5171 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
5172 | +
|
---|
5173 | +
|
---|
5174 | +/**
|
---|
5175 | + * <p>Java class for NameKeyReference_t complex type.
|
---|
5176 | + *
|
---|
5177 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
5178 | + *
|
---|
5179 | + * <pre>
|
---|
5180 | + * <complexType name="NameKeyReference_t">
|
---|
5181 | + * <complexContent>
|
---|
5182 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
5183 | + * <sequence>
|
---|
5184 | + * <element name="Id" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t"/>
|
---|
5185 | + * </sequence>
|
---|
5186 | + * </restriction>
|
---|
5187 | + * </complexContent>
|
---|
5188 | + * </complexType>
|
---|
5189 | + * </pre>
|
---|
5190 | + *
|
---|
5191 | + *
|
---|
5192 | + */
|
---|
5193 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
5194 | +@XmlType(name = "NameKeyReference_t", propOrder = {
|
---|
5195 | + "id"
|
---|
5196 | +})
|
---|
5197 | +public class NameKeyReferenceT {
|
---|
5198 | +
|
---|
5199 | + @XmlElement(name = "Id", required = true)
|
---|
5200 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
5201 | + protected String id;
|
---|
5202 | +
|
---|
5203 | + /**
|
---|
5204 | + * Gets the value of the id property.
|
---|
5205 | + *
|
---|
5206 | + * @return
|
---|
5207 | + * possible object is
|
---|
5208 | + * {@link String }
|
---|
5209 | + *
|
---|
5210 | + */
|
---|
5211 | + public String getId() {
|
---|
5212 | + return id;
|
---|
5213 | + }
|
---|
5214 | +
|
---|
5215 | + /**
|
---|
5216 | + * Sets the value of the id property.
|
---|
5217 | + *
|
---|
5218 | + * @param value
|
---|
5219 | + * allowed object is
|
---|
5220 | + * {@link String }
|
---|
5221 | + *
|
---|
5222 | + */
|
---|
5223 | + public void setId(String value) {
|
---|
5224 | + this.id = value;
|
---|
5225 | + }
|
---|
5226 | +
|
---|
5227 | +}
|
---|
5228 | Index: src/org/openstreetmap/josm/io/tcx/NextSportT.java
|
---|
5229 | ===================================================================
|
---|
5230 | --- src/org/openstreetmap/josm/io/tcx/NextSportT.java (revision 0)
|
---|
5231 | +++ src/org/openstreetmap/josm/io/tcx/NextSportT.java (revision 0)
|
---|
5232 | @@ -0,0 +1,97 @@
|
---|
5233 | +//
|
---|
5234 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
5235 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
5236 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5237 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
5238 | +//
|
---|
5239 | +
|
---|
5240 | +
|
---|
5241 | +package org.openstreetmap.josm.io.tcx;
|
---|
5242 | +
|
---|
5243 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
5244 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
5245 | +import javax.xml.bind.annotation.XmlElement;
|
---|
5246 | +import javax.xml.bind.annotation.XmlType;
|
---|
5247 | +
|
---|
5248 | +
|
---|
5249 | +/**
|
---|
5250 | + * <p>Java class for NextSport_t complex type.
|
---|
5251 | + *
|
---|
5252 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
5253 | + *
|
---|
5254 | + * <pre>
|
---|
5255 | + * <complexType name="NextSport_t">
|
---|
5256 | + * <complexContent>
|
---|
5257 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
5258 | + * <sequence>
|
---|
5259 | + * <element name="Transition" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityLap_t" minOccurs="0"/>
|
---|
5260 | + * <element name="Activity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Activity_t"/>
|
---|
5261 | + * </sequence>
|
---|
5262 | + * </restriction>
|
---|
5263 | + * </complexContent>
|
---|
5264 | + * </complexType>
|
---|
5265 | + * </pre>
|
---|
5266 | + *
|
---|
5267 | + *
|
---|
5268 | + */
|
---|
5269 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
5270 | +@XmlType(name = "NextSport_t", propOrder = {
|
---|
5271 | + "transition",
|
---|
5272 | + "activity"
|
---|
5273 | +})
|
---|
5274 | +public class NextSportT {
|
---|
5275 | +
|
---|
5276 | + @XmlElement(name = "Transition")
|
---|
5277 | + protected ActivityLapT transition;
|
---|
5278 | + @XmlElement(name = "Activity", required = true)
|
---|
5279 | + protected ActivityT activity;
|
---|
5280 | +
|
---|
5281 | + /**
|
---|
5282 | + * Gets the value of the transition property.
|
---|
5283 | + *
|
---|
5284 | + * @return
|
---|
5285 | + * possible object is
|
---|
5286 | + * {@link ActivityLapT }
|
---|
5287 | + *
|
---|
5288 | + */
|
---|
5289 | + public ActivityLapT getTransition() {
|
---|
5290 | + return transition;
|
---|
5291 | + }
|
---|
5292 | +
|
---|
5293 | + /**
|
---|
5294 | + * Sets the value of the transition property.
|
---|
5295 | + *
|
---|
5296 | + * @param value
|
---|
5297 | + * allowed object is
|
---|
5298 | + * {@link ActivityLapT }
|
---|
5299 | + *
|
---|
5300 | + */
|
---|
5301 | + public void setTransition(ActivityLapT value) {
|
---|
5302 | + this.transition = value;
|
---|
5303 | + }
|
---|
5304 | +
|
---|
5305 | + /**
|
---|
5306 | + * Gets the value of the activity property.
|
---|
5307 | + *
|
---|
5308 | + * @return
|
---|
5309 | + * possible object is
|
---|
5310 | + * {@link ActivityT }
|
---|
5311 | + *
|
---|
5312 | + */
|
---|
5313 | + public ActivityT getActivity() {
|
---|
5314 | + return activity;
|
---|
5315 | + }
|
---|
5316 | +
|
---|
5317 | + /**
|
---|
5318 | + * Sets the value of the activity property.
|
---|
5319 | + *
|
---|
5320 | + * @param value
|
---|
5321 | + * allowed object is
|
---|
5322 | + * {@link ActivityT }
|
---|
5323 | + *
|
---|
5324 | + */
|
---|
5325 | + public void setActivity(ActivityT value) {
|
---|
5326 | + this.activity = value;
|
---|
5327 | + }
|
---|
5328 | +
|
---|
5329 | +}
|
---|
5330 | Index: src/org/openstreetmap/josm/io/tcx/NoneT.java
|
---|
5331 | ===================================================================
|
---|
5332 | --- src/org/openstreetmap/josm/io/tcx/NoneT.java (revision 0)
|
---|
5333 | +++ src/org/openstreetmap/josm/io/tcx/NoneT.java (revision 0)
|
---|
5334 | @@ -0,0 +1,39 @@
|
---|
5335 | +//
|
---|
5336 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
5337 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
5338 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5339 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
5340 | +//
|
---|
5341 | +
|
---|
5342 | +
|
---|
5343 | +package org.openstreetmap.josm.io.tcx;
|
---|
5344 | +
|
---|
5345 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
5346 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
5347 | +import javax.xml.bind.annotation.XmlType;
|
---|
5348 | +
|
---|
5349 | +
|
---|
5350 | +/**
|
---|
5351 | + * <p>Java class for None_t complex type.
|
---|
5352 | + *
|
---|
5353 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
5354 | + *
|
---|
5355 | + * <pre>
|
---|
5356 | + * <complexType name="None_t">
|
---|
5357 | + * <complexContent>
|
---|
5358 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Target_t">
|
---|
5359 | + * </extension>
|
---|
5360 | + * </complexContent>
|
---|
5361 | + * </complexType>
|
---|
5362 | + * </pre>
|
---|
5363 | + *
|
---|
5364 | + *
|
---|
5365 | + */
|
---|
5366 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
5367 | +@XmlType(name = "None_t")
|
---|
5368 | +public class NoneT
|
---|
5369 | + extends TargetT
|
---|
5370 | +{
|
---|
5371 | +
|
---|
5372 | +
|
---|
5373 | +}
|
---|
5374 | Index: src/org/openstreetmap/josm/io/tcx/ObjectFactory.java
|
---|
5375 | ===================================================================
|
---|
5376 | --- src/org/openstreetmap/josm/io/tcx/ObjectFactory.java (revision 0)
|
---|
5377 | +++ src/org/openstreetmap/josm/io/tcx/ObjectFactory.java (revision 0)
|
---|
5378 | @@ -0,0 +1,476 @@
|
---|
5379 | +//
|
---|
5380 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
5381 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
5382 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5383 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
5384 | +//
|
---|
5385 | +
|
---|
5386 | +
|
---|
5387 | +package org.openstreetmap.josm.io.tcx;
|
---|
5388 | +
|
---|
5389 | +import javax.xml.bind.JAXBElement;
|
---|
5390 | +import javax.xml.bind.annotation.XmlElementDecl;
|
---|
5391 | +import javax.xml.bind.annotation.XmlRegistry;
|
---|
5392 | +import javax.xml.namespace.QName;
|
---|
5393 | +
|
---|
5394 | +
|
---|
5395 | +/**
|
---|
5396 | + * This object contains factory methods for each
|
---|
5397 | + * Java content interface and Java element interface
|
---|
5398 | + * generated in the org.openstreetmap.josm.io.tcx package.
|
---|
5399 | + * <p>An ObjectFactory allows you to programatically
|
---|
5400 | + * construct new instances of the Java representation
|
---|
5401 | + * for XML content. The Java representation of XML
|
---|
5402 | + * content can consist of schema derived interfaces
|
---|
5403 | + * and classes representing the binding of schema
|
---|
5404 | + * type definitions, element declarations and model
|
---|
5405 | + * groups. Factory methods for each of these are
|
---|
5406 | + * provided in this class.
|
---|
5407 | + *
|
---|
5408 | + */
|
---|
5409 | +@XmlRegistry
|
---|
5410 | +public class ObjectFactory {
|
---|
5411 | +
|
---|
5412 | + private final static QName _TrainingCenterDatabase_QNAME = new QName("http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2", "TrainingCenterDatabase");
|
---|
5413 | +
|
---|
5414 | + /**
|
---|
5415 | + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.openstreetmap.josm.io.tcx
|
---|
5416 | + *
|
---|
5417 | + */
|
---|
5418 | + public ObjectFactory() {
|
---|
5419 | + }
|
---|
5420 | +
|
---|
5421 | + /**
|
---|
5422 | + * Create an instance of {@link NameKeyReferenceT }
|
---|
5423 | + *
|
---|
5424 | + */
|
---|
5425 | + public NameKeyReferenceT createNameKeyReferenceT() {
|
---|
5426 | + return new NameKeyReferenceT();
|
---|
5427 | + }
|
---|
5428 | +
|
---|
5429 | + /**
|
---|
5430 | + * Create an instance of {@link CourseListT }
|
---|
5431 | + *
|
---|
5432 | + */
|
---|
5433 | + public CourseListT createCourseListT() {
|
---|
5434 | + return new CourseListT();
|
---|
5435 | + }
|
---|
5436 | +
|
---|
5437 | + /**
|
---|
5438 | + * Create an instance of {@link RepeatT }
|
---|
5439 | + *
|
---|
5440 | + */
|
---|
5441 | + public RepeatT createRepeatT() {
|
---|
5442 | + return new RepeatT();
|
---|
5443 | + }
|
---|
5444 | +
|
---|
5445 | + /**
|
---|
5446 | + * Create an instance of {@link SpeedT }
|
---|
5447 | + *
|
---|
5448 | + */
|
---|
5449 | + public SpeedT createSpeedT() {
|
---|
5450 | + return new SpeedT();
|
---|
5451 | + }
|
---|
5452 | +
|
---|
5453 | + /**
|
---|
5454 | + * Create an instance of {@link HeartRateAsPercentOfMaxT }
|
---|
5455 | + *
|
---|
5456 | + */
|
---|
5457 | + public HeartRateAsPercentOfMaxT createHeartRateAsPercentOfMaxT() {
|
---|
5458 | + return new HeartRateAsPercentOfMaxT();
|
---|
5459 | + }
|
---|
5460 | +
|
---|
5461 | + /**
|
---|
5462 | + * Create an instance of {@link NoneT }
|
---|
5463 | + *
|
---|
5464 | + */
|
---|
5465 | + public NoneT createNoneT() {
|
---|
5466 | + return new NoneT();
|
---|
5467 | + }
|
---|
5468 | +
|
---|
5469 | + /**
|
---|
5470 | + * Create an instance of {@link CourseFolderT }
|
---|
5471 | + *
|
---|
5472 | + */
|
---|
5473 | + public CourseFolderT createCourseFolderT() {
|
---|
5474 | + return new CourseFolderT();
|
---|
5475 | + }
|
---|
5476 | +
|
---|
5477 | + /**
|
---|
5478 | + * Create an instance of {@link TrackT }
|
---|
5479 | + *
|
---|
5480 | + */
|
---|
5481 | + public TrackT createTrackT() {
|
---|
5482 | + return new TrackT();
|
---|
5483 | + }
|
---|
5484 | +
|
---|
5485 | + /**
|
---|
5486 | + * Create an instance of {@link PredefinedSpeedZoneT }
|
---|
5487 | + *
|
---|
5488 | + */
|
---|
5489 | + public PredefinedSpeedZoneT createPredefinedSpeedZoneT() {
|
---|
5490 | + return new PredefinedSpeedZoneT();
|
---|
5491 | + }
|
---|
5492 | +
|
---|
5493 | + /**
|
---|
5494 | + * Create an instance of {@link CadenceT }
|
---|
5495 | + *
|
---|
5496 | + */
|
---|
5497 | + public CadenceT createCadenceT() {
|
---|
5498 | + return new CadenceT();
|
---|
5499 | + }
|
---|
5500 | +
|
---|
5501 | + /**
|
---|
5502 | + * Create an instance of {@link WorkoutFolderT }
|
---|
5503 | + *
|
---|
5504 | + */
|
---|
5505 | + public WorkoutFolderT createWorkoutFolderT() {
|
---|
5506 | + return new WorkoutFolderT();
|
---|
5507 | + }
|
---|
5508 | +
|
---|
5509 | + /**
|
---|
5510 | + * Create an instance of {@link QuickWorkoutT }
|
---|
5511 | + *
|
---|
5512 | + */
|
---|
5513 | + public QuickWorkoutT createQuickWorkoutT() {
|
---|
5514 | + return new QuickWorkoutT();
|
---|
5515 | + }
|
---|
5516 | +
|
---|
5517 | + /**
|
---|
5518 | + * Create an instance of {@link ActivityReferenceT }
|
---|
5519 | + *
|
---|
5520 | + */
|
---|
5521 | + public ActivityReferenceT createActivityReferenceT() {
|
---|
5522 | + return new ActivityReferenceT();
|
---|
5523 | + }
|
---|
5524 | +
|
---|
5525 | + /**
|
---|
5526 | + * Create an instance of {@link VersionT }
|
---|
5527 | + *
|
---|
5528 | + */
|
---|
5529 | + public VersionT createVersionT() {
|
---|
5530 | + return new VersionT();
|
---|
5531 | + }
|
---|
5532 | +
|
---|
5533 | + /**
|
---|
5534 | + * Create an instance of {@link WorkoutListT }
|
---|
5535 | + *
|
---|
5536 | + */
|
---|
5537 | + public WorkoutListT createWorkoutListT() {
|
---|
5538 | + return new WorkoutListT();
|
---|
5539 | + }
|
---|
5540 | +
|
---|
5541 | + /**
|
---|
5542 | + * Create an instance of {@link HeartRateInBeatsPerMinuteT }
|
---|
5543 | + *
|
---|
5544 | + */
|
---|
5545 | + public HeartRateInBeatsPerMinuteT createHeartRateInBeatsPerMinuteT() {
|
---|
5546 | + return new HeartRateInBeatsPerMinuteT();
|
---|
5547 | + }
|
---|
5548 | +
|
---|
5549 | + /**
|
---|
5550 | + * Create an instance of {@link PositionT }
|
---|
5551 | + *
|
---|
5552 | + */
|
---|
5553 | + public PositionT createPositionT() {
|
---|
5554 | + return new PositionT();
|
---|
5555 | + }
|
---|
5556 | +
|
---|
5557 | + /**
|
---|
5558 | + * Create an instance of {@link HistoryT }
|
---|
5559 | + *
|
---|
5560 | + */
|
---|
5561 | + public HistoryT createHistoryT() {
|
---|
5562 | + return new HistoryT();
|
---|
5563 | + }
|
---|
5564 | +
|
---|
5565 | + /**
|
---|
5566 | + * Create an instance of {@link ApplicationT }
|
---|
5567 | + *
|
---|
5568 | + */
|
---|
5569 | + public ApplicationT createApplicationT() {
|
---|
5570 | + return new ApplicationT();
|
---|
5571 | + }
|
---|
5572 | +
|
---|
5573 | + /**
|
---|
5574 | + * Create an instance of {@link DeviceT }
|
---|
5575 | + *
|
---|
5576 | + */
|
---|
5577 | + public DeviceT createDeviceT() {
|
---|
5578 | + return new DeviceT();
|
---|
5579 | + }
|
---|
5580 | +
|
---|
5581 | + /**
|
---|
5582 | + * Create an instance of {@link ExtensionsT }
|
---|
5583 | + *
|
---|
5584 | + */
|
---|
5585 | + public ExtensionsT createExtensionsT() {
|
---|
5586 | + return new ExtensionsT();
|
---|
5587 | + }
|
---|
5588 | +
|
---|
5589 | + /**
|
---|
5590 | + * Create an instance of {@link TimeT }
|
---|
5591 | + *
|
---|
5592 | + */
|
---|
5593 | + public TimeT createTimeT() {
|
---|
5594 | + return new TimeT();
|
---|
5595 | + }
|
---|
5596 | +
|
---|
5597 | + /**
|
---|
5598 | + * Create an instance of {@link WorkoutsT }
|
---|
5599 | + *
|
---|
5600 | + */
|
---|
5601 | + public WorkoutsT createWorkoutsT() {
|
---|
5602 | + return new WorkoutsT();
|
---|
5603 | + }
|
---|
5604 | +
|
---|
5605 | + /**
|
---|
5606 | + * Create an instance of {@link ActivityLapT }
|
---|
5607 | + *
|
---|
5608 | + */
|
---|
5609 | + public ActivityLapT createActivityLapT() {
|
---|
5610 | + return new ActivityLapT();
|
---|
5611 | + }
|
---|
5612 | +
|
---|
5613 | + /**
|
---|
5614 | + * Create an instance of {@link MultiSportSessionT }
|
---|
5615 | + *
|
---|
5616 | + */
|
---|
5617 | + public MultiSportSessionT createMultiSportSessionT() {
|
---|
5618 | + return new MultiSportSessionT();
|
---|
5619 | + }
|
---|
5620 | +
|
---|
5621 | + /**
|
---|
5622 | + * Create an instance of {@link BuildT }
|
---|
5623 | + *
|
---|
5624 | + */
|
---|
5625 | + public BuildT createBuildT() {
|
---|
5626 | + return new BuildT();
|
---|
5627 | + }
|
---|
5628 | +
|
---|
5629 | + /**
|
---|
5630 | + * Create an instance of {@link ActivityT }
|
---|
5631 | + *
|
---|
5632 | + */
|
---|
5633 | + public ActivityT createActivityT() {
|
---|
5634 | + return new ActivityT();
|
---|
5635 | + }
|
---|
5636 | +
|
---|
5637 | + /**
|
---|
5638 | + * Create an instance of {@link TrainingT }
|
---|
5639 | + *
|
---|
5640 | + */
|
---|
5641 | + public TrainingT createTrainingT() {
|
---|
5642 | + return new TrainingT();
|
---|
5643 | + }
|
---|
5644 | +
|
---|
5645 | + /**
|
---|
5646 | + * Create an instance of {@link PlanT }
|
---|
5647 | + *
|
---|
5648 | + */
|
---|
5649 | + public PlanT createPlanT() {
|
---|
5650 | + return new PlanT();
|
---|
5651 | + }
|
---|
5652 | +
|
---|
5653 | + /**
|
---|
5654 | + * Create an instance of {@link TrainingCenterDatabaseT }
|
---|
5655 | + *
|
---|
5656 | + */
|
---|
5657 | + public TrainingCenterDatabaseT createTrainingCenterDatabaseT() {
|
---|
5658 | + return new TrainingCenterDatabaseT();
|
---|
5659 | + }
|
---|
5660 | +
|
---|
5661 | + /**
|
---|
5662 | + * Create an instance of {@link FoldersT }
|
---|
5663 | + *
|
---|
5664 | + */
|
---|
5665 | + public FoldersT createFoldersT() {
|
---|
5666 | + return new FoldersT();
|
---|
5667 | + }
|
---|
5668 | +
|
---|
5669 | + /**
|
---|
5670 | + * Create an instance of {@link UserInitiatedT }
|
---|
5671 | + *
|
---|
5672 | + */
|
---|
5673 | + public UserInitiatedT createUserInitiatedT() {
|
---|
5674 | + return new UserInitiatedT();
|
---|
5675 | + }
|
---|
5676 | +
|
---|
5677 | + /**
|
---|
5678 | + * Create an instance of {@link MultiSportFolderT }
|
---|
5679 | + *
|
---|
5680 | + */
|
---|
5681 | + public MultiSportFolderT createMultiSportFolderT() {
|
---|
5682 | + return new MultiSportFolderT();
|
---|
5683 | + }
|
---|
5684 | +
|
---|
5685 | + /**
|
---|
5686 | + * Create an instance of {@link ActivityListT }
|
---|
5687 | + *
|
---|
5688 | + */
|
---|
5689 | + public ActivityListT createActivityListT() {
|
---|
5690 | + return new ActivityListT();
|
---|
5691 | + }
|
---|
5692 | +
|
---|
5693 | + /**
|
---|
5694 | + * Create an instance of {@link CustomHeartRateZoneT }
|
---|
5695 | + *
|
---|
5696 | + */
|
---|
5697 | + public CustomHeartRateZoneT createCustomHeartRateZoneT() {
|
---|
5698 | + return new CustomHeartRateZoneT();
|
---|
5699 | + }
|
---|
5700 | +
|
---|
5701 | + /**
|
---|
5702 | + * Create an instance of {@link TrackpointT }
|
---|
5703 | + *
|
---|
5704 | + */
|
---|
5705 | + public TrackpointT createTrackpointT() {
|
---|
5706 | + return new TrackpointT();
|
---|
5707 | + }
|
---|
5708 | +
|
---|
5709 | + /**
|
---|
5710 | + * Create an instance of {@link CourseT }
|
---|
5711 | + *
|
---|
5712 | + */
|
---|
5713 | + public CourseT createCourseT() {
|
---|
5714 | + return new CourseT();
|
---|
5715 | + }
|
---|
5716 | +
|
---|
5717 | + /**
|
---|
5718 | + * Create an instance of {@link CourseLapT }
|
---|
5719 | + *
|
---|
5720 | + */
|
---|
5721 | + public CourseLapT createCourseLapT() {
|
---|
5722 | + return new CourseLapT();
|
---|
5723 | + }
|
---|
5724 | +
|
---|
5725 | + /**
|
---|
5726 | + * Create an instance of {@link NextSportT }
|
---|
5727 | + *
|
---|
5728 | + */
|
---|
5729 | + public NextSportT createNextSportT() {
|
---|
5730 | + return new NextSportT();
|
---|
5731 | + }
|
---|
5732 | +
|
---|
5733 | + /**
|
---|
5734 | + * Create an instance of {@link DistanceT }
|
---|
5735 | + *
|
---|
5736 | + */
|
---|
5737 | + public DistanceT createDistanceT() {
|
---|
5738 | + return new DistanceT();
|
---|
5739 | + }
|
---|
5740 | +
|
---|
5741 | + /**
|
---|
5742 | + * Create an instance of {@link FirstSportT }
|
---|
5743 | + *
|
---|
5744 | + */
|
---|
5745 | + public FirstSportT createFirstSportT() {
|
---|
5746 | + return new FirstSportT();
|
---|
5747 | + }
|
---|
5748 | +
|
---|
5749 | + /**
|
---|
5750 | + * Create an instance of {@link HeartRateT }
|
---|
5751 | + *
|
---|
5752 | + */
|
---|
5753 | + public HeartRateT createHeartRateT() {
|
---|
5754 | + return new HeartRateT();
|
---|
5755 | + }
|
---|
5756 | +
|
---|
5757 | + /**
|
---|
5758 | + * Create an instance of {@link CaloriesBurnedT }
|
---|
5759 | + *
|
---|
5760 | + */
|
---|
5761 | + public CaloriesBurnedT createCaloriesBurnedT() {
|
---|
5762 | + return new CaloriesBurnedT();
|
---|
5763 | + }
|
---|
5764 | +
|
---|
5765 | + /**
|
---|
5766 | + * Create an instance of {@link StepT }
|
---|
5767 | + *
|
---|
5768 | + */
|
---|
5769 | + public StepT createStepT() {
|
---|
5770 | + return new StepT();
|
---|
5771 | + }
|
---|
5772 | +
|
---|
5773 | + /**
|
---|
5774 | + * Create an instance of {@link HeartRateBelowT }
|
---|
5775 | + *
|
---|
5776 | + */
|
---|
5777 | + public HeartRateBelowT createHeartRateBelowT() {
|
---|
5778 | + return new HeartRateBelowT();
|
---|
5779 | + }
|
---|
5780 | +
|
---|
5781 | + /**
|
---|
5782 | + * Create an instance of {@link HeartRateAboveT }
|
---|
5783 | + *
|
---|
5784 | + */
|
---|
5785 | + public HeartRateAboveT createHeartRateAboveT() {
|
---|
5786 | + return new HeartRateAboveT();
|
---|
5787 | + }
|
---|
5788 | +
|
---|
5789 | + /**
|
---|
5790 | + * Create an instance of {@link CoursesT }
|
---|
5791 | + *
|
---|
5792 | + */
|
---|
5793 | + public CoursesT createCoursesT() {
|
---|
5794 | + return new CoursesT();
|
---|
5795 | + }
|
---|
5796 | +
|
---|
5797 | + /**
|
---|
5798 | + * Create an instance of {@link WorkoutT }
|
---|
5799 | + *
|
---|
5800 | + */
|
---|
5801 | + public WorkoutT createWorkoutT() {
|
---|
5802 | + return new WorkoutT();
|
---|
5803 | + }
|
---|
5804 | +
|
---|
5805 | + /**
|
---|
5806 | + * Create an instance of {@link WeekT }
|
---|
5807 | + *
|
---|
5808 | + */
|
---|
5809 | + public WeekT createWeekT() {
|
---|
5810 | + return new WeekT();
|
---|
5811 | + }
|
---|
5812 | +
|
---|
5813 | + /**
|
---|
5814 | + * Create an instance of {@link CustomSpeedZoneT }
|
---|
5815 | + *
|
---|
5816 | + */
|
---|
5817 | + public CustomSpeedZoneT createCustomSpeedZoneT() {
|
---|
5818 | + return new CustomSpeedZoneT();
|
---|
5819 | + }
|
---|
5820 | +
|
---|
5821 | + /**
|
---|
5822 | + * Create an instance of {@link HistoryFolderT }
|
---|
5823 | + *
|
---|
5824 | + */
|
---|
5825 | + public HistoryFolderT createHistoryFolderT() {
|
---|
5826 | + return new HistoryFolderT();
|
---|
5827 | + }
|
---|
5828 | +
|
---|
5829 | + /**
|
---|
5830 | + * Create an instance of {@link PredefinedHeartRateZoneT }
|
---|
5831 | + *
|
---|
5832 | + */
|
---|
5833 | + public PredefinedHeartRateZoneT createPredefinedHeartRateZoneT() {
|
---|
5834 | + return new PredefinedHeartRateZoneT();
|
---|
5835 | + }
|
---|
5836 | +
|
---|
5837 | + /**
|
---|
5838 | + * Create an instance of {@link CoursePointT }
|
---|
5839 | + *
|
---|
5840 | + */
|
---|
5841 | + public CoursePointT createCoursePointT() {
|
---|
5842 | + return new CoursePointT();
|
---|
5843 | + }
|
---|
5844 | +
|
---|
5845 | + /**
|
---|
5846 | + * Create an instance of {@link JAXBElement }{@code <}{@link TrainingCenterDatabaseT }{@code >}}
|
---|
5847 | + *
|
---|
5848 | + */
|
---|
5849 | + @XmlElementDecl(namespace = "http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2", name = "TrainingCenterDatabase")
|
---|
5850 | + public JAXBElement<TrainingCenterDatabaseT> createTrainingCenterDatabase(TrainingCenterDatabaseT value) {
|
---|
5851 | + return new JAXBElement<TrainingCenterDatabaseT>(_TrainingCenterDatabase_QNAME, TrainingCenterDatabaseT.class, null, value);
|
---|
5852 | + }
|
---|
5853 | +
|
---|
5854 | +}
|
---|
5855 | Index: src/org/openstreetmap/josm/io/tcx/PlanT.java
|
---|
5856 | ===================================================================
|
---|
5857 | --- src/org/openstreetmap/josm/io/tcx/PlanT.java (revision 0)
|
---|
5858 | +++ src/org/openstreetmap/josm/io/tcx/PlanT.java (revision 0)
|
---|
5859 | @@ -0,0 +1,147 @@
|
---|
5860 | +//
|
---|
5861 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
5862 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
5863 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
5864 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
5865 | +//
|
---|
5866 | +
|
---|
5867 | +
|
---|
5868 | +package org.openstreetmap.josm.io.tcx;
|
---|
5869 | +
|
---|
5870 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
5871 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
5872 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
5873 | +import javax.xml.bind.annotation.XmlElement;
|
---|
5874 | +import javax.xml.bind.annotation.XmlType;
|
---|
5875 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
5876 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
5877 | +
|
---|
5878 | +
|
---|
5879 | +/**
|
---|
5880 | + * <p>Java class for Plan_t complex type.
|
---|
5881 | + *
|
---|
5882 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
5883 | + *
|
---|
5884 | + * <pre>
|
---|
5885 | + * <complexType name="Plan_t">
|
---|
5886 | + * <complexContent>
|
---|
5887 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
5888 | + * <sequence>
|
---|
5889 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t" minOccurs="0"/>
|
---|
5890 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
5891 | + * </sequence>
|
---|
5892 | + * <attribute name="Type" use="required" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}TrainingType_t" />
|
---|
5893 | + * <attribute name="IntervalWorkout" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
---|
5894 | + * </restriction>
|
---|
5895 | + * </complexContent>
|
---|
5896 | + * </complexType>
|
---|
5897 | + * </pre>
|
---|
5898 | + *
|
---|
5899 | + *
|
---|
5900 | + */
|
---|
5901 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
5902 | +@XmlType(name = "Plan_t", propOrder = {
|
---|
5903 | + "name",
|
---|
5904 | + "extensions"
|
---|
5905 | +})
|
---|
5906 | +public class PlanT {
|
---|
5907 | +
|
---|
5908 | + @XmlElement(name = "Name")
|
---|
5909 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
5910 | + protected String name;
|
---|
5911 | + @XmlElement(name = "Extensions")
|
---|
5912 | + protected ExtensionsT extensions;
|
---|
5913 | + @XmlAttribute(name = "Type", required = true)
|
---|
5914 | + protected TrainingTypeT type;
|
---|
5915 | + @XmlAttribute(name = "IntervalWorkout", required = true)
|
---|
5916 | + protected boolean intervalWorkout;
|
---|
5917 | +
|
---|
5918 | + /**
|
---|
5919 | + * Gets the value of the name property.
|
---|
5920 | + *
|
---|
5921 | + * @return
|
---|
5922 | + * possible object is
|
---|
5923 | + * {@link String }
|
---|
5924 | + *
|
---|
5925 | + */
|
---|
5926 | + public String getName() {
|
---|
5927 | + return name;
|
---|
5928 | + }
|
---|
5929 | +
|
---|
5930 | + /**
|
---|
5931 | + * Sets the value of the name property.
|
---|
5932 | + *
|
---|
5933 | + * @param value
|
---|
5934 | + * allowed object is
|
---|
5935 | + * {@link String }
|
---|
5936 | + *
|
---|
5937 | + */
|
---|
5938 | + public void setName(String value) {
|
---|
5939 | + this.name = value;
|
---|
5940 | + }
|
---|
5941 | +
|
---|
5942 | + /**
|
---|
5943 | + * Gets the value of the extensions property.
|
---|
5944 | + *
|
---|
5945 | + * @return
|
---|
5946 | + * possible object is
|
---|
5947 | + * {@link ExtensionsT }
|
---|
5948 | + *
|
---|
5949 | + */
|
---|
5950 | + public ExtensionsT getExtensions() {
|
---|
5951 | + return extensions;
|
---|
5952 | + }
|
---|
5953 | +
|
---|
5954 | + /**
|
---|
5955 | + * Sets the value of the extensions property.
|
---|
5956 | + *
|
---|
5957 | + * @param value
|
---|
5958 | + * allowed object is
|
---|
5959 | + * {@link ExtensionsT }
|
---|
5960 | + *
|
---|
5961 | + */
|
---|
5962 | + public void setExtensions(ExtensionsT value) {
|
---|
5963 | + this.extensions = value;
|
---|
5964 | + }
|
---|
5965 | +
|
---|
5966 | + /**
|
---|
5967 | + * Gets the value of the type property.
|
---|
5968 | + *
|
---|
5969 | + * @return
|
---|
5970 | + * possible object is
|
---|
5971 | + * {@link TrainingTypeT }
|
---|
5972 | + *
|
---|
5973 | + */
|
---|
5974 | + public TrainingTypeT getType() {
|
---|
5975 | + return type;
|
---|
5976 | + }
|
---|
5977 | +
|
---|
5978 | + /**
|
---|
5979 | + * Sets the value of the type property.
|
---|
5980 | + *
|
---|
5981 | + * @param value
|
---|
5982 | + * allowed object is
|
---|
5983 | + * {@link TrainingTypeT }
|
---|
5984 | + *
|
---|
5985 | + */
|
---|
5986 | + public void setType(TrainingTypeT value) {
|
---|
5987 | + this.type = value;
|
---|
5988 | + }
|
---|
5989 | +
|
---|
5990 | + /**
|
---|
5991 | + * Gets the value of the intervalWorkout property.
|
---|
5992 | + *
|
---|
5993 | + */
|
---|
5994 | + public boolean isIntervalWorkout() {
|
---|
5995 | + return intervalWorkout;
|
---|
5996 | + }
|
---|
5997 | +
|
---|
5998 | + /**
|
---|
5999 | + * Sets the value of the intervalWorkout property.
|
---|
6000 | + *
|
---|
6001 | + */
|
---|
6002 | + public void setIntervalWorkout(boolean value) {
|
---|
6003 | + this.intervalWorkout = value;
|
---|
6004 | + }
|
---|
6005 | +
|
---|
6006 | +}
|
---|
6007 | Index: src/org/openstreetmap/josm/io/tcx/PositionT.java
|
---|
6008 | ===================================================================
|
---|
6009 | --- src/org/openstreetmap/josm/io/tcx/PositionT.java (revision 0)
|
---|
6010 | +++ src/org/openstreetmap/josm/io/tcx/PositionT.java (revision 0)
|
---|
6011 | @@ -0,0 +1,81 @@
|
---|
6012 | +//
|
---|
6013 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6014 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6015 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6016 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6017 | +//
|
---|
6018 | +
|
---|
6019 | +
|
---|
6020 | +package org.openstreetmap.josm.io.tcx;
|
---|
6021 | +
|
---|
6022 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6023 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6024 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6025 | +import javax.xml.bind.annotation.XmlType;
|
---|
6026 | +
|
---|
6027 | +
|
---|
6028 | +/**
|
---|
6029 | + * <p>Java class for Position_t complex type.
|
---|
6030 | + *
|
---|
6031 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6032 | + *
|
---|
6033 | + * <pre>
|
---|
6034 | + * <complexType name="Position_t">
|
---|
6035 | + * <complexContent>
|
---|
6036 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
6037 | + * <sequence>
|
---|
6038 | + * <element name="LatitudeDegrees" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}DegreesLatitude_t"/>
|
---|
6039 | + * <element name="LongitudeDegrees" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}DegreesLongitude_t"/>
|
---|
6040 | + * </sequence>
|
---|
6041 | + * </restriction>
|
---|
6042 | + * </complexContent>
|
---|
6043 | + * </complexType>
|
---|
6044 | + * </pre>
|
---|
6045 | + *
|
---|
6046 | + *
|
---|
6047 | + */
|
---|
6048 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6049 | +@XmlType(name = "Position_t", propOrder = {
|
---|
6050 | + "latitudeDegrees",
|
---|
6051 | + "longitudeDegrees"
|
---|
6052 | +})
|
---|
6053 | +public class PositionT {
|
---|
6054 | +
|
---|
6055 | + @XmlElement(name = "LatitudeDegrees")
|
---|
6056 | + protected double latitudeDegrees;
|
---|
6057 | + @XmlElement(name = "LongitudeDegrees")
|
---|
6058 | + protected double longitudeDegrees;
|
---|
6059 | +
|
---|
6060 | + /**
|
---|
6061 | + * Gets the value of the latitudeDegrees property.
|
---|
6062 | + *
|
---|
6063 | + */
|
---|
6064 | + public double getLatitudeDegrees() {
|
---|
6065 | + return latitudeDegrees;
|
---|
6066 | + }
|
---|
6067 | +
|
---|
6068 | + /**
|
---|
6069 | + * Sets the value of the latitudeDegrees property.
|
---|
6070 | + *
|
---|
6071 | + */
|
---|
6072 | + public void setLatitudeDegrees(double value) {
|
---|
6073 | + this.latitudeDegrees = value;
|
---|
6074 | + }
|
---|
6075 | +
|
---|
6076 | + /**
|
---|
6077 | + * Gets the value of the longitudeDegrees property.
|
---|
6078 | + *
|
---|
6079 | + */
|
---|
6080 | + public double getLongitudeDegrees() {
|
---|
6081 | + return longitudeDegrees;
|
---|
6082 | + }
|
---|
6083 | +
|
---|
6084 | + /**
|
---|
6085 | + * Sets the value of the longitudeDegrees property.
|
---|
6086 | + *
|
---|
6087 | + */
|
---|
6088 | + public void setLongitudeDegrees(double value) {
|
---|
6089 | + this.longitudeDegrees = value;
|
---|
6090 | + }
|
---|
6091 | +
|
---|
6092 | +}
|
---|
6093 | Index: src/org/openstreetmap/josm/io/tcx/PredefinedHeartRateZoneT.java
|
---|
6094 | ===================================================================
|
---|
6095 | --- src/org/openstreetmap/josm/io/tcx/PredefinedHeartRateZoneT.java (revision 0)
|
---|
6096 | +++ src/org/openstreetmap/josm/io/tcx/PredefinedHeartRateZoneT.java (revision 0)
|
---|
6097 | @@ -0,0 +1,63 @@
|
---|
6098 | +//
|
---|
6099 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6100 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6101 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6102 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6103 | +//
|
---|
6104 | +
|
---|
6105 | +
|
---|
6106 | +package org.openstreetmap.josm.io.tcx;
|
---|
6107 | +
|
---|
6108 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6109 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6110 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6111 | +import javax.xml.bind.annotation.XmlType;
|
---|
6112 | +
|
---|
6113 | +
|
---|
6114 | +/**
|
---|
6115 | + * <p>Java class for PredefinedHeartRateZone_t complex type.
|
---|
6116 | + *
|
---|
6117 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6118 | + *
|
---|
6119 | + * <pre>
|
---|
6120 | + * <complexType name="PredefinedHeartRateZone_t">
|
---|
6121 | + * <complexContent>
|
---|
6122 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t">
|
---|
6123 | + * <sequence>
|
---|
6124 | + * <element name="Number" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateZoneNumbers_t"/>
|
---|
6125 | + * </sequence>
|
---|
6126 | + * </extension>
|
---|
6127 | + * </complexContent>
|
---|
6128 | + * </complexType>
|
---|
6129 | + * </pre>
|
---|
6130 | + *
|
---|
6131 | + *
|
---|
6132 | + */
|
---|
6133 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6134 | +@XmlType(name = "PredefinedHeartRateZone_t", propOrder = {
|
---|
6135 | + "number"
|
---|
6136 | +})
|
---|
6137 | +public class PredefinedHeartRateZoneT
|
---|
6138 | + extends ZoneT
|
---|
6139 | +{
|
---|
6140 | +
|
---|
6141 | + @XmlElement(name = "Number")
|
---|
6142 | + protected int number;
|
---|
6143 | +
|
---|
6144 | + /**
|
---|
6145 | + * Gets the value of the number property.
|
---|
6146 | + *
|
---|
6147 | + */
|
---|
6148 | + public int getNumber() {
|
---|
6149 | + return number;
|
---|
6150 | + }
|
---|
6151 | +
|
---|
6152 | + /**
|
---|
6153 | + * Sets the value of the number property.
|
---|
6154 | + *
|
---|
6155 | + */
|
---|
6156 | + public void setNumber(int value) {
|
---|
6157 | + this.number = value;
|
---|
6158 | + }
|
---|
6159 | +
|
---|
6160 | +}
|
---|
6161 | Index: src/org/openstreetmap/josm/io/tcx/PredefinedSpeedZoneT.java
|
---|
6162 | ===================================================================
|
---|
6163 | --- src/org/openstreetmap/josm/io/tcx/PredefinedSpeedZoneT.java (revision 0)
|
---|
6164 | +++ src/org/openstreetmap/josm/io/tcx/PredefinedSpeedZoneT.java (revision 0)
|
---|
6165 | @@ -0,0 +1,63 @@
|
---|
6166 | +//
|
---|
6167 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6168 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6169 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6170 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6171 | +//
|
---|
6172 | +
|
---|
6173 | +
|
---|
6174 | +package org.openstreetmap.josm.io.tcx;
|
---|
6175 | +
|
---|
6176 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6177 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6178 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6179 | +import javax.xml.bind.annotation.XmlType;
|
---|
6180 | +
|
---|
6181 | +
|
---|
6182 | +/**
|
---|
6183 | + * <p>Java class for PredefinedSpeedZone_t complex type.
|
---|
6184 | + *
|
---|
6185 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6186 | + *
|
---|
6187 | + * <pre>
|
---|
6188 | + * <complexType name="PredefinedSpeedZone_t">
|
---|
6189 | + * <complexContent>
|
---|
6190 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t">
|
---|
6191 | + * <sequence>
|
---|
6192 | + * <element name="Number" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}SpeedZoneNumbers_t"/>
|
---|
6193 | + * </sequence>
|
---|
6194 | + * </extension>
|
---|
6195 | + * </complexContent>
|
---|
6196 | + * </complexType>
|
---|
6197 | + * </pre>
|
---|
6198 | + *
|
---|
6199 | + *
|
---|
6200 | + */
|
---|
6201 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6202 | +@XmlType(name = "PredefinedSpeedZone_t", propOrder = {
|
---|
6203 | + "number"
|
---|
6204 | +})
|
---|
6205 | +public class PredefinedSpeedZoneT
|
---|
6206 | + extends ZoneT
|
---|
6207 | +{
|
---|
6208 | +
|
---|
6209 | + @XmlElement(name = "Number")
|
---|
6210 | + protected int number;
|
---|
6211 | +
|
---|
6212 | + /**
|
---|
6213 | + * Gets the value of the number property.
|
---|
6214 | + *
|
---|
6215 | + */
|
---|
6216 | + public int getNumber() {
|
---|
6217 | + return number;
|
---|
6218 | + }
|
---|
6219 | +
|
---|
6220 | + /**
|
---|
6221 | + * Sets the value of the number property.
|
---|
6222 | + *
|
---|
6223 | + */
|
---|
6224 | + public void setNumber(int value) {
|
---|
6225 | + this.number = value;
|
---|
6226 | + }
|
---|
6227 | +
|
---|
6228 | +}
|
---|
6229 | Index: src/org/openstreetmap/josm/io/tcx/QuickWorkoutT.java
|
---|
6230 | ===================================================================
|
---|
6231 | --- src/org/openstreetmap/josm/io/tcx/QuickWorkoutT.java (revision 0)
|
---|
6232 | +++ src/org/openstreetmap/josm/io/tcx/QuickWorkoutT.java (revision 0)
|
---|
6233 | @@ -0,0 +1,81 @@
|
---|
6234 | +//
|
---|
6235 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6236 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6237 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6238 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6239 | +//
|
---|
6240 | +
|
---|
6241 | +
|
---|
6242 | +package org.openstreetmap.josm.io.tcx;
|
---|
6243 | +
|
---|
6244 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6245 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6246 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6247 | +import javax.xml.bind.annotation.XmlType;
|
---|
6248 | +
|
---|
6249 | +
|
---|
6250 | +/**
|
---|
6251 | + * <p>Java class for QuickWorkout_t complex type.
|
---|
6252 | + *
|
---|
6253 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6254 | + *
|
---|
6255 | + * <pre>
|
---|
6256 | + * <complexType name="QuickWorkout_t">
|
---|
6257 | + * <complexContent>
|
---|
6258 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
6259 | + * <sequence>
|
---|
6260 | + * <element name="TotalTimeSeconds" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
6261 | + * <element name="DistanceMeters" type="{http://www.w3.org/2001/XMLSchema}double"/>
|
---|
6262 | + * </sequence>
|
---|
6263 | + * </restriction>
|
---|
6264 | + * </complexContent>
|
---|
6265 | + * </complexType>
|
---|
6266 | + * </pre>
|
---|
6267 | + *
|
---|
6268 | + *
|
---|
6269 | + */
|
---|
6270 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6271 | +@XmlType(name = "QuickWorkout_t", propOrder = {
|
---|
6272 | + "totalTimeSeconds",
|
---|
6273 | + "distanceMeters"
|
---|
6274 | +})
|
---|
6275 | +public class QuickWorkoutT {
|
---|
6276 | +
|
---|
6277 | + @XmlElement(name = "TotalTimeSeconds")
|
---|
6278 | + protected double totalTimeSeconds;
|
---|
6279 | + @XmlElement(name = "DistanceMeters")
|
---|
6280 | + protected double distanceMeters;
|
---|
6281 | +
|
---|
6282 | + /**
|
---|
6283 | + * Gets the value of the totalTimeSeconds property.
|
---|
6284 | + *
|
---|
6285 | + */
|
---|
6286 | + public double getTotalTimeSeconds() {
|
---|
6287 | + return totalTimeSeconds;
|
---|
6288 | + }
|
---|
6289 | +
|
---|
6290 | + /**
|
---|
6291 | + * Sets the value of the totalTimeSeconds property.
|
---|
6292 | + *
|
---|
6293 | + */
|
---|
6294 | + public void setTotalTimeSeconds(double value) {
|
---|
6295 | + this.totalTimeSeconds = value;
|
---|
6296 | + }
|
---|
6297 | +
|
---|
6298 | + /**
|
---|
6299 | + * Gets the value of the distanceMeters property.
|
---|
6300 | + *
|
---|
6301 | + */
|
---|
6302 | + public double getDistanceMeters() {
|
---|
6303 | + return distanceMeters;
|
---|
6304 | + }
|
---|
6305 | +
|
---|
6306 | + /**
|
---|
6307 | + * Sets the value of the distanceMeters property.
|
---|
6308 | + *
|
---|
6309 | + */
|
---|
6310 | + public void setDistanceMeters(double value) {
|
---|
6311 | + this.distanceMeters = value;
|
---|
6312 | + }
|
---|
6313 | +
|
---|
6314 | +}
|
---|
6315 | Index: src/org/openstreetmap/josm/io/tcx/RepeatT.java
|
---|
6316 | ===================================================================
|
---|
6317 | --- src/org/openstreetmap/josm/io/tcx/RepeatT.java (revision 0)
|
---|
6318 | +++ src/org/openstreetmap/josm/io/tcx/RepeatT.java (revision 0)
|
---|
6319 | @@ -0,0 +1,98 @@
|
---|
6320 | +//
|
---|
6321 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6322 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6323 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6324 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6325 | +//
|
---|
6326 | +
|
---|
6327 | +
|
---|
6328 | +package org.openstreetmap.josm.io.tcx;
|
---|
6329 | +
|
---|
6330 | +import java.util.ArrayList;
|
---|
6331 | +import java.util.List;
|
---|
6332 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6333 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6334 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6335 | +import javax.xml.bind.annotation.XmlType;
|
---|
6336 | +
|
---|
6337 | +
|
---|
6338 | +/**
|
---|
6339 | + * <p>Java class for Repeat_t complex type.
|
---|
6340 | + *
|
---|
6341 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6342 | + *
|
---|
6343 | + * <pre>
|
---|
6344 | + * <complexType name="Repeat_t">
|
---|
6345 | + * <complexContent>
|
---|
6346 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t">
|
---|
6347 | + * <sequence>
|
---|
6348 | + * <element name="Repetitions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Repetitions_t"/>
|
---|
6349 | + * <element name="Child" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t" maxOccurs="unbounded"/>
|
---|
6350 | + * </sequence>
|
---|
6351 | + * </extension>
|
---|
6352 | + * </complexContent>
|
---|
6353 | + * </complexType>
|
---|
6354 | + * </pre>
|
---|
6355 | + *
|
---|
6356 | + *
|
---|
6357 | + */
|
---|
6358 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6359 | +@XmlType(name = "Repeat_t", propOrder = {
|
---|
6360 | + "repetitions",
|
---|
6361 | + "child"
|
---|
6362 | +})
|
---|
6363 | +public class RepeatT
|
---|
6364 | + extends AbstractStepT
|
---|
6365 | +{
|
---|
6366 | +
|
---|
6367 | + @XmlElement(name = "Repetitions")
|
---|
6368 | + protected int repetitions;
|
---|
6369 | + @XmlElement(name = "Child", required = true)
|
---|
6370 | + protected List<AbstractStepT> child;
|
---|
6371 | +
|
---|
6372 | + /**
|
---|
6373 | + * Gets the value of the repetitions property.
|
---|
6374 | + *
|
---|
6375 | + */
|
---|
6376 | + public int getRepetitions() {
|
---|
6377 | + return repetitions;
|
---|
6378 | + }
|
---|
6379 | +
|
---|
6380 | + /**
|
---|
6381 | + * Sets the value of the repetitions property.
|
---|
6382 | + *
|
---|
6383 | + */
|
---|
6384 | + public void setRepetitions(int value) {
|
---|
6385 | + this.repetitions = value;
|
---|
6386 | + }
|
---|
6387 | +
|
---|
6388 | + /**
|
---|
6389 | + * Gets the value of the child property.
|
---|
6390 | + *
|
---|
6391 | + * <p>
|
---|
6392 | + * This accessor method returns a reference to the live list,
|
---|
6393 | + * not a snapshot. Therefore any modification you make to the
|
---|
6394 | + * returned list will be present inside the JAXB object.
|
---|
6395 | + * This is why there is not a <CODE>set</CODE> method for the child property.
|
---|
6396 | + *
|
---|
6397 | + * <p>
|
---|
6398 | + * For example, to add a new item, do as follows:
|
---|
6399 | + * <pre>
|
---|
6400 | + * getChild().add(newItem);
|
---|
6401 | + * </pre>
|
---|
6402 | + *
|
---|
6403 | + *
|
---|
6404 | + * <p>
|
---|
6405 | + * Objects of the following type(s) are allowed in the list
|
---|
6406 | + * {@link AbstractStepT }
|
---|
6407 | + *
|
---|
6408 | + *
|
---|
6409 | + */
|
---|
6410 | + public List<AbstractStepT> getChild() {
|
---|
6411 | + if (child == null) {
|
---|
6412 | + child = new ArrayList<AbstractStepT>();
|
---|
6413 | + }
|
---|
6414 | + return this.child;
|
---|
6415 | + }
|
---|
6416 | +
|
---|
6417 | +}
|
---|
6418 | Index: src/org/openstreetmap/josm/io/tcx/SensorStateT.java
|
---|
6419 | ===================================================================
|
---|
6420 | --- src/org/openstreetmap/josm/io/tcx/SensorStateT.java (revision 0)
|
---|
6421 | +++ src/org/openstreetmap/josm/io/tcx/SensorStateT.java (revision 0)
|
---|
6422 | @@ -0,0 +1,58 @@
|
---|
6423 | +//
|
---|
6424 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6425 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6426 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6427 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6428 | +//
|
---|
6429 | +
|
---|
6430 | +
|
---|
6431 | +package org.openstreetmap.josm.io.tcx;
|
---|
6432 | +
|
---|
6433 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
6434 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
6435 | +import javax.xml.bind.annotation.XmlType;
|
---|
6436 | +
|
---|
6437 | +
|
---|
6438 | +/**
|
---|
6439 | + * <p>Java class for SensorState_t.
|
---|
6440 | + *
|
---|
6441 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6442 | + * <p>
|
---|
6443 | + * <pre>
|
---|
6444 | + * <simpleType name="SensorState_t">
|
---|
6445 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
6446 | + * <enumeration value="Present"/>
|
---|
6447 | + * <enumeration value="Absent"/>
|
---|
6448 | + * </restriction>
|
---|
6449 | + * </simpleType>
|
---|
6450 | + * </pre>
|
---|
6451 | + *
|
---|
6452 | + */
|
---|
6453 | +@XmlType(name = "SensorState_t")
|
---|
6454 | +@XmlEnum
|
---|
6455 | +public enum SensorStateT {
|
---|
6456 | +
|
---|
6457 | + @XmlEnumValue("Present")
|
---|
6458 | + PRESENT("Present"),
|
---|
6459 | + @XmlEnumValue("Absent")
|
---|
6460 | + ABSENT("Absent");
|
---|
6461 | + private final String value;
|
---|
6462 | +
|
---|
6463 | + SensorStateT(String v) {
|
---|
6464 | + value = v;
|
---|
6465 | + }
|
---|
6466 | +
|
---|
6467 | + public String value() {
|
---|
6468 | + return value;
|
---|
6469 | + }
|
---|
6470 | +
|
---|
6471 | + public static SensorStateT fromValue(String v) {
|
---|
6472 | + for (SensorStateT c: SensorStateT.values()) {
|
---|
6473 | + if (c.value.equals(v)) {
|
---|
6474 | + return c;
|
---|
6475 | + }
|
---|
6476 | + }
|
---|
6477 | + throw new IllegalArgumentException(v);
|
---|
6478 | + }
|
---|
6479 | +
|
---|
6480 | +}
|
---|
6481 | Index: src/org/openstreetmap/josm/io/tcx/SpeedT.java
|
---|
6482 | ===================================================================
|
---|
6483 | --- src/org/openstreetmap/josm/io/tcx/SpeedT.java (revision 0)
|
---|
6484 | +++ src/org/openstreetmap/josm/io/tcx/SpeedT.java (revision 0)
|
---|
6485 | @@ -0,0 +1,71 @@
|
---|
6486 | +//
|
---|
6487 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6488 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6489 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6490 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6491 | +//
|
---|
6492 | +
|
---|
6493 | +
|
---|
6494 | +package org.openstreetmap.josm.io.tcx;
|
---|
6495 | +
|
---|
6496 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6497 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6498 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6499 | +import javax.xml.bind.annotation.XmlType;
|
---|
6500 | +
|
---|
6501 | +
|
---|
6502 | +/**
|
---|
6503 | + * <p>Java class for Speed_t complex type.
|
---|
6504 | + *
|
---|
6505 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6506 | + *
|
---|
6507 | + * <pre>
|
---|
6508 | + * <complexType name="Speed_t">
|
---|
6509 | + * <complexContent>
|
---|
6510 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Target_t">
|
---|
6511 | + * <sequence>
|
---|
6512 | + * <element name="SpeedZone" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Zone_t"/>
|
---|
6513 | + * </sequence>
|
---|
6514 | + * </extension>
|
---|
6515 | + * </complexContent>
|
---|
6516 | + * </complexType>
|
---|
6517 | + * </pre>
|
---|
6518 | + *
|
---|
6519 | + *
|
---|
6520 | + */
|
---|
6521 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6522 | +@XmlType(name = "Speed_t", propOrder = {
|
---|
6523 | + "speedZone"
|
---|
6524 | +})
|
---|
6525 | +public class SpeedT
|
---|
6526 | + extends TargetT
|
---|
6527 | +{
|
---|
6528 | +
|
---|
6529 | + @XmlElement(name = "SpeedZone", required = true)
|
---|
6530 | + protected ZoneT speedZone;
|
---|
6531 | +
|
---|
6532 | + /**
|
---|
6533 | + * Gets the value of the speedZone property.
|
---|
6534 | + *
|
---|
6535 | + * @return
|
---|
6536 | + * possible object is
|
---|
6537 | + * {@link ZoneT }
|
---|
6538 | + *
|
---|
6539 | + */
|
---|
6540 | + public ZoneT getSpeedZone() {
|
---|
6541 | + return speedZone;
|
---|
6542 | + }
|
---|
6543 | +
|
---|
6544 | + /**
|
---|
6545 | + * Sets the value of the speedZone property.
|
---|
6546 | + *
|
---|
6547 | + * @param value
|
---|
6548 | + * allowed object is
|
---|
6549 | + * {@link ZoneT }
|
---|
6550 | + *
|
---|
6551 | + */
|
---|
6552 | + public void setSpeedZone(ZoneT value) {
|
---|
6553 | + this.speedZone = value;
|
---|
6554 | + }
|
---|
6555 | +
|
---|
6556 | +}
|
---|
6557 | Index: src/org/openstreetmap/josm/io/tcx/SpeedTypeT.java
|
---|
6558 | ===================================================================
|
---|
6559 | --- src/org/openstreetmap/josm/io/tcx/SpeedTypeT.java (revision 0)
|
---|
6560 | +++ src/org/openstreetmap/josm/io/tcx/SpeedTypeT.java (revision 0)
|
---|
6561 | @@ -0,0 +1,58 @@
|
---|
6562 | +//
|
---|
6563 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6564 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6565 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6566 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6567 | +//
|
---|
6568 | +
|
---|
6569 | +
|
---|
6570 | +package org.openstreetmap.josm.io.tcx;
|
---|
6571 | +
|
---|
6572 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
6573 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
6574 | +import javax.xml.bind.annotation.XmlType;
|
---|
6575 | +
|
---|
6576 | +
|
---|
6577 | +/**
|
---|
6578 | + * <p>Java class for SpeedType_t.
|
---|
6579 | + *
|
---|
6580 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6581 | + * <p>
|
---|
6582 | + * <pre>
|
---|
6583 | + * <simpleType name="SpeedType_t">
|
---|
6584 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
6585 | + * <enumeration value="Pace"/>
|
---|
6586 | + * <enumeration value="Speed"/>
|
---|
6587 | + * </restriction>
|
---|
6588 | + * </simpleType>
|
---|
6589 | + * </pre>
|
---|
6590 | + *
|
---|
6591 | + */
|
---|
6592 | +@XmlType(name = "SpeedType_t")
|
---|
6593 | +@XmlEnum
|
---|
6594 | +public enum SpeedTypeT {
|
---|
6595 | +
|
---|
6596 | + @XmlEnumValue("Pace")
|
---|
6597 | + PACE("Pace"),
|
---|
6598 | + @XmlEnumValue("Speed")
|
---|
6599 | + SPEED("Speed");
|
---|
6600 | + private final String value;
|
---|
6601 | +
|
---|
6602 | + SpeedTypeT(String v) {
|
---|
6603 | + value = v;
|
---|
6604 | + }
|
---|
6605 | +
|
---|
6606 | + public String value() {
|
---|
6607 | + return value;
|
---|
6608 | + }
|
---|
6609 | +
|
---|
6610 | + public static SpeedTypeT fromValue(String v) {
|
---|
6611 | + for (SpeedTypeT c: SpeedTypeT.values()) {
|
---|
6612 | + if (c.value.equals(v)) {
|
---|
6613 | + return c;
|
---|
6614 | + }
|
---|
6615 | + }
|
---|
6616 | + throw new IllegalArgumentException(v);
|
---|
6617 | + }
|
---|
6618 | +
|
---|
6619 | +}
|
---|
6620 | Index: src/org/openstreetmap/josm/io/tcx/SportT.java
|
---|
6621 | ===================================================================
|
---|
6622 | --- src/org/openstreetmap/josm/io/tcx/SportT.java (revision 0)
|
---|
6623 | +++ src/org/openstreetmap/josm/io/tcx/SportT.java (revision 0)
|
---|
6624 | @@ -0,0 +1,61 @@
|
---|
6625 | +//
|
---|
6626 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6627 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6628 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6629 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6630 | +//
|
---|
6631 | +
|
---|
6632 | +
|
---|
6633 | +package org.openstreetmap.josm.io.tcx;
|
---|
6634 | +
|
---|
6635 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
6636 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
6637 | +import javax.xml.bind.annotation.XmlType;
|
---|
6638 | +
|
---|
6639 | +
|
---|
6640 | +/**
|
---|
6641 | + * <p>Java class for Sport_t.
|
---|
6642 | + *
|
---|
6643 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6644 | + * <p>
|
---|
6645 | + * <pre>
|
---|
6646 | + * <simpleType name="Sport_t">
|
---|
6647 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
6648 | + * <enumeration value="Running"/>
|
---|
6649 | + * <enumeration value="Biking"/>
|
---|
6650 | + * <enumeration value="Other"/>
|
---|
6651 | + * </restriction>
|
---|
6652 | + * </simpleType>
|
---|
6653 | + * </pre>
|
---|
6654 | + *
|
---|
6655 | + */
|
---|
6656 | +@XmlType(name = "Sport_t")
|
---|
6657 | +@XmlEnum
|
---|
6658 | +public enum SportT {
|
---|
6659 | +
|
---|
6660 | + @XmlEnumValue("Running")
|
---|
6661 | + RUNNING("Running"),
|
---|
6662 | + @XmlEnumValue("Biking")
|
---|
6663 | + BIKING("Biking"),
|
---|
6664 | + @XmlEnumValue("Other")
|
---|
6665 | + OTHER("Other");
|
---|
6666 | + private final String value;
|
---|
6667 | +
|
---|
6668 | + SportT(String v) {
|
---|
6669 | + value = v;
|
---|
6670 | + }
|
---|
6671 | +
|
---|
6672 | + public String value() {
|
---|
6673 | + return value;
|
---|
6674 | + }
|
---|
6675 | +
|
---|
6676 | + public static SportT fromValue(String v) {
|
---|
6677 | + for (SportT c: SportT.values()) {
|
---|
6678 | + if (c.value.equals(v)) {
|
---|
6679 | + return c;
|
---|
6680 | + }
|
---|
6681 | + }
|
---|
6682 | + throw new IllegalArgumentException(v);
|
---|
6683 | + }
|
---|
6684 | +
|
---|
6685 | +}
|
---|
6686 | Index: src/org/openstreetmap/josm/io/tcx/StepT.java
|
---|
6687 | ===================================================================
|
---|
6688 | --- src/org/openstreetmap/josm/io/tcx/StepT.java (revision 0)
|
---|
6689 | +++ src/org/openstreetmap/josm/io/tcx/StepT.java (revision 0)
|
---|
6690 | @@ -0,0 +1,158 @@
|
---|
6691 | +//
|
---|
6692 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6693 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6694 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6695 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6696 | +//
|
---|
6697 | +
|
---|
6698 | +
|
---|
6699 | +package org.openstreetmap.josm.io.tcx;
|
---|
6700 | +
|
---|
6701 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6702 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6703 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6704 | +import javax.xml.bind.annotation.XmlType;
|
---|
6705 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
6706 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
6707 | +
|
---|
6708 | +
|
---|
6709 | +/**
|
---|
6710 | + * <p>Java class for Step_t complex type.
|
---|
6711 | + *
|
---|
6712 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6713 | + *
|
---|
6714 | + * <pre>
|
---|
6715 | + * <complexType name="Step_t">
|
---|
6716 | + * <complexContent>
|
---|
6717 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t">
|
---|
6718 | + * <sequence>
|
---|
6719 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t" minOccurs="0"/>
|
---|
6720 | + * <element name="Duration" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t"/>
|
---|
6721 | + * <element name="Intensity" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Intensity_t"/>
|
---|
6722 | + * <element name="Target" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Target_t"/>
|
---|
6723 | + * </sequence>
|
---|
6724 | + * </extension>
|
---|
6725 | + * </complexContent>
|
---|
6726 | + * </complexType>
|
---|
6727 | + * </pre>
|
---|
6728 | + *
|
---|
6729 | + *
|
---|
6730 | + */
|
---|
6731 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6732 | +@XmlType(name = "Step_t", propOrder = {
|
---|
6733 | + "name",
|
---|
6734 | + "duration",
|
---|
6735 | + "intensity",
|
---|
6736 | + "target"
|
---|
6737 | +})
|
---|
6738 | +public class StepT
|
---|
6739 | + extends AbstractStepT
|
---|
6740 | +{
|
---|
6741 | +
|
---|
6742 | + @XmlElement(name = "Name")
|
---|
6743 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
6744 | + protected String name;
|
---|
6745 | + @XmlElement(name = "Duration", required = true)
|
---|
6746 | + protected DurationT duration;
|
---|
6747 | + @XmlElement(name = "Intensity", required = true)
|
---|
6748 | + protected IntensityT intensity;
|
---|
6749 | + @XmlElement(name = "Target", required = true)
|
---|
6750 | + protected TargetT target;
|
---|
6751 | +
|
---|
6752 | + /**
|
---|
6753 | + * Gets the value of the name property.
|
---|
6754 | + *
|
---|
6755 | + * @return
|
---|
6756 | + * possible object is
|
---|
6757 | + * {@link String }
|
---|
6758 | + *
|
---|
6759 | + */
|
---|
6760 | + public String getName() {
|
---|
6761 | + return name;
|
---|
6762 | + }
|
---|
6763 | +
|
---|
6764 | + /**
|
---|
6765 | + * Sets the value of the name property.
|
---|
6766 | + *
|
---|
6767 | + * @param value
|
---|
6768 | + * allowed object is
|
---|
6769 | + * {@link String }
|
---|
6770 | + *
|
---|
6771 | + */
|
---|
6772 | + public void setName(String value) {
|
---|
6773 | + this.name = value;
|
---|
6774 | + }
|
---|
6775 | +
|
---|
6776 | + /**
|
---|
6777 | + * Gets the value of the duration property.
|
---|
6778 | + *
|
---|
6779 | + * @return
|
---|
6780 | + * possible object is
|
---|
6781 | + * {@link DurationT }
|
---|
6782 | + *
|
---|
6783 | + */
|
---|
6784 | + public DurationT getDuration() {
|
---|
6785 | + return duration;
|
---|
6786 | + }
|
---|
6787 | +
|
---|
6788 | + /**
|
---|
6789 | + * Sets the value of the duration property.
|
---|
6790 | + *
|
---|
6791 | + * @param value
|
---|
6792 | + * allowed object is
|
---|
6793 | + * {@link DurationT }
|
---|
6794 | + *
|
---|
6795 | + */
|
---|
6796 | + public void setDuration(DurationT value) {
|
---|
6797 | + this.duration = value;
|
---|
6798 | + }
|
---|
6799 | +
|
---|
6800 | + /**
|
---|
6801 | + * Gets the value of the intensity property.
|
---|
6802 | + *
|
---|
6803 | + * @return
|
---|
6804 | + * possible object is
|
---|
6805 | + * {@link IntensityT }
|
---|
6806 | + *
|
---|
6807 | + */
|
---|
6808 | + public IntensityT getIntensity() {
|
---|
6809 | + return intensity;
|
---|
6810 | + }
|
---|
6811 | +
|
---|
6812 | + /**
|
---|
6813 | + * Sets the value of the intensity property.
|
---|
6814 | + *
|
---|
6815 | + * @param value
|
---|
6816 | + * allowed object is
|
---|
6817 | + * {@link IntensityT }
|
---|
6818 | + *
|
---|
6819 | + */
|
---|
6820 | + public void setIntensity(IntensityT value) {
|
---|
6821 | + this.intensity = value;
|
---|
6822 | + }
|
---|
6823 | +
|
---|
6824 | + /**
|
---|
6825 | + * Gets the value of the target property.
|
---|
6826 | + *
|
---|
6827 | + * @return
|
---|
6828 | + * possible object is
|
---|
6829 | + * {@link TargetT }
|
---|
6830 | + *
|
---|
6831 | + */
|
---|
6832 | + public TargetT getTarget() {
|
---|
6833 | + return target;
|
---|
6834 | + }
|
---|
6835 | +
|
---|
6836 | + /**
|
---|
6837 | + * Sets the value of the target property.
|
---|
6838 | + *
|
---|
6839 | + * @param value
|
---|
6840 | + * allowed object is
|
---|
6841 | + * {@link TargetT }
|
---|
6842 | + *
|
---|
6843 | + */
|
---|
6844 | + public void setTarget(TargetT value) {
|
---|
6845 | + this.target = value;
|
---|
6846 | + }
|
---|
6847 | +
|
---|
6848 | +}
|
---|
6849 | Index: src/org/openstreetmap/josm/io/tcx/TargetT.java
|
---|
6850 | ===================================================================
|
---|
6851 | --- src/org/openstreetmap/josm/io/tcx/TargetT.java (revision 0)
|
---|
6852 | +++ src/org/openstreetmap/josm/io/tcx/TargetT.java (revision 0)
|
---|
6853 | @@ -0,0 +1,44 @@
|
---|
6854 | +//
|
---|
6855 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6856 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6857 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6858 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6859 | +//
|
---|
6860 | +
|
---|
6861 | +
|
---|
6862 | +package org.openstreetmap.josm.io.tcx;
|
---|
6863 | +
|
---|
6864 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6865 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6866 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
6867 | +import javax.xml.bind.annotation.XmlType;
|
---|
6868 | +
|
---|
6869 | +
|
---|
6870 | +/**
|
---|
6871 | + * <p>Java class for Target_t complex type.
|
---|
6872 | + *
|
---|
6873 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6874 | + *
|
---|
6875 | + * <pre>
|
---|
6876 | + * <complexType name="Target_t">
|
---|
6877 | + * <complexContent>
|
---|
6878 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
6879 | + * </restriction>
|
---|
6880 | + * </complexContent>
|
---|
6881 | + * </complexType>
|
---|
6882 | + * </pre>
|
---|
6883 | + *
|
---|
6884 | + *
|
---|
6885 | + */
|
---|
6886 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6887 | +@XmlType(name = "Target_t")
|
---|
6888 | +@XmlSeeAlso({
|
---|
6889 | + NoneT.class,
|
---|
6890 | + HeartRateT.class,
|
---|
6891 | + CadenceT.class,
|
---|
6892 | + SpeedT.class
|
---|
6893 | +})
|
---|
6894 | +public abstract class TargetT {
|
---|
6895 | +
|
---|
6896 | +
|
---|
6897 | +}
|
---|
6898 | Index: src/org/openstreetmap/josm/io/tcx/TimeT.java
|
---|
6899 | ===================================================================
|
---|
6900 | --- src/org/openstreetmap/josm/io/tcx/TimeT.java (revision 0)
|
---|
6901 | +++ src/org/openstreetmap/josm/io/tcx/TimeT.java (revision 0)
|
---|
6902 | @@ -0,0 +1,65 @@
|
---|
6903 | +//
|
---|
6904 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6905 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6906 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6907 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6908 | +//
|
---|
6909 | +
|
---|
6910 | +
|
---|
6911 | +package org.openstreetmap.josm.io.tcx;
|
---|
6912 | +
|
---|
6913 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6914 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6915 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6916 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
6917 | +import javax.xml.bind.annotation.XmlType;
|
---|
6918 | +
|
---|
6919 | +
|
---|
6920 | +/**
|
---|
6921 | + * <p>Java class for Time_t complex type.
|
---|
6922 | + *
|
---|
6923 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6924 | + *
|
---|
6925 | + * <pre>
|
---|
6926 | + * <complexType name="Time_t">
|
---|
6927 | + * <complexContent>
|
---|
6928 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
6929 | + * <sequence>
|
---|
6930 | + * <element name="Seconds" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
6931 | + * </sequence>
|
---|
6932 | + * </extension>
|
---|
6933 | + * </complexContent>
|
---|
6934 | + * </complexType>
|
---|
6935 | + * </pre>
|
---|
6936 | + *
|
---|
6937 | + *
|
---|
6938 | + */
|
---|
6939 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
6940 | +@XmlType(name = "Time_t", propOrder = {
|
---|
6941 | + "seconds"
|
---|
6942 | +})
|
---|
6943 | +public class TimeT
|
---|
6944 | + extends DurationT
|
---|
6945 | +{
|
---|
6946 | +
|
---|
6947 | + @XmlElement(name = "Seconds")
|
---|
6948 | + @XmlSchemaType(name = "unsignedShort")
|
---|
6949 | + protected int seconds;
|
---|
6950 | +
|
---|
6951 | + /**
|
---|
6952 | + * Gets the value of the seconds property.
|
---|
6953 | + *
|
---|
6954 | + */
|
---|
6955 | + public int getSeconds() {
|
---|
6956 | + return seconds;
|
---|
6957 | + }
|
---|
6958 | +
|
---|
6959 | + /**
|
---|
6960 | + * Sets the value of the seconds property.
|
---|
6961 | + *
|
---|
6962 | + */
|
---|
6963 | + public void setSeconds(int value) {
|
---|
6964 | + this.seconds = value;
|
---|
6965 | + }
|
---|
6966 | +
|
---|
6967 | +}
|
---|
6968 | Index: src/org/openstreetmap/josm/io/tcx/TrackT.java
|
---|
6969 | ===================================================================
|
---|
6970 | --- src/org/openstreetmap/josm/io/tcx/TrackT.java (revision 0)
|
---|
6971 | +++ src/org/openstreetmap/josm/io/tcx/TrackT.java (revision 0)
|
---|
6972 | @@ -0,0 +1,76 @@
|
---|
6973 | +//
|
---|
6974 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
6975 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
6976 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
6977 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
6978 | +//
|
---|
6979 | +
|
---|
6980 | +
|
---|
6981 | +package org.openstreetmap.josm.io.tcx;
|
---|
6982 | +
|
---|
6983 | +import java.util.ArrayList;
|
---|
6984 | +import java.util.List;
|
---|
6985 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
6986 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
6987 | +import javax.xml.bind.annotation.XmlElement;
|
---|
6988 | +import javax.xml.bind.annotation.XmlType;
|
---|
6989 | +
|
---|
6990 | +
|
---|
6991 | +/**
|
---|
6992 | + * <p>Java class for Track_t complex type.
|
---|
6993 | + *
|
---|
6994 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
6995 | + *
|
---|
6996 | + * <pre>
|
---|
6997 | + * <complexType name="Track_t">
|
---|
6998 | + * <complexContent>
|
---|
6999 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
7000 | + * <sequence>
|
---|
7001 | + * <element name="Trackpoint" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Trackpoint_t" maxOccurs="unbounded"/>
|
---|
7002 | + * </sequence>
|
---|
7003 | + * </restriction>
|
---|
7004 | + * </complexContent>
|
---|
7005 | + * </complexType>
|
---|
7006 | + * </pre>
|
---|
7007 | + *
|
---|
7008 | + *
|
---|
7009 | + */
|
---|
7010 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7011 | +@XmlType(name = "Track_t", propOrder = {
|
---|
7012 | + "trackpoint"
|
---|
7013 | +})
|
---|
7014 | +public class TrackT {
|
---|
7015 | +
|
---|
7016 | + @XmlElement(name = "Trackpoint", required = true)
|
---|
7017 | + protected List<TrackpointT> trackpoint;
|
---|
7018 | +
|
---|
7019 | + /**
|
---|
7020 | + * Gets the value of the trackpoint property.
|
---|
7021 | + *
|
---|
7022 | + * <p>
|
---|
7023 | + * This accessor method returns a reference to the live list,
|
---|
7024 | + * not a snapshot. Therefore any modification you make to the
|
---|
7025 | + * returned list will be present inside the JAXB object.
|
---|
7026 | + * This is why there is not a <CODE>set</CODE> method for the trackpoint property.
|
---|
7027 | + *
|
---|
7028 | + * <p>
|
---|
7029 | + * For example, to add a new item, do as follows:
|
---|
7030 | + * <pre>
|
---|
7031 | + * getTrackpoint().add(newItem);
|
---|
7032 | + * </pre>
|
---|
7033 | + *
|
---|
7034 | + *
|
---|
7035 | + * <p>
|
---|
7036 | + * Objects of the following type(s) are allowed in the list
|
---|
7037 | + * {@link TrackpointT }
|
---|
7038 | + *
|
---|
7039 | + *
|
---|
7040 | + */
|
---|
7041 | + public List<TrackpointT> getTrackpoint() {
|
---|
7042 | + if (trackpoint == null) {
|
---|
7043 | + trackpoint = new ArrayList<TrackpointT>();
|
---|
7044 | + }
|
---|
7045 | + return this.trackpoint;
|
---|
7046 | + }
|
---|
7047 | +
|
---|
7048 | +}
|
---|
7049 | Index: src/org/openstreetmap/josm/io/tcx/TrackpointT.java
|
---|
7050 | ===================================================================
|
---|
7051 | --- src/org/openstreetmap/josm/io/tcx/TrackpointT.java (revision 0)
|
---|
7052 | +++ src/org/openstreetmap/josm/io/tcx/TrackpointT.java (revision 0)
|
---|
7053 | @@ -0,0 +1,268 @@
|
---|
7054 | +//
|
---|
7055 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7056 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7057 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7058 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7059 | +//
|
---|
7060 | +
|
---|
7061 | +
|
---|
7062 | +package org.openstreetmap.josm.io.tcx;
|
---|
7063 | +
|
---|
7064 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
7065 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
7066 | +import javax.xml.bind.annotation.XmlElement;
|
---|
7067 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
7068 | +import javax.xml.bind.annotation.XmlType;
|
---|
7069 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
7070 | +
|
---|
7071 | +
|
---|
7072 | +/**
|
---|
7073 | + * <p>Java class for Trackpoint_t complex type.
|
---|
7074 | + *
|
---|
7075 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7076 | + *
|
---|
7077 | + * <pre>
|
---|
7078 | + * <complexType name="Trackpoint_t">
|
---|
7079 | + * <complexContent>
|
---|
7080 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
7081 | + * <sequence>
|
---|
7082 | + * <element name="Time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
---|
7083 | + * <element name="Position" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Position_t" minOccurs="0"/>
|
---|
7084 | + * <element name="AltitudeMeters" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
7085 | + * <element name="DistanceMeters" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
|
---|
7086 | + * <element name="HeartRateBpm" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}HeartRateInBeatsPerMinute_t" minOccurs="0"/>
|
---|
7087 | + * <element name="Cadence" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CadenceValue_t" minOccurs="0"/>
|
---|
7088 | + * <element name="SensorState" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}SensorState_t" minOccurs="0"/>
|
---|
7089 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
7090 | + * </sequence>
|
---|
7091 | + * </restriction>
|
---|
7092 | + * </complexContent>
|
---|
7093 | + * </complexType>
|
---|
7094 | + * </pre>
|
---|
7095 | + *
|
---|
7096 | + *
|
---|
7097 | + */
|
---|
7098 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7099 | +@XmlType(name = "Trackpoint_t", propOrder = {
|
---|
7100 | + "time",
|
---|
7101 | + "position",
|
---|
7102 | + "altitudeMeters",
|
---|
7103 | + "distanceMeters",
|
---|
7104 | + "heartRateBpm",
|
---|
7105 | + "cadence",
|
---|
7106 | + "sensorState",
|
---|
7107 | + "extensions"
|
---|
7108 | +})
|
---|
7109 | +public class TrackpointT {
|
---|
7110 | +
|
---|
7111 | + @XmlElement(name = "Time", required = true)
|
---|
7112 | + @XmlSchemaType(name = "dateTime")
|
---|
7113 | + protected XMLGregorianCalendar time;
|
---|
7114 | + @XmlElement(name = "Position")
|
---|
7115 | + protected PositionT position;
|
---|
7116 | + @XmlElement(name = "AltitudeMeters")
|
---|
7117 | + protected Double altitudeMeters;
|
---|
7118 | + @XmlElement(name = "DistanceMeters")
|
---|
7119 | + protected Double distanceMeters;
|
---|
7120 | + @XmlElement(name = "HeartRateBpm")
|
---|
7121 | + protected HeartRateInBeatsPerMinuteT heartRateBpm;
|
---|
7122 | + @XmlElement(name = "Cadence")
|
---|
7123 | + protected Short cadence;
|
---|
7124 | + @XmlElement(name = "SensorState")
|
---|
7125 | + protected SensorStateT sensorState;
|
---|
7126 | + @XmlElement(name = "Extensions")
|
---|
7127 | + protected ExtensionsT extensions;
|
---|
7128 | +
|
---|
7129 | + /**
|
---|
7130 | + * Gets the value of the time property.
|
---|
7131 | + *
|
---|
7132 | + * @return
|
---|
7133 | + * possible object is
|
---|
7134 | + * {@link XMLGregorianCalendar }
|
---|
7135 | + *
|
---|
7136 | + */
|
---|
7137 | + public XMLGregorianCalendar getTime() {
|
---|
7138 | + return time;
|
---|
7139 | + }
|
---|
7140 | +
|
---|
7141 | + /**
|
---|
7142 | + * Sets the value of the time property.
|
---|
7143 | + *
|
---|
7144 | + * @param value
|
---|
7145 | + * allowed object is
|
---|
7146 | + * {@link XMLGregorianCalendar }
|
---|
7147 | + *
|
---|
7148 | + */
|
---|
7149 | + public void setTime(XMLGregorianCalendar value) {
|
---|
7150 | + this.time = value;
|
---|
7151 | + }
|
---|
7152 | +
|
---|
7153 | + /**
|
---|
7154 | + * Gets the value of the position property.
|
---|
7155 | + *
|
---|
7156 | + * @return
|
---|
7157 | + * possible object is
|
---|
7158 | + * {@link PositionT }
|
---|
7159 | + *
|
---|
7160 | + */
|
---|
7161 | + public PositionT getPosition() {
|
---|
7162 | + return position;
|
---|
7163 | + }
|
---|
7164 | +
|
---|
7165 | + /**
|
---|
7166 | + * Sets the value of the position property.
|
---|
7167 | + *
|
---|
7168 | + * @param value
|
---|
7169 | + * allowed object is
|
---|
7170 | + * {@link PositionT }
|
---|
7171 | + *
|
---|
7172 | + */
|
---|
7173 | + public void setPosition(PositionT value) {
|
---|
7174 | + this.position = value;
|
---|
7175 | + }
|
---|
7176 | +
|
---|
7177 | + /**
|
---|
7178 | + * Gets the value of the altitudeMeters property.
|
---|
7179 | + *
|
---|
7180 | + * @return
|
---|
7181 | + * possible object is
|
---|
7182 | + * {@link Double }
|
---|
7183 | + *
|
---|
7184 | + */
|
---|
7185 | + public Double getAltitudeMeters() {
|
---|
7186 | + return altitudeMeters;
|
---|
7187 | + }
|
---|
7188 | +
|
---|
7189 | + /**
|
---|
7190 | + * Sets the value of the altitudeMeters property.
|
---|
7191 | + *
|
---|
7192 | + * @param value
|
---|
7193 | + * allowed object is
|
---|
7194 | + * {@link Double }
|
---|
7195 | + *
|
---|
7196 | + */
|
---|
7197 | + public void setAltitudeMeters(Double value) {
|
---|
7198 | + this.altitudeMeters = value;
|
---|
7199 | + }
|
---|
7200 | +
|
---|
7201 | + /**
|
---|
7202 | + * Gets the value of the distanceMeters property.
|
---|
7203 | + *
|
---|
7204 | + * @return
|
---|
7205 | + * possible object is
|
---|
7206 | + * {@link Double }
|
---|
7207 | + *
|
---|
7208 | + */
|
---|
7209 | + public Double getDistanceMeters() {
|
---|
7210 | + return distanceMeters;
|
---|
7211 | + }
|
---|
7212 | +
|
---|
7213 | + /**
|
---|
7214 | + * Sets the value of the distanceMeters property.
|
---|
7215 | + *
|
---|
7216 | + * @param value
|
---|
7217 | + * allowed object is
|
---|
7218 | + * {@link Double }
|
---|
7219 | + *
|
---|
7220 | + */
|
---|
7221 | + public void setDistanceMeters(Double value) {
|
---|
7222 | + this.distanceMeters = value;
|
---|
7223 | + }
|
---|
7224 | +
|
---|
7225 | + /**
|
---|
7226 | + * Gets the value of the heartRateBpm property.
|
---|
7227 | + *
|
---|
7228 | + * @return
|
---|
7229 | + * possible object is
|
---|
7230 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
7231 | + *
|
---|
7232 | + */
|
---|
7233 | + public HeartRateInBeatsPerMinuteT getHeartRateBpm() {
|
---|
7234 | + return heartRateBpm;
|
---|
7235 | + }
|
---|
7236 | +
|
---|
7237 | + /**
|
---|
7238 | + * Sets the value of the heartRateBpm property.
|
---|
7239 | + *
|
---|
7240 | + * @param value
|
---|
7241 | + * allowed object is
|
---|
7242 | + * {@link HeartRateInBeatsPerMinuteT }
|
---|
7243 | + *
|
---|
7244 | + */
|
---|
7245 | + public void setHeartRateBpm(HeartRateInBeatsPerMinuteT value) {
|
---|
7246 | + this.heartRateBpm = value;
|
---|
7247 | + }
|
---|
7248 | +
|
---|
7249 | + /**
|
---|
7250 | + * Gets the value of the cadence property.
|
---|
7251 | + *
|
---|
7252 | + * @return
|
---|
7253 | + * possible object is
|
---|
7254 | + * {@link Short }
|
---|
7255 | + *
|
---|
7256 | + */
|
---|
7257 | + public Short getCadence() {
|
---|
7258 | + return cadence;
|
---|
7259 | + }
|
---|
7260 | +
|
---|
7261 | + /**
|
---|
7262 | + * Sets the value of the cadence property.
|
---|
7263 | + *
|
---|
7264 | + * @param value
|
---|
7265 | + * allowed object is
|
---|
7266 | + * {@link Short }
|
---|
7267 | + *
|
---|
7268 | + */
|
---|
7269 | + public void setCadence(Short value) {
|
---|
7270 | + this.cadence = value;
|
---|
7271 | + }
|
---|
7272 | +
|
---|
7273 | + /**
|
---|
7274 | + * Gets the value of the sensorState property.
|
---|
7275 | + *
|
---|
7276 | + * @return
|
---|
7277 | + * possible object is
|
---|
7278 | + * {@link SensorStateT }
|
---|
7279 | + *
|
---|
7280 | + */
|
---|
7281 | + public SensorStateT getSensorState() {
|
---|
7282 | + return sensorState;
|
---|
7283 | + }
|
---|
7284 | +
|
---|
7285 | + /**
|
---|
7286 | + * Sets the value of the sensorState property.
|
---|
7287 | + *
|
---|
7288 | + * @param value
|
---|
7289 | + * allowed object is
|
---|
7290 | + * {@link SensorStateT }
|
---|
7291 | + *
|
---|
7292 | + */
|
---|
7293 | + public void setSensorState(SensorStateT value) {
|
---|
7294 | + this.sensorState = value;
|
---|
7295 | + }
|
---|
7296 | +
|
---|
7297 | + /**
|
---|
7298 | + * Gets the value of the extensions property.
|
---|
7299 | + *
|
---|
7300 | + * @return
|
---|
7301 | + * possible object is
|
---|
7302 | + * {@link ExtensionsT }
|
---|
7303 | + *
|
---|
7304 | + */
|
---|
7305 | + public ExtensionsT getExtensions() {
|
---|
7306 | + return extensions;
|
---|
7307 | + }
|
---|
7308 | +
|
---|
7309 | + /**
|
---|
7310 | + * Sets the value of the extensions property.
|
---|
7311 | + *
|
---|
7312 | + * @param value
|
---|
7313 | + * allowed object is
|
---|
7314 | + * {@link ExtensionsT }
|
---|
7315 | + *
|
---|
7316 | + */
|
---|
7317 | + public void setExtensions(ExtensionsT value) {
|
---|
7318 | + this.extensions = value;
|
---|
7319 | + }
|
---|
7320 | +
|
---|
7321 | +}
|
---|
7322 | Index: src/org/openstreetmap/josm/io/tcx/TrainingCenterDatabaseT.java
|
---|
7323 | ===================================================================
|
---|
7324 | --- src/org/openstreetmap/josm/io/tcx/TrainingCenterDatabaseT.java (revision 0)
|
---|
7325 | +++ src/org/openstreetmap/josm/io/tcx/TrainingCenterDatabaseT.java (revision 0)
|
---|
7326 | @@ -0,0 +1,209 @@
|
---|
7327 | +//
|
---|
7328 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7329 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7330 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7331 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7332 | +//
|
---|
7333 | +
|
---|
7334 | +
|
---|
7335 | +package org.openstreetmap.josm.io.tcx;
|
---|
7336 | +
|
---|
7337 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
7338 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
7339 | +import javax.xml.bind.annotation.XmlElement;
|
---|
7340 | +import javax.xml.bind.annotation.XmlType;
|
---|
7341 | +
|
---|
7342 | +
|
---|
7343 | +/**
|
---|
7344 | + * <p>Java class for TrainingCenterDatabase_t complex type.
|
---|
7345 | + *
|
---|
7346 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7347 | + *
|
---|
7348 | + * <pre>
|
---|
7349 | + * <complexType name="TrainingCenterDatabase_t">
|
---|
7350 | + * <complexContent>
|
---|
7351 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
7352 | + * <sequence>
|
---|
7353 | + * <element name="Folders" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Folders_t" minOccurs="0"/>
|
---|
7354 | + * <element name="Activities" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}ActivityList_t" minOccurs="0"/>
|
---|
7355 | + * <element name="Workouts" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}WorkoutList_t" minOccurs="0"/>
|
---|
7356 | + * <element name="Courses" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}CourseList_t" minOccurs="0"/>
|
---|
7357 | + * <element name="Author" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t" minOccurs="0"/>
|
---|
7358 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
7359 | + * </sequence>
|
---|
7360 | + * </restriction>
|
---|
7361 | + * </complexContent>
|
---|
7362 | + * </complexType>
|
---|
7363 | + * </pre>
|
---|
7364 | + *
|
---|
7365 | + *
|
---|
7366 | + */
|
---|
7367 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7368 | +@XmlType(name = "TrainingCenterDatabase_t", propOrder = {
|
---|
7369 | + "folders",
|
---|
7370 | + "activities",
|
---|
7371 | + "workouts",
|
---|
7372 | + "courses",
|
---|
7373 | + "author",
|
---|
7374 | + "extensions"
|
---|
7375 | +})
|
---|
7376 | +public class TrainingCenterDatabaseT {
|
---|
7377 | +
|
---|
7378 | + @XmlElement(name = "Folders")
|
---|
7379 | + protected FoldersT folders;
|
---|
7380 | + @XmlElement(name = "Activities")
|
---|
7381 | + protected ActivityListT activities;
|
---|
7382 | + @XmlElement(name = "Workouts")
|
---|
7383 | + protected WorkoutListT workouts;
|
---|
7384 | + @XmlElement(name = "Courses")
|
---|
7385 | + protected CourseListT courses;
|
---|
7386 | + @XmlElement(name = "Author")
|
---|
7387 | + protected AbstractSourceT author;
|
---|
7388 | + @XmlElement(name = "Extensions")
|
---|
7389 | + protected ExtensionsT extensions;
|
---|
7390 | +
|
---|
7391 | + /**
|
---|
7392 | + * Gets the value of the folders property.
|
---|
7393 | + *
|
---|
7394 | + * @return
|
---|
7395 | + * possible object is
|
---|
7396 | + * {@link FoldersT }
|
---|
7397 | + *
|
---|
7398 | + */
|
---|
7399 | + public FoldersT getFolders() {
|
---|
7400 | + return folders;
|
---|
7401 | + }
|
---|
7402 | +
|
---|
7403 | + /**
|
---|
7404 | + * Sets the value of the folders property.
|
---|
7405 | + *
|
---|
7406 | + * @param value
|
---|
7407 | + * allowed object is
|
---|
7408 | + * {@link FoldersT }
|
---|
7409 | + *
|
---|
7410 | + */
|
---|
7411 | + public void setFolders(FoldersT value) {
|
---|
7412 | + this.folders = value;
|
---|
7413 | + }
|
---|
7414 | +
|
---|
7415 | + /**
|
---|
7416 | + * Gets the value of the activities property.
|
---|
7417 | + *
|
---|
7418 | + * @return
|
---|
7419 | + * possible object is
|
---|
7420 | + * {@link ActivityListT }
|
---|
7421 | + *
|
---|
7422 | + */
|
---|
7423 | + public ActivityListT getActivities() {
|
---|
7424 | + return activities;
|
---|
7425 | + }
|
---|
7426 | +
|
---|
7427 | + /**
|
---|
7428 | + * Sets the value of the activities property.
|
---|
7429 | + *
|
---|
7430 | + * @param value
|
---|
7431 | + * allowed object is
|
---|
7432 | + * {@link ActivityListT }
|
---|
7433 | + *
|
---|
7434 | + */
|
---|
7435 | + public void setActivities(ActivityListT value) {
|
---|
7436 | + this.activities = value;
|
---|
7437 | + }
|
---|
7438 | +
|
---|
7439 | + /**
|
---|
7440 | + * Gets the value of the workouts property.
|
---|
7441 | + *
|
---|
7442 | + * @return
|
---|
7443 | + * possible object is
|
---|
7444 | + * {@link WorkoutListT }
|
---|
7445 | + *
|
---|
7446 | + */
|
---|
7447 | + public WorkoutListT getWorkouts() {
|
---|
7448 | + return workouts;
|
---|
7449 | + }
|
---|
7450 | +
|
---|
7451 | + /**
|
---|
7452 | + * Sets the value of the workouts property.
|
---|
7453 | + *
|
---|
7454 | + * @param value
|
---|
7455 | + * allowed object is
|
---|
7456 | + * {@link WorkoutListT }
|
---|
7457 | + *
|
---|
7458 | + */
|
---|
7459 | + public void setWorkouts(WorkoutListT value) {
|
---|
7460 | + this.workouts = value;
|
---|
7461 | + }
|
---|
7462 | +
|
---|
7463 | + /**
|
---|
7464 | + * Gets the value of the courses property.
|
---|
7465 | + *
|
---|
7466 | + * @return
|
---|
7467 | + * possible object is
|
---|
7468 | + * {@link CourseListT }
|
---|
7469 | + *
|
---|
7470 | + */
|
---|
7471 | + public CourseListT getCourses() {
|
---|
7472 | + return courses;
|
---|
7473 | + }
|
---|
7474 | +
|
---|
7475 | + /**
|
---|
7476 | + * Sets the value of the courses property.
|
---|
7477 | + *
|
---|
7478 | + * @param value
|
---|
7479 | + * allowed object is
|
---|
7480 | + * {@link CourseListT }
|
---|
7481 | + *
|
---|
7482 | + */
|
---|
7483 | + public void setCourses(CourseListT value) {
|
---|
7484 | + this.courses = value;
|
---|
7485 | + }
|
---|
7486 | +
|
---|
7487 | + /**
|
---|
7488 | + * Gets the value of the author property.
|
---|
7489 | + *
|
---|
7490 | + * @return
|
---|
7491 | + * possible object is
|
---|
7492 | + * {@link AbstractSourceT }
|
---|
7493 | + *
|
---|
7494 | + */
|
---|
7495 | + public AbstractSourceT getAuthor() {
|
---|
7496 | + return author;
|
---|
7497 | + }
|
---|
7498 | +
|
---|
7499 | + /**
|
---|
7500 | + * Sets the value of the author property.
|
---|
7501 | + *
|
---|
7502 | + * @param value
|
---|
7503 | + * allowed object is
|
---|
7504 | + * {@link AbstractSourceT }
|
---|
7505 | + *
|
---|
7506 | + */
|
---|
7507 | + public void setAuthor(AbstractSourceT value) {
|
---|
7508 | + this.author = value;
|
---|
7509 | + }
|
---|
7510 | +
|
---|
7511 | + /**
|
---|
7512 | + * Gets the value of the extensions property.
|
---|
7513 | + *
|
---|
7514 | + * @return
|
---|
7515 | + * possible object is
|
---|
7516 | + * {@link ExtensionsT }
|
---|
7517 | + *
|
---|
7518 | + */
|
---|
7519 | + public ExtensionsT getExtensions() {
|
---|
7520 | + return extensions;
|
---|
7521 | + }
|
---|
7522 | +
|
---|
7523 | + /**
|
---|
7524 | + * Sets the value of the extensions property.
|
---|
7525 | + *
|
---|
7526 | + * @param value
|
---|
7527 | + * allowed object is
|
---|
7528 | + * {@link ExtensionsT }
|
---|
7529 | + *
|
---|
7530 | + */
|
---|
7531 | + public void setExtensions(ExtensionsT value) {
|
---|
7532 | + this.extensions = value;
|
---|
7533 | + }
|
---|
7534 | +
|
---|
7535 | +}
|
---|
7536 | Index: src/org/openstreetmap/josm/io/tcx/TrainingT.java
|
---|
7537 | ===================================================================
|
---|
7538 | --- src/org/openstreetmap/josm/io/tcx/TrainingT.java (revision 0)
|
---|
7539 | +++ src/org/openstreetmap/josm/io/tcx/TrainingT.java (revision 0)
|
---|
7540 | @@ -0,0 +1,117 @@
|
---|
7541 | +//
|
---|
7542 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7543 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7544 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7545 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7546 | +//
|
---|
7547 | +
|
---|
7548 | +
|
---|
7549 | +package org.openstreetmap.josm.io.tcx;
|
---|
7550 | +
|
---|
7551 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
7552 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
7553 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
7554 | +import javax.xml.bind.annotation.XmlElement;
|
---|
7555 | +import javax.xml.bind.annotation.XmlType;
|
---|
7556 | +
|
---|
7557 | +
|
---|
7558 | +/**
|
---|
7559 | + * <p>Java class for Training_t complex type.
|
---|
7560 | + *
|
---|
7561 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7562 | + *
|
---|
7563 | + * <pre>
|
---|
7564 | + * <complexType name="Training_t">
|
---|
7565 | + * <complexContent>
|
---|
7566 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
7567 | + * <sequence>
|
---|
7568 | + * <element name="QuickWorkoutResults" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}QuickWorkout_t" minOccurs="0"/>
|
---|
7569 | + * <element name="Plan" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Plan_t" minOccurs="0"/>
|
---|
7570 | + * </sequence>
|
---|
7571 | + * <attribute name="VirtualPartner" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
---|
7572 | + * </restriction>
|
---|
7573 | + * </complexContent>
|
---|
7574 | + * </complexType>
|
---|
7575 | + * </pre>
|
---|
7576 | + *
|
---|
7577 | + *
|
---|
7578 | + */
|
---|
7579 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7580 | +@XmlType(name = "Training_t", propOrder = {
|
---|
7581 | + "quickWorkoutResults",
|
---|
7582 | + "plan"
|
---|
7583 | +})
|
---|
7584 | +public class TrainingT {
|
---|
7585 | +
|
---|
7586 | + @XmlElement(name = "QuickWorkoutResults")
|
---|
7587 | + protected QuickWorkoutT quickWorkoutResults;
|
---|
7588 | + @XmlElement(name = "Plan")
|
---|
7589 | + protected PlanT plan;
|
---|
7590 | + @XmlAttribute(name = "VirtualPartner", required = true)
|
---|
7591 | + protected boolean virtualPartner;
|
---|
7592 | +
|
---|
7593 | + /**
|
---|
7594 | + * Gets the value of the quickWorkoutResults property.
|
---|
7595 | + *
|
---|
7596 | + * @return
|
---|
7597 | + * possible object is
|
---|
7598 | + * {@link QuickWorkoutT }
|
---|
7599 | + *
|
---|
7600 | + */
|
---|
7601 | + public QuickWorkoutT getQuickWorkoutResults() {
|
---|
7602 | + return quickWorkoutResults;
|
---|
7603 | + }
|
---|
7604 | +
|
---|
7605 | + /**
|
---|
7606 | + * Sets the value of the quickWorkoutResults property.
|
---|
7607 | + *
|
---|
7608 | + * @param value
|
---|
7609 | + * allowed object is
|
---|
7610 | + * {@link QuickWorkoutT }
|
---|
7611 | + *
|
---|
7612 | + */
|
---|
7613 | + public void setQuickWorkoutResults(QuickWorkoutT value) {
|
---|
7614 | + this.quickWorkoutResults = value;
|
---|
7615 | + }
|
---|
7616 | +
|
---|
7617 | + /**
|
---|
7618 | + * Gets the value of the plan property.
|
---|
7619 | + *
|
---|
7620 | + * @return
|
---|
7621 | + * possible object is
|
---|
7622 | + * {@link PlanT }
|
---|
7623 | + *
|
---|
7624 | + */
|
---|
7625 | + public PlanT getPlan() {
|
---|
7626 | + return plan;
|
---|
7627 | + }
|
---|
7628 | +
|
---|
7629 | + /**
|
---|
7630 | + * Sets the value of the plan property.
|
---|
7631 | + *
|
---|
7632 | + * @param value
|
---|
7633 | + * allowed object is
|
---|
7634 | + * {@link PlanT }
|
---|
7635 | + *
|
---|
7636 | + */
|
---|
7637 | + public void setPlan(PlanT value) {
|
---|
7638 | + this.plan = value;
|
---|
7639 | + }
|
---|
7640 | +
|
---|
7641 | + /**
|
---|
7642 | + * Gets the value of the virtualPartner property.
|
---|
7643 | + *
|
---|
7644 | + */
|
---|
7645 | + public boolean isVirtualPartner() {
|
---|
7646 | + return virtualPartner;
|
---|
7647 | + }
|
---|
7648 | +
|
---|
7649 | + /**
|
---|
7650 | + * Sets the value of the virtualPartner property.
|
---|
7651 | + *
|
---|
7652 | + */
|
---|
7653 | + public void setVirtualPartner(boolean value) {
|
---|
7654 | + this.virtualPartner = value;
|
---|
7655 | + }
|
---|
7656 | +
|
---|
7657 | +}
|
---|
7658 | Index: src/org/openstreetmap/josm/io/tcx/TrainingTypeT.java
|
---|
7659 | ===================================================================
|
---|
7660 | --- src/org/openstreetmap/josm/io/tcx/TrainingTypeT.java (revision 0)
|
---|
7661 | +++ src/org/openstreetmap/josm/io/tcx/TrainingTypeT.java (revision 0)
|
---|
7662 | @@ -0,0 +1,58 @@
|
---|
7663 | +//
|
---|
7664 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7665 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7666 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7667 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7668 | +//
|
---|
7669 | +
|
---|
7670 | +
|
---|
7671 | +package org.openstreetmap.josm.io.tcx;
|
---|
7672 | +
|
---|
7673 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
7674 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
7675 | +import javax.xml.bind.annotation.XmlType;
|
---|
7676 | +
|
---|
7677 | +
|
---|
7678 | +/**
|
---|
7679 | + * <p>Java class for TrainingType_t.
|
---|
7680 | + *
|
---|
7681 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7682 | + * <p>
|
---|
7683 | + * <pre>
|
---|
7684 | + * <simpleType name="TrainingType_t">
|
---|
7685 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
7686 | + * <enumeration value="Workout"/>
|
---|
7687 | + * <enumeration value="Course"/>
|
---|
7688 | + * </restriction>
|
---|
7689 | + * </simpleType>
|
---|
7690 | + * </pre>
|
---|
7691 | + *
|
---|
7692 | + */
|
---|
7693 | +@XmlType(name = "TrainingType_t")
|
---|
7694 | +@XmlEnum
|
---|
7695 | +public enum TrainingTypeT {
|
---|
7696 | +
|
---|
7697 | + @XmlEnumValue("Workout")
|
---|
7698 | + WORKOUT("Workout"),
|
---|
7699 | + @XmlEnumValue("Course")
|
---|
7700 | + COURSE("Course");
|
---|
7701 | + private final String value;
|
---|
7702 | +
|
---|
7703 | + TrainingTypeT(String v) {
|
---|
7704 | + value = v;
|
---|
7705 | + }
|
---|
7706 | +
|
---|
7707 | + public String value() {
|
---|
7708 | + return value;
|
---|
7709 | + }
|
---|
7710 | +
|
---|
7711 | + public static TrainingTypeT fromValue(String v) {
|
---|
7712 | + for (TrainingTypeT c: TrainingTypeT.values()) {
|
---|
7713 | + if (c.value.equals(v)) {
|
---|
7714 | + return c;
|
---|
7715 | + }
|
---|
7716 | + }
|
---|
7717 | + throw new IllegalArgumentException(v);
|
---|
7718 | + }
|
---|
7719 | +
|
---|
7720 | +}
|
---|
7721 | Index: src/org/openstreetmap/josm/io/tcx/TriggerMethodT.java
|
---|
7722 | ===================================================================
|
---|
7723 | --- src/org/openstreetmap/josm/io/tcx/TriggerMethodT.java (revision 0)
|
---|
7724 | +++ src/org/openstreetmap/josm/io/tcx/TriggerMethodT.java (revision 0)
|
---|
7725 | @@ -0,0 +1,67 @@
|
---|
7726 | +//
|
---|
7727 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7728 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7729 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7730 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7731 | +//
|
---|
7732 | +
|
---|
7733 | +
|
---|
7734 | +package org.openstreetmap.josm.io.tcx;
|
---|
7735 | +
|
---|
7736 | +import javax.xml.bind.annotation.XmlEnum;
|
---|
7737 | +import javax.xml.bind.annotation.XmlEnumValue;
|
---|
7738 | +import javax.xml.bind.annotation.XmlType;
|
---|
7739 | +
|
---|
7740 | +
|
---|
7741 | +/**
|
---|
7742 | + * <p>Java class for TriggerMethod_t.
|
---|
7743 | + *
|
---|
7744 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7745 | + * <p>
|
---|
7746 | + * <pre>
|
---|
7747 | + * <simpleType name="TriggerMethod_t">
|
---|
7748 | + * <restriction base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Token_t">
|
---|
7749 | + * <enumeration value="Manual"/>
|
---|
7750 | + * <enumeration value="Distance"/>
|
---|
7751 | + * <enumeration value="Location"/>
|
---|
7752 | + * <enumeration value="Time"/>
|
---|
7753 | + * <enumeration value="HeartRate"/>
|
---|
7754 | + * </restriction>
|
---|
7755 | + * </simpleType>
|
---|
7756 | + * </pre>
|
---|
7757 | + *
|
---|
7758 | + */
|
---|
7759 | +@XmlType(name = "TriggerMethod_t")
|
---|
7760 | +@XmlEnum
|
---|
7761 | +public enum TriggerMethodT {
|
---|
7762 | +
|
---|
7763 | + @XmlEnumValue("Manual")
|
---|
7764 | + MANUAL("Manual"),
|
---|
7765 | + @XmlEnumValue("Distance")
|
---|
7766 | + DISTANCE("Distance"),
|
---|
7767 | + @XmlEnumValue("Location")
|
---|
7768 | + LOCATION("Location"),
|
---|
7769 | + @XmlEnumValue("Time")
|
---|
7770 | + TIME("Time"),
|
---|
7771 | + @XmlEnumValue("HeartRate")
|
---|
7772 | + HEART_RATE("HeartRate");
|
---|
7773 | + private final String value;
|
---|
7774 | +
|
---|
7775 | + TriggerMethodT(String v) {
|
---|
7776 | + value = v;
|
---|
7777 | + }
|
---|
7778 | +
|
---|
7779 | + public String value() {
|
---|
7780 | + return value;
|
---|
7781 | + }
|
---|
7782 | +
|
---|
7783 | + public static TriggerMethodT fromValue(String v) {
|
---|
7784 | + for (TriggerMethodT c: TriggerMethodT.values()) {
|
---|
7785 | + if (c.value.equals(v)) {
|
---|
7786 | + return c;
|
---|
7787 | + }
|
---|
7788 | + }
|
---|
7789 | + throw new IllegalArgumentException(v);
|
---|
7790 | + }
|
---|
7791 | +
|
---|
7792 | +}
|
---|
7793 | Index: src/org/openstreetmap/josm/io/tcx/UserInitiatedT.java
|
---|
7794 | ===================================================================
|
---|
7795 | --- src/org/openstreetmap/josm/io/tcx/UserInitiatedT.java (revision 0)
|
---|
7796 | +++ src/org/openstreetmap/josm/io/tcx/UserInitiatedT.java (revision 0)
|
---|
7797 | @@ -0,0 +1,39 @@
|
---|
7798 | +//
|
---|
7799 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7800 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7801 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7802 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7803 | +//
|
---|
7804 | +
|
---|
7805 | +
|
---|
7806 | +package org.openstreetmap.josm.io.tcx;
|
---|
7807 | +
|
---|
7808 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
7809 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
7810 | +import javax.xml.bind.annotation.XmlType;
|
---|
7811 | +
|
---|
7812 | +
|
---|
7813 | +/**
|
---|
7814 | + * <p>Java class for UserInitiated_t complex type.
|
---|
7815 | + *
|
---|
7816 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7817 | + *
|
---|
7818 | + * <pre>
|
---|
7819 | + * <complexType name="UserInitiated_t">
|
---|
7820 | + * <complexContent>
|
---|
7821 | + * <extension base="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Duration_t">
|
---|
7822 | + * </extension>
|
---|
7823 | + * </complexContent>
|
---|
7824 | + * </complexType>
|
---|
7825 | + * </pre>
|
---|
7826 | + *
|
---|
7827 | + *
|
---|
7828 | + */
|
---|
7829 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7830 | +@XmlType(name = "UserInitiated_t")
|
---|
7831 | +public class UserInitiatedT
|
---|
7832 | + extends DurationT
|
---|
7833 | +{
|
---|
7834 | +
|
---|
7835 | +
|
---|
7836 | +}
|
---|
7837 | Index: src/org/openstreetmap/josm/io/tcx/VersionT.java
|
---|
7838 | ===================================================================
|
---|
7839 | --- src/org/openstreetmap/josm/io/tcx/VersionT.java (revision 0)
|
---|
7840 | +++ src/org/openstreetmap/josm/io/tcx/VersionT.java (revision 0)
|
---|
7841 | @@ -0,0 +1,142 @@
|
---|
7842 | +//
|
---|
7843 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7844 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7845 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7846 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7847 | +//
|
---|
7848 | +
|
---|
7849 | +
|
---|
7850 | +package org.openstreetmap.josm.io.tcx;
|
---|
7851 | +
|
---|
7852 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
7853 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
7854 | +import javax.xml.bind.annotation.XmlElement;
|
---|
7855 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
7856 | +import javax.xml.bind.annotation.XmlType;
|
---|
7857 | +
|
---|
7858 | +
|
---|
7859 | +/**
|
---|
7860 | + * <p>Java class for Version_t complex type.
|
---|
7861 | + *
|
---|
7862 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
7863 | + *
|
---|
7864 | + * <pre>
|
---|
7865 | + * <complexType name="Version_t">
|
---|
7866 | + * <complexContent>
|
---|
7867 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
7868 | + * <sequence>
|
---|
7869 | + * <element name="VersionMajor" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
7870 | + * <element name="VersionMinor" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
|
---|
7871 | + * <element name="BuildMajor" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/>
|
---|
7872 | + * <element name="BuildMinor" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/>
|
---|
7873 | + * </sequence>
|
---|
7874 | + * </restriction>
|
---|
7875 | + * </complexContent>
|
---|
7876 | + * </complexType>
|
---|
7877 | + * </pre>
|
---|
7878 | + *
|
---|
7879 | + *
|
---|
7880 | + */
|
---|
7881 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
7882 | +@XmlType(name = "Version_t", propOrder = {
|
---|
7883 | + "versionMajor",
|
---|
7884 | + "versionMinor",
|
---|
7885 | + "buildMajor",
|
---|
7886 | + "buildMinor"
|
---|
7887 | +})
|
---|
7888 | +public class VersionT {
|
---|
7889 | +
|
---|
7890 | + @XmlElement(name = "VersionMajor")
|
---|
7891 | + @XmlSchemaType(name = "unsignedShort")
|
---|
7892 | + protected int versionMajor;
|
---|
7893 | + @XmlElement(name = "VersionMinor")
|
---|
7894 | + @XmlSchemaType(name = "unsignedShort")
|
---|
7895 | + protected int versionMinor;
|
---|
7896 | + @XmlElement(name = "BuildMajor")
|
---|
7897 | + @XmlSchemaType(name = "unsignedShort")
|
---|
7898 | + protected Integer buildMajor;
|
---|
7899 | + @XmlElement(name = "BuildMinor")
|
---|
7900 | + @XmlSchemaType(name = "unsignedShort")
|
---|
7901 | + protected Integer buildMinor;
|
---|
7902 | +
|
---|
7903 | + /**
|
---|
7904 | + * Gets the value of the versionMajor property.
|
---|
7905 | + *
|
---|
7906 | + */
|
---|
7907 | + public int getVersionMajor() {
|
---|
7908 | + return versionMajor;
|
---|
7909 | + }
|
---|
7910 | +
|
---|
7911 | + /**
|
---|
7912 | + * Sets the value of the versionMajor property.
|
---|
7913 | + *
|
---|
7914 | + */
|
---|
7915 | + public void setVersionMajor(int value) {
|
---|
7916 | + this.versionMajor = value;
|
---|
7917 | + }
|
---|
7918 | +
|
---|
7919 | + /**
|
---|
7920 | + * Gets the value of the versionMinor property.
|
---|
7921 | + *
|
---|
7922 | + */
|
---|
7923 | + public int getVersionMinor() {
|
---|
7924 | + return versionMinor;
|
---|
7925 | + }
|
---|
7926 | +
|
---|
7927 | + /**
|
---|
7928 | + * Sets the value of the versionMinor property.
|
---|
7929 | + *
|
---|
7930 | + */
|
---|
7931 | + public void setVersionMinor(int value) {
|
---|
7932 | + this.versionMinor = value;
|
---|
7933 | + }
|
---|
7934 | +
|
---|
7935 | + /**
|
---|
7936 | + * Gets the value of the buildMajor property.
|
---|
7937 | + *
|
---|
7938 | + * @return
|
---|
7939 | + * possible object is
|
---|
7940 | + * {@link Integer }
|
---|
7941 | + *
|
---|
7942 | + */
|
---|
7943 | + public Integer getBuildMajor() {
|
---|
7944 | + return buildMajor;
|
---|
7945 | + }
|
---|
7946 | +
|
---|
7947 | + /**
|
---|
7948 | + * Sets the value of the buildMajor property.
|
---|
7949 | + *
|
---|
7950 | + * @param value
|
---|
7951 | + * allowed object is
|
---|
7952 | + * {@link Integer }
|
---|
7953 | + *
|
---|
7954 | + */
|
---|
7955 | + public void setBuildMajor(Integer value) {
|
---|
7956 | + this.buildMajor = value;
|
---|
7957 | + }
|
---|
7958 | +
|
---|
7959 | + /**
|
---|
7960 | + * Gets the value of the buildMinor property.
|
---|
7961 | + *
|
---|
7962 | + * @return
|
---|
7963 | + * possible object is
|
---|
7964 | + * {@link Integer }
|
---|
7965 | + *
|
---|
7966 | + */
|
---|
7967 | + public Integer getBuildMinor() {
|
---|
7968 | + return buildMinor;
|
---|
7969 | + }
|
---|
7970 | +
|
---|
7971 | + /**
|
---|
7972 | + * Sets the value of the buildMinor property.
|
---|
7973 | + *
|
---|
7974 | + * @param value
|
---|
7975 | + * allowed object is
|
---|
7976 | + * {@link Integer }
|
---|
7977 | + *
|
---|
7978 | + */
|
---|
7979 | + public void setBuildMinor(Integer value) {
|
---|
7980 | + this.buildMinor = value;
|
---|
7981 | + }
|
---|
7982 | +
|
---|
7983 | +}
|
---|
7984 | Index: src/org/openstreetmap/josm/io/tcx/WeekT.java
|
---|
7985 | ===================================================================
|
---|
7986 | --- src/org/openstreetmap/josm/io/tcx/WeekT.java (revision 0)
|
---|
7987 | +++ src/org/openstreetmap/josm/io/tcx/WeekT.java (revision 0)
|
---|
7988 | @@ -0,0 +1,100 @@
|
---|
7989 | +//
|
---|
7990 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
7991 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
7992 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
7993 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
7994 | +//
|
---|
7995 | +
|
---|
7996 | +
|
---|
7997 | +package org.openstreetmap.josm.io.tcx;
|
---|
7998 | +
|
---|
7999 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8000 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8001 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
8002 | +import javax.xml.bind.annotation.XmlElement;
|
---|
8003 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
8004 | +import javax.xml.bind.annotation.XmlType;
|
---|
8005 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
8006 | +
|
---|
8007 | +
|
---|
8008 | +/**
|
---|
8009 | + * <p>Java class for Week_t complex type.
|
---|
8010 | + *
|
---|
8011 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8012 | + *
|
---|
8013 | + * <pre>
|
---|
8014 | + * <complexType name="Week_t">
|
---|
8015 | + * <complexContent>
|
---|
8016 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8017 | + * <sequence>
|
---|
8018 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
8019 | + * </sequence>
|
---|
8020 | + * <attribute name="StartDay" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
|
---|
8021 | + * </restriction>
|
---|
8022 | + * </complexContent>
|
---|
8023 | + * </complexType>
|
---|
8024 | + * </pre>
|
---|
8025 | + *
|
---|
8026 | + *
|
---|
8027 | + */
|
---|
8028 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8029 | +@XmlType(name = "Week_t", propOrder = {
|
---|
8030 | + "notes"
|
---|
8031 | +})
|
---|
8032 | +public class WeekT {
|
---|
8033 | +
|
---|
8034 | + @XmlElement(name = "Notes")
|
---|
8035 | + protected String notes;
|
---|
8036 | + @XmlAttribute(name = "StartDay", required = true)
|
---|
8037 | + @XmlSchemaType(name = "date")
|
---|
8038 | + protected XMLGregorianCalendar startDay;
|
---|
8039 | +
|
---|
8040 | + /**
|
---|
8041 | + * Gets the value of the notes property.
|
---|
8042 | + *
|
---|
8043 | + * @return
|
---|
8044 | + * possible object is
|
---|
8045 | + * {@link String }
|
---|
8046 | + *
|
---|
8047 | + */
|
---|
8048 | + public String getNotes() {
|
---|
8049 | + return notes;
|
---|
8050 | + }
|
---|
8051 | +
|
---|
8052 | + /**
|
---|
8053 | + * Sets the value of the notes property.
|
---|
8054 | + *
|
---|
8055 | + * @param value
|
---|
8056 | + * allowed object is
|
---|
8057 | + * {@link String }
|
---|
8058 | + *
|
---|
8059 | + */
|
---|
8060 | + public void setNotes(String value) {
|
---|
8061 | + this.notes = value;
|
---|
8062 | + }
|
---|
8063 | +
|
---|
8064 | + /**
|
---|
8065 | + * Gets the value of the startDay property.
|
---|
8066 | + *
|
---|
8067 | + * @return
|
---|
8068 | + * possible object is
|
---|
8069 | + * {@link XMLGregorianCalendar }
|
---|
8070 | + *
|
---|
8071 | + */
|
---|
8072 | + public XMLGregorianCalendar getStartDay() {
|
---|
8073 | + return startDay;
|
---|
8074 | + }
|
---|
8075 | +
|
---|
8076 | + /**
|
---|
8077 | + * Sets the value of the startDay property.
|
---|
8078 | + *
|
---|
8079 | + * @param value
|
---|
8080 | + * allowed object is
|
---|
8081 | + * {@link XMLGregorianCalendar }
|
---|
8082 | + *
|
---|
8083 | + */
|
---|
8084 | + public void setStartDay(XMLGregorianCalendar value) {
|
---|
8085 | + this.startDay = value;
|
---|
8086 | + }
|
---|
8087 | +
|
---|
8088 | +}
|
---|
8089 | Index: src/org/openstreetmap/josm/io/tcx/WorkoutFolderT.java
|
---|
8090 | ===================================================================
|
---|
8091 | --- src/org/openstreetmap/josm/io/tcx/WorkoutFolderT.java (revision 0)
|
---|
8092 | +++ src/org/openstreetmap/josm/io/tcx/WorkoutFolderT.java (revision 0)
|
---|
8093 | @@ -0,0 +1,165 @@
|
---|
8094 | +//
|
---|
8095 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8096 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8097 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8098 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8099 | +//
|
---|
8100 | +
|
---|
8101 | +
|
---|
8102 | +package org.openstreetmap.josm.io.tcx;
|
---|
8103 | +
|
---|
8104 | +import java.util.ArrayList;
|
---|
8105 | +import java.util.List;
|
---|
8106 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8107 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8108 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
8109 | +import javax.xml.bind.annotation.XmlElement;
|
---|
8110 | +import javax.xml.bind.annotation.XmlType;
|
---|
8111 | +
|
---|
8112 | +
|
---|
8113 | +/**
|
---|
8114 | + * <p>Java class for WorkoutFolder_t complex type.
|
---|
8115 | + *
|
---|
8116 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8117 | + *
|
---|
8118 | + * <pre>
|
---|
8119 | + * <complexType name="WorkoutFolder_t">
|
---|
8120 | + * <complexContent>
|
---|
8121 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8122 | + * <sequence>
|
---|
8123 | + * <element name="Folder" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}WorkoutFolder_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
8124 | + * <element name="WorkoutNameRef" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}NameKeyReference_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
8125 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
8126 | + * </sequence>
|
---|
8127 | + * <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
---|
8128 | + * </restriction>
|
---|
8129 | + * </complexContent>
|
---|
8130 | + * </complexType>
|
---|
8131 | + * </pre>
|
---|
8132 | + *
|
---|
8133 | + *
|
---|
8134 | + */
|
---|
8135 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8136 | +@XmlType(name = "WorkoutFolder_t", propOrder = {
|
---|
8137 | + "folder",
|
---|
8138 | + "workoutNameRef",
|
---|
8139 | + "extensions"
|
---|
8140 | +})
|
---|
8141 | +public class WorkoutFolderT {
|
---|
8142 | +
|
---|
8143 | + @XmlElement(name = "Folder")
|
---|
8144 | + protected List<WorkoutFolderT> folder;
|
---|
8145 | + @XmlElement(name = "WorkoutNameRef")
|
---|
8146 | + protected List<NameKeyReferenceT> workoutNameRef;
|
---|
8147 | + @XmlElement(name = "Extensions")
|
---|
8148 | + protected ExtensionsT extensions;
|
---|
8149 | + @XmlAttribute(name = "Name", required = true)
|
---|
8150 | + protected String name;
|
---|
8151 | +
|
---|
8152 | + /**
|
---|
8153 | + * Gets the value of the folder property.
|
---|
8154 | + *
|
---|
8155 | + * <p>
|
---|
8156 | + * This accessor method returns a reference to the live list,
|
---|
8157 | + * not a snapshot. Therefore any modification you make to the
|
---|
8158 | + * returned list will be present inside the JAXB object.
|
---|
8159 | + * This is why there is not a <CODE>set</CODE> method for the folder property.
|
---|
8160 | + *
|
---|
8161 | + * <p>
|
---|
8162 | + * For example, to add a new item, do as follows:
|
---|
8163 | + * <pre>
|
---|
8164 | + * getFolder().add(newItem);
|
---|
8165 | + * </pre>
|
---|
8166 | + *
|
---|
8167 | + *
|
---|
8168 | + * <p>
|
---|
8169 | + * Objects of the following type(s) are allowed in the list
|
---|
8170 | + * {@link WorkoutFolderT }
|
---|
8171 | + *
|
---|
8172 | + *
|
---|
8173 | + */
|
---|
8174 | + public List<WorkoutFolderT> getFolder() {
|
---|
8175 | + if (folder == null) {
|
---|
8176 | + folder = new ArrayList<WorkoutFolderT>();
|
---|
8177 | + }
|
---|
8178 | + return this.folder;
|
---|
8179 | + }
|
---|
8180 | +
|
---|
8181 | + /**
|
---|
8182 | + * Gets the value of the workoutNameRef property.
|
---|
8183 | + *
|
---|
8184 | + * <p>
|
---|
8185 | + * This accessor method returns a reference to the live list,
|
---|
8186 | + * not a snapshot. Therefore any modification you make to the
|
---|
8187 | + * returned list will be present inside the JAXB object.
|
---|
8188 | + * This is why there is not a <CODE>set</CODE> method for the workoutNameRef property.
|
---|
8189 | + *
|
---|
8190 | + * <p>
|
---|
8191 | + * For example, to add a new item, do as follows:
|
---|
8192 | + * <pre>
|
---|
8193 | + * getWorkoutNameRef().add(newItem);
|
---|
8194 | + * </pre>
|
---|
8195 | + *
|
---|
8196 | + *
|
---|
8197 | + * <p>
|
---|
8198 | + * Objects of the following type(s) are allowed in the list
|
---|
8199 | + * {@link NameKeyReferenceT }
|
---|
8200 | + *
|
---|
8201 | + *
|
---|
8202 | + */
|
---|
8203 | + public List<NameKeyReferenceT> getWorkoutNameRef() {
|
---|
8204 | + if (workoutNameRef == null) {
|
---|
8205 | + workoutNameRef = new ArrayList<NameKeyReferenceT>();
|
---|
8206 | + }
|
---|
8207 | + return this.workoutNameRef;
|
---|
8208 | + }
|
---|
8209 | +
|
---|
8210 | + /**
|
---|
8211 | + * Gets the value of the extensions property.
|
---|
8212 | + *
|
---|
8213 | + * @return
|
---|
8214 | + * possible object is
|
---|
8215 | + * {@link ExtensionsT }
|
---|
8216 | + *
|
---|
8217 | + */
|
---|
8218 | + public ExtensionsT getExtensions() {
|
---|
8219 | + return extensions;
|
---|
8220 | + }
|
---|
8221 | +
|
---|
8222 | + /**
|
---|
8223 | + * Sets the value of the extensions property.
|
---|
8224 | + *
|
---|
8225 | + * @param value
|
---|
8226 | + * allowed object is
|
---|
8227 | + * {@link ExtensionsT }
|
---|
8228 | + *
|
---|
8229 | + */
|
---|
8230 | + public void setExtensions(ExtensionsT value) {
|
---|
8231 | + this.extensions = value;
|
---|
8232 | + }
|
---|
8233 | +
|
---|
8234 | + /**
|
---|
8235 | + * Gets the value of the name property.
|
---|
8236 | + *
|
---|
8237 | + * @return
|
---|
8238 | + * possible object is
|
---|
8239 | + * {@link String }
|
---|
8240 | + *
|
---|
8241 | + */
|
---|
8242 | + public String getName() {
|
---|
8243 | + return name;
|
---|
8244 | + }
|
---|
8245 | +
|
---|
8246 | + /**
|
---|
8247 | + * Sets the value of the name property.
|
---|
8248 | + *
|
---|
8249 | + * @param value
|
---|
8250 | + * allowed object is
|
---|
8251 | + * {@link String }
|
---|
8252 | + *
|
---|
8253 | + */
|
---|
8254 | + public void setName(String value) {
|
---|
8255 | + this.name = value;
|
---|
8256 | + }
|
---|
8257 | +
|
---|
8258 | +}
|
---|
8259 | Index: src/org/openstreetmap/josm/io/tcx/WorkoutListT.java
|
---|
8260 | ===================================================================
|
---|
8261 | --- src/org/openstreetmap/josm/io/tcx/WorkoutListT.java (revision 0)
|
---|
8262 | +++ src/org/openstreetmap/josm/io/tcx/WorkoutListT.java (revision 0)
|
---|
8263 | @@ -0,0 +1,76 @@
|
---|
8264 | +//
|
---|
8265 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8266 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8267 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8268 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8269 | +//
|
---|
8270 | +
|
---|
8271 | +
|
---|
8272 | +package org.openstreetmap.josm.io.tcx;
|
---|
8273 | +
|
---|
8274 | +import java.util.ArrayList;
|
---|
8275 | +import java.util.List;
|
---|
8276 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8277 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8278 | +import javax.xml.bind.annotation.XmlElement;
|
---|
8279 | +import javax.xml.bind.annotation.XmlType;
|
---|
8280 | +
|
---|
8281 | +
|
---|
8282 | +/**
|
---|
8283 | + * <p>Java class for WorkoutList_t complex type.
|
---|
8284 | + *
|
---|
8285 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8286 | + *
|
---|
8287 | + * <pre>
|
---|
8288 | + * <complexType name="WorkoutList_t">
|
---|
8289 | + * <complexContent>
|
---|
8290 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8291 | + * <sequence>
|
---|
8292 | + * <element name="Workout" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Workout_t" maxOccurs="unbounded" minOccurs="0"/>
|
---|
8293 | + * </sequence>
|
---|
8294 | + * </restriction>
|
---|
8295 | + * </complexContent>
|
---|
8296 | + * </complexType>
|
---|
8297 | + * </pre>
|
---|
8298 | + *
|
---|
8299 | + *
|
---|
8300 | + */
|
---|
8301 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8302 | +@XmlType(name = "WorkoutList_t", propOrder = {
|
---|
8303 | + "workout"
|
---|
8304 | +})
|
---|
8305 | +public class WorkoutListT {
|
---|
8306 | +
|
---|
8307 | + @XmlElement(name = "Workout")
|
---|
8308 | + protected List<WorkoutT> workout;
|
---|
8309 | +
|
---|
8310 | + /**
|
---|
8311 | + * Gets the value of the workout property.
|
---|
8312 | + *
|
---|
8313 | + * <p>
|
---|
8314 | + * This accessor method returns a reference to the live list,
|
---|
8315 | + * not a snapshot. Therefore any modification you make to the
|
---|
8316 | + * returned list will be present inside the JAXB object.
|
---|
8317 | + * This is why there is not a <CODE>set</CODE> method for the workout property.
|
---|
8318 | + *
|
---|
8319 | + * <p>
|
---|
8320 | + * For example, to add a new item, do as follows:
|
---|
8321 | + * <pre>
|
---|
8322 | + * getWorkout().add(newItem);
|
---|
8323 | + * </pre>
|
---|
8324 | + *
|
---|
8325 | + *
|
---|
8326 | + * <p>
|
---|
8327 | + * Objects of the following type(s) are allowed in the list
|
---|
8328 | + * {@link WorkoutT }
|
---|
8329 | + *
|
---|
8330 | + *
|
---|
8331 | + */
|
---|
8332 | + public List<WorkoutT> getWorkout() {
|
---|
8333 | + if (workout == null) {
|
---|
8334 | + workout = new ArrayList<WorkoutT>();
|
---|
8335 | + }
|
---|
8336 | + return this.workout;
|
---|
8337 | + }
|
---|
8338 | +
|
---|
8339 | +}
|
---|
8340 | Index: src/org/openstreetmap/josm/io/tcx/WorkoutT.java
|
---|
8341 | ===================================================================
|
---|
8342 | --- src/org/openstreetmap/josm/io/tcx/WorkoutT.java (revision 0)
|
---|
8343 | +++ src/org/openstreetmap/josm/io/tcx/WorkoutT.java (revision 0)
|
---|
8344 | @@ -0,0 +1,255 @@
|
---|
8345 | +//
|
---|
8346 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8347 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8348 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8349 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8350 | +//
|
---|
8351 | +
|
---|
8352 | +
|
---|
8353 | +package org.openstreetmap.josm.io.tcx;
|
---|
8354 | +
|
---|
8355 | +import java.util.ArrayList;
|
---|
8356 | +import java.util.List;
|
---|
8357 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8358 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8359 | +import javax.xml.bind.annotation.XmlAttribute;
|
---|
8360 | +import javax.xml.bind.annotation.XmlElement;
|
---|
8361 | +import javax.xml.bind.annotation.XmlSchemaType;
|
---|
8362 | +import javax.xml.bind.annotation.XmlType;
|
---|
8363 | +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
---|
8364 | +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
---|
8365 | +import javax.xml.datatype.XMLGregorianCalendar;
|
---|
8366 | +
|
---|
8367 | +
|
---|
8368 | +/**
|
---|
8369 | + * <p>Java class for Workout_t complex type.
|
---|
8370 | + *
|
---|
8371 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8372 | + *
|
---|
8373 | + * <pre>
|
---|
8374 | + * <complexType name="Workout_t">
|
---|
8375 | + * <complexContent>
|
---|
8376 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8377 | + * <sequence>
|
---|
8378 | + * <element name="Name" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}RestrictedToken_t"/>
|
---|
8379 | + * <element name="Step" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractStep_t" maxOccurs="unbounded"/>
|
---|
8380 | + * <element name="ScheduledOn" type="{http://www.w3.org/2001/XMLSchema}date" maxOccurs="unbounded" minOccurs="0"/>
|
---|
8381 | + * <element name="Notes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
---|
8382 | + * <element name="Creator" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}AbstractSource_t" minOccurs="0"/>
|
---|
8383 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
8384 | + * </sequence>
|
---|
8385 | + * <attribute name="Sport" use="required" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Sport_t" />
|
---|
8386 | + * </restriction>
|
---|
8387 | + * </complexContent>
|
---|
8388 | + * </complexType>
|
---|
8389 | + * </pre>
|
---|
8390 | + *
|
---|
8391 | + *
|
---|
8392 | + */
|
---|
8393 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8394 | +@XmlType(name = "Workout_t", propOrder = {
|
---|
8395 | + "name",
|
---|
8396 | + "step",
|
---|
8397 | + "scheduledOn",
|
---|
8398 | + "notes",
|
---|
8399 | + "creator",
|
---|
8400 | + "extensions"
|
---|
8401 | +})
|
---|
8402 | +public class WorkoutT {
|
---|
8403 | +
|
---|
8404 | + @XmlElement(name = "Name", required = true)
|
---|
8405 | + @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
---|
8406 | + protected String name;
|
---|
8407 | + @XmlElement(name = "Step", required = true)
|
---|
8408 | + protected List<AbstractStepT> step;
|
---|
8409 | + @XmlElement(name = "ScheduledOn")
|
---|
8410 | + @XmlSchemaType(name = "date")
|
---|
8411 | + protected List<XMLGregorianCalendar> scheduledOn;
|
---|
8412 | + @XmlElement(name = "Notes")
|
---|
8413 | + protected String notes;
|
---|
8414 | + @XmlElement(name = "Creator")
|
---|
8415 | + protected AbstractSourceT creator;
|
---|
8416 | + @XmlElement(name = "Extensions")
|
---|
8417 | + protected ExtensionsT extensions;
|
---|
8418 | + @XmlAttribute(name = "Sport", required = true)
|
---|
8419 | + protected SportT sport;
|
---|
8420 | +
|
---|
8421 | + /**
|
---|
8422 | + * Gets the value of the name property.
|
---|
8423 | + *
|
---|
8424 | + * @return
|
---|
8425 | + * possible object is
|
---|
8426 | + * {@link String }
|
---|
8427 | + *
|
---|
8428 | + */
|
---|
8429 | + public String getName() {
|
---|
8430 | + return name;
|
---|
8431 | + }
|
---|
8432 | +
|
---|
8433 | + /**
|
---|
8434 | + * Sets the value of the name property.
|
---|
8435 | + *
|
---|
8436 | + * @param value
|
---|
8437 | + * allowed object is
|
---|
8438 | + * {@link String }
|
---|
8439 | + *
|
---|
8440 | + */
|
---|
8441 | + public void setName(String value) {
|
---|
8442 | + this.name = value;
|
---|
8443 | + }
|
---|
8444 | +
|
---|
8445 | + /**
|
---|
8446 | + * Gets the value of the step property.
|
---|
8447 | + *
|
---|
8448 | + * <p>
|
---|
8449 | + * This accessor method returns a reference to the live list,
|
---|
8450 | + * not a snapshot. Therefore any modification you make to the
|
---|
8451 | + * returned list will be present inside the JAXB object.
|
---|
8452 | + * This is why there is not a <CODE>set</CODE> method for the step property.
|
---|
8453 | + *
|
---|
8454 | + * <p>
|
---|
8455 | + * For example, to add a new item, do as follows:
|
---|
8456 | + * <pre>
|
---|
8457 | + * getStep().add(newItem);
|
---|
8458 | + * </pre>
|
---|
8459 | + *
|
---|
8460 | + *
|
---|
8461 | + * <p>
|
---|
8462 | + * Objects of the following type(s) are allowed in the list
|
---|
8463 | + * {@link AbstractStepT }
|
---|
8464 | + *
|
---|
8465 | + *
|
---|
8466 | + */
|
---|
8467 | + public List<AbstractStepT> getStep() {
|
---|
8468 | + if (step == null) {
|
---|
8469 | + step = new ArrayList<AbstractStepT>();
|
---|
8470 | + }
|
---|
8471 | + return this.step;
|
---|
8472 | + }
|
---|
8473 | +
|
---|
8474 | + /**
|
---|
8475 | + * Gets the value of the scheduledOn property.
|
---|
8476 | + *
|
---|
8477 | + * <p>
|
---|
8478 | + * This accessor method returns a reference to the live list,
|
---|
8479 | + * not a snapshot. Therefore any modification you make to the
|
---|
8480 | + * returned list will be present inside the JAXB object.
|
---|
8481 | + * This is why there is not a <CODE>set</CODE> method for the scheduledOn property.
|
---|
8482 | + *
|
---|
8483 | + * <p>
|
---|
8484 | + * For example, to add a new item, do as follows:
|
---|
8485 | + * <pre>
|
---|
8486 | + * getScheduledOn().add(newItem);
|
---|
8487 | + * </pre>
|
---|
8488 | + *
|
---|
8489 | + *
|
---|
8490 | + * <p>
|
---|
8491 | + * Objects of the following type(s) are allowed in the list
|
---|
8492 | + * {@link XMLGregorianCalendar }
|
---|
8493 | + *
|
---|
8494 | + *
|
---|
8495 | + */
|
---|
8496 | + public List<XMLGregorianCalendar> getScheduledOn() {
|
---|
8497 | + if (scheduledOn == null) {
|
---|
8498 | + scheduledOn = new ArrayList<XMLGregorianCalendar>();
|
---|
8499 | + }
|
---|
8500 | + return this.scheduledOn;
|
---|
8501 | + }
|
---|
8502 | +
|
---|
8503 | + /**
|
---|
8504 | + * Gets the value of the notes property.
|
---|
8505 | + *
|
---|
8506 | + * @return
|
---|
8507 | + * possible object is
|
---|
8508 | + * {@link String }
|
---|
8509 | + *
|
---|
8510 | + */
|
---|
8511 | + public String getNotes() {
|
---|
8512 | + return notes;
|
---|
8513 | + }
|
---|
8514 | +
|
---|
8515 | + /**
|
---|
8516 | + * Sets the value of the notes property.
|
---|
8517 | + *
|
---|
8518 | + * @param value
|
---|
8519 | + * allowed object is
|
---|
8520 | + * {@link String }
|
---|
8521 | + *
|
---|
8522 | + */
|
---|
8523 | + public void setNotes(String value) {
|
---|
8524 | + this.notes = value;
|
---|
8525 | + }
|
---|
8526 | +
|
---|
8527 | + /**
|
---|
8528 | + * Gets the value of the creator property.
|
---|
8529 | + *
|
---|
8530 | + * @return
|
---|
8531 | + * possible object is
|
---|
8532 | + * {@link AbstractSourceT }
|
---|
8533 | + *
|
---|
8534 | + */
|
---|
8535 | + public AbstractSourceT getCreator() {
|
---|
8536 | + return creator;
|
---|
8537 | + }
|
---|
8538 | +
|
---|
8539 | + /**
|
---|
8540 | + * Sets the value of the creator property.
|
---|
8541 | + *
|
---|
8542 | + * @param value
|
---|
8543 | + * allowed object is
|
---|
8544 | + * {@link AbstractSourceT }
|
---|
8545 | + *
|
---|
8546 | + */
|
---|
8547 | + public void setCreator(AbstractSourceT value) {
|
---|
8548 | + this.creator = value;
|
---|
8549 | + }
|
---|
8550 | +
|
---|
8551 | + /**
|
---|
8552 | + * Gets the value of the extensions property.
|
---|
8553 | + *
|
---|
8554 | + * @return
|
---|
8555 | + * possible object is
|
---|
8556 | + * {@link ExtensionsT }
|
---|
8557 | + *
|
---|
8558 | + */
|
---|
8559 | + public ExtensionsT getExtensions() {
|
---|
8560 | + return extensions;
|
---|
8561 | + }
|
---|
8562 | +
|
---|
8563 | + /**
|
---|
8564 | + * Sets the value of the extensions property.
|
---|
8565 | + *
|
---|
8566 | + * @param value
|
---|
8567 | + * allowed object is
|
---|
8568 | + * {@link ExtensionsT }
|
---|
8569 | + *
|
---|
8570 | + */
|
---|
8571 | + public void setExtensions(ExtensionsT value) {
|
---|
8572 | + this.extensions = value;
|
---|
8573 | + }
|
---|
8574 | +
|
---|
8575 | + /**
|
---|
8576 | + * Gets the value of the sport property.
|
---|
8577 | + *
|
---|
8578 | + * @return
|
---|
8579 | + * possible object is
|
---|
8580 | + * {@link SportT }
|
---|
8581 | + *
|
---|
8582 | + */
|
---|
8583 | + public SportT getSport() {
|
---|
8584 | + return sport;
|
---|
8585 | + }
|
---|
8586 | +
|
---|
8587 | + /**
|
---|
8588 | + * Sets the value of the sport property.
|
---|
8589 | + *
|
---|
8590 | + * @param value
|
---|
8591 | + * allowed object is
|
---|
8592 | + * {@link SportT }
|
---|
8593 | + *
|
---|
8594 | + */
|
---|
8595 | + public void setSport(SportT value) {
|
---|
8596 | + this.sport = value;
|
---|
8597 | + }
|
---|
8598 | +
|
---|
8599 | +}
|
---|
8600 | Index: src/org/openstreetmap/josm/io/tcx/WorkoutsT.java
|
---|
8601 | ===================================================================
|
---|
8602 | --- src/org/openstreetmap/josm/io/tcx/WorkoutsT.java (revision 0)
|
---|
8603 | +++ src/org/openstreetmap/josm/io/tcx/WorkoutsT.java (revision 0)
|
---|
8604 | @@ -0,0 +1,153 @@
|
---|
8605 | +//
|
---|
8606 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8607 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8608 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8609 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8610 | +//
|
---|
8611 | +
|
---|
8612 | +
|
---|
8613 | +package org.openstreetmap.josm.io.tcx;
|
---|
8614 | +
|
---|
8615 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8616 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8617 | +import javax.xml.bind.annotation.XmlElement;
|
---|
8618 | +import javax.xml.bind.annotation.XmlType;
|
---|
8619 | +
|
---|
8620 | +
|
---|
8621 | +/**
|
---|
8622 | + * <p>Java class for Workouts_t complex type.
|
---|
8623 | + *
|
---|
8624 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8625 | + *
|
---|
8626 | + * <pre>
|
---|
8627 | + * <complexType name="Workouts_t">
|
---|
8628 | + * <complexContent>
|
---|
8629 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8630 | + * <sequence>
|
---|
8631 | + * <element name="Running" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}WorkoutFolder_t"/>
|
---|
8632 | + * <element name="Biking" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}WorkoutFolder_t"/>
|
---|
8633 | + * <element name="Other" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}WorkoutFolder_t"/>
|
---|
8634 | + * <element name="Extensions" type="{http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2}Extensions_t" minOccurs="0"/>
|
---|
8635 | + * </sequence>
|
---|
8636 | + * </restriction>
|
---|
8637 | + * </complexContent>
|
---|
8638 | + * </complexType>
|
---|
8639 | + * </pre>
|
---|
8640 | + *
|
---|
8641 | + *
|
---|
8642 | + */
|
---|
8643 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8644 | +@XmlType(name = "Workouts_t", propOrder = {
|
---|
8645 | + "running",
|
---|
8646 | + "biking",
|
---|
8647 | + "other",
|
---|
8648 | + "extensions"
|
---|
8649 | +})
|
---|
8650 | +public class WorkoutsT {
|
---|
8651 | +
|
---|
8652 | + @XmlElement(name = "Running", required = true)
|
---|
8653 | + protected WorkoutFolderT running;
|
---|
8654 | + @XmlElement(name = "Biking", required = true)
|
---|
8655 | + protected WorkoutFolderT biking;
|
---|
8656 | + @XmlElement(name = "Other", required = true)
|
---|
8657 | + protected WorkoutFolderT other;
|
---|
8658 | + @XmlElement(name = "Extensions")
|
---|
8659 | + protected ExtensionsT extensions;
|
---|
8660 | +
|
---|
8661 | + /**
|
---|
8662 | + * Gets the value of the running property.
|
---|
8663 | + *
|
---|
8664 | + * @return
|
---|
8665 | + * possible object is
|
---|
8666 | + * {@link WorkoutFolderT }
|
---|
8667 | + *
|
---|
8668 | + */
|
---|
8669 | + public WorkoutFolderT getRunning() {
|
---|
8670 | + return running;
|
---|
8671 | + }
|
---|
8672 | +
|
---|
8673 | + /**
|
---|
8674 | + * Sets the value of the running property.
|
---|
8675 | + *
|
---|
8676 | + * @param value
|
---|
8677 | + * allowed object is
|
---|
8678 | + * {@link WorkoutFolderT }
|
---|
8679 | + *
|
---|
8680 | + */
|
---|
8681 | + public void setRunning(WorkoutFolderT value) {
|
---|
8682 | + this.running = value;
|
---|
8683 | + }
|
---|
8684 | +
|
---|
8685 | + /**
|
---|
8686 | + * Gets the value of the biking property.
|
---|
8687 | + *
|
---|
8688 | + * @return
|
---|
8689 | + * possible object is
|
---|
8690 | + * {@link WorkoutFolderT }
|
---|
8691 | + *
|
---|
8692 | + */
|
---|
8693 | + public WorkoutFolderT getBiking() {
|
---|
8694 | + return biking;
|
---|
8695 | + }
|
---|
8696 | +
|
---|
8697 | + /**
|
---|
8698 | + * Sets the value of the biking property.
|
---|
8699 | + *
|
---|
8700 | + * @param value
|
---|
8701 | + * allowed object is
|
---|
8702 | + * {@link WorkoutFolderT }
|
---|
8703 | + *
|
---|
8704 | + */
|
---|
8705 | + public void setBiking(WorkoutFolderT value) {
|
---|
8706 | + this.biking = value;
|
---|
8707 | + }
|
---|
8708 | +
|
---|
8709 | + /**
|
---|
8710 | + * Gets the value of the other property.
|
---|
8711 | + *
|
---|
8712 | + * @return
|
---|
8713 | + * possible object is
|
---|
8714 | + * {@link WorkoutFolderT }
|
---|
8715 | + *
|
---|
8716 | + */
|
---|
8717 | + public WorkoutFolderT getOther() {
|
---|
8718 | + return other;
|
---|
8719 | + }
|
---|
8720 | +
|
---|
8721 | + /**
|
---|
8722 | + * Sets the value of the other property.
|
---|
8723 | + *
|
---|
8724 | + * @param value
|
---|
8725 | + * allowed object is
|
---|
8726 | + * {@link WorkoutFolderT }
|
---|
8727 | + *
|
---|
8728 | + */
|
---|
8729 | + public void setOther(WorkoutFolderT value) {
|
---|
8730 | + this.other = value;
|
---|
8731 | + }
|
---|
8732 | +
|
---|
8733 | + /**
|
---|
8734 | + * Gets the value of the extensions property.
|
---|
8735 | + *
|
---|
8736 | + * @return
|
---|
8737 | + * possible object is
|
---|
8738 | + * {@link ExtensionsT }
|
---|
8739 | + *
|
---|
8740 | + */
|
---|
8741 | + public ExtensionsT getExtensions() {
|
---|
8742 | + return extensions;
|
---|
8743 | + }
|
---|
8744 | +
|
---|
8745 | + /**
|
---|
8746 | + * Sets the value of the extensions property.
|
---|
8747 | + *
|
---|
8748 | + * @param value
|
---|
8749 | + * allowed object is
|
---|
8750 | + * {@link ExtensionsT }
|
---|
8751 | + *
|
---|
8752 | + */
|
---|
8753 | + public void setExtensions(ExtensionsT value) {
|
---|
8754 | + this.extensions = value;
|
---|
8755 | + }
|
---|
8756 | +
|
---|
8757 | +}
|
---|
8758 | Index: src/org/openstreetmap/josm/io/tcx/ZoneT.java
|
---|
8759 | ===================================================================
|
---|
8760 | --- src/org/openstreetmap/josm/io/tcx/ZoneT.java (revision 0)
|
---|
8761 | +++ src/org/openstreetmap/josm/io/tcx/ZoneT.java (revision 0)
|
---|
8762 | @@ -0,0 +1,44 @@
|
---|
8763 | +//
|
---|
8764 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8765 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8766 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8767 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8768 | +//
|
---|
8769 | +
|
---|
8770 | +
|
---|
8771 | +package org.openstreetmap.josm.io.tcx;
|
---|
8772 | +
|
---|
8773 | +import javax.xml.bind.annotation.XmlAccessType;
|
---|
8774 | +import javax.xml.bind.annotation.XmlAccessorType;
|
---|
8775 | +import javax.xml.bind.annotation.XmlSeeAlso;
|
---|
8776 | +import javax.xml.bind.annotation.XmlType;
|
---|
8777 | +
|
---|
8778 | +
|
---|
8779 | +/**
|
---|
8780 | + * <p>Java class for Zone_t complex type.
|
---|
8781 | + *
|
---|
8782 | + * <p>The following schema fragment specifies the expected content contained within this class.
|
---|
8783 | + *
|
---|
8784 | + * <pre>
|
---|
8785 | + * <complexType name="Zone_t">
|
---|
8786 | + * <complexContent>
|
---|
8787 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
---|
8788 | + * </restriction>
|
---|
8789 | + * </complexContent>
|
---|
8790 | + * </complexType>
|
---|
8791 | + * </pre>
|
---|
8792 | + *
|
---|
8793 | + *
|
---|
8794 | + */
|
---|
8795 | +@XmlAccessorType(XmlAccessType.FIELD)
|
---|
8796 | +@XmlType(name = "Zone_t")
|
---|
8797 | +@XmlSeeAlso({
|
---|
8798 | + PredefinedHeartRateZoneT.class,
|
---|
8799 | + CustomHeartRateZoneT.class,
|
---|
8800 | + CustomSpeedZoneT.class,
|
---|
8801 | + PredefinedSpeedZoneT.class
|
---|
8802 | +})
|
---|
8803 | +public abstract class ZoneT {
|
---|
8804 | +
|
---|
8805 | +
|
---|
8806 | +}
|
---|
8807 | Index: src/org/openstreetmap/josm/io/tcx/package-info.java
|
---|
8808 | ===================================================================
|
---|
8809 | --- src/org/openstreetmap/josm/io/tcx/package-info.java (revision 0)
|
---|
8810 | +++ src/org/openstreetmap/josm/io/tcx/package-info.java (revision 0)
|
---|
8811 | @@ -0,0 +1,9 @@
|
---|
8812 | +//
|
---|
8813 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
|
---|
8814 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
---|
8815 | +// Any modifications to this file will be lost upon recompilation of the source schema.
|
---|
8816 | +// Generated on: 2008.08.10 at 10:24:05 AM CEST
|
---|
8817 | +//
|
---|
8818 | +
|
---|
8819 | +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
|
---|
8820 | +package org.openstreetmap.josm.io.tcx;
|
---|
8821 | Index: src/org/openstreetmap/josm/plugins/DataImport.java
|
---|
8822 | ===================================================================
|
---|
8823 | --- src/org/openstreetmap/josm/plugins/DataImport.java (revision 16369)
|
---|
8824 | +++ src/org/openstreetmap/josm/plugins/DataImport.java (working copy)
|
---|
8825 | @@ -3,17 +3,23 @@
|
---|
8826 | */
|
---|
8827 | package org.openstreetmap.josm.plugins;
|
---|
8828 |
|
---|
8829 | +import java.io.IOException;
|
---|
8830 | +
|
---|
8831 | import org.openstreetmap.josm.actions.ExtensionFileFilter;
|
---|
8832 | import org.openstreetmap.josm.io.TangoGPS;
|
---|
8833 | +import org.openstreetmap.josm.io.Tcx;
|
---|
8834 |
|
---|
8835 | public class DataImport extends Plugin {
|
---|
8836 |
|
---|
8837 | - /**
|
---|
8838 | - * Add new File import filter into open dialog
|
---|
8839 | - */
|
---|
8840 | - public DataImport() {
|
---|
8841 | - super();
|
---|
8842 | - ExtensionFileFilter.importers.add(new TangoGPS());
|
---|
8843 | - }
|
---|
8844 | + /**
|
---|
8845 | + * Add new File import filter into open dialog
|
---|
8846 | + */
|
---|
8847 | + public DataImport() throws IOException{
|
---|
8848 | + super();
|
---|
8849 | +
|
---|
8850 | + ExtensionFileFilter.importers.add(new TangoGPS());
|
---|
8851 | + ExtensionFileFilter.importers.add(new Tcx());
|
---|
8852 | + }
|
---|
8853 | +
|
---|
8854 |
|
---|
8855 | }
|
---|