org.gusdb.wdk.model
Class QuestionSet

java.lang.Object
  extended by org.gusdb.wdk.model.QuestionSet
All Implemented Interfaces:
ModelSetI

public class QuestionSet
extends java.lang.Object
implements ModelSetI

QuestionSet.java Created: Fri June 4 15:05:30 2004 EDT


Constructor Summary
QuestionSet()
           
 
Method Summary
 void addQuestion(Question question)
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.Object getElement(java.lang.String name)
           
 java.lang.Boolean getIsInternal()
           
 java.lang.String getName()
           
 Question getQuestion(java.lang.String name)
           
 Question[] getQuestions()
           
 void resolveReferences(WdkModel model)
           
 void setDescription(java.lang.String description)
           
 void setDisplayName(java.lang.String displayName)
           
 void setIsInternal(java.lang.Boolean isInternal)
           
 void setName(java.lang.String name)
           
 void setResources(WdkModel model)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuestionSet

public QuestionSet()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()
Specified by:
getName in interface ModelSetI

setDisplayName

public void setDisplayName(java.lang.String displayName)

getDisplayName

public java.lang.String getDisplayName()

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

getIsInternal

public java.lang.Boolean getIsInternal()

setIsInternal

public void setIsInternal(java.lang.Boolean isInternal)

getQuestion

public Question getQuestion(java.lang.String name)
                     throws WdkUserException
Throws:
WdkUserException

getElement

public java.lang.Object getElement(java.lang.String name)
Specified by:
getElement in interface ModelSetI

getQuestions

public Question[] getQuestions()

addQuestion

public void addQuestion(Question question)
                 throws WdkModelException
Throws:
WdkModelException

resolveReferences

public void resolveReferences(WdkModel model)
                       throws WdkModelException
Specified by:
resolveReferences in interface ModelSetI
Throws:
WdkModelException

setResources

public void setResources(WdkModel model)
                  throws WdkModelException
Specified by:
setResources in interface ModelSetI
Throws:
WdkModelException

toString

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