Create a class diagram that shows an interface

Assignment Help JAVA Programming
Reference no: EM13811079

The Buyers and Sellers Project

The Buyers and Sellers project will support people and businesses who have a product to sell (the Sellers) and people or businesses who want to purchase a product (the Buyers). The application will provide a broker system that will help Buyers search for, find, and purchase the product that they want.

Each Buyer will have a collection of products that they want to purchase. Each Seller has a product that they are offering for sale. To find and purchase a product, a Buyer will contact a broker who will attempt to locate that product for the Buyer. The broker will ask the Sellers if they can supply the desired product. Once a Seller of the product has been located, the broker will retrieve the product for the Buyer.

The broker portion of the application has already been developed. Your role in the project is to develop the Buyer and Seller classes. The broker will communicate with both Buyers and Sellers.

Each Buyer must know:

1. Their name

2. The products they want to purchase

3. The products they have purchased

Each Buyer must be able to:

1. Provide their collection of products they want to purchase

2. Provide their name

3. Provide the collection of products they have purchased

4. Add a new product to their collection of purchased items

Each Seller must know:

1. Their name

2. The product they want to sell

Each Seller must be able to:

1. Provide their name

2. Provide the product they want to sell

3. Answer if they can provide a particular product

4. Sell their product

You will start by designing some of the classes needed to build the Buyers and Sellers portion of the application. Create Java classes that will be used in the BuyersAndSellers Eclipse project. Your classes will work with the classes that already exist in the BuyersAndSellers project.

Create a test class that will help you verify that your class is operating correctly.

1. Create a class diagram that shows an interface called Buyer in the Violet UML editor. This interface should declare the methods to perform a buyer's responsibilities.

2. Add a class called BuyerImpl to the class diagram that implements the Buyer interface.

3. Add an interface called Seller that declares the methods to perform a seller's responsibilities.

4. Add a class called SellerImpl that implements the Seller interface.

5. Open the Sellers project in Eclipse and examine the methods that are declared in the Seller interface.

6. Write code to implement the methods for the SellerImpl class.

7. Write code in the SellerImplTestDriver class to test the methods in your SellerImpl class.

Reference no: EM13811079

Questions Cloud

Political science about climate change : Political Science About Climate Change
Negotiation power or ability to influence : Explain how you use your personal negotiation power or ability to influence others in the workplace or in your personal life. Comment on your source of power and cite one negative and one positive consequence that came about as a result of your in..
Define corporate social responsibility : Define corporate social responsibility. Describe and evaluate the economic model of corporate social responsibility. Describe the key components of the term responsibility.
Resource-based view and relation to strategic management : Explain the resource-based view and its relation to strategic management. Identify at least three ways that this view differs from the I/O view.
Create a class diagram that shows an interface : Create a class diagram that shows an interface called Buyer in the Violet UML editor. This interface should declare the methods to perform a buyer's responsibilities
Mass merchandiser global supply chains : Describe the logistics steps that large mass merchandiser global supply chains use to ensure timely availability of inventory for routine and sales merchandise needs.
Alternative gender roles : Alternative Gender Roles
Typical manufacturing supervisors challenges : What are typical manufacturing supervisors' challenges, frequently created due to no fault of their own? Under newer, nontraditional manufacturing and operations methods, how can these problems reduce?
Conclusion about the most appropriate course of action : While you are conducting this research, also consider that no one model is without flaws or inconsistencies. You should always review differing opinions before coming to a conclusion about the most appropriate course of action.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd