01: /*
02: * Copyright (C) 2007 Erik Swenson - erik@oreports.com
03: *
04: * This program is free software; you can redistribute it and/or modify it
05: * under the terms of the GNU General Public License as published by the Free
06: * Software Foundation; either version 2 of the License, or (at your option)
07: * any later version.
08: *
09: * This program is distributed in the hope that it will be useful, but WITHOUT
10: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12: * more details.
13: *
14: * You should have received a copy of the GNU General Public License along with
15: * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16: * Place - Suite 330, Boston, MA 02111-1307, USA.
17: *
18: */
19:
20: package org.efs.openreports.services.input;
21:
22: import java.io.Serializable;
23:
24: public class ParameterInput implements Serializable {
25: private static final long serialVersionUID = -6620997797656979135L;
26:
27: private String name;
28: private String[] values;
29:
30: /**
31: * Default constructor.
32: */
33: public ParameterInput() {
34: }
35:
36: /**
37: * Full constructor.
38: *
39: * @param name Name of the parameter
40: * @param values parameter values
41: */
42: public ParameterInput(String name, String... values) {
43: this .name = name;
44: this .values = values;
45: }
46:
47: public String getName() {
48: return name;
49: }
50:
51: public void setName(String name) {
52: this .name = name;
53: }
54:
55: public String[] getValues() {
56: return values;
57: }
58:
59: public void setValues(String[] values) {
60: this.values = values;
61: }
62:
63: }
|