/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.reporting.adhoc.pojo;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
public class SubReportDefinition extends MainReportDefinition {
|
|
private int rang; //ordre d'affichage de l'etat, utile pour les sous-rapports au cas où il y en a plusieurs
|
|
private String dataSource; // Nom du champ qui contient la liste des données d'un rapport; ce champ doit être une liste
|
|
private String title; // titre du sous-rapport
|
|
public SubReportDefinition(String reportName,String dataSource, String title, int rang) {
|
this.rang = rang;
|
this.dataSource = dataSource;
|
this.title = title;
|
this.reportName = reportName;
|
}
|
|
public int getRang() {
|
return rang;
|
}
|
|
public void setRang(int rang) {
|
this.rang = rang;
|
}
|
|
public String getDataSource() {
|
return dataSource;
|
}
|
|
public void setDataSource(String dataSource) {
|
this.dataSource = dataSource;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
}
|