Controller
CustomerController
customer : Customer
login(in name : String, in password : String) : Boolean
logout() : void
resigter(in customer : Customer) : Boolean
BasketController
basket : Basket
getProducts() : Product
add(in product : Product, in amount : int) : void
delete(in product : Product) : void
clear() : void
ProductController
getProducts() : Object
Basket
products : Object
setProducts(in product : Product) : void
getProducts() : Object
add(in product : Product) : void
delete(in product : Product) : void
clear() : void
(from Entity)
OrderController
makeOrder(in order : Order) : Boolean
getAllOrders() : Object
Customer
name : String
password : String
email : String
address : String
login : Boolean
getName()
setName()
getPassword()
setPassword()
getEmail()
setEmail()
getAddress()
setAddress()
setLogin()
getLogin()
(from Entity)
Product
ID : int
name : String
description : String
price : Double
weight : Double
picture : String
getID() : String
setID(in id : int) : void
getName() : String
setName(in name : String) : void
getDescript() : String
setDescription(in description : String) : void
getPrice() : Double
setPrice(in price : Double) : void
getWeight() : Double
setWeight(in weight : Double) : void
getPicture() : String
setPicture(in picture : Double) : void
(from Entity)
Order
ID : String
method : Integer
address : String
freight : Double
money : Double
date : Date
customer : String
products : Object
getID() : String
setID(in id : String) : void
getMethod() : Integer
setMethod(in method : String) : void
getAddress() : String
setAddress(in address : String) : void
getFreight() : Double
setFreight(in freight : Double) : void
getMoney() : Double
setMoney(in money : Double) : void
getDate() : Date
(from Entity)