Question

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 the system as a seller is through a secure, authenticated portal.


A seller can list food items on the system through a special Internet form. Information required includes all the pertinent information about the food, its category, its general condition, and the asking price. A seller may list as many food items as desired. The system maintains an item ID of all food items in the system so that buyers can use the search engine to search for food item. The search engine allows searches by category, name, location, condition or keyword.


People wanting to buy food items come to the site and search for the item they want. When they decide to buy, they must open an account with a credit card to pay for the item. The system maintains all this information on secure servers.


When a request to purchase is made, along with the payment, The HealthyFood sends an e-mail notice to the seller of the item that was chosen. It also marks the item as pending. The system maintains this as an open order until it receives notice that the item have been shipped and mark it as sold. After the seller receives notice that a listed item has been sold, he/she must notify the buyer via e-mail within 12 hours that the purchase is noted. Shipment of the order must be made within 12 hours after the seller sends the


ITAP2013 Software Engineering


notification e-mail. The seller sends a notification to both the buyer and HealthyFood when the shipment is made.


After receiving notice of shipment, HealtyFood maintains the order in a shipped status. At the end of each month, a check is mailed to each seller for the food item orders that have been in a shipped status for 7 days. The 7-day waiting period is to allow the buyer to notify HealthyFood if the shipment does not arrive for some reason, or if the food item is not in the same condition as advertised.


The buyers can, if they want, enter a service rating for the seller. The service rating is an indication of how well the seller is servicing food purchases. Some sellers are very active and use HealthyFood as a major outlet for selling food items. So, a service rating is an important indicator to potential buyers.


please answer the following question:

1. Draw Class diagram for the above system. Clearly indicate classes, possible
methods, and message calls

Homework Answers

Answer #1

Class Diagram for the given problem:

Classes:

  • 1. Person class
  • 2. Buyer Class
  • 3. Seller Class
  • 4. Register Class
  • 5. Searching Class
  • 6. Food_Item Class
  • 7. Status class

Multiplicity:

  1. There are M:1 multiplicity between Person class and Register class
  2. There are 1:M multiplicity between Seller class and Food_Item class
  3. There are M:1 multiplicity between Buyer class and Seller Class
  4. There are 1:M multiplicity between Buyer class and searching class
  5. There are 1:M multiplicity between Food_Item class and Status class
  6. There are generalization between Person class , Buyer class and seller class

Class Diagram :

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. 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...
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...
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]...
DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of plumbing equipment, tools,...
DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of plumbing equipment, tools, and parts to hardware stores, home-improvement centers, and professional plumbers in the Accra-Tema Metropolitan area. Over the years they have expanded their operations to serve customers across the nation and now employ over 200 people as technical representatives, buyers, warehouse workers, and sales and office staff. Most recently DURAPLAST has experienced fierce competition from the large online discount stores such as Qualiplast and Interplast....
DURAPLAST Company Ltd. DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of...
DURAPLAST Company Ltd. DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of plumbing equipment, tools, and parts to hardware stores, home-improvement centers, and professional plumbers in the Accra-Tema Metropolitan area. Over the years they have expanded their operations to serve customers across the nation and now employ over 200 people as technical representatives, buyers, warehouse workers, and sales and office staff. Most recently DURAPLAST has experienced fierce competition from the large online discount stores such as...
DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of plumbing equipment, tools,...
DURAPLAST Company Ltd., opened its doors in 1979 as a wholesale supplier of plumbing equipment, tools, and parts to hardware stores, home-improvement centers, and professional plumbers in the Accra-Tema Metropolitan area. Over the years they have expanded their operations to serve customers across the nation and now employ over 200 people as technical representatives, buyers, warehouse workers, and sales and office staff. Most recently DURAPLAST has experienced fierce competition from the large online discount stores such as Qualiplast and Interplast....
Business Problem-Solving Case Walmart and Amazon Duke It Out for E-Commerce Supremacy Walmart is the world’s...
Business Problem-Solving Case Walmart and Amazon Duke It Out for E-Commerce Supremacy Walmart is the world’s largest and most successful retailer, with $487.5 billion in 2014 sales and nearly 11,000 stores worldwide, including more than 4,000 in the United States. Walmart has 2.2 million employees and ranks first on the Fortune 500 list of companies. Walmart had such a large and powerful selling machine that it really didn’t have any serious competitors—until now. Today, Walmart’s greatest threat is Amazon.com, often...
Case Study: Monica’s Handbags Monica, after completing an internship with a national apparel company, decided that...
Case Study: Monica’s Handbags Monica, after completing an internship with a national apparel company, decided that she wanted to exercise her creative design talents and her strong entrepreneurial spirit by starting her own fashion business. She conducted fundamental market research and determined that there is an unfulfilled market need for the moderate fashion handbags that she had designed at the $100 retail price point. She also learned that the independent women’s apparel stores she was targeting require a 50% retail...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...