blob: 7461c268c9e12aaf509b8526d4ea7893ab9d2dcb (
plain)
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
|
package de.fhswf.in.inf.se.projektthemenvergabe.model;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class Student
{
private StringProperty vorname = new SimpleStringProperty("");
private StringProperty nachname = new SimpleStringProperty("");
private IntegerProperty matrikelnummer = new SimpleIntegerProperty(0);
private Projekt projekt;
public final StringProperty vornameProperty()
{
return this.vorname;
}
public final String getVorname()
{
return this.vornameProperty().get();
}
public final void setVorname(final String vorname)
{
this.vornameProperty().set(vorname);
}
public final StringProperty nachnameProperty()
{
return this.nachname;
}
public final String getNachname()
{
return this.nachnameProperty().get();
}
public final void setNachname(final String nachname)
{
this.nachnameProperty().set(nachname);
}
public final IntegerProperty matrikelnummerProperty()
{
return this.matrikelnummer;
}
public final int getMatrikelnummer()
{
return this.matrikelnummerProperty().get();
}
public final void setMatrikelnummer(final int matrikelnummer)
{
this.matrikelnummerProperty().set(matrikelnummer);
}
public void setProjekt(Projekt projekt)
{
this.projekt = projekt;
}
public Projekt getProjekt()
{
return this.projekt;
}
}
|