StockTrade_ClientSidepublic class StockTrade_ClientSide extends Object
Fields Summary |
---|
String | _symbol | boolean | _buy | int | _numShares |
Constructors Summary |
---|
public StockTrade_ClientSide()
| public StockTrade_ClientSide(String symbol, boolean buy, int numShares)
_symbol = symbol;
_buy = buy;
_numShares = numShares;
|
Methods Summary |
---|
public int | getNumShares()
return _numShares;
| public java.lang.String | getSymbol()
return _symbol;
| public boolean | isBuy()
return _buy;
| public void | setBuy(boolean buy)
_buy = buy;
| public void | setNumShares(int numShares)
_numShares = numShares;
| public void | setSymbol(java.lang.String symbol)
_symbol = symbol;
|
|