Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/sessionmodel/DefaultSessionModel.java @ 954:a88fc6320cf8
Add more Javadocs
gnv/trunk@1098 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 18 May 2010 09:11:31 +0000 |
parents | 2659a5b1fa1e |
children | d1ed5c51c0de |
comparison
equal
deleted
inserted
replaced
953:4b64b4d1f0cf | 954:a88fc6320cf8 |
---|---|
1 package de.intevation.gnv.action.sessionmodel; | 1 package de.intevation.gnv.action.sessionmodel; |
2 | |
3 import de.intevation.gnv.artifactdatabase.objects.ArtifactDescription; | |
4 import de.intevation.gnv.artifactdatabase.objects.ArtifactObject; | |
5 import de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticsSet; | |
6 import de.intevation.gnv.artifactdatabase.objects.OutputMode; | |
7 | 2 |
8 import java.util.Collection; | 3 import java.util.Collection; |
9 import java.util.Iterator; | 4 import java.util.Iterator; |
10 import java.util.Locale; | 5 import java.util.Locale; |
11 | 6 |
12 import org.apache.log4j.Logger; | 7 import org.apache.log4j.Logger; |
8 | |
9 import de.intevation.gnv.artifactdatabase.objects.ArtifactDescription; | |
10 import de.intevation.gnv.artifactdatabase.objects.ArtifactObject; | |
11 import de.intevation.gnv.artifactdatabase.objects.ArtifactStatisticsSet; | |
12 import de.intevation.gnv.artifactdatabase.objects.OutputMode; | |
13 | 13 |
14 /** | 14 /** |
15 * The default implementation of <code>SessionModel</code> which stores the | 15 * The default implementation of <code>SessionModel</code> which stores the |
16 * current artifact object and the digram options selected by the user. | 16 * current artifact object and the digram options selected by the user. |
17 * | 17 * |
28 /** | 28 /** |
29 * The UID of this Class. | 29 * The UID of this Class. |
30 */ | 30 */ |
31 private static final long serialVersionUID = 3431484439985158311L; | 31 private static final long serialVersionUID = 3431484439985158311L; |
32 | 32 |
33 /** | |
34 * Container for <code>ArtifactFactory</code>-objects. | |
35 */ | |
33 private Collection<ArtifactObject> artifactFactories = null; | 36 private Collection<ArtifactObject> artifactFactories = null; |
34 | 37 |
38 /** | |
39 * The selected <code>ArtifactFactory</code> | |
40 */ | |
35 private ArtifactObject selectedArtifactFactory = null; | 41 private ArtifactObject selectedArtifactFactory = null; |
36 | 42 |
43 /** | |
44 * The currently used artifact. | |
45 */ | |
37 private ArtifactObject currentArtifact = null; | 46 private ArtifactObject currentArtifact = null; |
38 | 47 |
48 /** | |
49 * The Diagrammoptions. | |
50 */ | |
39 private DiagrammOptions diagrammOptions = null; | 51 private DiagrammOptions diagrammOptions = null; |
40 | 52 |
53 /** | |
54 * The Container for statistic-values. | |
55 */ | |
41 private Collection<ArtifactStatisticsSet> statistics = null; | 56 private Collection<ArtifactStatisticsSet> statistics = null; |
42 | 57 |
58 /** | |
59 * The Locale that currently should be used. | |
60 */ | |
43 private Locale currentLocale; | 61 private Locale currentLocale; |
44 | 62 |
45 /** | 63 /** |
46 * Constructor | 64 * Constructor |
47 */ | 65 */ |
49 this(null); | 67 this(null); |
50 } | 68 } |
51 | 69 |
52 /** | 70 /** |
53 * Constructor | 71 * Constructor |
54 * | |
55 * @param currentLocale A locale used to create the user interface. | 72 * @param currentLocale A locale used to create the user interface. |
56 */ | 73 */ |
57 public DefaultSessionModel(Locale currentLocale) { | 74 public DefaultSessionModel(Locale currentLocale) { |
58 this.currentLocale = currentLocale; | 75 this.currentLocale = currentLocale; |
59 } | 76 } |
80 } | 97 } |
81 } | 98 } |
82 | 99 |
83 | 100 |
84 public void setArtifacteFactories( | 101 public void setArtifacteFactories( |
85 Collection<ArtifactObject> artifactFactories) { | 102 Collection<ArtifactObject> artifactFactories) { |
86 this.artifactFactories = artifactFactories; | 103 this.artifactFactories = artifactFactories; |
87 } | 104 } |
88 | 105 |
89 | 106 |
90 public Collection<ArtifactObject> getArtifactFactories() { | 107 public Collection<ArtifactObject> getArtifactFactories() { |