|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.plugin.event.PluginBusEvent com.objectplanet.survey.plugin.event.SurveyEvent com.objectplanet.survey.plugin.event.ResponseEvent
public class ResponseEvent
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.
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 |
---|
public ResponseEvent(IPBComponent source)
source
- The event sourceMethod Detail |
---|
public void setRespondentId(long respondentId)
respondentId
- The new respondentId valuepublic long getRespondentId()
public void setQuestionNo(int questionNo)
questionNo
- The new questionNo valuepublic int getQuestionNo()
|
Copyright ? ObjectPlanet Inc. All Rights Reserved. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |