view gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/fis/product/DefaultProduct.java @ 836:05bf8534a35a

Using unix line endings only. gnv-artifacts/trunk@938 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 18 Apr 2010 09:17:25 +0000
parents 22c18083225e
children f953c9a559d8
line wrap: on
line source
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 :

http://dive4elements.wald.intevation.org