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

java.lang.Object
  extended by org.apache.geronimo.samples.daytrader.QuoteDataBean
      extended by org.apache.geronimo.samples.daytrader.client.TradeStreamerQuoteDataBean
All Implemented Interfaces:
Serializable, org.apache.openjpa.enhance.PersistenceCapable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.geronimo.samples.daytrader.QuoteDataBean
pcFlags, pcStateManager
 
Fields inherited from interface org.apache.openjpa.enhance.PersistenceCapable
CHECK_READ, CHECK_WRITE, DESERIALIZED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
TradeStreamerQuoteDataBean()
           
 
Method Summary
 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
 Date getLastUpdate()
          Gets the last update date of the quote
 void setAuditPrice(BigDecimal auditPrice)
          Sets the price
 void setAuditPriceModel(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(Date lastUpdate)
          Sets the last update date of the quote
 String toString()
           
 
Methods inherited from class org.apache.geronimo.samples.daytrader.QuoteDataBean
getChange, getCompanyName, getHigh, getLow, getOpen, getPrice, getRandomInstance, getSymbol, getVolume, pcClearFields, pcCopyField, pcCopyFields, pcCopyKeyFieldsFromObjectId, pcCopyKeyFieldsFromObjectId, pcCopyKeyFieldsToObjectId, pcCopyKeyFieldsToObjectId, pcDirty, pcFetchObjectId, pcGetDetachedState, pcGetGenericContext, pcGetManagedFieldCount, pcGetStateManager, pcGetVersion, pcIsDeleted, pcIsDetached, pcIsDirty, pcIsNew, pcIsPersistent, pcIsTransactional, pcNewInstance, pcNewInstance, pcNewObjectIdInstance, pcNewObjectIdInstance, pcProvideField, pcProvideFields, pcReplaceField, pcReplaceFields, pcReplaceFlags, pcReplaceStateManager, pcSerializing, pcSetDetachedState, 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 BigDecimal getAuditPrice()
Gets the price

Returns:
Returns a BigDecimal

setAuditPrice

public void setAuditPrice(BigDecimal auditPrice)
Sets the price

Parameters:
price - The price to set

getAuditVolume

public double getAuditVolume()
Gets the volume

Returns:
Returns a BigDecimal

setAuditVolume

public void setAuditVolume(double auditVolume)
Sets the volume

Parameters:
volume - The volume to set

getLastUpdate

public 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

Overrides:
setChange in class org.apache.geronimo.samples.daytrader.QuoteDataBean

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(BigDecimal aPrice)
Sets the audit price model

Parameters:
price - the audit price

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

Parameters:
volume - the audit volume

setLastUpdate

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

Parameters:
lastUpdate - the last update date of the quote

toString

public String toString()
Overrides:
toString in class org.apache.geronimo.samples.daytrader.QuoteDataBean


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