com.objectplanet.survey.event.events
Class QuestionMovedEvent

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.QuestionMovedEvent

public class QuestionMovedEvent
extends AdminEvent

Represents an event that is fired when a question is moved from one place in the survey to another.

Author:
Yan Wang
Created:
August 2009

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
QuestionMovedEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 int getNewQuestionNo()
           
 int getOldQuestionNo()
           
 long getSurveyId()
           
 void setNewQuestionNo(int newQuestionNo)
           
 void setOldQuestionNo(int oldQuestionNo)
           
 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

QuestionMovedEvent

public QuestionMovedEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getOldQuestionNo

public int getOldQuestionNo()
Returns:
the questionNo

setOldQuestionNo

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

getNewQuestionNo

public int getNewQuestionNo()
Returns:
the questionNo

setNewQuestionNo

public void setNewQuestionNo(int newQuestionNo)
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