org.gusdb.wdk.model.jspwrap
Class QuestionBean
java.lang.Object
org.gusdb.wdk.model.jspwrap.QuestionBean
- All Implemented Interfaces:
- java.io.Serializable
public class QuestionBean
- extends java.lang.Object
- implements java.io.Serializable
A wrapper on a Question that provides simplified access for
consumption by a view
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuestionBean
public QuestionBean(Question question)
getRecordClass
public RecordClassBean getRecordClass()
getParams
public ParamBean[] getParams()
getName
public java.lang.String getName()
getFullName
public java.lang.String getFullName()
getDisplayName
public java.lang.String getDisplayName()
getHelp
public java.lang.String getHelp()
makeBooleanQuestionLeaf
public BooleanQuestionLeafBean makeBooleanQuestionLeaf()
makeAnswer
public AnswerBean makeAnswer(java.util.Map paramValues,
int start,
int end)
throws WdkModelException,
WdkUserException
- Called by the controller
- Parameters:
paramValues - Map of paramName-->valuestart - Index of the first record to include in the answerend - Index of the last record to include in the answer
- Throws:
WdkModelException
WdkUserException
getDescription
public java.lang.String getDescription()