com.objectplanet.survey.event.events
Class QuestionDeletedEvent

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

public class QuestionDeletedEvent
extends AdminEvent

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

Author:
Rikard Halvorsen
Created:
22 August 2006

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

QuestionDeletedEvent

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