12 Nov Develop a detailed design for both the ShoppingCart and ShoppingCartItem classes
Week 6 Assignment: Class Design
Purpose
The purpose of this assignment is to continue our design modeling for the ITOT Case Study by creating detailed class designs for both ShoppingCart and ShoppingCartItem classes.
Course Objective (s)
CO6: Describe the software development process including the implementation of models and object oriented languages
CO9: Apply your knowledge of object oriented and UML concepts by designing and developing UML models
In this assignment you will develop a detailed design for both the ShoppingCart and ShoppingCartItem classes.
Follow the class design guidelines in your readings and use the appropriate use cases you have already developed for the project. Sequence diagrams include messages which are implemented as operations in classes. So, you will need to make certain that your messages in your sequence diagram are reflected in your detailed design. You will need the detailed steps of the Manage Shopping Cart use case and your sequence diagrams. Provide a description of your class design and justification for your decisions.
A class is often asked to provide the values of its attributes, so we usually create getter operations for each of the attributes while the attributes are made private. Like for Course we could create public operations like get.courseNo(), get.CourseTitle(), etc., and each of the attributes of Course would be made private so that any change is made through a publicly available operation(method). We also have operations that would set the values, such as set.CourseTitle(courseTitle), etc. where the parameter would be the new course title.
ShoppingCartItem would need operations/methods to manage the attributes it has like itemName, qty, costPerItem, and totalCost. So, you would have an update operation/method and the getter/setter operations/methods. It would also have the operation/method to calculate the total cost since it has all of the attributes and values to do this.
You will complete Sections 5 Class Design, 5.1 Detailed Class Diagram, and 5.2 Detailed Class Diagram Discussion in your Design Specification from last week.
Instructions
1. Review the resources listed at the end of this assignment.
2. Review the IT Online Training Project Requirements 2022R1 description, your Analysis Specification, and your Design Specification.
3. Complete the following:
Section 5
Add a small introduction to Section 5 – Class Design (less than 100 words).
Section 5.1 – Class Diagram
Develop a detailed UML class design for ShoppingCart and ShoppingCartItem and add it to Section 5.1 in your Design Specification. Remember that there is a composition relationship between ShoppingCart and ShoppingCartItem and this means that if the ShoppingCart is empty, then The ShoppingCartItem is also empty. See an example of Composition using Person and Job see the article Composition in Java Example at https://www.journaldev.com/1325/composition-in-java-example.
Section 5.2 – Discussion
Provide a discussion of the detailed class diagram (between 150 and 300 words).
Submission Instructions
1. When you submit your Word file, use your name as part of the file name, e.g., ENTD278Assignment6_FirstNameLastName
Your assignment will be graded with the following rubric:
Completion of detailed UML detailed class design for ShoppingCart and ShoppingCartItem classes. Add to Section 5.1 (80 points)
Completion of Sections 5, 5.1, and 5.2: Discussion of the design specification and UML class diagram (10 points)
Sources/formatting: Use APA 7th edition style formatting and correct grammar (10 points)
Quick Resources
1. Both required readings will be helpful–Larman (2001), Blaha and Rumbaugh (2005).
2. For implementing UML Composition for Car and Engine see the article Association, Composition and Aggregation in Java at https://www.tutorialspoint.com/Association-Composition-and-Aggregation-in-Java
3. For another example of Composition using Person and Job see the article Composition in Java Example at https://www.journaldev.com/1325/composition-in-java-example
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.