-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTache.java
76 lines (72 loc) · 1.71 KB
/
Tache.java
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
67
68
69
70
71
72
73
74
75
76
package My_Desktop_planner;
import java.time.Duration;
import java.util.Calendar;
public class Tache {
private String nom;
private Boolean decomposable;
public Tache(String nom, Boolean decomposable, Duration duree, String priorite, Calendar datelimite, String couleur, String etat,
int periodicite) {
this.nom = nom;
this.decomposable = decomposable;
this.duree = duree;
this.priorite = priorite;
this.datelimite = datelimite;
this.couleur = couleur;
this.etat = etat;
this.periodicite = periodicite;
}
public String getNom() {
return nom;
}
public void setNom(String nom) {
this.nom = nom;
}
private Duration duree;
public Duration getDuree() {
return this.duree ;
}
public void setDuree(Duration duree) {
this.duree = duree;
}
private String priorite ;
public String getPriorite() {
return priorite;
}
public void setPriorite(String priorite) {
this.priorite = priorite;
}
private Calendar datelimite;
public Calendar getDatelimite() {
return datelimite;
}
public void setDatelimite(Calendar datelimite) {
this.datelimite = datelimite;
}
private String couleur;
public String getCouleur() {
return couleur;
}
public void setCouleur(String couleur) {
this.couleur = couleur;
}
private String etat;
public String getEtat() {
return etat;
}
public void setEtat(String etat) {
this.etat = etat;
}
private int periodicite ;
public int getPeriodicite() {
return periodicite;
}
public void setPeriodicite(int periodicite) {
this.periodicite = periodicite;
}
public Boolean getDecomposable() {
return decomposable;
}
public void setDecomposable(Boolean decomposable) {
this.decomposable = decomposable;
}
}