|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objectplanet.survey.event.Event com.objectplanet.survey.event.events.SurveyEvent com.objectplanet.survey.event.events.DisplayQuestionEvent
public class DisplayQuestionEvent
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event |
---|
Event.NonVetoable |
Constructor Summary | |
---|---|
DisplayQuestionEvent(IEventListener source)
Creates a new event. |
Method Summary | |
---|---|
int |
getQuestionNo()
Gets the questionNo attribute of the ResponseBeforePopulateEvent object |
long |
getRespondentId()
Gets the respondentId attribute of the RespondentCompleteEvent object |
void |
setQuestionNo(int questionNo)
Sets the questionNo attribute of the ResponseBeforePopulateEvent object |
void |
setRespondentId(long respondentId)
Sets the respondentId attribute of the RespondentCompleteEvent object |
Methods inherited from class com.objectplanet.survey.event.events.SurveyEvent |
---|
getSurveyId, setSurveyId |
Methods inherited from class com.objectplanet.survey.event.Event |
---|
getSource, isVetoed, paramString, toString, veto |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DisplayQuestionEvent(IEventListener 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 |