Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/timeseries/gap/DefaultTimeGap.java @ 810:991e13c3d504
Added Javadoc in timeseries package.
gnv-artifacts/trunk@894 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 09 Apr 2010 10:22:38 +0000 |
parents | c4156275c1e1 |
children | 2423cefe7d39 |
comparison
equal
deleted
inserted
replaced
809:d05b17a4f3d0 | 810:991e13c3d504 |
---|---|
1 package de.intevation.gnv.timeseries.gap; | 1 package de.intevation.gnv.timeseries.gap; |
2 | 2 |
3 /** | 3 /** |
4 * The default implementation of <code>TimeGap</code>. | |
5 * | |
4 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 6 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
5 * | |
6 */ | 7 */ |
7 public class DefaultTimeGap implements TimeGap{ | 8 public class DefaultTimeGap implements TimeGap { |
8 | 9 |
9 /** | 10 /** |
10 * The UNIT of the TimeGap | 11 * The UNIT of the TimeGap |
11 * See the Constants in de.intevation.gnv.timeseries.gap.TimeGap | 12 * See the Constants in de.intevation.gnv.timeseries.gap.TimeGap |
12 */ | 13 */ |
25 */ | 26 */ |
26 private int value; | 27 private int value; |
27 | 28 |
28 /** | 29 /** |
29 * Constructor | 30 * Constructor |
30 * @param unit | 31 * |
31 * @param key | 32 * @param unit Unit of this value. |
32 * @param value | 33 * @param key The key of this time gap. |
34 * @param value The value of this gap. | |
33 */ | 35 */ |
34 public DefaultTimeGap(String unit, int key, int value) { | 36 public DefaultTimeGap(String unit, int key, int value) { |
35 super(); | 37 super(); |
36 this.unit = unit; | 38 this.unit = unit; |
37 this.key = key; | 39 this.key = key; |
38 this.value = value; | 40 this.value = value; |
39 } | 41 } |
40 | 42 |
41 /** | 43 |
42 * @see de.intevation.gnv.timeseries.gap.TimeGap#getUnit() | |
43 */ | |
44 public String getUnit() { | 44 public String getUnit() { |
45 return this.unit; | 45 return this.unit; |
46 } | 46 } |
47 | 47 |
48 /** | 48 |
49 * @see de.intevation.gnv.timeseries.gap.TimeGap#getKey() | |
50 */ | |
51 public int getKey() { | 49 public int getKey() { |
52 return this.key; | 50 return this.key; |
53 } | 51 } |
54 | 52 |
55 /** | 53 |
56 * @see de.intevation.gnv.timeseries.gap.TimeGap#getValue() | |
57 */ | |
58 public int getValue() { | 54 public int getValue() { |
59 return this.value; | 55 return this.value; |
60 } | 56 } |
61 | 57 |
62 } | 58 } |
59 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |