Package Items
Class ZRow
java.lang.Object
Items.ZRow
Controller for the Z Row List screen.
- Since:
- 2023-03-20
-
Field Summary
Modifier and TypeFieldDescriptionprivate final javafx.beans.property.SimpleObjectProperty<Date>
SimpleObjectProperty
ofDate
storing the date the z-row entry was createdprivate final javafx.beans.property.SimpleObjectProperty<String>
SimpleObjectProperty
ofString
storing the name of the Employeeprivate final javafx.beans.property.SimpleObjectProperty<Long>
SimpleObjectProperty
ofLong
storing the order IDprivate final javafx.beans.property.SimpleObjectProperty<Long>
SimpleObjectProperty
ofLong
storing the identification number of the Z-row tableprivate final javafx.beans.property.SimpleObjectProperty<String>
SimpleObjectProperty
ofString
storing the total sales for that day -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.SimpleObjectProperty<Date>
Gets the value ofdateCreated
javafx.beans.property.SimpleObjectProperty<String>
Gets value inemployee
javafx.beans.property.SimpleObjectProperty<Long>
Gets value inorderID
javafx.beans.property.SimpleObjectProperty<Long>
Gets value inreportID
javafx.beans.property.SimpleObjectProperty<String>
Gets the value intotalSales
-
Field Details
-
reportID
SimpleObjectProperty
ofLong
storing the identification number of the Z-row table -
totalSales
SimpleObjectProperty
ofString
storing the total sales for that day -
employee
SimpleObjectProperty
ofString
storing the name of the Employee -
orderID
SimpleObjectProperty
ofLong
storing the order ID -
dateCreated
SimpleObjectProperty
ofDate
storing the date the z-row entry was created
-
-
Constructor Details
-
ZRow
Constructor- Parameters:
reportID
- identification number of the Z-row tabletotalSales
- total sales made in that dayemployee
- being the name of the employeeorderID
- identifies the last order ID from the last z-report madedateCreated
- being the date when z-row entry was made
-
-
Method Details
-
getReportID
Gets value inreportID
- Returns:
reportID
-
getEmployee
Gets value inemployee
- Returns:
employee
-
getTotalSales
Gets the value intotalSales
- Returns:
totalSales
-
getDateCreated
Gets the value ofdateCreated
- Returns:
dateCreated
-
getOrderID
Gets value inorderID
- Returns:
orderID
-