Class ChoiceQuestion
java.lang.Object
org.episteme.social.sociology.survey.Question
org.episteme.social.sociology.survey.ChoiceQuestion
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
A question with a set of predefined options.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidsetAllowOther(boolean allowOther) voidsetOptions(List<String> options) Methods inherited from class Question
equals, getId, getText, getTraits, getType, hashCode, isRequired, setRequired, setText, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
ChoiceQuestion
-
-
Method Details
-
getOptions
-
addOption
-
setOptions
-
isAllowOther
public boolean isAllowOther() -
setAllowOther
public void setAllowOther(boolean allowOther)
-