ingo@1022: /* ingo@1022: * Copyright (c) 2010 by Intevation GmbH ingo@1022: * ingo@1022: * This program is free software under the LGPL (>=v2.1) ingo@1022: * Read the file LGPL.txt coming with the software for details ingo@1022: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1022: */ ingo@1022: tim@12: package de.intevation.gnv.artifactdatabase.objects; tim@36: tim@12: /** ingo@690: * The default implementation of InputParameter. sascha@699: * sascha@684: * @author Tim Englich sascha@681: * tim@12: */ tim@12: public class DefaultInputParameter implements InputParameter { tim@12: tim@958: /** tim@958: * The UID of this Class. tim@958: */ tim@165: private static final long serialVersionUID = 6597439837482244211L; tim@165: tim@958: /** tim@958: * The name of this parameter. tim@958: */ tim@12: private String name = null; tim@36: tim@958: /** tim@958: * The values of this parameter. tim@958: */ tim@12: private String[] values = null; tim@36: tim@12: /** tim@12: * Constructor ingo@690: * @param name The name of this parameter. ingo@690: * @param values The values of this parameter. tim@12: */ tim@12: public DefaultInputParameter(String name, String[] values) { tim@12: super(); tim@12: this.name = name; tim@12: this.values = values; tim@12: } tim@12: tim@12: public String getName() { tim@12: return this.name; tim@12: } tim@12: tim@12: public String[] getValues() { tim@12: return this.values; tim@12: } tim@12: } sascha@700: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :