com.objectplanet.survey.event.events
Class NewRespondentEvent

java.lang.Object
  extended by com.objectplanet.survey.event.Event
      extended by com.objectplanet.survey.event.events.SurveyEvent
          extended by com.objectplanet.survey.event.events.NewRespondentEvent

public class NewRespondentEvent
extends SurveyEvent

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

Author:
Torgeir Lund
Created:
16 November 2005

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewRespondentEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getRespondentId()
          Gets the respondentId attribute of the RespondentCompleteEvent object
 void setRespondentId(long respondentId)
          Sets the respondentId attribute of the RespondentCompleteEvent object
 
Methods inherited from class com.objectplanet.survey.event.events.SurveyEvent
getSurveyId, setSurveyId
 
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

NewRespondentEvent

public NewRespondentEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setRespondentId

public void setRespondentId(long respondentId)
Sets the respondentId attribute of the RespondentCompleteEvent object

Parameters:
respondentId - The new respondentId value

getRespondentId

public long getRespondentId()
Gets the respondentId attribute of the RespondentCompleteEvent object

Returns:
The respondentId value

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016