com.objectplanet.survey.event.events
Class NewBranchConditionEvent

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

public class NewBranchConditionEvent
extends AdminEvent

Represents an event that is fired when a new branch condition is created.

Author:
Rikard Halvorsen
Created:
23 August 2006

Nested Class Summary
 
Nested classes inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewBranchConditionEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 java.lang.String getBranchConditionName()
           
 int getConditionIndex()
           
 int getQuestionNo()
           
 long getSurveyId()
           
 void setBranchConditionName(java.lang.String branchConditionName)
           
 void setConditionIndex(int conditionIndex)
           
 void setQuestionNo(int questionNo)
           
 void setSurveyId(long surveyId)
           
 
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

NewBranchConditionEvent

public NewBranchConditionEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getBranchConditionName

public java.lang.String getBranchConditionName()
Returns:
the branchConditionName

setBranchConditionName

public void setBranchConditionName(java.lang.String branchConditionName)
Parameters:
branchConditionName - the branchConditionName to set

getConditionIndex

public int getConditionIndex()
Returns:
the conditionIndex

setConditionIndex

public void setConditionIndex(int conditionIndex)
Parameters:
conditionIndex - the conditionIndex to set

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 January 31 2008