-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDetailBulletin.java
More file actions
66 lines (57 loc) · 1.85 KB
/
DetailBulletin.java
File metadata and controls
66 lines (57 loc) · 1.85 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package modele;
import java.util.ArrayList;
/**
*
* @author Isabelle
*/
public class DetailBulletin {
private int id_detailBulletin;
private int id_bulletin;
private int id_enseignement;
private String appreciation_b;
public DetailBulletin(){
this.id_detailBulletin=0;
this.id_bulletin=0;
this.id_enseignement=0;
this.appreciation_b=null;
}
public DetailBulletin(int id_detailBulletin,int id_bulletin, int id_enseignement, String appreciation_b){
this.id_detailBulletin=id_detailBulletin;
this.id_bulletin=id_bulletin;
this.id_enseignement=id_enseignement;
this.appreciation_b=appreciation_b;
}
public void setId_detailBulletin(int id_bulletin){
this.id_detailBulletin=id_detailBulletin;
}
public void setAppreciationB(String appreciation_b){
this.appreciation_b=appreciation_b;
}
public int getId_detailBulletin(){
return this.id_detailBulletin;
}
public int getId_bulletin(){
return this.id_bulletin;
}
public String getAppreciationB(){
return this.appreciation_b;
}
public int getId_enseignement(){
return id_enseignement;
}
public void display(){
System.out.println("L'id du bulletin est:"+id_detailBulletin);
System.out.println("L' appréciation générale est :"+appreciation_b);
}
public void add_notes(Personne p1,Personne p2,String note,String appreciation_e){
//p1 est le professeur, p2 l'élève
//verification que c'est un professeur qui met la note à l'eleve
if(p1.getType()==false && p2.getType()== true) {
}
}
}