cmu.survey.jsp.tags
Class QuestionInfo
java.lang.Object
cmu.survey.jsp.tags.QuestionInfo
- All Implemented Interfaces:
- java.io.Serializable
public class QuestionInfo
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
QuestionInfo(java.lang.String questionText,
Answer mainVariable,
java.util.Vector<Answer> otherVariables,
int numberOfColumns)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QuestionInfo
public QuestionInfo(java.lang.String questionText,
Answer mainVariable,
java.util.Vector<Answer> otherVariables,
int numberOfColumns)
addVariable
public void addVariable(Answer variable)
hasVariableNamed
public boolean hasVariableNamed(java.lang.String variableName)
getVariableNameThatStartsWith
public java.lang.String getVariableNameThatStartsWith(java.lang.String field)
getQuestionText
public java.lang.String getQuestionText()
- Returns:
setQuestionText
public void setQuestionText(java.lang.String string)
- Parameters:
string
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getVariables
public java.util.Vector<Answer> getVariables()
getOtherInfo
public java.lang.Object getOtherInfo()
- Returns:
setOtherInfo
public void setOtherInfo(java.lang.Object object)
- Parameters:
object
-