com.objectplanet.survey.event.events
Class PollImpressionEvent

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

public class PollImpressionEvent
extends SurveyEvent

Represents an event that is fired when a poll is displayed

Author:
Irina Brun

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
PollImpressionEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getSurveyId()
          Get survey (poll) id
 void setSurveyId(long surveyId)
          Set survey (poll) id
 
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

PollImpressionEvent

public PollImpressionEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getSurveyId

public long getSurveyId()
Get survey (poll) id

Overrides:
getSurveyId in class SurveyEvent
Returns:
The surveyId value

setSurveyId

public void setSurveyId(long surveyId)
Set survey (poll) id

Overrides:
setSurveyId in class SurveyEvent
Parameters:
surveyId - The new surveyId value

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016