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.survey
Class SurveyControllerResult

java.lang.Object
  extended by org.torweg.pulse.component.survey.SurveyControllerResult
All Implemented Interfaces:
java.io.Serializable

public class SurveyControllerResult
extends java.lang.Object
implements java.io.Serializable

The JAXB-able result-Object of the SurveyController with the SurveyControllerConfiguration which holds the request-parameter-names to be used for the communication.

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

Constructor Summary
protected SurveyControllerResult()
          Default constructor.
 
Method Summary
 SurveyControllerError getError()
          Return the SurveyControllerError of the SurveyControllerResult.
 SurveyProgress getSurveyProgress()
          Returns the SurveyProgress of the SurveyControllerResult.
 boolean isSuccess()
          Returns the success.
 SurveyControllerResult setError(SurveyControllerError e)
          Sets the SurveyControllerError for the SurveyControllerResult.
 void setSurveyControllerConfiguration(SurveyControllerConfiguration conf)
          Sets the SurveyControllerConfiguration which holds the request-parameter-names to be used for the communication.
 SurveyControllerResult setSurveyProgress(SurveyProgress progress)
          Sets the SurveyProgress for the SurveyControllerResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveyControllerResult

protected SurveyControllerResult()
Default constructor.

Method Detail

setSurveyControllerConfiguration

public final void setSurveyControllerConfiguration(SurveyControllerConfiguration conf)
Sets the SurveyControllerConfiguration which holds the request-parameter-names to be used for the communication.

Parameters:
conf - the SurveyControllerConfiguration

setSurveyProgress

public final SurveyControllerResult setSurveyProgress(SurveyProgress progress)
Sets the SurveyProgress for the SurveyControllerResult.

Parameters:
progress - the SurveyProgress to set
Returns:
the modified SurveyControllerResult

getSurveyProgress

public final SurveyProgress getSurveyProgress()
Returns the SurveyProgress of the SurveyControllerResult.

Returns:
the SurveyProgress

setError

public final SurveyControllerResult setError(SurveyControllerError e)
Sets the SurveyControllerError for the SurveyControllerResult.

Parameters:
e - the SurveyControllerError to set
Returns:
the modified SurveyControllerResult

getError

public final SurveyControllerError getError()
Return the SurveyControllerError of the SurveyControllerResult.

Returns:
the SurveyControllerError (if set), null otherwise

isSuccess

public final boolean isSuccess()
Returns the success.

Returns:
the success