I have Java class :
public class TrainingExerciseDTO{
private Integer id;
private Integer trainingId;
private String color;
private Integer trainingOrder;
private Boolean superset = false;
private Integer exerciseId;
private ExerciseDTO exercise;
private Integer setCount;
private List<TrainingExerciseRepetitionDTO> reps;
I need array of this class to serve me as a datasource in Jasper Report. My project is written using spring boot. So for every row i would need to list exercise and it's fields ( one of them is array of image urls), and also reps objects. One row of my report should look like this :
Every data on this picture is from this TrainingExerciseDTO object.
How can pass ArrayList to report from spring boot and also use it in Jaspersoft Studio to create .jrxml file ?