comparison artifact-database/src/main/java/de/intevation/artifactdatabase/data/DefaultStateData.java @ 200:62dd8438885f

Added a further constructor to the DefaultStateData class. artifacts/trunk@1439 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 09 Mar 2011 14:02:03 +0000
parents 33271242e303
children 93a774fe2bb4
comparison
equal deleted inserted replaced
199:face2302387c 200:62dd8438885f
36 */ 36 */
37 public DefaultStateData(String name, String description, String type) { 37 public DefaultStateData(String name, String description, String type) {
38 this.name = name; 38 this.name = name;
39 this.description = description; 39 this.description = description;
40 this.type = type; 40 this.type = type;
41 }
42
43
44 /**
45 * A constructor that takes the name of the data, its value and the
46 * describing parameters description and type.
47 *
48 * @param name The name of the data item.
49 * @param description The description.
50 * @param type The type.
51 * @param value The value of the data item.
52 */
53 public DefaultStateData(
54 String name,
55 String description,
56 String type,
57 String value)
58 {
59 this.name = name;
60 this.description = description;
61 this.type = type;
62 this.value = value;
41 } 63 }
42 64
43 65
44 /** 66 /**
45 * Returns the name of the data object. 67 * Returns the name of the data object.

http://dive4elements.wald.intevation.org