pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.util
Class ScreenResolutionPerVisitAggregationRowData

java.lang.Object
  extended by org.torweg.pulse.component.statistics.util.AbstractRowData<ScreenResolutionPerVisitAggregation>
      extended by org.torweg.pulse.component.statistics.util.ScreenResolutionPerVisitAggregationRowData
All Implemented Interfaces:
java.io.Serializable

public final class ScreenResolutionPerVisitAggregationRowData
extends AbstractRowData<ScreenResolutionPerVisitAggregation>

The actual implementation of AbstractRowData as used for displaying ScreenResolutionPerVisitAggregations within the ResultIHasDurationMatrix.

Version:
$Revision: 1562 $
Author:
Daniel Dietz
See Also:
Serialized Form

Nested Class Summary
static class ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData
           
 
Constructor Summary
protected ScreenResolutionPerVisitAggregationRowData()
          Deprecated. 
  ScreenResolutionPerVisitAggregationRowData(ScreenResolutionPerVisitAggregation dataObject)
          Creates a new ScreenResolutionPerVisitAggregationRowData with the data of the given ScreenResolutionPerVisitAggregation.
 
Method Summary
protected  void aggregate(ScreenResolutionPerVisitAggregation dataObject)
          Aggregates the data from the given ScreenResolutionPerVisitAggregation.
protected  ScreenResolutionPerVisitAggregationRowData create(ScreenResolutionPerVisitAggregation dataObject)
          Factory method.
 int getAbsoluteTotal()
          Returns the absolute total.
 java.util.Set<ScreenResolutionPerVisitAggregation> getDataObjects()
          Returns the underlying ScreenResolutionPerVisitAggregations.
 ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData getFormatResolutionsData(AbstractResolution.Format format)
          Returns the FormatResolutionsData for the requested format.
 java.util.Map<AbstractResolution.Format,ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData> getFormats()
          Returns the counted totals per resolutions of a format.
 java.lang.Integer getFormatTotal(AbstractResolution.Format format)
          Returns the format total for the requested format.
 java.util.Map<AbstractResolution.Format,java.lang.Integer> getFormatTotals()
          Returns the counted totals per format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenResolutionPerVisitAggregationRowData

@Deprecated
protected ScreenResolutionPerVisitAggregationRowData()
Deprecated. 

Default constructor.


ScreenResolutionPerVisitAggregationRowData

public ScreenResolutionPerVisitAggregationRowData(ScreenResolutionPerVisitAggregation dataObject)
Creates a new ScreenResolutionPerVisitAggregationRowData with the data of the given ScreenResolutionPerVisitAggregation.

Parameters:
dataObject - ScreenResolutionPerVisitAggregation
Method Detail

getDataObjects

public java.util.Set<ScreenResolutionPerVisitAggregation> getDataObjects()
Returns the underlying ScreenResolutionPerVisitAggregations.

Specified by:
getDataObjects in class AbstractRowData<ScreenResolutionPerVisitAggregation>
Returns:
the underlying ScreenResolutionPerVisitAggregations
See Also:
AbstractRowData.getDataObjects()

getAbsoluteTotal

public int getAbsoluteTotal()
Returns the absolute total.

Returns:
the absoluteTotal

getFormatTotals

public java.util.Map<AbstractResolution.Format,java.lang.Integer> getFormatTotals()
Returns the counted totals per format.

Returns:
the formatTotals

getFormatTotal

public java.lang.Integer getFormatTotal(AbstractResolution.Format format)
Returns the format total for the requested format.

Parameters:
format - the AbstractResolution.Format
Returns:
the format total for the requested format

getFormats

public java.util.Map<AbstractResolution.Format,ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData> getFormats()
Returns the counted totals per resolutions of a format.

Returns:
the formats

getFormatResolutionsData

public ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData getFormatResolutionsData(AbstractResolution.Format format)
Returns the FormatResolutionsData for the requested format.

Parameters:
format - the AbstractResolution.Format
Returns:
the FormatResolutionsData for the requested format

create

protected ScreenResolutionPerVisitAggregationRowData create(ScreenResolutionPerVisitAggregation dataObject)
Factory method.

Creates a new ScreenResolutionPerVisitAggregationRowData from the given data object.

Specified by:
create in class AbstractRowData<ScreenResolutionPerVisitAggregation>
Parameters:
dataObject - ScreenResolutionPerVisitAggregation
Returns:
a new ScreenResolutionPerVisitAggregationRowData

aggregate

protected void aggregate(ScreenResolutionPerVisitAggregation dataObject)
Aggregates the data from the given ScreenResolutionPerVisitAggregation.

Specified by:
aggregate in class AbstractRowData<ScreenResolutionPerVisitAggregation>
Parameters:
dataObject - ScreenResolutionPerVisitAggregation
See Also:
AbstractRowData.aggregate(org.torweg.pulse.util.time.IHasDuration)