Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultArtifactStatisticsSet.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | af22fa5567a6 |
comparison
equal
deleted
inserted
replaced
689:8487581dfe3b | 690:254f062e334b |
---|---|
2 | 2 |
3 import java.util.ArrayList; | 3 import java.util.ArrayList; |
4 import java.util.Collection; | 4 import java.util.Collection; |
5 | 5 |
6 /** | 6 /** |
7 * The default implementation of <code>ArtifactStatisticsSet</code>. | |
8 * | |
7 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 9 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
8 * | 10 * |
9 */ | 11 */ |
10 public class DefaultArtifactStatisticsSet implements ArtifactStatisticsSet{ | 12 public class DefaultArtifactStatisticsSet implements ArtifactStatisticsSet{ |
11 | 13 |
23 */ | 25 */ |
24 public DefaultArtifactStatisticsSet(String name) { | 26 public DefaultArtifactStatisticsSet(String name) { |
25 this.name = name; | 27 this.name = name; |
26 } | 28 } |
27 | 29 |
28 /** | 30 |
29 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticsSet#addStatisticValues(de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticValue) | |
30 */ | |
31 public void addStatisticValues(ArtifactStatisticValue value) { | 31 public void addStatisticValues(ArtifactStatisticValue value) { |
32 this.statisticValues.add(value); | 32 this.statisticValues.add(value); |
33 } | 33 } |
34 | 34 |
35 /** | 35 |
36 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticsSet#getName() | |
37 */ | |
38 public String getName() { | 36 public String getName() { |
39 return this.name; | 37 return this.name; |
40 } | 38 } |
41 | 39 |
42 /** | 40 |
43 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticsSet#getStatisticValues() | |
44 */ | |
45 public Collection<ArtifactStatisticValue> getStatisticValues() { | 41 public Collection<ArtifactStatisticValue> getStatisticValues() { |
46 return this.statisticValues; | 42 return this.statisticValues; |
47 } | 43 } |
48 | |
49 } | 44 } |
45 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |