net.sf.emarket.order.domain
Class Order
java.lang.Object
net.sf.emarket.order.domain.Order
- Direct Known Subclasses:
- ReceivedOrder
public class Order
- extends java.lang.Object
Constructor Summary |
Order()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_SELL
public static final java.lang.String TYPE_SELL
- See Also:
- Constant Field Values
TYPE_BUY
public static final java.lang.String TYPE_BUY
- See Also:
- Constant Field Values
TYPE_SHORT_SELL
public static final java.lang.String TYPE_SHORT_SELL
- See Also:
- Constant Field Values
TERM_GOOD_FOR_DAY
public static final java.lang.String TERM_GOOD_FOR_DAY
- See Also:
- Constant Field Values
TERM_GOOD_TILL_CANCELLED
public static final java.lang.String TERM_GOOD_TILL_CANCELLED
- See Also:
- Constant Field Values
PRICE_TYPE_MARKET
public static final java.lang.String PRICE_TYPE_MARKET
- See Also:
- Constant Field Values
PRICE_TYPE_LIMIT
public static final java.lang.String PRICE_TYPE_LIMIT
- See Also:
- Constant Field Values
STATUS_VERIFIED
public static final java.lang.String STATUS_VERIFIED
- See Also:
- Constant Field Values
STATUS_OPEN
public static final java.lang.String STATUS_OPEN
- See Also:
- Constant Field Values
STATUS_CLOSED
public static final java.lang.String STATUS_CLOSED
- See Also:
- Constant Field Values
STATUS_CANCELLED
public static final java.lang.String STATUS_CANCELLED
- See Also:
- Constant Field Values
STATUS_PARTIALLY_FILLED
public static final java.lang.String STATUS_PARTIALLY_FILLED
- See Also:
- Constant Field Values
STATUS_FILLED
public static final java.lang.String STATUS_FILLED
- See Also:
- Constant Field Values
Order
public Order()
setId
public void setId(java.lang.String id)
getId
public java.lang.String getId()
getAcctId
public java.lang.String getAcctId()
setAcctId
public void setAcctId(java.lang.String acctId)
getQuoteId
public long getQuoteId()
setQuoteId
public void setQuoteId(long quoteId)
getSymbol
public java.lang.String getSymbol()
setSymbol
public void setSymbol(java.lang.String symbol)
getExchange
public java.lang.String getExchange()
setExchange
public void setExchange(java.lang.String exchange)
getOrderType
public java.lang.String getOrderType()
setOrderType
public void setOrderType(java.lang.String orderType)
getQuantity
public int getQuantity()
setQuantity
public void setQuantity(int quantity)
getFilledQuantity
public int getFilledQuantity()
setFilledQuantity
public void setFilledQuantity(int filledQuantity)
getOrderTerm
public java.lang.String getOrderTerm()
setOrderTerm
public void setOrderTerm(java.lang.String orderTerm)
getPriceType
public java.lang.String getPriceType()
setPriceType
public void setPriceType(java.lang.String priceType)
getStatus
public java.lang.String getStatus()
setStatus
public void setStatus(java.lang.String status)
getCommission
public float getCommission()
setCommission
public void setCommission(float commission)
getTotalCost
public float getTotalCost()
setTotalCost
public void setTotalCost(float totalCost)
getCreationTime
public java.sql.Timestamp getCreationTime()
setCreationTime
public void setCreationTime(java.sql.Timestamp creationTime)
getTime
public java.sql.Timestamp getTime()
setTime
public void setTime(java.sql.Timestamp time)
getLimitPrice
public float getLimitPrice()
setLimitPrice
public void setLimitPrice(float limitPrice)
isBuy
public boolean isBuy()
isSell
public boolean isSell()
isLimitOrder
public boolean isLimitOrder()
isMarketOrder
public boolean isMarketOrder()
Copyright © 2009. All Rights Reserved.