Project Wonder 5.0

er.jasperreports
Class ERJRFoundationDataSource

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.Object getFieldValue(net.sf.jasperreports.engine.JRField jrField)
           
 boolean getFilterNulls()
           
 boolean next()
           
 double percentProcessed()
           
 void setFilterNulls(boolean filters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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()

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.