Class VoteQuestionConfig


  • public class VoteQuestionConfig
    extends Object
    • 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.