com.objectplanet.survey.event.events
Class SurveyUpdatedEvent

java.lang.Object
  extended bycom.objectplanet.survey.event.Event
      extended bycom.objectplanet.survey.event.events.AdminEvent
          extended bycom.objectplanet.survey.event.events.SurveyUpdatedEvent

public class SurveyUpdatedEvent
extends AdminEvent

Represents an event that is fired after a survey is updated.

Author:
Eivind Pedersen, Torgeir Lund
Created:
30 January 2008

Nested Class Summary
 
Nested classes inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
SurveyUpdatedEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getSurveyId()
          Gets the surveyId attribute of the SurveyUpdatedEvent object
 java.lang.String getSurveyName()
           
 void setSurveyId(long surveyId)
          Sets the surveyId attribute of the SurveyUpdatedEvent object
 void setSurveyName(java.lang.String surveyName)
           
 
Methods inherited from class com.objectplanet.survey.event.events.AdminEvent
getUserId, 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

SurveyUpdatedEvent

public SurveyUpdatedEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setSurveyId

public void setSurveyId(long surveyId)
Sets the surveyId attribute of the SurveyUpdatedEvent object

Parameters:
surveyId - The new surveyId value

getSurveyId

public long getSurveyId()
Gets the surveyId attribute of the SurveyUpdatedEvent object

Returns:
The surveyId value

getSurveyName

public java.lang.String getSurveyName()
Returns:
the surveyName

setSurveyName

public void setSurveyName(java.lang.String surveyName)
Parameters:
surveyName - the surveyName to set

Copyright © ObjectPlanet Inc. All Rights Reserved.

Built on January 31 2008