Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/DefaultProduct.java @ 1115:f953c9a559d8
Added license file and license headers.
gnv-artifacts/trunk@1260 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 02 Nov 2010 17:46:55 +0000 |
parents | 05bf8534a35a |
children |
line wrap: on
line source
/* * Copyright (c) 2010 by Intevation GmbH * * This program is free software under the LGPL (>=v2.1) * Read the file LGPL.txt coming with the software for details * or visit http://www.gnu.org/licenses/ if it does not exist. */ package de.intevation.gnv.artifacts.fis.product; import de.intevation.gnv.state.InputData; import java.util.Collection; /** * This is the default implementation of <code>Product</code>. * * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> * */ public class DefaultProduct implements Product { /** * The UID of this Class */ private static final long serialVersionUID = 6473812725442092770L; private String name = null; private Collection<InputData> parameter = null; private String artifactFactory = null; /** * Constructor * * @param name The name of this product. * @param parameter Required parameters for this product. * @param artifactFactory The artifact factory. */ public DefaultProduct( String name, Collection<InputData> parameter, String artifactFactory ) { super(); this.name = name; this.parameter = parameter; this.artifactFactory = artifactFactory; } /** * @return the name if this product. */ public String getName() { return this.name; } /** * @return the input data. */ public Collection<InputData> getParameter() { return this.parameter; } /** * @return the artifact factory. */ public String getArtifactFactory() { return this.artifactFactory; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :