com.objectplanet.survey.event.events
Class NewBranchEvent

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

public class NewBranchEvent
extends AdminEvent

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

Author:
Rikard Halvorsen
Created:
23 August 2006

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewBranchEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getBranchId()
           
 java.lang.String getBranchName()
           
 long getSurveyId()
           
 void setBranchId(long branchId)
           
 void setBranchName(java.lang.String branchName)
           
 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

NewBranchEvent

public NewBranchEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getBranchName

public java.lang.String getBranchName()
Returns:
the branchName

setBranchName

public void setBranchName(java.lang.String branchName)
Parameters:
branchName - the branchName to set

getSurveyId

public long getSurveyId()
Returns:
the surveyId

setSurveyId

public void setSurveyId(long surveyId)
Parameters:
surveyId - the surveyId to set

getBranchId

public long getBranchId()
Returns:
the branchId

setBranchId

public void setBranchId(long branchId)
Parameters:
branchId - the branchId to set

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016