Question

Use ONLY the classes in this list to draw a Class diagram. The diagram must show...

Use ONLY the classes in this list to draw a Class diagram. The diagram must show all the classes, their attributes, and the relationships between the classes. All the associations must have proper multiplicity constraints indicated. Note that class methods and attribute types are not required.                                                                                                              

Domain classes and their attributes

  • Order [date/time, total price, status]
  • Account [full name, address, phone, email]
  • SellerAccount (no attributes)
  • BuyerAccount [credit card]
  • Book [title, ISBN, author, publisher, asking price]
  • BookOnOrder [quantity]
  • Dispute [reason]

You are advised that the BookOnOrder class should be designed to help deal with the fact that an order may contain multiple copies of the same book and the same book can be purchased in different orders. Also, the SellerAccount and BuyerAccount classes should be designed to be specializations of the Account class.

TheEyesHaveIt.Com Book Exchange Case Study

TheEyesHaveIt Book Exchange is a type of e-business exchange that does business entirely on the Internet. The company acts as an exchange point for both buyers and sellers of used books.  

For a person to offer books for sale, he/she must register an account with TheEyesHaveIt. The person must provide their full name, current physical address, telephone number, and e-mail address.  

A seller may list as many books as desired through the system. Information required includes ISBN, title, author/s, publisher, and the asking price. The system maintains an index of all books in the system so that buyers can search for the books they want. Buyers can search by title or author. A seller may list multiple copies of the same book with the same information.

Likewise, the sellers, people who are buying books for the first time need to also register an account, but the buyers have to provide their credit card details. A buyer searches for a book and once a book is found, the buyer adds the book to an order. Each order contains information about the date and time of when the order is “created”, total price, and order status. After the first book has been added, the order is marked “open”. A buyer can add as many books as they want in a single order. After the buyer decides to finish their order, they submit the order and it is then marked “waiting for payment”. The buyer may not proceed directly to payment but return to their order to add/remove a book. Once the payment received, the system updates the status of the order to “paid”. Eventually, the seller will notify TheEyesHaveIt that the order has been “shipped”. Both buyers and sellers can view the status of their order via their account webpage on TheEyesHaveIt.com.

Buyers can open a dispute on their order based on two reasons as follows: if the shipment does not arrive within a 30-day and if the book arrived is not in the same condition as advertised. A dispute must be opened within 45 days after the order was shipped otherwise the order is considered “completed”. Each order that is “in dispute” will eventually be resolved by the sellers or TheEyesHaveIt. The order that has been successful or resolved will be marked “completed”.

Homework Answers

Answer #1

Hi,

The class diagram is given below:

Here an order cannot placed without a user so it is represented as a filled diamond and it shows the composition.Here BookOnOrder is an aggregation to order that is order has a BookOnOrder.1 ...* represent one to many relationships.0 ..1 represent zero or one.That is if the shipment is not reached time a dispute is opened otherwise no dispute.

Thank you...

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Question 2 The questions in this section are all based on the “Online Book Exchange System...
Question 2 The questions in this section are all based on the “Online Book Exchange System (EyesHaveIt.com)” Case Study on the last page of this document. Read the case study carefully before answering these questions. b) An analyst has identified all the domain classes and their attributes required for the system, as listed below. Use ONLY the classes in this list to draw a Class diagram. The diagram must show all the classes, their attributes, and the relationships between the...
Question 2 The questions in this section are all based on the “Online Book Exchange System...
Question 2 The questions in this section are all based on the “Online Book Exchange System (EyesHaveIt.com)” Case Study on the last page of this document. Read the case study carefully before answering these questions. A system analyst in your team has identified main user goals for the system, as shown below. Use ONLY the goals in this list to draw a Use Case diagram with all the actors and associations required. Goals List Online account registration Searching for book...
You have to create a Library Borrowing System based on the following requirements: When new books...
You have to create a Library Borrowing System based on the following requirements: When new books arrive, these books must be cataloged into the system by a librarian (i.e., entered in the system). Information on a book should include book ID, title, author ID, ISBN, and edition. The system should capture author names so that users can search for an author. The library may carry multiple books by the same author, and an author can have multiple books in the...
Discuss ethical issues that can be identified in this case and the mode of managing ethics...
Discuss ethical issues that can be identified in this case and the mode of managing ethics Enron finds itself in this case. How would you describe the ethical culture and levels of trust at Enron? Provide reasons for your assessment. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among...
What role could the governance of ethics have played if it had been in existence in...
What role could the governance of ethics have played if it had been in existence in the organization? Assess the leadership of Enron from an ethical perspective. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among the top Fortune 500 companies, collapsed in 2001 under a mountain of debt...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT