Package lumis.service.vote
Class VoteQuestionConfig
- java.lang.Object
-
- lumis.service.vote.VoteQuestionConfig
-
public class VoteQuestionConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description VoteQuestionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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.
-
-