1 package net.sf.tourviewer.lib;
2
3 public class Bike {
4
5 private int wheelPerimeter;
6 private long travelTime;
7 private int distance;
8 private int weight;
9
10 /***
11 * @param perimeter
12 */
13 public Bike()
14 {
15 }
16
17 @Override
18 public String toString()
19 {
20 return getClass().getName() + String.format("[distance=%d,travelTime=%d,wheelPerimeter=%d]",
21 distance, travelTime, wheelPerimeter);
22 }
23
24 public int getWheelPerimeter()
25 {
26 return wheelPerimeter;
27 }
28
29
30 public void setWheelPerimeter(int wheelPerimeter)
31 {
32 this.wheelPerimeter = wheelPerimeter;
33 }
34
35
36
37 public int getDistance()
38 {
39 return distance;
40 }
41
42
43
44 public long getTravelTime()
45 {
46 return travelTime;
47 }
48
49
50
51 public void setDistance(int distance)
52 {
53 this.distance = distance;
54 }
55
56
57
58 public void setTravelTime(long travelTime)
59 {
60 this.travelTime = travelTime;
61 }
62
63 }