001: /*
002: * Copyright (C) 2005 - 2008 JasperSoft Corporation. All rights reserved.
003: * http://www.jaspersoft.com.
004: *
005: * Unless you have purchased a commercial license agreement from JasperSoft,
006: * the following license terms apply:
007: *
008: * This program is free software; you can redistribute it and/or modify
009: * it under the terms of the GNU General Public License version 2 as published by
010: * the Free Software Foundation.
011: *
012: * This program is distributed WITHOUT ANY WARRANTY; and without the
013: * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
014: * See the GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
018: * or write to:
019: *
020: * Free Software Foundation, Inc.,
021: * 59 Temple Place - Suite 330,
022: * Boston, MA USA 02111-1307
023: *
024: *
025: *
026: *
027: * JRFakeObject.java
028: *
029: * Created on September 21, 2006, 4:43 PM
030: *
031: */
032:
033: package it.businesslogic.ireport.util;
034:
035: import net.sf.jasperreports.engine.JRExpression;
036: import net.sf.jasperreports.engine.JRField;
037: import net.sf.jasperreports.engine.JRGroup;
038: import net.sf.jasperreports.engine.JRParameter;
039: import net.sf.jasperreports.engine.JRPropertiesHolder;
040: import net.sf.jasperreports.engine.JRPropertiesMap;
041: import net.sf.jasperreports.engine.JRVariable;
042:
043: /**
044: *
045: * @author gtoffoli
046: */
047: public class JRFakeObject implements JRParameter, JRVariable, JRField {
048:
049: /** Creates a new instance of JRFakeParameter */
050: public JRFakeObject() {
051: }
052:
053: public Object clone() {
054: return null;
055: }
056:
057: public String getName() {
058: return null;
059: }
060:
061: public Object getValue() {
062: return null;
063: }
064:
065: public String getDescription() {
066: return null;
067: }
068:
069: public void setDescription(String string) {
070: }
071:
072: public Class getValueClass() {
073: return null;
074: }
075:
076: public String getValueClassName() {
077: return null;
078: }
079:
080: public boolean isSystemDefined() {
081: return false;
082: }
083:
084: public boolean isForPrompting() {
085: return false;
086: }
087:
088: public JRExpression getDefaultValueExpression() {
089: return null;
090: }
091:
092: public Class getIncrementerFactoryClass() {
093: return null;
094: }
095:
096: public String getIncrementerFactoryClassName() {
097: return null;
098: }
099:
100: public byte getResetType() {
101: return 0;
102: }
103:
104: public byte getIncrementType() {
105: return 0;
106: }
107:
108: public byte getCalculation() {
109: return 0;
110: }
111:
112: public JRExpression getExpression() {
113: return null;
114: }
115:
116: public JRExpression getInitialValueExpression() {
117: return null;
118: }
119:
120: public JRGroup getResetGroup() {
121: return null;
122: }
123:
124: public JRGroup getIncrementGroup() {
125: return null;
126: }
127:
128: public JRPropertiesMap getPropertiesMap() {
129: return null;
130: }
131:
132: public boolean hasProperties() {
133: return false;
134: }
135:
136: public JRPropertiesHolder getParentProperties() {
137: return null;
138: }
139:
140: }
|