TU Programming Project

Description

Don't use plagiarized sources. Get Your Custom Essay on
TU Programming Project
Just from $13/Page
Order Essay

Phase 1: Designing the structural part of your application (1) Create a UML class diagram that models at least four classes (you can add more classes as you see necessary) as follows: An abstract class called Item with itemID, itemName, price, and an abstract method called orderSummary that takes a parameter called “quantity” of type integer and then it will show the purchase summer to the customer (will be used when the customer buy a specific item). A class called User with userID, firstName, lastName, username (for login), password, email, and userType (either “admin” or “customer”) Two subclasses of class Item that are called Electronics and Clothes. Class Electronics contains brand, model, and year • Class Clothes contains color, department, and size (2) Create a project called E-Store Management System (EMS) and implement the aforementioned classes. (3) Declare some overloaded constructors with parameters for each class, along with appropriate methods as you see fit, and declare all the data fields to be private. (4) The items in both categories will be stored in two separate text files (electronics.txt and clothes.txt)

Phase 2: Designing the user interfaces of the application (5) Regarding the graphical interfaces of the application, it’s required to design at least 7 GUIs (use the interfaces designs below as a reference to help you understand what operations and options should be provided in each interface): 1. The main interface (the login screen) enable the user to login to the application. Note, there are two types of users: Admin, and Customer. In this project, you can hard-code the credentials of the Admin and the Customer, and one account of each type of users will be enough

3. The customer interface will show the following tasks: a. Showing the list of items from each file in the console window right after the customer has logged in. b. The options “Electronics” and “Clothes” mean that the customer wants to buy an item from either these categories, where it will take the user to the “Item Purchase Form” (a demonstration for the interface is shown below). Note that the fields “itemID” and “itemName” are required in order to complete the purchase transaction. Also, the the window (shown in red). The purchase summery will be displayed using the method “orderSummary”. c. When pressing the “Exit” button, the system will terminate the application. customer can specify the quantity for the item that he wants to purchase, and when the purchase transaction is complete, the order summary will be displayed at the bottom of

Order your essay today and save 20% with the discount code: ESSAYHELP

Order a unique copy of this paper

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
Top Academic Writing Service Ready to Help
with Your Essays, Assignments, and Research

Order your essay today and save 20% with the discount code ESSAYHELP