Package lumis.service.vote
Class VoteQuestionConfig
- java.lang.Object
-
- lumis.service.vote.VoteQuestionConfig
-
public class VoteQuestionConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VoteQuestionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
int
getNumberOfOptions()
int
getNumberOfVotes()
int
getOptionType()
java.lang.String
getQuestion()
boolean
isOnlyOneVotePerUser()
void
setId(java.lang.String id)
void
setNumberOfOptions(int numberOfOptions)
void
setNumberOfVotes(int numberOfVotes)
void
setOnlyOneVotePerUser(boolean onlyOneVotePerUser)
void
setOptionType(int optionType)
void
setQuestion(java.lang.String question)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- Returns the id.
-
setId
public void setId(java.lang.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 java.lang.String getQuestion()
- Returns:
- Returns the question.
-
setQuestion
public void setQuestion(java.lang.String question)
- Parameters:
question
- The question to set.
-
-