I have the iReport plugin on netbeans. I already configured the classpath to recognize my classes, I do the following steps:
1st - Send the list of objects Boletim
to the main report, each bulletin has information of a student. (This part works, I can generate the data.)
2 - Send the 7 NOTES lists to the subreport, within the Boletim
object has a Bimestre1 , Bim2 object, B3 , B4 , Exam , Annual Media and Final Media Bimestre
.
Each% has a list of Bimestre
, Each note has the attributes of name of the subject, note and absence.
I need to submit subreport all the note lists.
So I need to send the lists to the subreport in this way
boletim.getBimestre1().getNotas(); //List<Nota>
boletim.getBimestre2().getNotas();//List<Nota>
boletim.getBimestre3().getNotas(); //List<Nota>
boletim.getBimestre4().getNotas();//List<Nota>
boletim.getExame().getNotas(); //List<Nota>
boletim.getNotasAnuais(); //List<Nota>
boletim.getNotasFinais(); //List<Nota>
All these sent lists have the same size, for each iteration in the Notas
is accessed the next note of the past list
Main report - here it contains the Bulletin object, where it has the data of the class and the student. You also have note lists, these should be sent to the subport.
MySubreport(hereyoushouldreceivethe7memolistssoyoucanaddtheinformationinthelinesbelowtheheader,wherethecellsareblank.)
Researchingalittleofthis form , but only sends a list, I need to send at least 7 lists