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