org.openfjord.business.entities.valueobjects
Class NominalQuestionVO

java.lang.Object
  |
  +--org.openfjord.business.entities.valueobjects.SurveyElementVO
        |
        +--org.openfjord.business.entities.valueobjects.TextElementVO
              |
              +--org.openfjord.business.entities.valueobjects.QuestionVO
                    |
                    +--org.openfjord.business.entities.valueobjects.ScaledQuestionVO
                          |
                          +--org.openfjord.business.entities.valueobjects.NonCardinalQuestionVO
                                |
                                +--org.openfjord.business.entities.valueobjects.NominalQuestionVO
All Implemented Interfaces:
NominalQuestion, NonCardinalQuestion, Question, ScaledQuestion, java.io.Serializable, SurveyElement, TextElement

public class NominalQuestionVO
extends NonCardinalQuestionVO
implements NominalQuestion, java.io.Serializable

Title: openFJORD

Description: open Flexible Java Online Research Designer

Copyright: Copyright (c) by Michael Lange 2003

Company: University of Muenster

Version:
1.0
Author:
Michael Lange
See Also:
Serialized Form

Constructor Summary
NominalQuestionVO()
           
NominalQuestionVO(java.lang.String id)
           
 
Method Summary
 boolean isMultiSelect()
          Returns whether a nominal-question item has the possibility of giving multiple answers or not
 void setMultiSelect(boolean multiSelect)
          Determines the possibility to give multiple answers
 
Methods inherited from class org.openfjord.business.entities.valueobjects.NonCardinalQuestionVO
addChoice, getChoices, removeChoice, setChoiceElements
 
Methods inherited from class org.openfjord.business.entities.valueobjects.QuestionVO
getAnswer, getAnswers
 
Methods inherited from class org.openfjord.business.entities.valueobjects.TextElementVO
getText, setText
 
Methods inherited from class org.openfjord.business.entities.valueobjects.SurveyElementVO
getId, getName, getParent, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openfjord.business.domain.NonCardinalQuestion
addChoice, getChoices, removeChoice
 
Methods inherited from interface org.openfjord.business.domain.Question
getAnswer, getAnswers
 
Methods inherited from interface org.openfjord.business.domain.TextElement
getText, setText
 
Methods inherited from interface org.openfjord.business.domain.SurveyElement
getId, getName, getParent, setName, setParent
 

Constructor Detail

NominalQuestionVO

public NominalQuestionVO()

NominalQuestionVO

public NominalQuestionVO(java.lang.String id)
Method Detail

isMultiSelect

public boolean isMultiSelect()
Returns whether a nominal-question item has the possibility of giving multiple answers or not

Specified by:
isMultiSelect in interface NominalQuestion
Returns:
true, if it is possible to give multiple answers. False instead

setMultiSelect

public void setMultiSelect(boolean multiSelect)
Determines the possibility to give multiple answers

Specified by:
setMultiSelect in interface NominalQuestion
Parameters:
multiSelect - true, if it is possible to give multiple answers. False instead


openFJORD Copyright © 2003 University of Muenster.