cmu.survey.jsp.tags
Class QuestionInfo

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addVariable(Answer variable)
           
 java.lang.Object getOtherInfo()
           
 java.lang.String getQuestionText()
           
 java.lang.String getVariableNameThatStartsWith(java.lang.String field)
           
 java.util.Vector<Answer> getVariables()
           
 boolean hasVariableNamed(java.lang.String variableName)
           
 void setOtherInfo(java.lang.Object object)
           
 void setQuestionText(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuestionInfo

public QuestionInfo(java.lang.String questionText,
                    Answer mainVariable,
                    java.util.Vector<Answer> otherVariables,
                    int numberOfColumns)
Method Detail

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 -