|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectListingArchive
public class ListingArchive
the auction listing archive 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.
Field Summary | |
---|---|
protected java.util.List<AuctionListing> |
list
collection of AuctionListing objects. |
Constructor Summary | |
---|---|
ListingArchive()
constructs the ListingArchive |
Method Summary | |
---|---|
void |
addListing(AuctionListing al)
save a listing to the archive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<AuctionListing> list
List
is an interface type.
It is protected to give access to subclasses to add functionality
(such as browsing the archive).
Constructor Detail |
---|
public ListingArchive()
Method Detail |
---|
public void addListing(AuctionListing al)
al
- the auction listing
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |