Assignment 2
Task 1 Understanding Domain Modelling based on Module 5 & 6
Metropolitan Car Service Bureau
Metropolitan Car Service Bureau needs a system that keeps car service records. The company’s analyst has provided information about the problem domain in the form of notes. Your job is to use those notes to draw the domain model class diagram. The analyst’s notes are as follows: • The Owner class has the attributes name and address.
• The Vehicle class is an abstract class that has the attributes VIN, model, and model year.
• There are two types of vehicles, cars and trucks:
• Car has additional attributes for the number of doors and luxury level.
• Truck has an additional attribute of cargo capacity.
• The Manufacturer class has the attributes name and location.
• The Dealer class has the attributes name and address.
A service record is an association class between each vehicle and a dealer, with the attributes service date and current mileage. A warranty service record is a special type of service record with an additional attribute:
eligibility verification. Each service record is associated with a predefined service type, with the attributes type ID, description, and labor cost. Each service type is associated with zero or more parts, with the attributes part ID, description, and unit cost. Parts are used with one or more service types.
An owner can own many vehicles, and a vehicle can be owned by many owners. An owner and a vehicle are entered into the system only when an owned vehicle is first serviced by a dealer. Vehicles are serviced many times at various dealers, which service many vehicles.
Sub-Task 1.1 Draw a UML domain model class diagram for the system as described here. Be as specific and accurate as possible, given the information provided. If needed information is not given, make realistic assumptions.
Sub-Task 1.2 Consider that a vehicle goes through many states and state transitions from the perspective of Metropolitan. For example, a new vehicle might be brought in for the first time. A previously serviced vehicle might be brought in. Think through the sequences that go on for a vehicle when it is being worked on by Metropolitan. Draw a state machine diagram showing states and state transitions, including names for the transitions.
Task 2 Applying Use Case Modelling in the Business Analysis Based on Module 7
heEyesHaveIt.com Book Exchange
TheEyesHaveIt.com Book Exchange is a type of e-business exchange that does business entirely on the Internet. The company acts as a clearinghouse for buyers and sellers of used books.
To offer books for sale, a person must register with TheEyesHaveIt.com. The person must provide a current physical address and telephone number as well as a current e-mail address. The system then maintains an open account for this person. Access to the system as a seller is through a secure, authenticated portal.
A seller can list books on the system through a special Internet form. The form asks for all the pertinent information about the book: its category, its general condition, and the asking price. A seller may list as many books as desired. The system maintains an index of all books in the system so buyers can use the search engine to search for books. The search engine allows searches by title, author, category, and keyword.
People who want to buy books come to the site and search for the books they want. When they decide to buy, they must open an account with a credit card to pay for the books. The system maintains all this information on secure servers.
When a purchase is made, TheEyesHaveIt.com sends an e-mail notice to the seller of the book that was chosen as well as payment information. It also marks the book as sold. The system maintains an open order until it receives notice that the book has been shipped. After the seller receives notice that a listed book has been sold, the seller must notify the buyer via e-mail within 48 hours that the purchase is noted. Shipment of the order must be made within 24 hours after the seller sends the notification email. The seller sends a notification to the buyer andTheEyesHaveIt.com when the shipment is made.
After receiving the notice of shipment, TheEyesHaveIt. com maintains the order in a shipped status. At the end of each month, a check is mailed to each seller for the book orders that have remained in a shipped status for 30 days. The 30-day waiting period exists to allow the buyer to notify TheEyesHaveIt.com if the shipment doesn’t arrive for some reason or if the book isn’t in the same condition as advertised.
If they want, buyers can enter a service code for the seller. The service code is an indication of how well the seller is servicing book purchases. Some sellers are very active and useTheEyesHaveIt.com as a major outlet for selling books. Thus, a service code is an important indicator to potential buyers.
For this case, develop these diagrams:
Sub-Task 2.1 A domain model class diagram
Sub-Task 2.2 A list of uses cases and a use case diagram
Sub-Task 2.3 A fully developed description for two use cases: Add a seller and Record a book order
Task 3 Applying Object-Oriented Modelling in Business Analysis Based on Module 8 & 9
MoveYourBooksNow.com Book Exchange
MoveYourBooksNow.com is a book exchange that does business entirely on the Internet. The company acts as a clearinghouse for buyers and sellers of used books.
To offer books for sale, a person must register with MoveYourBooks. The person must provide a current physical address and telephone number as well as a current e-mail address. The system maintains an open account for this person. Access to the system as a seller is through a secure, authenticated portal.
A seller can list books on the system through a special Internet form.
Information required includes all the pertinent information about the book, its category, its general condition, and the asking price. A seller may list as many books as desired. The system maintains an index of all books in the system so buyers can use the search engine to search for books. The search engine allows searches by title, author, category, and keyword.
People who want to buy books come to the site and search for the books they want. When they decide to buy, they must open an account with a credit card to pay for the books. The system maintains all this information on secure servers.
When a request to purchase is made and the payment is sent,
TheMoveYourBooks.com sends an e-mail notice to the seller of the book. It also marks the book as sold. The system maintains an open order until it receives notice that the book has been shipped. After the seller receives notice that a listed book has been sold, the seller must notify the buyer via e-mail within 48 hours. Shipment of the order must be made within 24 hours of the seller sending the notification e-mail. The seller sends a notification to the buyer and TheMoveYourBooks.com when the shipment is made.
After receiving notice of shipment, TheMoveYourBooks.com maintains the order in shipped status. At the end of each month, a check is mailed to each seller for the book orders that have been in shipped status for 30 days. The 30-day waiting period allows the buyer to notify TheMoveYourBooks.com if the shipment doesn’t arrive for some reason or if the book isn’t in the same condition as advertised.
If they want, buyers can enter a service code for the seller. The service code is an indication of how well the seller is servicing book purchases. Some sellers are very active and use TheMoveYourBooks.com as a major outlet for selling books. Thus, a service code is an important indicator to potential buyers.
For this case, develop the following diagrams:
Sub-Task 3.1 A domain model class diagram
Sub-Task 3.2 A use case diagram
Sub-Task 3.3 SSDs for two use cases, such as Add a seller and Record a book order
Sub-Task 3.4 A sequence diagram for each of the above use cases Sub-Task 3.5 An integrated design class diagram that includes classes, methods, and navigation attributes
GET ANSWERS / LIVE CHAT