net.sf.tourviewer.lib
Class Tour

java.lang.Object
  extended by net.sf.tourviewer.lib.Tour
All Implemented Interfaces:
Comparable

public class Tour
extends Object
implements Comparable


Nested Class Summary
static class Tour.Type
           
 
Field Summary
(package private)  double avgAltitudeInc
           
(package private)  double avgPulse
           
(package private)  double avgSlope
           
(package private)  double avgSpeed
           
(package private)  double avgTemperature
           
(package private)  int maxAltitude
           
(package private)  int totalAltitudeDown
           
(package private)  int totalAltitudeUp
           
 
Constructor Summary
Tour()
           
 
Method Summary
 void addMarker(Marker marker)
           
 void addRecord(TourRecord record)
           
 int compareTo(Object o)
           
 double getAvgAltitudeInc()
           
 double getAvgPulse()
           
 double getAvgSlope()
           
 double getAvgSpeed()
           
 double getAvgTemperature()
           
 Bike getBike()
           
 long getDistance()
           
 String getEndLocation()
           
 Date getEndTime()
           
 int getMaxAltitude()
           
 String getNote()
           
 TourRecord[] getRecords()
           
 String getStartLocation()
           
 Date getStartTime()
           
 String getTitle()
           
 int getTotalAltitudeDown()
           
 int getTotalAltitudeUp()
           
 long getTravelTime()
           
 Tour.Type getType()
           
 boolean isAutoStatistics()
           
 void setAutoStatistics(boolean autoStatistics)
           
 void setAvgAltitudeInc(double avgAltitudeInc)
           
 void setAvgPulse(double avgPulse)
           
 void setAvgSlope(double avgSlope)
           
 void setAvgSpeed(double avgSpeed)
           
 void setAvgTemperature(double avgTemperature)
           
 void setBike(Bike bike)
           
 void setDistance(long distance)
           
 void setEndLocation(String endLocation)
           
 void setEndTime(Date endTime)
           
 void setMaxAltitude(int maxAltitude)
           
 void setNote(String note)
           
 void setStartLocation(String startLocation)
           
 void setStartTime(Date startTime)
           
 void setTitle(String title)
           
 void setTotalAltitudeDown(int totalAltitudeDown)
           
 void setTotalAltitudeUp(int totalAltitudeUp)
           
 void setTravelTime(long travelTime)
           
 void setType(Tour.Type type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

avgAltitudeInc

double avgAltitudeInc

avgPulse

double avgPulse

avgSlope

double avgSlope

avgSpeed

double avgSpeed

avgTemperature

double avgTemperature

maxAltitude

int maxAltitude

totalAltitudeDown

int totalAltitudeDown

totalAltitudeUp

int totalAltitudeUp
Constructor Detail

Tour

public Tour()
Method Detail

addMarker

public void addMarker(Marker marker)

addRecord

public void addRecord(TourRecord record)

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getAvgAltitudeInc

public double getAvgAltitudeInc()

getAvgPulse

public double getAvgPulse()

getAvgSlope

public double getAvgSlope()

getAvgSpeed

public double getAvgSpeed()

getAvgTemperature

public double getAvgTemperature()

getBike

public Bike getBike()

getDistance

public long getDistance()

getEndLocation

public String getEndLocation()

getEndTime

public Date getEndTime()

getMaxAltitude

public int getMaxAltitude()

getNote

public String getNote()

getRecords

public TourRecord[] getRecords()

getStartLocation

public String getStartLocation()

getStartTime

public Date getStartTime()

getTitle

public String getTitle()

getTotalAltitudeDown

public int getTotalAltitudeDown()

getTotalAltitudeUp

public int getTotalAltitudeUp()

getTravelTime

public long getTravelTime()

getType

public Tour.Type getType()

isAutoStatistics

public boolean isAutoStatistics()

setAutoStatistics

public void setAutoStatistics(boolean autoStatistics)

setAvgAltitudeInc

public void setAvgAltitudeInc(double avgAltitudeInc)

setAvgPulse

public void setAvgPulse(double avgPulse)

setAvgSlope

public void setAvgSlope(double avgSlope)

setAvgSpeed

public void setAvgSpeed(double avgSpeed)

setAvgTemperature

public void setAvgTemperature(double avgTemperature)

setBike

public void setBike(Bike bike)

setDistance

public void setDistance(long distance)

setEndLocation

public void setEndLocation(String endLocation)

setEndTime

public void setEndTime(Date endTime)

setMaxAltitude

public void setMaxAltitude(int maxAltitude)

setNote

public void setNote(String note)

setStartLocation

public void setStartLocation(String startLocation)

setStartTime

public void setStartTime(Date startTime)

setTitle

public void setTitle(String title)

setTotalAltitudeDown

public void setTotalAltitudeDown(int totalAltitudeDown)

setTotalAltitudeUp

public void setTotalAltitudeUp(int totalAltitudeUp)

setTravelTime

public void setTravelTime(long travelTime)

setType

public void setType(Tour.Type type)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005 Steffen Pingel. All Rights Reserved.