package de.uniluebeck.mi.projmi6.model; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; /** * Created by 630030 on 12.11.15. */ public class Station { private SimpleStringProperty bezeichnung = new SimpleStringProperty(this, "bezeichnung"); private SimpleStringProperty bezeichnungLang = new SimpleStringProperty(this, "bezeichnungLang"); private SimpleStringProperty station = new SimpleStringProperty(this, "station"); private SimpleIntegerProperty stationstyp = new SimpleIntegerProperty(this, "stationstyp"); private SimpleStringProperty abteilung = new SimpleStringProperty(this, "abteilung"); public String getAbteilung() { return abteilung.get(); } public void setAbteilung(String abteilung) { this.abteilung.set(abteilung); } public SimpleStringProperty abteilungProperty() { return abteilung; } public String getBezeichnung() { return bezeichnung.get(); } public void setBezeichnung(String bezeichnung) { this.bezeichnung.set(bezeichnung); } public SimpleStringProperty bezeichnungProperty() { return bezeichnung; } public String getBezeichnungLang() { return bezeichnungLang.get(); } public void setBezeichnungLang(String bezeichnungLang) { this.bezeichnungLang.set(bezeichnungLang); } public SimpleStringProperty bezeichnungLangProperty() { return bezeichnungLang; } public String getStation() { return station.get(); } public void setStation(String station) { this.station.set(station); } public SimpleStringProperty stationProperty() { return station; } public int getStationstyp() { return stationstyp.get(); } public void setStationstyp(int stationstyp) { this.stationstyp.set(stationstyp); } public SimpleIntegerProperty stationstypProperty() { return stationstyp; } @Override public String toString() { return getBezeichnung(); } }