Package Items
Class OrderRow
java.lang.Object
Items.OrderRow
Handle displaying the 
Order in the GUI- Since:
- 2023-03-07
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringholding the name of the customer making the order.private final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringholding the name of the employee completing the orderprivate final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringholding the date of when the order was made.private final javafx.beans.property.SimpleObjectProperty<Long>SimpleObjectPropertyofLongholding the identification number of the order.private final javafx.beans.property.SimpleObjectProperty<Double>SimpleObjectPropertyofDoubleholding the total price of the order.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionjavafx.beans.property.SimpleObjectProperty<String>getDate()GetsorderDatejavafx.beans.property.SimpleObjectProperty<String>GetsemployeeNamejavafx.beans.property.SimpleObjectProperty<String>getName()GetscustomerNamejavafx.beans.property.SimpleObjectProperty<Long>GetsorderIDGetsorderTotaljavafx.beans.property.SimpleObjectProperty<String>getPrice()GetsorderTotal
- 
Field Details- 
orderIDSimpleObjectPropertyofLongholding the identification number of the order.
- 
customerNameSimpleObjectPropertyofStringholding the name of the customer making the order.
- 
orderDateSimpleObjectPropertyofStringholding the date of when the order was made.
- 
orderTotalSimpleObjectPropertyofDoubleholding the total price of the order.
- 
employeeNameSimpleObjectPropertyofStringholding the name of the employee completing the order
 
- 
- 
Constructor Details- 
OrderRowpublic OrderRow(long orderID, String customerName, String orderDate, double orderTotal, String employeeName) Constructor- Parameters:
- orderID- id number of the order
- customerName- name of the customer
- orderDate- date the order was made
- orderTotal- total cost of the order
- employeeName- name of the employee completing the order
 
 
- 
- 
Method Details- 
getOrderIDGetsorderID- Returns:
- orderID
 
- 
getNameGetscustomerName- Returns:
- customerName
 
- 
getDateGetsorderDate- Returns:
- orderDate
 
- 
getOrderTotalGetsorderTotal- Returns:
- orderTotal
 
- 
getPriceGetsorderTotal- Returns:
- orderTotal
 
- 
getEmployeeNameGetsemployeeName- Returns:
- employeeName
 
 
-