Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/DefaultProduct.java @ 792:9b9bf42b7928
Added and repaired JavaDoc in artifacts package.
gnv-artifacts/trunk@874 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 31 Mar 2010 10:52:34 +0000 |
parents | c4156275c1e1 |
children | feae2f9d6c6f |
comparison
equal
deleted
inserted
replaced
791:23877dd69444 | 792:9b9bf42b7928 |
---|---|
3 import de.intevation.gnv.state.InputData; | 3 import de.intevation.gnv.state.InputData; |
4 | 4 |
5 import java.util.Collection; | 5 import java.util.Collection; |
6 | 6 |
7 /** | 7 /** |
8 * This is the default implementation of <code>Product</code>. | |
9 * | |
8 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 10 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
9 * | 11 * |
10 */ | 12 */ |
11 public class DefaultProduct implements Product { | 13 public class DefaultProduct implements Product { |
12 | 14 |
22 private String artifactFactory = null; | 24 private String artifactFactory = null; |
23 | 25 |
24 /** | 26 /** |
25 * Constructor | 27 * Constructor |
26 * | 28 * |
27 * @param name | 29 * @param name The name of this product. |
28 * @param parameter | 30 * @param parameter Required parameters for this product. |
29 * @param artifactFactory | 31 * @param artifactFactory The artifact factory. |
30 */ | 32 */ |
31 public DefaultProduct( | 33 public DefaultProduct( |
32 String name, | 34 String name, |
33 Collection<InputData> parameter, | 35 Collection<InputData> parameter, |
34 String artifactFactory | 36 String artifactFactory |
38 this.parameter = parameter; | 40 this.parameter = parameter; |
39 this.artifactFactory = artifactFactory; | 41 this.artifactFactory = artifactFactory; |
40 } | 42 } |
41 | 43 |
42 /** | 44 /** |
43 * @see de.intevation.gnv.artifacts.fis.product.Product#getName() | 45 * @return |
44 */ | 46 */ |
45 public String getName() { | 47 public String getName() { |
46 return this.name; | 48 return this.name; |
47 } | 49 } |
48 | 50 |
49 /** | 51 /** |
50 * @see de.intevation.gnv.artifacts.fis.product.Product#getParameter() | 52 * @return |
51 */ | 53 */ |
52 public Collection<InputData> getParameter() { | 54 public Collection<InputData> getParameter() { |
53 return this.parameter; | 55 return this.parameter; |
54 } | 56 } |
55 | 57 |
56 /** | 58 /** |
57 * @see de.intevation.gnv.artifacts.fis.product.Product#getArtifactFactory() | 59 * @return |
58 */ | 60 */ |
59 public String getArtifactFactory() { | 61 public String getArtifactFactory() { |
60 return this.artifactFactory; | 62 return this.artifactFactory; |
61 } | 63 } |
62 | 64 |
63 } | 65 } |
66 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |