|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.samples.daytrader.QuoteDataBean
public class QuoteDataBean
Constructor Summary | |
---|---|
QuoteDataBean()
|
|
QuoteDataBean(String symbol)
|
|
QuoteDataBean(String symbol,
String companyName,
double volume,
BigDecimal price,
BigDecimal open,
BigDecimal low,
BigDecimal high,
double change)
|
Method Summary | |
---|---|
double |
getChange()
Gets the change1 |
String |
getCompanyName()
Gets the companyName |
BigDecimal |
getHigh()
Gets the high |
BigDecimal |
getLow()
Gets the low |
BigDecimal |
getOpen()
Gets the open1 |
BigDecimal |
getPrice()
Gets the price |
static QuoteDataBean |
getRandomInstance()
|
String |
getSymbol()
Gets the symbol |
double |
getVolume()
Gets the volume |
void |
print()
|
void |
setChange(double change)
Sets the change1 |
void |
setCompanyName(String companyName)
Sets the companyName |
void |
setHigh(BigDecimal high)
Sets the high |
void |
setLow(BigDecimal low)
Sets the low |
void |
setOpen(BigDecimal open)
Sets the open1 |
void |
setPrice(BigDecimal price)
Sets the price |
void |
setSymbol(String symbol)
Sets the symbol |
void |
setVolume(double volume)
Sets the volume |
String |
toHTML()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuoteDataBean()
public QuoteDataBean(String symbol, String companyName, double volume, BigDecimal price, BigDecimal open, BigDecimal low, BigDecimal high, double change)
public QuoteDataBean(String symbol)
Method Detail |
---|
public static QuoteDataBean getRandomInstance()
public String toString()
toString
in class Object
public String toHTML()
public void print()
public String getSymbol()
public void setSymbol(String symbol)
symbol
- The symbol to setpublic String getCompanyName()
public void setCompanyName(String companyName)
companyName
- The companyName to setpublic BigDecimal getPrice()
public void setPrice(BigDecimal price)
price
- The price to setpublic BigDecimal getOpen()
public void setOpen(BigDecimal open)
open
- The open1 to setpublic BigDecimal getLow()
public void setLow(BigDecimal low)
low
- The low to setpublic BigDecimal getHigh()
public void setHigh(BigDecimal high)
high
- The high to setpublic double getChange()
public void setChange(double change)
change
- The change1 to setpublic double getVolume()
public void setVolume(double volume)
volume
- The volume to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |