01: /*
02: * Copyright (C) 2005 - 2008 JasperSoft Corporation. All rights reserved.
03: * http://www.jaspersoft.com.
04: *
05: * Unless you have purchased a commercial license agreement from JasperSoft,
06: * the following license terms apply:
07: *
08: * This program is free software; you can redistribute it and/or modify
09: * it under the terms of the GNU General Public License version 2 as published by
10: * the Free Software Foundation.
11: *
12: * This program is distributed WITHOUT ANY WARRANTY; and without the
13: * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14: * See the GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
18: * or write to:
19: *
20: * Free Software Foundation, Inc.,
21: * 59 Temple Place - Suite 330,
22: * Boston, MA USA 02111-1307
23: *
24: *
25: *
26: *
27: * QueryExecuterDef.java
28: *
29: * Created on 10 marzo 2004, 18.08
30: *
31: */
32:
33: package it.businesslogic.ireport.gui.queryexecuters;
34:
35: /**
36: *
37: * @author Administrator
38: */
39: public class QueryExecuterDef {
40:
41: private String language = "";
42: private String className = "";
43: private String fieldsProvider = "";
44:
45: /** Creates a new instance of JRProperty */
46: public QueryExecuterDef(String language, String className,
47: String fieldsProvider) {
48: this .language = language;
49: this .className = className;
50: this .fieldsProvider = fieldsProvider;
51: }
52:
53: /** Creates a new instance of JRProperty */
54: public QueryExecuterDef(String language, String className) {
55: this (language, className, "");
56: }
57:
58: /** Creates a new instance of JRProperty */
59: public QueryExecuterDef() {
60: }
61:
62: public String toString() {
63: return (getLanguage() == null) ? "" : getLanguage();
64: }
65:
66: public String getLanguage() {
67: return language;
68: }
69:
70: public void setLanguage(String language) {
71: this .language = language;
72: }
73:
74: public String getClassName() {
75: return className;
76: }
77:
78: public void setClassName(String className) {
79: this .className = className;
80: }
81:
82: public String getFieldsProvider() {
83: return fieldsProvider;
84: }
85:
86: public void setFieldsProvider(String fieldsProvider) {
87: this.fieldsProvider = fieldsProvider;
88: }
89: }
|