com.objectplanet.survey.event.events
Class QuestionUpdatedEvent

java.lang.Object
  extended by com.objectplanet.survey.event.Event
      extended by com.objectplanet.survey.event.events.AdminEvent
          extended by com.objectplanet.survey.event.events.QuestionUpdatedEvent

public class QuestionUpdatedEvent
extends AdminEvent

Represents an event that is fired when a question is updated.

Author:
Yan Wang
Created:
August 2009

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
QuestionUpdatedEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 int getQuestionNo()
           
 long getSurveyId()
           
 void setQuestionNo(int questionNo)
           
 void setSurveyId(long surveyId)
           
 
Methods inherited from class com.objectplanet.survey.event.events.AdminEvent
getLogin, getUserId, setLogin, setUserId
 
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

QuestionUpdatedEvent

public QuestionUpdatedEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getQuestionNo

public int getQuestionNo()
Returns:
the questionNo

setQuestionNo

public void setQuestionNo(int questionNo)
Parameters:
questionNo - the questionNo to set

getSurveyId

public long getSurveyId()
Returns:
the surveyId

setSurveyId

public void setSurveyId(long surveyId)
Parameters:
surveyId - the surveyId to set

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016