agentland.util.asker
Class MultipleChoiceQuestion

java.lang.Object
  |
  +--agentland.util.asker.Question
        |
        +--agentland.util.asker.MultipleChoiceQuestion
All Implemented Interfaces:
Cloneable, Serializable

public class MultipleChoiceQuestion
extends Question

See Also:
Serialized Form

Field Summary
protected  Vector options
           
 
Fields inherited from class agentland.util.asker.Question
ANSWERED, defaultAnswer, ERROR, GUI, NEEDS_VERIFICATION, question, reply, replyMethod, SPEECH, status, timeOut, UNANSWERED, UNDER_VERIFICATION, verificationMethod
 
Constructor Summary
MultipleChoiceQuestion(String question, Vector options)
           
MultipleChoiceQuestion(String question, Vector options, Object defaultAnswer)
           
 
Method Summary
 Vector getOptions()
           
 
Methods inherited from class agentland.util.asker.Question
equals, getAnswer, getDefaultAnswer, getQuestion, getReplyMethod, getStatus, getVerificationMethod, setAnswer, setReplyMethod, setStatus, setVerificationMethod, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

options

protected Vector options
Constructor Detail

MultipleChoiceQuestion

public MultipleChoiceQuestion(String question,
                              Vector options)

MultipleChoiceQuestion

public MultipleChoiceQuestion(String question,
                              Vector options,
                              Object defaultAnswer)
Method Detail

getOptions

public Vector getOptions()