org.olat.ims.qti.editor.beecom.objects
Class Assessment

java.lang.Object
  extended by org.olat.ims.qti.editor.beecom.objects.Assessment
All Implemented Interfaces:
QTIObject

public class Assessment
extends java.lang.Object
implements QTIObject

Author:
rkulow

Constructor Summary
Assessment()
           
 
Method Summary
 void addToElement(org.dom4j.Element root)
           
 boolean containsEssayQuestions()
          Checks if this assessment contains any questions of type 'essay'
 java.util.List getAssessfeedbacks()
          Returns the assessfeedbacks.
 java.util.List getAssessmentcontrols()
          Returns the assessmentcontrols.
 QTIObject getDuration()
          Returns the duration.
 java.lang.String getIdent()
          Returns the ident.
 java.util.List getItems()
          Returns the items.
 Metadata getMetadata()
          Returns the assessproc_extension.
 java.lang.String getObjectives()
          Returns the objectives.
 OutcomesProcessing getOutcomes_processing()
          Returns the outcomes_processing.
 QTIObject getPresentation_material()
          Returns the presentation_material.
 QTIObject getQticomment()
          Returns the qticomment.
 QTIObject getReference()
          Returns the reference.
 java.util.List getRubrics()
          Returns the rubrics.
 java.util.List getSections()
          Returns the sections.
 QTIObject getSelection_ordering()
          Returns the selection_ordering.
 java.lang.String getTitle()
          Returns the title.
 java.lang.String getXml_lang()
          Returns the xml_lang.
 boolean isInheritControls()
           
 void setAssessfeedbacks(java.util.List assessfeedbacks)
          Sets the assessfeedbacks.
 void setAssessmentcontrols(java.util.List assessmentcontrols)
          Sets the assessmentcontrols.
 void setDuration(QTIObject duration)
          Sets the duration.
 void setIdent(java.lang.String ident)
          Sets the ident.
 void setInheritControls(boolean b)
           
 void setItems(java.util.List items)
          Sets the items.
 void setMetadata(Metadata metadata)
          Sets the assessproc_extension.
 void setObjectives(java.lang.String objectives)
          Sets the objectives.
 void setOutcomes_processing(OutcomesProcessing outcomes_processing)
          Sets the outcomes_processing.
 void setPresentation_material(QTIObject presentation_material)
          Sets the presentation_material.
 void setQticomment(QTIObject qticomment)
          Sets the qticomment.
 void setReference(QTIObject reference)
          Sets the reference.
 void setRubrics(java.util.List rubrics)
          Sets the rubrics.
 void setSections(java.util.List sections)
          Sets the sections.
 void setSelection_ordering(QTIObject selection_ordering)
          Sets the selection_ordering.
 void setTitle(java.lang.String title)
          Sets the title.
 void setXml_lang(java.lang.String xml_lang)
          Sets the xml_lang.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assessment

public Assessment()
Method Detail

addToElement

public void addToElement(org.dom4j.Element root)
Specified by:
addToElement in interface QTIObject

getIdent

public java.lang.String getIdent()
Returns the ident.

Returns:
String

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
String

setIdent

public void setIdent(java.lang.String ident)
Sets the ident.

Parameters:
ident - The ident to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set

getSections

public java.util.List getSections()
Returns the sections.

Returns:
List

setSections

public void setSections(java.util.List sections)
Sets the sections.

Parameters:
sections - The sections to set

getAssessmentcontrols

public java.util.List getAssessmentcontrols()
Returns the assessmentcontrols.

Returns:
Switches

setAssessmentcontrols

public void setAssessmentcontrols(java.util.List assessmentcontrols)
Sets the assessmentcontrols.

Parameters:
assessmentcontrols - The assessmentcontrols to set

getAssessfeedbacks

public java.util.List getAssessfeedbacks()
Returns the assessfeedbacks.

Returns:
List

getMetadata

public Metadata getMetadata()
Returns the assessproc_extension.

Returns:
QTIObject

getObjectives

public java.lang.String getObjectives()
Returns the objectives.

Returns:
List

getOutcomes_processing

public OutcomesProcessing getOutcomes_processing()
Returns the outcomes_processing.

Returns:
OutcomesProcessing

getPresentation_material

public QTIObject getPresentation_material()
Returns the presentation_material.

Returns:
QTIObject

getQticomment

public QTIObject getQticomment()
Returns the qticomment.

Returns:
QTIObject

getReference

public QTIObject getReference()
Returns the reference.

Returns:
QTIObject

getRubrics

public java.util.List getRubrics()
Returns the rubrics.

Returns:
List

getSelection_ordering

public QTIObject getSelection_ordering()
Returns the selection_ordering.

Returns:
QTIObject

getXml_lang

public java.lang.String getXml_lang()
Returns the xml_lang.

Returns:
String

setAssessfeedbacks

public void setAssessfeedbacks(java.util.List assessfeedbacks)
Sets the assessfeedbacks.

Parameters:
assessfeedbacks - The assessfeedbacks to set

setMetadata

public void setMetadata(Metadata metadata)
Sets the assessproc_extension.

Parameters:
assessproc_extension - The assessproc_extension to set

setObjectives

public void setObjectives(java.lang.String objectives)
Sets the objectives.

Parameters:
objectives - The objectives to set

setOutcomes_processing

public void setOutcomes_processing(OutcomesProcessing outcomes_processing)
Sets the outcomes_processing.

Parameters:
outcomes_processing - The outcomes_processing to set

setPresentation_material

public void setPresentation_material(QTIObject presentation_material)
Sets the presentation_material.

Parameters:
presentation_material - The presentation_material to set

setQticomment

public void setQticomment(QTIObject qticomment)
Sets the qticomment.

Parameters:
qticomment - The qticomment to set

setReference

public void setReference(QTIObject reference)
Sets the reference.

Parameters:
reference - The reference to set

setRubrics

public void setRubrics(java.util.List rubrics)
Sets the rubrics.

Parameters:
rubrics - The rubrics to set

setSelection_ordering

public void setSelection_ordering(QTIObject selection_ordering)
Sets the selection_ordering.

Parameters:
selection_ordering - The selection_ordering to set

setXml_lang

public void setXml_lang(java.lang.String xml_lang)
Sets the xml_lang.

Parameters:
xml_lang - The xml_lang to set

getItems

public java.util.List getItems()
Returns the items.

Returns:
List

setItems

public void setItems(java.util.List items)
Sets the items.

Parameters:
items - The items to set

isInheritControls

public boolean isInheritControls()
Returns:

setInheritControls

public void setInheritControls(boolean b)
Parameters:
b -

setDuration

public void setDuration(QTIObject duration)
Sets the duration.

Parameters:
duration - The duration to set

getDuration

public QTIObject getDuration()
Returns the duration.

Returns:
QTIObject

containsEssayQuestions

public boolean containsEssayQuestions()
Checks if this assessment contains any questions of type 'essay'

Returns: