|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.samples.daytrader.OrderDataBean
public class OrderDataBean
Constructor Summary | |
---|---|
OrderDataBean()
|
|
OrderDataBean(Integer orderID,
String orderType,
String orderStatus,
Date openDate,
Date completionDate,
double quantity,
BigDecimal price,
BigDecimal orderFee,
String symbol)
OrderDataBean |
|
OrderDataBean(String orderType,
String orderStatus,
Date openDate,
Date completionDate,
double quantity,
BigDecimal price,
BigDecimal orderFee,
AccountDataBean account,
QuoteDataBean quote,
HoldingDataBean holding)
|
Method Summary | |
---|---|
void |
cancel()
|
AccountDataBean |
getAccount()
|
Date |
getCompletionDate()
Gets the completionDate |
HoldingDataBean |
getHolding()
|
Date |
getOpenDate()
Gets the openDate |
BigDecimal |
getOrderFee()
Gets the orderFee |
Integer |
getOrderID()
Gets the orderID |
String |
getOrderStatus()
Gets the orderStatus |
String |
getOrderType()
Gets the orderType |
BigDecimal |
getPrice()
Gets the price |
double |
getQuantity()
Gets the quantity |
QuoteDataBean |
getQuote()
|
static OrderDataBean |
getRandomInstance()
|
String |
getSymbol()
Gets the symbol |
boolean |
isBuy()
|
boolean |
isCancelled()
|
boolean |
isCompleted()
|
boolean |
isOpen()
|
boolean |
isSell()
|
void |
print()
|
void |
setAccount(AccountDataBean account)
|
void |
setCompletionDate(Date completionDate)
Sets the completionDate |
void |
setHolding(HoldingDataBean holding)
|
void |
setOpenDate(Date openDate)
Sets the openDate |
void |
setOrderFee(BigDecimal orderFee)
Sets the orderFee |
void |
setOrderID(Integer orderID)
Sets the orderID |
void |
setOrderStatus(String orderStatus)
Sets the orderStatus |
void |
setOrderType(String orderType)
Sets the orderType |
void |
setPrice(BigDecimal price)
Sets the price |
void |
setQuantity(double quantity)
Sets the quantity |
void |
setQuote(QuoteDataBean quote)
|
void |
setSymbol(String symbol)
Sets the symbol |
String |
toHTML()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OrderDataBean()
public OrderDataBean(Integer orderID, String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, String symbol)
public OrderDataBean(String orderType, String orderStatus, Date openDate, Date completionDate, double quantity, BigDecimal price, BigDecimal orderFee, AccountDataBean account, QuoteDataBean quote, HoldingDataBean holding)
Method Detail |
---|
public static OrderDataBean getRandomInstance()
public String toString()
toString
in class Object
public String toHTML()
public void print()
public Integer getOrderID()
public void setOrderID(Integer orderID)
orderID
- The orderID to setpublic String getOrderType()
public void setOrderType(String orderType)
orderType
- The orderType to setpublic String getOrderStatus()
public void setOrderStatus(String orderStatus)
orderStatus
- The orderStatus to setpublic Date getOpenDate()
public void setOpenDate(Date openDate)
openDate
- The openDate to setpublic Date getCompletionDate()
public void setCompletionDate(Date completionDate)
completionDate
- The completionDate to setpublic double getQuantity()
public void setQuantity(double quantity)
quantity
- The quantity to setpublic BigDecimal getPrice()
public void setPrice(BigDecimal price)
price
- The price to setpublic BigDecimal getOrderFee()
public void setOrderFee(BigDecimal orderFee)
orderFee
- The orderFee to setpublic String getSymbol()
public void setSymbol(String symbol)
symbol
- The symbol to setpublic AccountDataBean getAccount()
public void setAccount(AccountDataBean account)
public QuoteDataBean getQuote()
public void setQuote(QuoteDataBean quote)
public HoldingDataBean getHolding()
public void setHolding(HoldingDataBean holding)
public boolean isBuy()
public boolean isSell()
public boolean isOpen()
public boolean isCompleted()
public boolean isCancelled()
public void cancel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |