Class Buyer

java.lang.Object
  extended by Buyer

public class Buyer
extends java.lang.Object

the Buyer class NOTE: The purpose of this code is to illustrate implementation starting from UML class and sequence diagrams. It may be incomplete and may not compile.


Constructor Summary
Buyer()
           
 
Method Summary
 void auctionCompleted(Item item, Bid bid)
          method invoked by Auctioneer when auction completes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Buyer

public Buyer()
Method Detail

auctionCompleted

public void auctionCompleted(Item item,
                             Bid bid)
method invoked by Auctioneer when auction completes.

Parameters:
item - the item that has been sold
bid - the winning bid.