er.jasperreports
Class ERJRFoundationDataSource
java.lang.Object
er.jasperreports.ERJRFoundationDataSource
- All Implemented Interfaces:
- net.sf.jasperreports.engine.JRDataSource
public class ERJRFoundationDataSource
- extends java.lang.Object
- implements net.sf.jasperreports.engine.JRDataSource
Takes an an NSArray of NSKeyValueCodingAdditions
(think keypaths) objects
Field Summary |
protected com.webobjects.foundation.NSKeyValueCodingAdditions |
currRow
Private NSArray that contains the database values we wish to use in the report. |
protected com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> |
debugRow
|
protected java.util.Enumeration<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> |
e
|
protected boolean |
filterNulls
|
static java.lang.String |
REPORT_KEYPATH_SEPARATOR
|
Constructor Summary |
ERJRFoundationDataSource(java.util.Enumeration<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> enumeration,
int itemCount)
|
ERJRFoundationDataSource(com.webobjects.foundation.NSArray<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> arr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPORT_KEYPATH_SEPARATOR
public static final java.lang.String REPORT_KEYPATH_SEPARATOR
currRow
protected com.webobjects.foundation.NSKeyValueCodingAdditions currRow
- Private NSArray that contains the database values we wish to use in the report.
e
protected java.util.Enumeration<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> e
filterNulls
protected boolean filterNulls
debugRow
protected com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> debugRow
ERJRFoundationDataSource
public ERJRFoundationDataSource(com.webobjects.foundation.NSArray<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> arr)
ERJRFoundationDataSource
public ERJRFoundationDataSource(java.util.Enumeration<? extends com.webobjects.foundation.NSKeyValueCodingAdditions> enumeration,
int itemCount)
next
public boolean next()
throws net.sf.jasperreports.engine.JRException
- Specified by:
next
in interface net.sf.jasperreports.engine.JRDataSource
- Throws:
net.sf.jasperreports.engine.JRException
getFilterNulls
public boolean getFilterNulls()
setFilterNulls
public void setFilterNulls(boolean filters)
getFieldValue
public java.lang.Object getFieldValue(net.sf.jasperreports.engine.JRField jrField)
throws net.sf.jasperreports.engine.JRException
- Specified by:
getFieldValue
in interface net.sf.jasperreports.engine.JRDataSource
- Throws:
net.sf.jasperreports.engine.JRException
percentProcessed
public double percentProcessed()
Copyright © 2002 – 2007 Project Wonder.