Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java @ 36:ad381cc47217
Format Code to max 80 Chars per Row
gnv/trunk@172 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 02 Oct 2009 08:54:13 +0000 |
parents | fe6a64545552 |
children | 183850730a90 |
comparison
equal
deleted
inserted
replaced
35:4405f31bbc30 | 36:ad381cc47217 |
---|---|
1 /** | 1 /** |
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.artifactdatabase.objects; | 4 package de.intevation.gnv.artifactdatabase.objects; |
5 | |
5 /** | 6 /** |
6 * @author Tim Englich <tim.englich@intevation.de> | 7 * @author Tim Englich <tim.englich@intevation.de> |
7 * | 8 * |
8 */ | 9 */ |
9 public class ArtifactFactory implements ArtifactObject { | 10 public class ArtifactFactory implements ArtifactObject { |
10 | 11 |
11 private String name = null; | 12 private String name = null; |
12 | 13 |
13 private String description = null; | 14 private String description = null; |
14 | 15 |
15 private boolean selected = false; | 16 private boolean selected = false; |
16 | 17 |
17 private String dataBaseUrl = null; | 18 private String dataBaseUrl = null; |
19 | |
18 /** | 20 /** |
19 * @return the dataBaseUrl | 21 * @return the dataBaseUrl |
20 */ | 22 */ |
21 public String getDataBaseUrl() { | 23 public String getDataBaseUrl() { |
22 return dataBaseUrl; | 24 return dataBaseUrl; |
23 } | 25 } |
24 | 26 |
25 | |
26 /** | 27 /** |
27 * Constructor | 28 * Constructor |
29 * | |
28 * @param name | 30 * @param name |
29 * @param description | 31 * @param description |
30 * @param dataBaseUrl | 32 * @param dataBaseUrl |
31 */ | 33 */ |
32 public ArtifactFactory(String name, String description, String dataBaseUrl) { | 34 public ArtifactFactory(String name, String description, String dataBaseUrl) { |
33 super(); | 35 super(); |
34 this.name = name; | 36 this.name = name; |
35 this.description = description; | 37 this.description = description; |
36 this.dataBaseUrl = dataBaseUrl; | 38 this.dataBaseUrl = dataBaseUrl; |
37 } | 39 } |
38 | |
39 | |
40 | 40 |
41 /** | 41 /** |
42 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactObject#getId() | 42 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactObject#getId() |
43 */ | 43 */ |
44 public String getId() { | 44 public String getId() { |
72 */ | 72 */ |
73 public String getDescription() { | 73 public String getDescription() { |
74 return description; | 74 return description; |
75 } | 75 } |
76 | 76 |
77 | |
78 /** | 77 /** |
79 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactObject#getHash() | 78 * @see de.intevation.gnv.artifactdatabase.objects.ArtifactObject#getHash() |
80 */ | 79 */ |
81 public String getHash() { | 80 public String getHash() { |
82 return null; | 81 return null; |