¿Cómo diseñar un informe con formato tabular?
Tengo un requisito para diseñar en ireport.
Tengo tres VO
DeliveryAllocations {
private String collectorCode;
private String collectorName;
private String month;
private List<PlantVO> plants = new ArrayList<PlantVO>();
with setter/getters
}
PlantVO{
private String plantCode;
private String plantName;
private String TotalWeight;
private List<PlantAllocationVO> allocations = new ArrayList<PlantAllocationVO>();
with setter/getters
}
PlantAllocationVO{
private String weight;
private String customerType;
private String customerValue;
private String comment;
private String date;
with setters/getters
}
Ahora quiero mostrar dos campos dePlantVO
y tres campos dePlantAllocationVO
en un informe con formato tabular.
¿Cómo logro esto? ¿Cómo obtengo los datos para diseñar un informe con este tipo de estructura?