Welcome to Assignments Writing

Your Trusted Partner in Term Paper Writing

At Assignments Writing, we’re a team of passionate educators and skilled writers committed to supporting students in their academic journey.

HACC IT Online Training Application Design Specification Project

HACC IT Online Training Application Design Specification Project


Section 5 – Class Design

Introduction: In Section 5 of this assignment, we will delve into the detailed class design for the ShoppingCart and ShoppingCartItem classes as part of the ITOT Case Study. This design process aligns with course objectives CO6 and CO9, focusing on the implementation of object-oriented models using UML concepts.

Section 5.1 – Class Diagram

For the detailed UML class design, we will establish a composition relationship between ShoppingCart and ShoppingCartItem, reflecting that when the ShoppingCart is empty, the ShoppingCartItem is also empty. The composition relationship implies that the lifetime of ShoppingCartItem is dependent on ShoppingCart. If ShoppingCart is destroyed, ShoppingCartItem instances within it are also destroyed.

Here’s a simplified representation of the class diagram:


  • Attributes:
    • items: List<ShoppingCartItem>
    • totalCost: float
  • Operations (Methods):
    • addItem(item: ShoppingCartItem): void
    • removeItem(item: ShoppingCartItem): void
    • calculateTotalCost(): float
    • getItems(): List<ShoppingCartItem>
    • getTotalCost(): float


  • Attributes:
    • itemName: String
    • quantity: int
    • costPerItem: float
    • totalCost: float
  • Operations (Methods):
    • updateItem(itemName: String, quantity: int, costPerItem: float): void
    • getItemName(): String
    • getQuantity(): int
    • getCostPerItem(): float
    • getTotalCost(): float

In the above class diagram:

  • ShoppingCart has a composition relationship with ShoppingCartItem, denoted by the diamond-shaped symbol on the ShoppingCart end.
  • ShoppingCart maintains a list of ShoppingCartItems and calculates the total cost.
  • ShoppingCartItem represents an individual item in the cart, with attributes for its name, quantity, cost per item, and total cost.
  • Operations are defined to add, remove, and calculate costs for items in the cart, and also to retrieve item details.

Section 5.2 – Discussion

The detailed class diagram provides a clear and concise representation of the ShoppingCart and ShoppingCartItem classes, their attributes, and operations. The composition relationship effectively models the containment of ShoppingCartItems within a ShoppingCart, ensuring that when a ShoppingCart is deleted, its associated items are also removed.

This design promotes modularity and encapsulation. The ShoppingCart encapsulates its item management logic, and the ShoppingCartItem encapsulates the attributes and operations related to individual items. This separation of concerns enhances maintainability and scalability.

The use of getter and setter methods enforces data encapsulation, allowing controlled access to class attributes. Additionally, the updateItem method in ShoppingCartItem provides a means to modify item details while maintaining consistency.

The composition relationship accurately reflects the real-world scenario where a shopping cart contains items, and the lifetime of items is tied to that of the cart. This design supports the use cases and sequence diagrams previously developed for the Manage Shopping Cart use case.

In conclusion, the detailed class design adheres to object-oriented principles, promoting a clean and robust architecture for the ITOT Case Study’s shopping cart system. This design is a crucial step towards implementing the software system and aligns with the course objectives related to software development processes and UML modeling.

HACC IT Online Training Application Design Specification Project





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.


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

Place Your Order Here

Our Service Charter

1. Professional & Expert Writers: We only hire the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of master’s and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. We are known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: We have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Format & Features

Our Advantages

How It Works

1. Fill Order Form
2. Make payment
3. Writing process
4. Download paper

Fill in the order form and submit all your files, including instructions, rubrics, and other information given to you by your instructor.

Once you complete filling the forms, complete your payment. We will get the order and assign it to a writer.

When your order is completed, it’s assigned to an editor for approval. The editor approves the order.

Once approved, we will upload the order to your account for you to download.  You can rate your writer or give your customer review.

What Clients Said


I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Mercy M

I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Jane L

I am very satisfied! thank you for the quick turnaround. I am very satisfied! thank you for the quick turnaround.I am very satisfied! thank you for the quick turnaround.

Rayan M


We are a freelance academic writing company geared towards provision of high quality academic papers to students worldwide.

Open chat
Scan the code
Can we help you?