]> gitweb.fperrin.net Git - GpsPrune.git/blob - tim/prune/function/gpsies/GpsiesTrack.java
da1339ee113883c19788d9df6bfbeb51242bb4f7
[GpsPrune.git] / tim / prune / function / gpsies / GpsiesTrack.java
1 package tim.prune.function.gpsies;
2
3 /**
4  * Class to hold a single track from Gpsies.com
5  */
6 public class GpsiesTrack
7 {
8         /** Track name or title */
9         private String _trackName = null;
10         /** Description */
11         private String _description = null;
12         /** Web page for more details */
13         private String _webUrl = null;
14         /** Track length in metres */
15         private double _trackLength = 0.0;
16         /** Download link */
17         private String _downloadLink = null;
18
19
20         /**
21          * @param inName name of track
22          */
23         public void setTrackName(String inName)
24         {
25                 _trackName = inName;
26         }
27
28         /**
29          * @return track name
30          */
31         public String getTrackName()
32         {
33                 return _trackName;
34         }
35
36         /**
37          * @param inDesc description
38          */
39         public void setDescription(String inDesc)
40         {
41                 _description = inDesc;
42         }
43
44         /**
45          * @return track description
46          */
47         public String getDescription()
48         {
49                 return _description;
50         }
51
52         /**
53          * @param inUrl web page url
54          */
55         public void setWebUrl(String inUrl)
56         {
57                 _webUrl = inUrl;
58         }
59
60         /**
61          * @return web url
62          */
63         public String getWebUrl()
64         {
65                 return _webUrl;
66         }
67
68         /**
69          * @param inLength length of track
70          */
71         public void setLength(double inLength)
72         {
73                 _trackLength = inLength;
74         }
75
76         /**
77          * @return track length
78          */
79         public double getLength()
80         {
81                 return _trackLength;
82         }
83
84         /**
85          * @param inLink link to download track
86          */
87         public void setDownloadLink(String inLink)
88         {
89                 _downloadLink = inLink;
90         }
91
92         /**
93          * @return download link
94          */
95         public String getDownloadLink()
96         {
97                 return _downloadLink;
98         }
99 }