|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectar.com.fdvs.dj.domain.builders.DynamicReportBuilder
ar.com.fdvs.dj.domain.builders.FastReportBuilder
ar.com.fdvs.dj.domain.builders.ReflectiveReportBuilder
public class ReflectiveReportBuilder
Builder created to give users an easy way of creating a DynamicReport based on a collection. Usage example: DynamicReport report = new ReflectiveReportBuilder(data, new String[]{"productLine", "item", "state", "id", "branch", "quantity", "amount"}) .addGroups(3).build(); Like with all DJ's builders, it's usage must end with a call to build() mehtod.
| Field Summary |
|---|
| Fields inherited from class ar.com.fdvs.dj.domain.builders.FastReportBuilder |
|---|
groupCount |
| Fields inherited from class ar.com.fdvs.dj.domain.builders.DynamicReportBuilder |
|---|
autoTexts, concatenatedReports, globalFooterCrosstabs, globalHeaderCrosstabs, globalVariablesGroup, groupFooterSubreports, groupHeaderSubreports, options, report |
| Constructor Summary | |
|---|---|
ReflectiveReportBuilder(java.util.Collection _data)
Takes the first item in the collection and adds a column for every property in that item. |
|
ReflectiveReportBuilder(java.util.Collection _data,
java.lang.String[] _propertiesNames)
Adds a column for every property specified in the array. |
|
| Method Summary |
|---|
| Methods inherited from class ar.com.fdvs.dj.domain.builders.FastReportBuilder |
|---|
addBarcodeColumn, addBarcodeColumn, addBarcodeColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addColumn, addFooterCrosstab, addFooterVariable, addFooterVariable, addGlobalFooterVariable, addGlobalHeaderVariable, addGroups, addGroups, addHeaderCrosstab, addHeaderVariable, addImageColumn, addImageColumn, addImageColumn, build, guessStyle, setGroupLayout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectiveReportBuilder(java.util.Collection _data)
_data - the data collection. A not null and nor empty collection should be passed.
public ReflectiveReportBuilder(java.util.Collection _data,
java.lang.String[] _propertiesNames)
_data - the data collection. A not null and nor empty collection should be passed._propertiesNames - and array with the names of the desired properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||