test commit
This commit is contained in:
@ -5,42 +5,64 @@ import javafx.beans.property.SimpleIntegerProperty;
|
||||
import javafx.beans.property.SimpleStringProperty;
|
||||
import javafx.beans.property.StringProperty;
|
||||
|
||||
public class tableData { //Datenobjekt mit der ID, Datum und Konto
|
||||
|
||||
public class tableData
|
||||
{ // Datenobjekt mit der ID, Datum und Konto
|
||||
|
||||
private final IntegerProperty id = new SimpleIntegerProperty();
|
||||
|
||||
private final StringProperty datum = new SimpleStringProperty();
|
||||
|
||||
private final StringProperty konto = new SimpleStringProperty();
|
||||
|
||||
public tableData(final int id, final String datum, final String konto){
|
||||
|
||||
public tableData(final int id, final String datum, final String konto)
|
||||
{
|
||||
this.id.set(id);
|
||||
this.datum.set(datum);
|
||||
this.konto.set(konto);
|
||||
}
|
||||
public IntegerProperty idProperty(){
|
||||
|
||||
public IntegerProperty idProperty()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public StringProperty datumProperty(){
|
||||
|
||||
public StringProperty datumProperty()
|
||||
{
|
||||
return datum;
|
||||
}
|
||||
public StringProperty kontoProperty(){
|
||||
|
||||
public StringProperty kontoProperty()
|
||||
{
|
||||
return konto;
|
||||
}
|
||||
public int getID(){
|
||||
|
||||
public int getID()
|
||||
{
|
||||
return idProperty().get();
|
||||
}
|
||||
public String getDatum(){
|
||||
|
||||
public String getDatum()
|
||||
{
|
||||
return datumProperty().get();
|
||||
}
|
||||
public String getKonto(){
|
||||
|
||||
public String getKonto()
|
||||
{
|
||||
return kontoProperty().get();
|
||||
}
|
||||
public final void setID(int id){
|
||||
|
||||
public final void setID(int id)
|
||||
{
|
||||
idProperty().set(id);
|
||||
}
|
||||
public final void setdatum(String datum){
|
||||
|
||||
public final void setdatum(String datum)
|
||||
{
|
||||
datumProperty().set(datum);
|
||||
}
|
||||
public final void setkonto(String konto){
|
||||
|
||||
public final void setkonto(String konto)
|
||||
{
|
||||
kontoProperty().set(konto);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user