comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/ArtifactFactory.java @ 958:d5d4dbda17cc

Add more Javadocs gnv/trunk@1102 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 18 May 2010 09:51:41 +0000
parents 89ade245ca7a
children 28a0628b11b0
comparison
equal deleted inserted replaced
957:33fb5bf4e62c 958:d5d4dbda17cc
1 package de.intevation.gnv.artifactdatabase.objects; 1 package de.intevation.gnv.artifactdatabase.objects;
2 2
3 /** 3 /**
4 * Implementation of an <code>ArtifactObject> which represents an
5 * <code>ArtifactFactory</code>
6 * This Class provides the name, the description, the URL where the
7 * the <code>ArtifactDatabase</code> the factory belongs to could be reached
8 * and if the <code>ArtifacFactory</code> is currently selected or not.
9 *
4 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 10 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
5 */ 11 */
6 public class ArtifactFactory implements ArtifactObject { 12 public class ArtifactFactory implements ArtifactObject {
7 13
8 /** 14 /**
9 * The UID of this Class. 15 * The UID of this Class.
10 */ 16 */
11 private static final long serialVersionUID = 5453748230625831527L; 17 private static final long serialVersionUID = 5453748230625831527L;
12 18
19 /**
20 * The name of the factory.
21 */
13 private String name = null; 22 private String name = null;
14 23
24 /**
25 * The description of the Factory.
26 */
15 private String description = null; 27 private String description = null;
16 28
29 /**
30 * Flag which mark the Artifactfactory as selected if value is true
31 * unselected if value is false.
32 */
17 private boolean selected = false; 33 private boolean selected = false;
18 34
35 /**
36 * The URL where the Factory could be reached.
37 */
19 private String dataBaseUrl = null; 38 private String dataBaseUrl = null;
20 39
21 /** 40 /**
22 * Returns the url of the artifact server. 41 * Returns the url of the artifact server.
23 * 42 *
31 * Constructor 50 * Constructor
32 * @param name the name of the factory 51 * @param name the name of the factory
33 * @param description the description of the Factory 52 * @param description the description of the Factory
34 * @param dataBaseUrl the URL where the Factory could be reached. 53 * @param dataBaseUrl the URL where the Factory could be reached.
35 */ 54 */
36 public ArtifactFactory(String name, String description, String dataBaseUrl) { 55 public ArtifactFactory(String name,
56 String description,
57 String dataBaseUrl) {
37 super(); 58 super();
38 this.name = name; 59 this.name = name;
39 this.description = description; 60 this.description = description;
40 this.dataBaseUrl = dataBaseUrl; 61 this.dataBaseUrl = dataBaseUrl;
41 } 62 }

http://dive4elements.wald.intevation.org