lumis.service.vote
Class VoteQuestionConfig

Package class diagram package VoteQuestionConfig
java.lang.Object
  extended by lumis.service.vote.VoteQuestionConfig

public class VoteQuestionConfig
extends Object


Constructor Summary
VoteQuestionConfig()
           
 
Method Summary
 String getId()
           
 int getNumberOfOptions()
           
 int getNumberOfVotes()
           
 int getOptionType()
           
 String getQuestion()
           
 boolean isOnlyOneVotePerUser()
           
 void setId(String id)
           
 void setNumberOfOptions(int numberOfOptions)
           
 void setNumberOfVotes(int numberOfVotes)
           
 void setOnlyOneVotePerUser(boolean onlyOneVotePerUser)
           
 void setOptionType(int optionType)
           
 void setQuestion(String question)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteQuestionConfig

public VoteQuestionConfig()
Method Detail

getId

public String getId()
Returns:
Returns the id.

setId

public void setId(String id)
Parameters:
id - The id to set.

getNumberOfOptions

public int getNumberOfOptions()
Returns:
Returns the numberOfOptions.

setNumberOfOptions

public void setNumberOfOptions(int numberOfOptions)
Parameters:
numberOfOptions - The numberOfOptions to set.

getNumberOfVotes

public int getNumberOfVotes()
Returns:
Returns the numberOfVotes.

setNumberOfVotes

public void setNumberOfVotes(int numberOfVotes)
Parameters:
numberOfVotes - The numberOfVotes to set.

isOnlyOneVotePerUser

public boolean isOnlyOneVotePerUser()
Returns:
Returns the onlyOneVotePerUser.

setOnlyOneVotePerUser

public void setOnlyOneVotePerUser(boolean onlyOneVotePerUser)
Parameters:
onlyOneVotePerUser - The onlyOneVotePerUser to set.

getOptionType

public int getOptionType()
Returns:
Returns the optionType.

setOptionType

public void setOptionType(int optionType)
Parameters:
optionType - The optionType to set.

getQuestion

public String getQuestion()
Returns:
Returns the question.

setQuestion

public void setQuestion(String question)
Parameters:
question - The question to set.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.