Class VoteQuestionConfig


  • public class VoteQuestionConfig
    extends java.lang.Object
    • Constructor Detail

      • VoteQuestionConfig

        public VoteQuestionConfig()
    • 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.