Coverage details for net.sf.tourviewer.ciclo.HAC4Info2Record

LineHitsSource
1 package net.sf.tourviewer.ciclo;
2  
3  
4  
5 public class HAC4Info2Record extends AbstractRecord {
6  
7     private Object countDown1;
8     private Object countDown2;
9     private int altitudeErrorCorrection;
10     private int totalDistance;
11     private int nextFreeOffset;
12     private int year;
13     private int month;
14     private int day;
15  
16     public HAC4Info2Record(int[] data) {
170        super(data);
18         
190        this.countDown1 = getDecH(0) * 60 + getDecL(0);
200        this.countDown2 = getDecH(1) * 60 + getDecL(1);
210        this.altitudeErrorCorrection = getHex(2);
220        this.totalDistance = getHex(3) << 16 + getHex(4);
230        this.nextFreeOffset = getHex(5);
240        this.year = getDec(6);
250        this.month = getDecH(7);
260        this.day = getDecL(7);
270    }
28     
29     public String toString()
30     {
310        return getDataString();
32     }
33  
34     
35     public int getAltitudeErrorCorrection()
36     {
370        return altitudeErrorCorrection;
38     }
39  
40     
41     public Object getCountDown1()
42     {
430        return countDown1;
44     }
45  
46     
47     public Object getCountDown2()
48     {
490        return countDown2;
50     }
51  
52     
53     public int getDay()
54     {
550        return day;
56     }
57  
58     
59     public int getMonth()
60     {
610        return month;
62     }
63  
64     
65     public int getNextFreeOffset()
66     {
670        return nextFreeOffset;
68     }
69  
70     
71     public int getTotalDistance()
72     {
730        return totalDistance;
74     }
75  
76     
77     public int getYear()
78     {
790        return year;
80     }
81  
82     
83     public void setAltitudeErrorCorrection(int altitudeErrorCorrection)
84     {
850        this.altitudeErrorCorrection = altitudeErrorCorrection;
860    }
87  
88     
89     public void setCountDown1(Object countDown1)
90     {
910        this.countDown1 = countDown1;
920    }
93  
94     
95     public void setCountDown2(Object countDown2)
96     {
970        this.countDown2 = countDown2;
980    }
99  
100     
101     public void setDay(int day)
102     {
1030        this.day = day;
1040    }
105  
106     
107     public void setMonth(int month)
108     {
1090        this.month = month;
1100    }
111  
112     
113     public void setNextFreeOffset(int nextFreeOffset)
114     {
1150        this.nextFreeOffset = nextFreeOffset;
1160    }
117  
118     
119     public void setTotalDistance(int totalDistance)
120     {
1210        this.totalDistance = totalDistance;
1220    }
123  
124     
125     public void setYear(int year)
126     {
1270        this.year = year;
1280    }
129     
130 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.