Kenmegne
6 days ago 6494941037ae2670876de9940853d50538eb5129
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * 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;
    }
 
}