org.apache.geronimo.samples.daytrader.client
Class TradeStreamerQuoteDataBean

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

public class TradeStreamerQuoteDataBean
extends org.apache.geronimo.samples.daytrader.QuoteDataBean

See Also:
Serialized Form

Constructor Summary
TradeStreamerQuoteDataBean()
           
 
Method Summary
 java.math.BigDecimal getAuditPrice()
          Gets the price
 AuditModel getAuditPriceModel()
          Gets the audit price model
 double getAuditVolume()
          Gets the volume
 AuditModel getAuditVolumeModel()
          Gets the audit volume model
 ChangeModel getChangeModel()
          Gets the change model since open
 java.util.Date getLastUpdate()
          Gets the last update date of the quote
 void setAuditPrice(java.math.BigDecimal auditPrice)
          Sets the price
 void setAuditPriceModel(java.math.BigDecimal aPrice)
          Sets the audit price model
 void setAuditVolume(double auditVolume)
          Sets the volume
 void setAuditVolumeModel(double aVolume)
          Sets the audit volume model
 void setChange(double change)
          Sets the change since open Overridden to provide model class for JTable to render
 void setLastUpdate(java.util.Date lastUpdate)
          Sets the last update date of the quote
 java.lang.String toString()
           
 
Methods inherited from class org.apache.geronimo.samples.daytrader.QuoteDataBean
getChange, getCompanyName, getHigh, getLow, getOpen, getPrice, getRandomInstance, getSymbol, getVolume, print, setCompanyName, setHigh, setLow, setOpen, setPrice, setSymbol, setVolume, toHTML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TradeStreamerQuoteDataBean

public TradeStreamerQuoteDataBean()
Method Detail

getAuditPrice

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

Returns:
Returns a BigDecimal

setAuditPrice

public void setAuditPrice(java.math.BigDecimal auditPrice)
Sets the price


getAuditVolume

public double getAuditVolume()
Gets the volume

Returns:
Returns a BigDecimal

setAuditVolume

public void setAuditVolume(double auditVolume)
Sets the volume


getLastUpdate

public java.util.Date getLastUpdate()
Gets the last update date of the quote

Returns:
Returns the last update date

setChange

public void setChange(double change)
Sets the change since open Overridden to provide model class for JTable to render


getChangeModel

public ChangeModel getChangeModel()
Gets the change model since open

Returns:
the change model

getAuditPriceModel

public AuditModel getAuditPriceModel()
Gets the audit price model

Returns:
the audit price model

setAuditPriceModel

public void setAuditPriceModel(java.math.BigDecimal aPrice)
Sets the audit price model


getAuditVolumeModel

public AuditModel getAuditVolumeModel()
Gets the audit volume model

Returns:
the audit volume model

setAuditVolumeModel

public void setAuditVolumeModel(double aVolume)
Sets the audit volume model


setLastUpdate

public void setLastUpdate(java.util.Date lastUpdate)
Sets the last update date of the quote

Parameters:
lastUpdate - the last update date of the quote

toString

public java.lang.String toString()


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