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.FormatResolutionsData

java.lang.Object
  extended by org.torweg.pulse.component.statistics.util.ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData
Enclosing class:
ScreenResolutionPerVisitAggregationRowData

public static final class ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData
extends java.lang.Object

Version:
$Revision: 1562 $
Author:
Daniel Dietz

Constructor Summary
protected ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData()
          Deprecated. 
  ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData(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.
 java.lang.Integer getCount(ScreenResolution resolution)
          Returns the count for the given ScreenResolution.
 java.util.Map<ScreenResolution,java.lang.Integer> getResolutions()
          Returns the counted resolutions map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData

@Deprecated
protected ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData()
Deprecated. 

Default constructor.


ScreenResolutionPerVisitAggregationRowData.FormatResolutionsData

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

Parameters:
dataObject - ScreenResolutionPerVisitAggregation
Method Detail

aggregate

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

Parameters:
dataObject - ScreenResolutionPerVisitAggregation
See Also:
AbstractRowData.aggregate(org.torweg.pulse.util.time.IHasDuration)

getResolutions

public java.util.Map<ScreenResolution,java.lang.Integer> getResolutions()
Returns the counted resolutions map.

Returns:
the resolutions

getCount

public java.lang.Integer getCount(ScreenResolution resolution)
Returns the count for the given ScreenResolution.

Parameters:
resolution - the ScreenResolution
Returns:
the count