commgrids.schema
Class QuizObject

java.lang.Object
  |
  +--org.gxos.gndi.context.TreeObjectContext
        |
        +--org.gxos.schema.TreeObject
              |
              +--commgrids.schema.AssignmentObject
                    |
                    +--commgrids.schema.QuizObject
All Implemented Interfaces:
java.io.Serializable, XMLObject
Direct Known Subclasses:
Quiz

public abstract class QuizObject
extends AssignmentObject
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
QuizObject()
           
 
Method Summary
 void addQuizQuestions(int index, QuizQuestions vQuizQuestions)
           
 void addQuizQuestions(QuizQuestions vQuizQuestions)
           
 java.util.Enumeration enumerateQuizQuestions()
           
 QuizQuestions[] getQuizQuestions()
           
 QuizQuestions getQuizQuestions(int index)
           
 int getQuizQuestionsCount()
           
 QuizTime getQuizTime()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void removeAllQuizQuestions()
           
 QuizQuestions removeQuizQuestions(int index)
           
 void setQuizQuestions(int index, QuizQuestions vQuizQuestions)
           
 void setQuizQuestions(QuizQuestions[] quizQuestionsArray)
           
 void setQuizTime(QuizTime quizTime)
           
 void validate()
           
 
Methods inherited from class commgrids.schema.AssignmentObject
getCourseLink, getHWComments, getHWDetails, getHWID, setCourseLink, setHWComments, setHWDetails, setHWID
 
Methods inherited from class org.gxos.schema.TreeObject
addCustomExtension, addCustomExtension, addNodeComment, addNodeComment, enumerateCustomExtension, enumerateNodeComment, getCustomExtension, getCustomExtension, getCustomExtensionCount, getCustomType, getExtensions, getHistoryObject, getNamespaces, getNodeChildren, getNodeComment, getNodeComment, getNodeCommentCount, getNodeContents, getNodeEndTime, getNodeName, getNodeProfile, getNodeRooting, getNodeStartTime, getNodeType, getNodeUpdateTime, getNodeVersionNumber, getParentObject, removeAllCustomExtension, removeAllNodeComment, removeCustomExtension, removeNodeComment, setCustomExtension, setCustomExtension, setCustomType, setExtensions, setHistoryObject, setNamespaces, setNodeChildren, setNodeComment, setNodeComment, setNodeContents, setNodeEndTime, setNodeName, setNodeProfile, setNodeRooting, setNodeStartTime, setNodeType, setNodeUpdateTime, setNodeVersionNumber, setParentObject
 
Methods inherited from class org.gxos.gndi.context.TreeObjectContext
addObject, enumerateChildren, getChild, getChildren, getContext, getName, getParameter, getParentXMLObject, getURI, getXML, removeObject, setContext, setParameter, updateObject, updateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuizObject

public QuizObject()
Method Detail

addQuizQuestions

public void addQuizQuestions(QuizQuestions vQuizQuestions)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
vQuizQuestions -  

addQuizQuestions

public void addQuizQuestions(int index,
                             QuizQuestions vQuizQuestions)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vQuizQuestions -  

enumerateQuizQuestions

public java.util.Enumeration enumerateQuizQuestions()

getQuizQuestions

public QuizQuestions getQuizQuestions(int index)
                               throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getQuizQuestions

public QuizQuestions[] getQuizQuestions()

getQuizQuestionsCount

public int getQuizQuestionsCount()

getQuizTime

public QuizTime getQuizTime()

isValid

public boolean isValid()
Overrides:
isValid in class AssignmentObject

marshal

public abstract void marshal(java.io.Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Overrides:
marshal in class AssignmentObject
Parameters:
out -  

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Overrides:
marshal in class AssignmentObject
Parameters:
handler -  

removeAllQuizQuestions

public void removeAllQuizQuestions()

removeQuizQuestions

public QuizQuestions removeQuizQuestions(int index)
Parameters:
index -  

setQuizQuestions

public void setQuizQuestions(int index,
                             QuizQuestions vQuizQuestions)
                      throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vQuizQuestions -  

setQuizQuestions

public void setQuizQuestions(QuizQuestions[] quizQuestionsArray)
Parameters:
quizQuestionsArray -  

setQuizTime

public void setQuizTime(QuizTime quizTime)
Parameters:
quizTime -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class AssignmentObject