com.objectplanet.survey.plugin.event
Class ResponseEvent

java.lang.Object
  extended by com.objectplanet.survey.plugin.event.PluginBusEvent
      extended by com.objectplanet.survey.plugin.event.SurveyEvent
          extended by com.objectplanet.survey.plugin.event.ResponseEvent

Deprecated.

public class ResponseEvent
extends SurveyEvent

Represents an event that is fired when a new response is created, after the response has been responded to and the object has been populated. This gives the plugin designer the ability to do validation on the question responses, for example. This class is deprecated. Use the new event mechanism in the com.objectplanet.survey.event and com.objectplanet.survey.event.events package.

Author:
Torgeir Lund
Created:
9. September 2002

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.plugin.event.PluginBusEvent
PluginBusEvent.NonVetoable
 
Constructor Summary
ResponseEvent(IPBComponent source)
          Deprecated. Creates a new event.
 
Method Summary
 int getQuestionNo()
          Deprecated. Gets the questionNo attribute of the ResponseBeforePopulateEvent object
 long getRespondentId()
          Deprecated. Gets the respondentId attribute of the RespondentCompleteEvent object
 void setQuestionNo(int questionNo)
          Deprecated. Sets the questionNo attribute of the ResponseBeforePopulateEvent object
 void setRespondentId(long respondentId)
          Deprecated. Sets the respondentId attribute of the RespondentCompleteEvent object
 
Methods inherited from class com.objectplanet.survey.plugin.event.SurveyEvent
getSurveyId, setSurveyId
 
Methods inherited from class com.objectplanet.survey.plugin.event.PluginBusEvent
getSource, isVetoed, paramString, toString, veto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseEvent

public ResponseEvent(IPBComponent source)
Deprecated. 
Creates a new event.

Parameters:
source - The event source
Method Detail

setRespondentId

public void setRespondentId(long respondentId)
Deprecated. 
Sets the respondentId attribute of the RespondentCompleteEvent object

Parameters:
respondentId - The new respondentId value

getRespondentId

public long getRespondentId()
Deprecated. 
Gets the respondentId attribute of the RespondentCompleteEvent object

Returns:
The respondentId value

setQuestionNo

public void setQuestionNo(int questionNo)
Deprecated. 
Sets the questionNo attribute of the ResponseBeforePopulateEvent object

Parameters:
questionNo - The new questionNo value

getQuestionNo

public int getQuestionNo()
Deprecated. 
Gets the questionNo attribute of the ResponseBeforePopulateEvent object

Returns:
The questionNo value

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016