Uses of Class
Vendor
-
-
Uses of Vendor in <Unnamed>
Methods in <Unnamed> that return Vendor Modifier and Type Method Description VendorRead. changeVendor()Prompts the user to enter a new vendor ID and searches for the corresponding vendor object.VendorProduct. getVendor()Returns the vendor of the product.Methods in <Unnamed> that return types with arguments of type Vendor Modifier and Type Method Description java.util.ArrayList<Vendor>Controller. getVendorInstances()Returns the ArrayList containing all vendor instances.Methods in <Unnamed> with parameters of type Vendor Modifier and Type Method Description voidController. addProductToInstances(java.lang.String name, float price, char nutri, Vendor vendor)Creates a new product with the specified name, price, nutrition grade, and vendor, and adds it to the list of product instances.voidProduct. setVendor(Vendor vendor)Sets the vendor of the product to the specified value.Constructors in <Unnamed> with parameters of type Vendor Constructor Description Product(java.lang.String productName, float productPrice, char productNutriScore, Vendor vendor)Constructs a new Product object with the given name, price, Nutri-Score, and vendor.
-