01: /*
02: * Copyright 2006-2007 Pentaho Corporation. All rights reserved.
03: * This software was developed by Pentaho Corporation and is provided under the terms
04: * of the Mozilla Public License, Version 1.1, or any later version. You may not use
05: * this file except in compliance with the license. If you need a copy of the license,
06: * please go to http://www.mozilla.org/MPL/MPL-1.1.txt.
07: *
08: * Software distributed under the Mozilla Public License is distributed on an "AS IS"
09: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
10: * the license for the specific language governing your rights and limitations.
11: *
12: * Additional Contributor(s): Martin Schmid gridvision engineering GmbH
13: */
14: package org.pentaho.reportdesigner.crm.report.tests.wrapper;
15:
16: import org.jetbrains.annotations.NotNull;
17: import org.jfree.report.function.AbstractFunction;
18: import org.jfree.report.function.Expression;
19:
20: import java.io.Serializable;
21:
22: @SuppressWarnings({"ALL"})
23: public class TestJFreeFunction extends AbstractFunction implements
24: Serializable {
25: @NotNull
26: private String field;
27:
28: public TestJFreeFunction() {
29: }
30:
31: public String getField() {
32: return field;
33: }
34:
35: public void setField(@NotNull
36: String field) {
37: this .field = field;
38: }
39:
40: public Object getValue() {
41: return null;
42: }
43:
44: public Expression getInstance() {
45: final TestJFreeFunction function = (TestJFreeFunction) super
46: .getInstance();
47: return function;
48: }
49:
50: }
|