Index
All Classes and Interfaces|All Packages|Serialized Form
S
- se.chalmers.cse.dat216.project - package se.chalmers.cse.dat216.project
- se.chalmers.cse.dat216.project.util - package se.chalmers.cse.dat216.project.util
- serialClone(Serializable) - Static method in class se.chalmers.cse.dat216.project.util.IOUtilities
-
A utility method for cloning objects.
- setAddEvent(boolean) - Method in class se.chalmers.cse.dat216.project.CartEvent
- setAddress(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setAmount(double) - Method in class se.chalmers.cse.dat216.project.ShoppingItem
-
Sets the amount of the product in the shoppingitem.
- setCardNumber(String) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Sets the card number to cardNumber.
- setCardType(String) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Sets the type of the card to cardType.
- setCategory(ProductCategory) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the category of the product.
- setDate(Date) - Method in class se.chalmers.cse.dat216.project.Order
-
Set the date the order was placed.
- setEmail(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setFirstName(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setHoldersName(String) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Set the name of the cardholder as printed on the card.
- setImageName(String) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the name of the image presenting the product.
- setIsEcological(Boolean) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the ECO status of the product.
- setItems(List<ShoppingItem>) - Method in class se.chalmers.cse.dat216.project.Order
-
Set the list of ShoppingItems in this order.
- setLastName(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setMobilePhoneNumber(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setName(String) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the name of the product.
- setOrderNumber(int) - Method in class se.chalmers.cse.dat216.project.Order
-
Set the ordernumber of this order.
- setPassword(String) - Method in class se.chalmers.cse.dat216.project.User
-
Set the password
- setPhoneNumber(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setPostAddress(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setPostCode(String) - Method in class se.chalmers.cse.dat216.project.Customer
- setPrice(double) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the price of the product.
- setProduct(Product) - Method in class se.chalmers.cse.dat216.project.ShoppingItem
-
Sets the product of this shoppingitem.
- setProductId(int) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the unique id number of the product.
- setProductImage(Product, File) - Method in class se.chalmers.cse.dat216.project.IMatDataHandler
-
Sets the image for the Product p to the contents of the File f.
- setShoppingItem(ShoppingItem) - Method in class se.chalmers.cse.dat216.project.CartEvent
- setUnit(String) - Method in class se.chalmers.cse.dat216.project.Product
-
Set the unit of the product.
- setUserName(String) - Method in class se.chalmers.cse.dat216.project.User
-
Set the username
- setValidMonth(int) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Set the number of the month until which the card is valid.
- setValidYear(int) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Set the year until which the card is valid.
- setVerificationCode(int) - Method in class se.chalmers.cse.dat216.project.CreditCard
-
Set the verification code printed on the back of the card.
- ShoppingCart - Class in se.chalmers.cse.dat216.project
-
The ShoppingCart holds ShoppingItems representing the products a customer has selected to buy.
- ShoppingCart() - Constructor for class se.chalmers.cse.dat216.project.ShoppingCart
-
Constructor, protected since there is no reason to create instances.
- shoppingCartChanged(CartEvent) - Method in interface se.chalmers.cse.dat216.project.ShoppingCartListener
-
Gets called whenever the shopping cart being listened to changes.
- ShoppingCartListener - Interface in se.chalmers.cse.dat216.project
-
An interface for listening to changes to a ShoppingCart.
- ShoppingItem - Class in se.chalmers.cse.dat216.project
-
Objects of the ShoppingItem class combine a product with an amount into an item to put in the shoppingcart.
- ShoppingItem(Product) - Constructor for class se.chalmers.cse.dat216.project.ShoppingItem
-
Creates an ShoppingItem object with the amount 1.0 of the specified product.
- ShoppingItem(Product, double) - Constructor for class se.chalmers.cse.dat216.project.ShoppingItem
- shutDown() - Method in class se.chalmers.cse.dat216.project.IMatDataHandler
-
Saves the current state of the IMatDataHandler.
- SWEET - Enum constant in enum se.chalmers.cse.dat216.project.ProductCategory
All Classes and Interfaces|All Packages|Serialized Form