org.apache.geronimo.samples.daytrader
Class MarketSummaryDataBeanWS

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

public class MarketSummaryDataBeanWS
extends java.lang.Object
implements java.io.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(java.math.BigDecimal TSIA, java.math.BigDecimal openTSIA, double volume, QuoteDataBean[] topGainers, QuoteDataBean[] topLosers)
           
 
Method Summary
static MarketSummaryDataBeanWS convertBean(MarketSummaryDataBean origBean)
           
 java.math.BigDecimal getOpenTSIA()
          Gets the openTSIA
 java.util.Date getSummaryDate()
          Gets the summaryDate
 QuoteDataBean[] getTopGainers()
          Gets the topGainers
 QuoteDataBean[] getTopLosers()
          Gets the topLosers
 java.math.BigDecimal getTSIA()
          Gets the tSIA
 double getVolume()
          Gets the volume
 void print()
           
 void setOpenTSIA(java.math.BigDecimal openTSIA)
          Sets the openTSIA
 void setSummaryDate(java.util.Date summaryDate)
          Sets the summaryDate
 void setTopGainers(QuoteDataBean[] topGainers)
          Sets the topGainers
 void setTopLosers(QuoteDataBean[] topLosers)
          Sets the topLosers
 void setTSIA(java.math.BigDecimal tSIA)
          Sets the tSIA
 void setVolume(double volume)
          Sets the volume
 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

MarketSummaryDataBeanWS

public MarketSummaryDataBeanWS()

MarketSummaryDataBeanWS

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

toString

public java.lang.String toString()

toHTML

public java.lang.String toHTML()

print

public void print()

getTSIA

public java.math.BigDecimal getTSIA()
Gets the tSIA

Returns:
Returns a BigDecimal

setTSIA

public void setTSIA(java.math.BigDecimal tSIA)
Sets the tSIA

Parameters:
tSIA - The tSIA to set

getOpenTSIA

public java.math.BigDecimal getOpenTSIA()
Gets the openTSIA

Returns:
Returns a BigDecimal

setOpenTSIA

public void setOpenTSIA(java.math.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 java.util.Date getSummaryDate()
Gets the summaryDate

Returns:
Returns a Date

setSummaryDate

public void setSummaryDate(java.util.Date summaryDate)
Sets the summaryDate

Parameters:
summaryDate - The summaryDate to set

convertBean

public static MarketSummaryDataBeanWS convertBean(MarketSummaryDataBean origBean)


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