瀏覽代碼

Kasse und Mitarbeiter waren vorhin nicht geaddet

hapi
Johannes Oehm 10 年之前
父節點
當前提交
ab3a0b420c
共有 2 個檔案被更改,包括 241 行新增0 行删除
  1. +55
    -0
      src/main/java/de/uniluebeck/mi/projmi6/model/Kasse.java
  2. +186
    -0
      src/main/java/de/uniluebeck/mi/projmi6/model/Mitarbeiter.java

+ 55
- 0
src/main/java/de/uniluebeck/mi/projmi6/model/Kasse.java 查看文件

@@ -1,7 +1,62 @@
package de.uniluebeck.mi.projmi6.model;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
* Created by 627933 on 12.11.15.
*/
public class Kasse {
private SimpleStringProperty adresse = new SimpleStringProperty(this, "adresse");
private SimpleIntegerProperty kassenID = new SimpleIntegerProperty(this, "kassenID");
private SimpleStringProperty name = new SimpleStringProperty(this, "name");
private SimpleBooleanProperty privat = new SimpleBooleanProperty(this, "privat");

public String getAdresse() {
return adresse.get();
}

public SimpleStringProperty adresseProperty() {
return adresse;
}

public void setAdresse(String adresse) {
this.adresse.set(adresse);
}

public int getKassenID() {
return kassenID.get();
}

public SimpleIntegerProperty kassenIDProperty() {
return kassenID;
}

public void setKassenID(int kassenID) {
this.kassenID.set(kassenID);
}

public String getName() {
return name.get();
}

public SimpleStringProperty nameProperty() {
return name;
}

public void setName(String name) {
this.name.set(name);
}

public boolean getPrivat() {
return privat.get();
}

public SimpleBooleanProperty privatProperty() {
return privat;
}

public void setPrivat(boolean privat) {
this.privat.set(privat);
}
}

+ 186
- 0
src/main/java/de/uniluebeck/mi/projmi6/model/Mitarbeiter.java 查看文件

@@ -1,7 +1,193 @@
package de.uniluebeck.mi.projmi6.model;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
* Created by 627933 on 12.11.15.
*/
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 fachrichtungKurz = new SimpleStringProperty(this, "fachrichtungKurz");
private SimpleStringProperty land = new SimpleStringProperty(this, "land");
private SimpleIntegerProperty mitarbID = new SimpleIntegerProperty(this, "mitarbID");
private SimpleStringProperty nachname = new SimpleStringProperty(this, "nachname");
private SimpleStringProperty plz = new SimpleStringProperty(this, "plz");
private SimpleStringProperty stadt = new SimpleStringProperty(this, "stadt");
private SimpleStringProperty strasse1 = new SimpleStringProperty(this, "strasse1");
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");

public String getAnrede() {
return anrede.get();
}

public SimpleStringProperty anredeProperty() {
return anrede;
}

public void setAnrede(String anrede) {
this.anrede.set(anrede);
}


public String getEinweisenderArzt() {
return einweisenderArzt.get();
}

public SimpleStringProperty einweisenderArztProperty() {
return einweisenderArzt;
}

public void setEinweisenderArzt(String einweisenderArzt) {
this.einweisenderArzt.set(einweisenderArzt);
}

public String getFachrichtung() {
return fachrichtung.get();
}

public SimpleStringProperty fachrichtungProperty() {
return fachrichtung;
}

public void setFachrichtung(String fachrichtung) {
this.fachrichtung.set(fachrichtung);
}

public String getFachrichtungKurz() {
return fachrichtungKurz.get();
}

public SimpleStringProperty fachrichtungKurzProperty() {
return fachrichtungKurz;
}

public void setFachrichtungKurz(String fachrichtungKurz) {
this.fachrichtungKurz.set(fachrichtungKurz);
}

public String getLand() {
return land.get();
}

public SimpleStringProperty landProperty() {
return land;
}

public void setLand(String land) {
this.land.set(land);
}

public int getMitarbID() {
return mitarbID.get();
}

public SimpleIntegerProperty mitarbIDProperty() {
return mitarbID;
}

public void setMitarbID(int mitarbID) {
this.mitarbID.set(mitarbID);
}


public String getNachname() {
return nachname.get();
}

public SimpleStringProperty nachnameProperty() {
return nachname;
}

public void setNachname(String nachname) {
this.nachname.set(nachname);
}

public String getPlz() {
return plz.get();
}

public SimpleStringProperty plzProperty() {
return plz;
}

public void setPlz(String plz) {
this.plz.set(plz);
}

public String getStadt() {
return stadt.get();
}

public SimpleStringProperty stadtProperty() {
return stadt;
}

public void setStadt(String stadt) {
this.stadt.set(stadt);
}

public String getStrasse1() {
return strasse1.get();
}

public SimpleStringProperty strasse1Property() {
return strasse1;
}

public void setStrasse1(String strasse1) {
this.strasse1.set(strasse1);
}

public String getStrasse2() {
return strasse2.get();
}

public SimpleStringProperty strasse2Property() {
return strasse2;
}

public void setStrasse2(String strasse2) {
this.strasse2.set(strasse2);
}

public String getTelefon() {
return telefon.get();
}

public SimpleStringProperty telefonProperty() {
return telefon;
}

public void setTelefon(String telefon) {
this.telefon.set(telefon);
}

public String getTitel() {
return titel.get();
}

public SimpleStringProperty titelProperty() {
return titel;
}

public void setTitel(String titel) {
this.titel.set(titel);
}

public String getVorname() {
return vorname.get();
}

public SimpleStringProperty vornameProperty() {
return vorname;
}

public void setVorname(String vorname) {
this.vorname.set(vorname);
}
}

Loading…
取消
儲存