org.jsurveylib.model.question
Class Choice

java.lang.Object
  extended by org.jsurveylib.model.question.Choice

public class Choice
extends java.lang.Object

FOR INTERNAL USE ONLY.

A choice in a Mutliple Choice Questionaire


Constructor Summary
Choice(java.lang.String id, java.lang.String label)
          Please instantiate through QuestionBuilder
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Choice

public Choice(java.lang.String id,
              java.lang.String label)
Please instantiate through QuestionBuilder

Parameters:
id - The ID of this Choice
label - The label of this Choice
See Also:
QuestionBuilder.buildChoice(String,String)
Method Detail

getId

public java.lang.String getId()

getLabel

public java.lang.String getLabel()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object