IT Online Training Application Design Specification
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).
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
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.