2018-12-03 21:12:00 +01:00
package com.jFxKasse.datatypes ;
2018-10-04 23:46:42 +02:00
import javafx.beans.property.IntegerProperty ;
import javafx.beans.property.SimpleIntegerProperty ;
import javafx.beans.property.SimpleStringProperty ;
import javafx.beans.property.StringProperty ;
public class tableDataJob
2018-10-07 00:50:59 +02:00
{
2018-10-04 23:46:42 +02:00
2018-10-07 00:50:59 +02:00
private final IntegerProperty number = new SimpleIntegerProperty ( ) ;
2018-10-04 23:46:42 +02:00
2018-10-07 00:50:59 +02:00
private final StringProperty time = new SimpleStringProperty ( ) ;
2018-10-04 23:46:42 +02:00
2018-10-07 00:50:59 +02:00
private final StringProperty positionen = new SimpleStringProperty ( ) ;
private final StringProperty status = new SimpleStringProperty ( ) ;
private final StringProperty value = new SimpleStringProperty ( ) ;
public tableDataJob ( final Integer pNumber , final String pTime ,
final String pPositionen , final String pStatus , final String pValue )
{
this . number . set ( pNumber ) ;
this . time . set ( pTime ) ;
this . positionen . set ( pPositionen ) ;
this . status . set ( pStatus ) ;
this . value . set ( pValue ) ;
}
public IntegerProperty numberProperty ( )
2018-10-04 23:46:42 +02:00
{
2018-10-07 00:50:59 +02:00
return number ;
}
2018-10-04 23:46:42 +02:00
2018-10-07 00:50:59 +02:00
public StringProperty timeProperty ( )
{
return time ;
2018-10-04 23:46:42 +02:00
}
public StringProperty positionProperty ( )
{
2018-10-07 00:50:59 +02:00
return positionen ;
}
public StringProperty statusProperty ( )
{
return status ;
2018-10-04 23:46:42 +02:00
}
2018-10-07 00:50:59 +02:00
public StringProperty valueProperty ( )
2018-10-04 23:46:42 +02:00
{
2018-10-07 00:50:59 +02:00
return value ;
}
public Integer getNumber ( )
{
return numberProperty ( ) . get ( ) ;
}
public String getTime ( )
{
return timeProperty ( ) . get ( ) ;
2018-10-04 23:46:42 +02:00
}
public String getPosition ( )
{
return positionProperty ( ) . get ( ) ;
}
2018-10-07 00:50:59 +02:00
public String getStatus ( )
{
return statusProperty ( ) . get ( ) ;
}
public String getValue ( )
{
return valueProperty ( ) . get ( ) ;
}
public final void setNumber ( int pNumber )
2018-10-04 23:46:42 +02:00
{
2018-10-07 00:50:59 +02:00
numberProperty ( ) . set ( pNumber ) ;
}
public final void setTime ( String pTime )
{
timeProperty ( ) . set ( pTime ) ;
2018-10-04 23:46:42 +02:00
}
public final void setPosition ( String pPosition )
{
positionProperty ( ) . set ( pPosition ) ;
}
2018-10-07 00:50:59 +02:00
public final void setStatus ( String pStatus )
2018-10-04 23:46:42 +02:00
{
2018-10-07 00:50:59 +02:00
statusProperty ( ) . set ( pStatus ) ;
2018-10-04 23:46:42 +02:00
}
2018-10-07 00:50:59 +02:00
public final void setValue ( String pValue )
{
valueProperty ( ) . set ( pValue ) ;
}
2018-10-04 23:46:42 +02:00
}