| @@ -0,0 +1,69 @@ | |||||
| package de.uniluebeck.mi.projmi6.model; | |||||
| import javafx.beans.property.SimpleIntegerProperty; | |||||
| import javafx.beans.property.SimpleObjectProperty; | |||||
| import java.time.LocalDateTime; | |||||
| /** | |||||
| * Created by Eugene on 15.11.2015. | |||||
| */ | |||||
| public class StationsHistorie extends Version { | |||||
| private SimpleObjectProperty<LocalDateTime> aufnahmeDatum = new SimpleObjectProperty<>(this, "aufnahmeDatum"); | |||||
| private SimpleObjectProperty<LocalDateTime> entlassungsDatum = new SimpleObjectProperty<>(this, "entlassungsDatum"); | |||||
| private Fall fall; | |||||
| private Station station; | |||||
| private SimpleIntegerProperty StatHistID = new SimpleIntegerProperty(this, "stathistid"); | |||||
| public LocalDateTime getAufnahmeDatum() { | |||||
| return aufnahmeDatum.get(); | |||||
| } | |||||
| public SimpleObjectProperty<LocalDateTime> aufnahmeDatumProperty() { | |||||
| return aufnahmeDatum; | |||||
| } | |||||
| public void setAufnahmeDatum(LocalDateTime aufnahmeDatum) { | |||||
| this.aufnahmeDatum.set(aufnahmeDatum); | |||||
| } | |||||
| public LocalDateTime getEntlassungsDatum() { | |||||
| return entlassungsDatum.get(); | |||||
| } | |||||
| public SimpleObjectProperty<LocalDateTime> entlassungsDatumProperty() { | |||||
| return entlassungsDatum; | |||||
| } | |||||
| public void setEntlassungsDatum(LocalDateTime entlassungsDatum) { | |||||
| this.entlassungsDatum.set(entlassungsDatum); | |||||
| } | |||||
| public Fall getFall() { | |||||
| return fall; | |||||
| } | |||||
| public void setFall(Fall fall) { | |||||
| this.fall = fall; | |||||
| } | |||||
| public Station getStation() { | |||||
| return station; | |||||
| } | |||||
| public void setStation(Station station) { | |||||
| this.station = station; | |||||
| } | |||||
| public int getStatHistID() { | |||||
| return StatHistID.get(); | |||||
| } | |||||
| public SimpleIntegerProperty statHistIDProperty() { | |||||
| return StatHistID; | |||||
| } | |||||
| public void setStatHistID(int statHistID) { | |||||
| this.StatHistID.set(statHistID); | |||||
| } | |||||
| } | |||||