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.user
Class UserStatisticsControllerResult

java.lang.Object
  extended by org.torweg.pulse.result.StringMapResult
      extended by org.torweg.pulse.component.statistics.user.UserStatisticsControllerResult

public class UserStatisticsControllerResult
extends StringMapResult

The JAXB-enabled result of the UserStatisticsController.

Version:
$Revision: 1559 $
Author:
Daniel Dietz

Constructor Summary
protected UserStatisticsControllerResult()
          Default constructor.
  UserStatisticsControllerResult(UserStatisticsControllerConfiguration conf)
          Creates a new UserStatisticsControllerResult with the given UserStatisticsControllerConfiguration.
 
Method Summary
 UserStatisticsControllerConfiguration getConfiguration()
          Returns the UserStatisticsControllerConfiguration.
 java.util.Map<java.lang.String,java.lang.Long> getMonthTotals()
          Return the monthly totals.
 java.lang.Long getTotal()
          Return the total.
 java.util.Map<java.lang.Integer,java.lang.Long> getYearTotals()
          Return the year totals.
 void setMonthTotals(java.util.Map<java.lang.String,java.lang.Long> map)
          Sets the monthly totals.
 void setTotal(java.lang.Long t)
          Sets the total.
 void setYearTotals(java.util.Map<java.lang.Integer,java.lang.Long> totals)
          Sets the year totals.
 
Methods inherited from class org.torweg.pulse.result.StringMapResult
put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStatisticsControllerResult

protected UserStatisticsControllerResult()
Default constructor.


UserStatisticsControllerResult

public UserStatisticsControllerResult(UserStatisticsControllerConfiguration conf)
Creates a new UserStatisticsControllerResult with the given UserStatisticsControllerConfiguration.

Parameters:
conf - the UserStatisticsControllerConfiguration
Method Detail

setTotal

public final void setTotal(java.lang.Long t)
Sets the total.

Parameters:
t - the total

getTotal

public final java.lang.Long getTotal()
Return the total.

Returns:
the total

setYearTotals

public final void setYearTotals(java.util.Map<java.lang.Integer,java.lang.Long> totals)
Sets the year totals.

Parameters:
totals - the totals

getYearTotals

public final java.util.Map<java.lang.Integer,java.lang.Long> getYearTotals()
Return the year totals.

Returns:
the yearTotals

setMonthTotals

public final void setMonthTotals(java.util.Map<java.lang.String,java.lang.Long> map)
Sets the monthly totals.

Parameters:
map - the totals

getMonthTotals

public final java.util.Map<java.lang.String,java.lang.Long> getMonthTotals()
Return the monthly totals.

Returns:
the monthTotals

getConfiguration

public final UserStatisticsControllerConfiguration getConfiguration()
Returns the UserStatisticsControllerConfiguration.

Returns:
the configuration