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

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

public class Section
extends java.lang.Object
implements QTIObject

Author:
rkulow

Constructor Summary
Section()
           
 
Method Summary
 void addToElement(org.dom4j.Element root)
           
 boolean checkAlienItems()
           
 boolean containsEssayQuestions()
          Checks if this section contains any questions of type 'essay'
 QTIObject getDuration()
          Returns the duration.
 java.lang.String getIdent()
          Returns the ident.
 java.util.List getItems()
          Returns the items.
 java.lang.String getObjectives()
          Returns the objectives.
 QTIObject getOutcomes_processing()
          Returns the outcomes_processing.
 QTIObject getPresentation_material()
          Returns the presentation_material.
 QTIObject getQticomment()
          Returns the qticomment.
 java.util.List getQtimetadatas()
          Returns the qtimetadatas.
 QTIObject getReference()
          Returns the reference.
 java.util.List getRubrics()
          Returns the rubrics.
 java.util.List getSectioncontrols()
          Returns the sectioncontrols.
 java.util.List getSectionfeedbacks()
          Returns the sectionfeedbacks.
 java.util.List getSectionpostcondition()
          Returns the sectionpostcondition.
 java.util.List getSectionprecondition()
          Returns the sectionprecondition.
 QTIObject getSectionproc_extension()
          Returns the sectionproc_extension.
 java.util.List getSections()
          Returns the sections.
 SelectionOrdering getSelection_ordering()
          Returns the selection_ordering.
 java.lang.String getTitle()
          Returns the title.
 boolean hasAlienItems()
           
 void setDuration(QTIObject duration)
          Sets the duration.
 void setIdent(java.lang.String ident)
          Sets the ident.
 void setItems(java.util.List items)
          Sets the items.
 void setObjectives(java.lang.String objectives)
          Sets the objectives.
 void setOutcomes_processing(QTIObject outcomes_processing)
          Sets the outcomes_processing.
 void setPresentation_material(QTIObject presentation_material)
          Sets the presentation_material.
 void setQticomment(QTIObject qticomment)
          Sets the qticomment.
 void setQtimetadatas(java.util.List qtimetadatas)
          Sets the qtimetadatas.
 void setReference(QTIObject reference)
          Sets the reference.
 void setRubrics(java.util.List rubrics)
          Sets the rubrics.
 void setSectioncontrols(java.util.List sectioncontrols)
          Sets the sectioncontrols.
 void setSectionfeedbacks(java.util.List sectionfeedbacks)
          Sets the sectionfeedbacks.
 void setSectionpostcondition(java.util.List sectionpostcondition)
          Sets the sectionpostcondition.
 void setSectionprecondition(java.util.List sectionprecondition)
          Sets the sectionprecondition.
 void setSectionproc_extension(QTIObject sectionproc_extension)
          Sets the sectionproc_extension.
 void setSections(java.util.List sections)
          Sets the sections.
 void setSelection_ordering(SelectionOrdering selection_ordering)
          Sets the selection_ordering.
 void setTitle(java.lang.String title)
          Sets the title.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Section

public Section()
Method Detail

addToElement

public void addToElement(org.dom4j.Element root)
Specified by:
addToElement in interface QTIObject
See Also:
org.olat.ims.qti.editor.beecom.QTIObject#toXml()

checkAlienItems

public boolean checkAlienItems()

hasAlienItems

public boolean hasAlienItems()

getDuration

public QTIObject getDuration()
Returns the duration.

Returns:
QTIObject

getIdent

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

Returns:
String

getItems

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

Returns:
List

getObjectives

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

Returns:
List

getOutcomes_processing

public QTIObject getOutcomes_processing()
Returns the outcomes_processing.

Returns:
QTIObject

getPresentation_material

public QTIObject getPresentation_material()
Returns the presentation_material.

Returns:
QTIObject

getQticomment

public QTIObject getQticomment()
Returns the qticomment.

Returns:
QTIObject

getQtimetadatas

public java.util.List getQtimetadatas()
Returns the qtimetadatas.

Returns:
List

getReference

public QTIObject getReference()
Returns the reference.

Returns:
QTIObject

getRubrics

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

Returns:
List

getSectioncontrols

public java.util.List getSectioncontrols()
Returns the sectioncontrols.

Returns:
List

getSectionfeedbacks

public java.util.List getSectionfeedbacks()
Returns the sectionfeedbacks.

Returns:
List

getSectionpostcondition

public java.util.List getSectionpostcondition()
Returns the sectionpostcondition.

Returns:
List

getSectionprecondition

public java.util.List getSectionprecondition()
Returns the sectionprecondition.

Returns:
List

getSectionproc_extension

public QTIObject getSectionproc_extension()
Returns the sectionproc_extension.

Returns:
QTIObject

getSections

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

Returns:
List

getSelection_ordering

public SelectionOrdering getSelection_ordering()
Returns the selection_ordering.

Returns:
SelectionOrdering

getTitle

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

Returns:
String

setDuration

public void setDuration(QTIObject duration)
Sets the duration.

Parameters:
duration - The duration to set

setIdent

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

Parameters:
ident - The ident to set

setItems

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

Parameters:
items - The items 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(QTIObject 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

setQtimetadatas

public void setQtimetadatas(java.util.List qtimetadatas)
Sets the qtimetadatas.

Parameters:
qtimetadatas - The qtimetadatas 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

setSectioncontrols

public void setSectioncontrols(java.util.List sectioncontrols)
Sets the sectioncontrols.

Parameters:
sectioncontrols - The sectioncontrols to set

setSectionfeedbacks

public void setSectionfeedbacks(java.util.List sectionfeedbacks)
Sets the sectionfeedbacks.

Parameters:
sectionfeedbacks - The sectionfeedbacks to set

setSectionpostcondition

public void setSectionpostcondition(java.util.List sectionpostcondition)
Sets the sectionpostcondition.

Parameters:
sectionpostcondition - The sectionpostcondition to set

setSectionprecondition

public void setSectionprecondition(java.util.List sectionprecondition)
Sets the sectionprecondition.

Parameters:
sectionprecondition - The sectionprecondition to set

setSectionproc_extension

public void setSectionproc_extension(QTIObject sectionproc_extension)
Sets the sectionproc_extension.

Parameters:
sectionproc_extension - The sectionproc_extension to set

setSections

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

Parameters:
sections - The sections to set

setSelection_ordering

public void setSelection_ordering(SelectionOrdering selection_ordering)
Sets the selection_ordering.

Parameters:
selection_ordering - The selection_ordering to set

setTitle

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

Parameters:
title - The title to set

containsEssayQuestions

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

Returns: