org.apache.geronimo.samples.daytrader.ejb
Interface LocalOrder
- All Superinterfaces:
- javax.ejb.EJBLocalObject
- public interface LocalOrder
- extends javax.ejb.EJBLocalObject
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
getOrderID
public java.lang.Integer getOrderID()
getOrderType
public java.lang.String getOrderType()
getOrderStatus
public java.lang.String getOrderStatus()
setOrderStatus
public void setOrderStatus(java.lang.String orderType)
getOpenDate
public java.sql.Timestamp getOpenDate()
getCompletionDate
public java.sql.Timestamp getCompletionDate()
setCompletionDate
public void setCompletionDate(java.sql.Timestamp completionDate)
getQuantity
public double getQuantity()
getPrice
public java.math.BigDecimal getPrice()
getOrderFee
public java.math.BigDecimal getOrderFee()
getAccount
public LocalAccount getAccount()
getQuote
public LocalQuote getQuote()
getHolding
public LocalHolding getHolding()
setHolding
public void setHolding(LocalHolding holding)
getHoldingForUpdate
public LocalHolding getHoldingForUpdate()
cancel
public void cancel()
isBuy
public boolean isBuy()
isSell
public boolean isSell()
isOpen
public boolean isOpen()
isCompleted
public boolean isCompleted()
isCancelled
public boolean isCancelled()
getDataBean
public OrderDataBean getDataBean()
toString
public java.lang.String toString()
Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.