view gnv-artifacts/src/main/java/de/intevation/gnv/state/ExtendedInputData.java @ 793:2047f318e964

Added missing vim control comments. gnv-artifacts/trunk@875 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 31 Mar 2010 10:56:39 +0000
parents c907636c0288
children a5526908f92f
line wrap: on
line source
package de.intevation.gnv.state;

/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class ExtendedInputData extends DefaultInputData {

    public static final String SEPARATOR = ";";

    protected String parameterid;

    public ExtendedInputData(
        String name,
        String value,
        Object object,
        String parameterid)
    {
        super(name, value, object);
        this.parameterid = parameterid;
    }

    public String getParameterID() {
        return parameterid;
    }

    public void setParameter(String parameterid) {
        this.parameterid = parameterid;
    }

    public String[] splitParameter() {
        if (parameterid != null)
            return parameterid.split(SEPARATOR);

        return null;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org