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...
Case Study: The Healthy Food Exchange (HFX) is a type of e-business exchange that does business...
Case Study: The Healthy Food Exchange (HFX) is a type of e-business exchange that does business entirely on the Internet. The company acts as a clearing exchange for both buyers and sellers of organic food. For a person to offer food item for sale, he/she must register with HealthyFood. The person must provide a current physical address and telephone number as well as a current e-mail address. The system will then maintain an open account for this person. Access to...
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...
Case Study: The Healthy Food Exchange (HFX) is a type of e-business exchange that does business...
Case Study: The Healthy Food Exchange (HFX) is a type of e-business exchange that does business entirely on the Internet. The company acts as a clearing exchange for both buyers and sellers of organic food. For a person to offer food item for sale, he/she must register with HealthyFood. The person must provide a current physical address and telephone number as well as a current e-mail address. The system will then maintain an open account for this person. Access to...
University library management system This case is a simplified (initial draft) of a new system for...
University library management system This case is a simplified (initial draft) of a new system for the University Library. Of course, the library system must keep track of books. Information is maintained about both book titles and the individual book copies. Book titles maintain information about title, author, publisher, and catalog number. Individual copies maintain copy number, edition, publication year, ISBN, book status (whether it is on the shelf or loaned out), and date due back in. The library also...
Book(bookID, ISBN, title, author, publish-year, category) Member(memberID, lastname, firstname, address, phone-number, limit) CurrentLoan(memberID, bookID, loan-date, due-date)...
Book(bookID, ISBN, title, author, publish-year, category) Member(memberID, lastname, firstname, address, phone-number, limit) CurrentLoan(memberID, bookID, loan-date, due-date) History(memberID, bookID, loan-date, return-date) Members can borrow books from the library. The number of books they can borrow is limited by the “limit” field of the Member relation. The category of a book includes fiction, non-fiction, children’s and reference. The CurrentLoan table represents the information about books that are currently checked out. When the book is returned to the library, the record will be...
URGENT (In Python) Create specified classes with following requirements. Class PizzaOrder Ability to add/remove pizza(s) An...
URGENT (In Python) Create specified classes with following requirements. Class PizzaOrder Ability to add/remove pizza(s) An order can have more than one pizza. Ability to specify the store for which the order is made Ability to apply special promotion code Ability to check the order status Possible statuses are ORDER_CREATED, ORDER_CANCELED, ORDER_READY, ORDER_ON_DELIVERY, ORDER_COMPLETE Has customer information Class Pizza Ability to specify toppings Ability to add/remove toppings Ability to specify price Ability to specify crust type (thin/thick) Class Store Ability...
Requirements: Based on the following information, draw an E-R diagram and a set of relations in...
Requirements: Based on the following information, draw an E-R diagram and a set of relations in 3rd normal form. Please indicate any assumptions that you have made. Wally Los Gatos, owner of Wally’s Wonderful World of Wallcoverings, has hired you as a consultant to design a database management system for his chain of three stores that sell wallpaper and accessories. He would like to track sales, customers, and employees. After an initial meeting with Wally, you have developed a list...
Directions: Develop an E-R (or EER depending upon need) Diagram. List all assumptions. Show the version...
Directions: Develop an E-R (or EER depending upon need) Diagram. List all assumptions. Show the version 1 (entities and data only) and version 3 (entities, attributes and relationships with cardinalities and participation constraints). 20 points of the grade will be based on evaluating your assumptions - you must give a detailed list of your assumptions identifying anchor concepts, data associated with the anchor and data that has more than one anchor participating in it. Remember, we are not talking out...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT