Package Items
Class MenuItem
java.lang.Object
Items.MenuItem
An individual menu item
- Since:
 - 2023-03-07
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final javafx.beans.property.SimpleObjectProperty<Long>SimpleObjectPropertyofLongholding the indentification number of the Menu Itemprivate final javafx.beans.property.SimpleObjectProperty<String>SimpleObjectPropertyofStringholding the name of the Menu Itemprivate final javafx.beans.property.SimpleObjectProperty<Long>SimpleObjectPropertyofLongholding the number of sales for that Menu Itemprivate final javafx.beans.property.SimpleObjectProperty<Double>SimpleObjectPropertyofDoubleholding the price of the Menu Item - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.SimpleObjectProperty<Long>getId()Getsidjavafx.beans.property.SimpleObjectProperty<String>getName()Getsnamejavafx.beans.property.SimpleObjectProperty<Long>GetsnumSoldjavafx.beans.property.SimpleObjectProperty<Double>getPrice()Getsprice 
- 
Field Details
- 
id
SimpleObjectPropertyofLongholding the indentification number of the Menu Item - 
name
SimpleObjectPropertyofStringholding the name of the Menu Item - 
price
SimpleObjectPropertyofDoubleholding the price of the Menu Item - 
numSold
SimpleObjectPropertyofLongholding the number of sales for that Menu Item 
 - 
 - 
Constructor Details
- 
MenuItem
Constructor- Parameters:
 id- number of the itemname- of the itemprice- of the itemnumSold- of the item
 
 - 
 - 
Method Details