
Public Member Functions | |
| ERJRFoundationDataSource (Enumeration<?extends NSKeyValueCodingAdditions > enumeration, int itemCount) | |
| ERJRFoundationDataSource (NSArray<?extends NSKeyValueCodingAdditions > arr) | |
| Object | getFieldValue (JRField jrField) throws JRException |
| boolean | getFilterNulls () |
| boolean | next () throws JRException |
| double | percentProcessed () |
| void | setFilterNulls (boolean filters) |
Static Public Attributes | |
| static final String | REPORT_KEYPATH_SEPARATOR = ERXProperties.stringForKeyWithDefault("er.jasperreports.keyPathSeparator", "_") |
Protected Attributes | |
| NSKeyValueCodingAdditions | currRow |
| NSMutableDictionary< String, Object > | debugRow |
| Enumeration<?extends NSKeyValueCodingAdditions > | e |
| boolean | filterNulls = true |
Private Attributes | |
| int | processedCount = 0 |
| int | totalCount = 100 |
Static Private Attributes | |
| static final String | FIELD_NAME_FOR_CURRENT_ROW = ERXProperties.stringForKeyWithDefault("er.jasperreports.currentRow.fieldName", "_currentRow") |
| static final Logger | log = Logger.getLogger(ERJRFoundationDataSource.class) |
| static final String | WEBOBJECTS_KEYPATH_SEPARATOR = "." |
| ERJRFoundationDataSource | ( | NSArray<?extends NSKeyValueCodingAdditions > | arr | ) |
| ERJRFoundationDataSource | ( | Enumeration<?extends NSKeyValueCodingAdditions > | enumeration, | |
| int | itemCount | |||
| ) |
| Object getFieldValue | ( | JRField | jrField | ) | throws JRException |
| boolean getFilterNulls | ( | ) |
| boolean next | ( | ) | throws JRException |
| double percentProcessed | ( | ) |
| void setFilterNulls | ( | boolean | filters | ) |
NSKeyValueCodingAdditions currRow [protected] |
Private NSArray that contains the database values we wish to use in the report.
NSMutableDictionary<String, Object> debugRow [protected] |
Enumeration<? extends NSKeyValueCodingAdditions> e [protected] |
final String FIELD_NAME_FOR_CURRENT_ROW = ERXProperties.stringForKeyWithDefault("er.jasperreports.currentRow.fieldName", "_currentRow") [static, private] |
Sometimes we want might want a reference to the current row, perhaps to pass to a custom function in a scriptlet. This functionality allows us to specify a field name that returns the current row object itself rather than an attribute of the current row.
The default fieldname is "_currentRow", however this can be overridden in system properties using: er.jasperreports.currentRow.fieldName=myCustomCurrentRowFieldname
boolean filterNulls = true [protected] |
final Logger log = Logger.getLogger(ERJRFoundationDataSource.class) [static, private] |
int processedCount = 0 [private] |
final String REPORT_KEYPATH_SEPARATOR = ERXProperties.stringForKeyWithDefault("er.jasperreports.keyPathSeparator", "_") [static] |
int totalCount = 100 [private] |
final String WEBOBJECTS_KEYPATH_SEPARATOR = "." [static, private] |
1.5.8