comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultInputParameter.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
1 package de.intevation.gnv.artifactdatabase.objects; 1 package de.intevation.gnv.artifactdatabase.objects;
2 2
3 /** 3 /**
4 * The default implementation of <code>InputParameter</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 * 7 *
6 */ 8 */
7 public class DefaultInputParameter implements InputParameter { 9 public class DefaultInputParameter implements InputParameter {
8 10
9 /**
10 * The UID of this Class.
11 */
12 private static final long serialVersionUID = 6597439837482244211L; 11 private static final long serialVersionUID = 6597439837482244211L;
13 12
14 private String name = null; 13 private String name = null;
15 14
16 private String[] values = null; 15 private String[] values = null;
17 16
18 /** 17 /**
19 * Constructor 18 * Constructor
20 * 19 *
21 * @param name 20 * @param name The name of this parameter.
22 * @param values 21 * @param values The values of this parameter.
23 */ 22 */
24 public DefaultInputParameter(String name, String[] values) { 23 public DefaultInputParameter(String name, String[] values) {
25 super(); 24 super();
26 this.name = name; 25 this.name = name;
27 this.values = values; 26 this.values = values;
28 } 27 }
29 28
30 /**
31 * @see de.intevation.gnv.artifactdatabase.objects.InputParameter#getName()
32 */
33 public String getName() { 29 public String getName() {
34 return this.name; 30 return this.name;
35 } 31 }
36 32
37 /**
38 * @see de.intevation.gnv.artifactdatabase.objects.InputParameter#getValues()
39 */
40 public String[] getValues() { 33 public String[] getValues() {
41 return this.values; 34 return this.values;
42 } 35 }
43
44 } 36 }
37 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org