|
|
|
@@ -1,4 +1,5 @@ |
|
|
|
package de.uniluebeck.mi.projmi6.model; |
|
|
|
|
|
|
|
import javafx.beans.property.SimpleIntegerProperty; |
|
|
|
import javafx.beans.property.SimpleStringProperty; |
|
|
|
|
|
|
|
@@ -8,7 +9,7 @@ import javafx.beans.property.SimpleStringProperty; |
|
|
|
public class Mitarbeiter { |
|
|
|
private SimpleStringProperty anrede = new SimpleStringProperty(this, "anrede"); |
|
|
|
private SimpleStringProperty einweisenderArzt = new SimpleStringProperty(this, "einweisenderArzt"); |
|
|
|
private SimpleStringProperty fachrichtung= new SimpleStringProperty(this, "fachrichtung"); |
|
|
|
private SimpleStringProperty fachrichtung = new SimpleStringProperty(this, "fachrichtung"); |
|
|
|
private SimpleStringProperty fachrichtungKurz = new SimpleStringProperty(this, "fachrichtungKurz"); |
|
|
|
private SimpleStringProperty land = new SimpleStringProperty(this, "land"); |
|
|
|
private SimpleIntegerProperty mitarbID = new SimpleIntegerProperty(this, "mitarbID"); |
|
|
|
@@ -19,7 +20,11 @@ public class Mitarbeiter { |
|
|
|
private SimpleStringProperty strasse2 = new SimpleStringProperty(this, "strasse2"); |
|
|
|
private SimpleStringProperty telefon = new SimpleStringProperty(this, "telefon"); |
|
|
|
private SimpleStringProperty titel = new SimpleStringProperty(this, "titel"); |
|
|
|
private SimpleStringProperty vorname =new SimpleStringProperty(this, "vorname"); |
|
|
|
private SimpleStringProperty vorname = new SimpleStringProperty(this, "vorname"); |
|
|
|
|
|
|
|
public Mitarbeiter(int id) { |
|
|
|
mitarbID.set(id); |
|
|
|
} |
|
|
|
|
|
|
|
public String getAnrede() { |
|
|
|
return anrede.get(); |
|
|
|
@@ -33,7 +38,6 @@ public class Mitarbeiter { |
|
|
|
this.anrede.set(anrede); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getEinweisenderArzt() { |
|
|
|
return einweisenderArzt.get(); |
|
|
|
} |
|
|
|
@@ -94,7 +98,6 @@ public class Mitarbeiter { |
|
|
|
this.mitarbID.set(mitarbID); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getNachname() { |
|
|
|
return nachname.get(); |
|
|
|
} |
|
|
|
@@ -190,4 +193,9 @@ public class Mitarbeiter { |
|
|
|
public void setVorname(String vorname) { |
|
|
|
this.vorname.set(vorname); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return getNachname() + ", " + getVorname(); |
|
|
|
} |
|
|
|
} |