com.objectplanet.survey.event.events
Class NewQuestionEvent

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

public class NewQuestionEvent
extends AdminEvent

Represents an event that is fired when a new question is created.

Author:
Rikard Halvorsen
Created:
21 August 2006

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewQuestionEvent(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

NewQuestionEvent

public NewQuestionEvent(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