-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGremium.java
58 lines (54 loc) · 1.56 KB
/
Gremium.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
import java.time.LocalDate;
public class Gremium extends APrimaryKey {
// Attribute, die den Spalten der Tabelle Sitzungen entsprechen
private String Name;
private Boolean Offiziell;
private Boolean Inoffiziell;
private LocalDate Beginn;
private LocalDate Ende;
public Gremium(String Name, Boolean offiziell, Boolean inoffiziell, LocalDate Beginn, LocalDate Ende) {
setName(Name);
setOffiziell(offiziell);
setInoffiziell(inoffiziell);
setBeginn(Beginn);
setEnde(Ende);
}
public Gremium(Integer ID, String Name, Boolean offiziell, Boolean inoffiziell, LocalDate Beginn, LocalDate Ende) {
setID(ID);
setName(Name);
setOffiziell(offiziell);
setInoffiziell(inoffiziell);
setBeginn(Beginn);
setEnde(Ende);
}
public void setName(String Name) {
this.Name = Name;
}
public void setOffiziell(Boolean Offiziell) {
this.Offiziell = Offiziell;
}
public void setInoffiziell(Boolean Inoffiziell) {
this.Inoffiziell = Inoffiziell;
}
public void setBeginn(LocalDate Beginn) {
this.Beginn = Beginn;
}
public void setEnde(LocalDate Ende) {
this.Ende = Ende;
}
public String getName() {
return this.Name;
}
public Boolean getOffiziell() {
return this.Offiziell;
}
public Boolean getInoffiziell() {
return this.Inoffiziell;
}
public LocalDate getBeginn() {
return this.Beginn;
}
public LocalDate getEnde() {
return this.Ende;
}
}