|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--samples.j2ee.ejb.basic.statefulSession.TradeResult
This class reflects the results of a buy/sell transaction.
| Field Summary | |
int |
numberTraded
|
double |
priceSoldAt
|
| Constructor Summary | |
TradeResult(int n,
double p)
Returns the number of shares and sales price for a buy or sell transaction in a TradeResult object. |
|
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public int numberTraded
public double priceSoldAt
| Constructor Detail |
public TradeResult(int n,
double p)
n - int Number of shares tradedp - double Price shares sold at
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||