Line | Hits | Source |
---|---|---|
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 | 0 | { |
15 | 0 | } |
16 | ||
17 | @Override | |
18 | public String toString() | |
19 | { | |
20 | 0 | return getClass().getName() + String.format("[distance=%d,travelTime=%d,wheelPerimeter=%d]", |
21 | distance, travelTime, wheelPerimeter); | |
22 | } | |
23 | ||
24 | public int getWheelPerimeter() | |
25 | { | |
26 | 0 | return wheelPerimeter; |
27 | } | |
28 | ||
29 | ||
30 | public void setWheelPerimeter(int wheelPerimeter) | |
31 | { | |
32 | 0 | this.wheelPerimeter = wheelPerimeter; |
33 | 0 | } |
34 | ||
35 | ||
36 | ||
37 | public int getDistance() | |
38 | { | |
39 | 0 | return distance; |
40 | } | |
41 | ||
42 | ||
43 | ||
44 | public long getTravelTime() | |
45 | { | |
46 | 0 | return travelTime; |
47 | } | |
48 | ||
49 | ||
50 | ||
51 | public void setDistance(int distance) | |
52 | { | |
53 | 0 | this.distance = distance; |
54 | 0 | } |
55 | ||
56 | ||
57 | ||
58 | public void setTravelTime(long travelTime) | |
59 | { | |
60 | 0 | this.travelTime = travelTime; |
61 | 0 | } |
62 | ||
63 | } |
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |