org.apache.geronimo.samples.daytrader
Class MarketSummaryDataBeanWS

java.lang.Object
  extended by org.apache.geronimo.samples.daytrader.MarketSummaryDataBeanWS
All Implemented Interfaces:
Serializable

public class MarketSummaryDataBeanWS
extends Object
implements Serializable

Author:
aspyker This is a duplicate MarketSummaryDataBean to handle web service handling of collections. Instead this class uses typed arrays.
See Also:
Serialized Form

Constructor Summary
MarketSummaryDataBeanWS()
           
MarketSummaryDataBeanWS(BigDecimal TSIA, BigDecimal openTSIA, double volume, QuoteDataBean[] topGainers, QuoteDataBean[] topLosers)
           
 
Method Summary
static MarketSummaryDataBeanWS convertBean(MarketSummaryDataBean origBean)
           
 BigDecimal getOpenTSIA()
          Gets the openTSIA
 Date getSummaryDate()
          Gets the summaryDate
 QuoteDataBean[] getTopGainers()
          Gets the topGainers
 QuoteDataBean[] getTopLosers()
          Gets the topLosers
 BigDecimal getTSIA()
          Gets the tSIA
 double getVolume()
          Gets the volume
 void print()
           
 void setOpenTSIA(BigDecimal openTSIA)
          Sets the openTSIA
 void setSummaryDate(Date summaryDate)
          Sets the summaryDate
 void setTopGainers(QuoteDataBean[] topGainers)
          Sets the topGainers
 void setTopLosers(QuoteDataBean[] topLosers)
          Sets the topLosers
 void setTSIA(BigDecimal tSIA)
          Sets the tSIA
 void setVolume(double volume)
          Sets the volume
 String toHTML()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarketSummaryDataBeanWS

public MarketSummaryDataBeanWS()

MarketSummaryDataBeanWS

public MarketSummaryDataBeanWS(BigDecimal TSIA,
                               BigDecimal openTSIA,
                               double volume,
                               QuoteDataBean[] topGainers,
                               QuoteDataBean[] topLosers)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toHTML

public String toHTML()

print

public void print()

getTSIA

public BigDecimal getTSIA()
Gets the tSIA

Returns:
Returns a BigDecimal

setTSIA

public void setTSIA(BigDecimal tSIA)
Sets the tSIA

Parameters:
tSIA - The tSIA to set

getOpenTSIA

public BigDecimal getOpenTSIA()
Gets the openTSIA

Returns:
Returns a BigDecimal

setOpenTSIA

public void setOpenTSIA(BigDecimal openTSIA)
Sets the openTSIA

Parameters:
openTSIA - The openTSIA to set

getVolume

public double getVolume()
Gets the volume

Returns:
Returns a BigDecimal

setVolume

public void setVolume(double volume)
Sets the volume

Parameters:
volume - The volume to set

getTopGainers

public QuoteDataBean[] getTopGainers()
Gets the topGainers

Returns:
Returns a Collection

setTopGainers

public void setTopGainers(QuoteDataBean[] topGainers)
Sets the topGainers

Parameters:
topGainers - The topGainers to set

getTopLosers

public QuoteDataBean[] getTopLosers()
Gets the topLosers

Returns:
Returns a Collection

setTopLosers

public void setTopLosers(QuoteDataBean[] topLosers)
Sets the topLosers

Parameters:
topLosers - The topLosers to set

getSummaryDate

public Date getSummaryDate()
Gets the summaryDate

Returns:
Returns a Date

setSummaryDate

public void setSummaryDate(Date summaryDate)
Sets the summaryDate

Parameters:
summaryDate - The summaryDate to set

convertBean

public static MarketSummaryDataBeanWS convertBean(MarketSummaryDataBean origBean)


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