org.apache.geronimo.samples.daytrader
Class OrderDataBean

java.lang.Object
  extended byorg.apache.geronimo.samples.daytrader.OrderDataBean
All Implemented Interfaces:
java.io.Serializable

public class OrderDataBean
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
OrderDataBean()
           
OrderDataBean(java.lang.Integer orderID, java.lang.String orderType, java.lang.String orderStatus, java.util.Date openDate, java.util.Date completionDate, double quantity, java.math.BigDecimal price, java.math.BigDecimal orderFee, java.lang.String symbol)
          OrderDataBean
 
Method Summary
 java.util.Date getCompletionDate()
          Gets the completionDate
 java.util.Date getOpenDate()
          Gets the openDate
 java.math.BigDecimal getOrderFee()
          Gets the orderFee
 java.lang.Integer getOrderID()
          Gets the orderID
 java.lang.String getOrderStatus()
          Gets the orderStatus
 java.lang.String getOrderType()
          Gets the orderType
 java.math.BigDecimal getPrice()
          Gets the price
 double getQuantity()
          Gets the quantity
static OrderDataBean getRandomInstance()
           
 java.lang.String getSymbol()
          Gets the symbol
 void print()
           
 void setCompletionDate(java.util.Date completionDate)
          Sets the completionDate
 void setOpenDate(java.util.Date openDate)
          Sets the openDate
 void setOrderFee(java.math.BigDecimal orderFee)
          Sets the orderFee
 void setOrderID(java.lang.Integer orderID)
          Sets the orderID
 void setOrderStatus(java.lang.String orderStatus)
          Sets the orderStatus
 void setOrderType(java.lang.String orderType)
          Sets the orderType
 void setPrice(java.math.BigDecimal price)
          Sets the price
 void setQuantity(double quantity)
          Sets the quantity
 void setSymbol(java.lang.String symbol)
          Sets the symbol
 java.lang.String toHTML()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderDataBean

public OrderDataBean()

OrderDataBean

public OrderDataBean(java.lang.Integer orderID,
                     java.lang.String orderType,
                     java.lang.String orderStatus,
                     java.util.Date openDate,
                     java.util.Date completionDate,
                     double quantity,
                     java.math.BigDecimal price,
                     java.math.BigDecimal orderFee,
                     java.lang.String symbol)
OrderDataBean

Method Detail

getRandomInstance

public static OrderDataBean getRandomInstance()

toString

public java.lang.String toString()

toHTML

public java.lang.String toHTML()

print

public void print()

getOrderID

public java.lang.Integer getOrderID()
Gets the orderID

Returns:
Returns a Integer

setOrderID

public void setOrderID(java.lang.Integer orderID)
Sets the orderID

Parameters:
orderID - The orderID to set

getOrderType

public java.lang.String getOrderType()
Gets the orderType

Returns:
Returns a String

setOrderType

public void setOrderType(java.lang.String orderType)
Sets the orderType

Parameters:
orderType - The orderType to set

getOrderStatus

public java.lang.String getOrderStatus()
Gets the orderStatus

Returns:
Returns a String

setOrderStatus

public void setOrderStatus(java.lang.String orderStatus)
Sets the orderStatus

Parameters:
orderStatus - The orderStatus to set

getOpenDate

public java.util.Date getOpenDate()
Gets the openDate

Returns:
Returns a Date

setOpenDate

public void setOpenDate(java.util.Date openDate)
Sets the openDate

Parameters:
openDate - The openDate to set

getCompletionDate

public java.util.Date getCompletionDate()
Gets the completionDate

Returns:
Returns a Date

setCompletionDate

public void setCompletionDate(java.util.Date completionDate)
Sets the completionDate

Parameters:
completionDate - The completionDate to set

getQuantity

public double getQuantity()
Gets the quantity

Returns:
Returns a BigDecimal

setQuantity

public void setQuantity(double quantity)
Sets the quantity

Parameters:
quantity - The quantity to set

getPrice

public java.math.BigDecimal getPrice()
Gets the price

Returns:
Returns a BigDecimal

setPrice

public void setPrice(java.math.BigDecimal price)
Sets the price

Parameters:
price - The price to set

getOrderFee

public java.math.BigDecimal getOrderFee()
Gets the orderFee

Returns:
Returns a BigDecimal

setOrderFee

public void setOrderFee(java.math.BigDecimal orderFee)
Sets the orderFee

Parameters:
orderFee - The orderFee to set

getSymbol

public java.lang.String getSymbol()
Gets the symbol

Returns:
Returns a String

setSymbol

public void setSymbol(java.lang.String symbol)
Sets the symbol

Parameters:
symbol - The symbol to set


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.