A B D E G I L R S V

A

ActiveList - Class in <Unnamed>
the active auction list class.
ActiveList(ListingArchive) - Constructor for class ActiveList
constructs the ActiveList
AuctionListing - Class in <Unnamed>
the auction listing class.
AuctionListing(Seller, Item, Date, double) - Constructor for class AuctionListing
constructs the ActiveList
AuctionSystem - Class in <Unnamed>
the auction system class.
AuctionSystem() - Constructor for class AuctionSystem
constructs the auction system
Auctioneer - Class in <Unnamed>
the auctioneer class.
Auctioneer(ActiveList, AuctionListing, ListingArchive) - Constructor for class Auctioneer
constructs the Auctioneer.
Auctioneer.AuctionCompletedTask - Class in <Unnamed>
inner class that extends a TimerTask to provide a callback (run()) that invokes the auctioneer's auctionCompleted() method.
Auctioneer.AuctionCompletedTask(Auctioneer) - Constructor for class Auctioneer.AuctionCompletedTask
constructs the task.
activeList - Variable in class AuctionSystem
the active auctions list
addBid(Bid) - Method in class AuctionListing
process a new bid for this auction.
addBid(Bid) - Method in class BidHistory
save a bid to the history.
addListing(AuctionListing) - Method in class BrowseList
adds an AuctionListing object to the list
addListing(AuctionListing) - Method in class ListingArchive
save a listing to the archive.
al - Variable in class Auctioneer
the auction listing describing the item, bids and other elements
arch - Variable in class ActiveList
auction listing archive
arch - Variable in class AuctionSystem
the listing archive
arch - Variable in class Auctioneer
auction listing archive
auctListings - Variable in class ActiveList
collection of AuctionListing objects:
auctionCompleted() - Method in class Auctioneer
complete an auction.
auctionCompleted(Item, Bid) - Method in class Buyer
method invoked by Auctioneer when auction completes.
auctionCompleted(Item, Bid) - Method in class Seller
method invoked by Auctioneer when auction completes.
auctioneer - Variable in class AuctionListing
 

B

Bid - Class in <Unnamed>
the Bid class describes a bid for an item for sale.
Bid() - Constructor for class Bid
 
BidHistory - Class in <Unnamed>
the bid history class.
BidHistory() - Constructor for class BidHistory
constructs the bid history
BrowseList - Class in <Unnamed>
list of auction listings intended for users.
BrowseList() - Constructor for class BrowseList
constructs a new BrowseList object.
Buyer - Class in <Unnamed>
the Buyer class NOTE: The purpose of this code is to illustrate implementation starting from UML class and sequence diagrams.
Buyer() - Constructor for class Buyer
 
bidHist - Variable in class AuctionListing
 
buyItem(Item, Bid) - Method in class Seller
buyer buys item from this seller.

D

deadline - Variable in class AuctionListing
 

E

enterBid(Bid) - Method in class Auctioneer
enter a new bid for an item.

G

get(int) - Method in class BrowseList
return listing at element index
getAuctioneer() - Method in class AuctionListing
gets the auctioneer object reference.
getBrowseList() - Method in class ActiveList
creates and returns a browseable list of auction listings.
getBrowseList() - Method in class AuctionSystem
return a browseable list of active listings, but NOT the ActiveList object.
getDeadline() - Method in class AuctionListing
 
getHighestBid() - Method in class AuctionListing
accessor for the current highest bid.
getHighestBid() - Method in class BidHistory
return the highest bid.
getItem() - Method in class AuctionListing
 
getPrice() - Method in class AuctionListing
 
getSeller() - Method in class AuctionListing
 

I

Item - Class in <Unnamed>
the Item class.
Item() - Constructor for class Item
 
ItemDescription - Class in <Unnamed>
the Item description class.
ItemDescription() - Constructor for class ItemDescription
 
item - Variable in class AuctionListing
 

L

ListingArchive - Class in <Unnamed>
the auction listing archive class.
ListingArchive() - Constructor for class ListingArchive
constructs the ListingArchive
list - Variable in class BidHistory
collection of Bid objects.
list - Variable in class BrowseList
list of AuctionListing objects:
list - Variable in class ListingArchive
collection of AuctionListing objects.
listItem(Seller, Item, Date, double) - Method in class ActiveList
list a new item.
listItem(Item, Date, double) - Method in class AuctionSystem
adds a new Item for sale.

R

removeListing(AuctionListing) - Method in class ActiveList
remove auction listing from the list.
run() - Method in class Auctioneer.AuctionCompletedTask
the action to be performed by this task when timer expires.

S

Seller - Class in <Unnamed>
the Seller class NOTE: The purpose of this code is to illustrate implementation starting from UML class and sequence diagrams.
Seller() - Constructor for class Seller
 
scheduleCompletion() - Method in class Auctioneer
schedule auction completion.
seller - Variable in class AuctionListing
 
setAuctioneer(Auctioneer) - Method in class AuctionListing
sets the auctioneer object reference.
size() - Method in class BrowseList
return list size (element count)
startPrice - Variable in class AuctionListing
 

V

validateBid(Bid) - Method in class Auctioneer
validate a new bid.

A B D E G I L R S V