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.view
Class AbstractStatisticsViewControllerResult<T extends AbstractStatisticsViewControllerResultData>

java.lang.Object
  extended by org.torweg.pulse.result.StringMapResult
      extended by org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResult<T>
Type Parameters:
T - the type of AbstractStatisticsViewControllerResultData of the AbstractStatisticsViewControllerResult
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GroupAnalysisViewControllerResult, OverViewControllerResult, RefererAnalysisViewControllerResult, TechnicalInformationViewControllerResult, TimeAnalysisViewControllerResult, WestPanelControllerResult

public abstract class AbstractStatisticsViewControllerResult<T extends AbstractStatisticsViewControllerResultData>
extends StringMapResult
implements java.io.Serializable

A basic JAXB-enabled class representing a basic result as being generated by an AbstractStatisticsViewController, which is to be used for extending.

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

Nested Class Summary
protected static class AbstractStatisticsViewControllerResult.ResultError
          Maps an error type string to an error message string.
 
Constructor Summary
AbstractStatisticsViewControllerResult()
           
 
Method Summary
 AbstractStatisticsViewControllerConfiguration getConfiguration()
          Returns the AbstractStatisticsViewControllerConfiguration of the AbstractStatisticsViewControllerResult.
 AbstractStatisticsViewControllerResult.ResultError getError()
          Returns the ResultError.
 T getResultData()
          Returns the AbstractStatisticsViewControllerResultData of the AbstractStatisticsViewControllerResult.
protected  void setConfiguration(AbstractStatisticsViewControllerConfiguration conf)
          Sets the AbstractStatisticsViewControllerConfiguration for the AbstractStatisticsViewControllerResult.
protected  void setError(AbstractStatisticsViewControllerResult.ResultError resultError)
          Sets the given ResultError.
protected  void setResultData(T resultData)
          Sets the AbstractStatisticsViewControllerResultData for the AbstractStatisticsViewControllerResult.
 
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

AbstractStatisticsViewControllerResult

public AbstractStatisticsViewControllerResult()
Method Detail

setConfiguration

protected final void setConfiguration(AbstractStatisticsViewControllerConfiguration conf)
Sets the AbstractStatisticsViewControllerConfiguration for the AbstractStatisticsViewControllerResult.

Parameters:
conf - the AbstractStatisticsViewControllerConfiguration

getConfiguration

public final AbstractStatisticsViewControllerConfiguration getConfiguration()
Returns the AbstractStatisticsViewControllerConfiguration of the AbstractStatisticsViewControllerResult.

Returns:
the AbstractStatisticsViewControllerConfiguration

setResultData

protected final void setResultData(T resultData)
Sets the AbstractStatisticsViewControllerResultData for the AbstractStatisticsViewControllerResult.

Parameters:
resultData - the AbstractStatisticsViewControllerResultData

getResultData

public final T getResultData()
Returns the AbstractStatisticsViewControllerResultData of the AbstractStatisticsViewControllerResult.

Returns:
the AbstractStatisticsViewControllerResultData

getError

public final AbstractStatisticsViewControllerResult.ResultError getError()
Returns the ResultError.

Returns:
the error

setError

protected final void setError(AbstractStatisticsViewControllerResult.ResultError resultError)
Sets the given ResultError.

Parameters:
resultError - the error to set