-
Example 4
shows the source code for the interface for the Bid object
-
A very simple object
-
Contains the amount of the bid
-
Note that this simply returns an integer
-
Defined (externally) to be the amount (in cents) of the bid
-
No formatted output methods in bean -- just business logic
-
Also contains the date the bid was made on
-
Note the use of the serializable calendar class again
|