org.openfjord.business.entities.valueobjects
Class NonCardinalQuestionVO
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
- All Implemented Interfaces:
- NonCardinalQuestion, Question, ScaledQuestion, java.io.Serializable, SurveyElement, TextElement
- Direct Known Subclasses:
- NominalQuestionVO, OrdinalQuestionVO
- public class NonCardinalQuestionVO
- extends ScaledQuestionVO
- implements NonCardinalQuestion, 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:
NonCardinalQuestion
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonCardinalQuestionVO
public NonCardinalQuestionVO()
NonCardinalQuestionVO
public NonCardinalQuestionVO(java.lang.String id)
setChoiceElements
public void setChoiceElements(java.util.Collection o)
addChoice
public ChoiceElement addChoice(ChoiceElement o)
- adds an ChoiceElement to this collection
- Specified by:
addChoice
in interface NonCardinalQuestion
- Returns:
- the new added choice element
removeChoice
public void removeChoice(ChoiceElement o)
- Removes a choice-element from the question
- Specified by:
removeChoice
in interface NonCardinalQuestion
- Parameters:
o
- the choice-element to be removed
getChoices
public java.util.Collection getChoices()
- Returns the choice-elements of the question
- Specified by:
getChoices
in interface NonCardinalQuestion
- Returns:
- an iterator with the choice-elements
openFJORD Copyright © 2003 University of Muenster.