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

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

public class Item
extends java.lang.Object
implements QTIObject

Author:
rkulow

Constructor Summary
Item()
           
 
Method Summary
 void addToElement(org.dom4j.Element root)
           
 Material findMaterial(java.lang.String matId)
          Search an item for material with a given ID
 Duration getDuration()
          Returns the duration.
 java.lang.String getIdent()
          Returns the ident.
 java.util.List getItemcontrols()
          Returns the itemcontrols.
 java.util.List getItemfeedbacks()
          Returns the itemfeedbacks.
 QTIObject getItemmetadata()
          Returns the itemmetadata.
 java.util.List getItempostconditions()
          Returns the itempostconditions.
 java.util.List getItempreconditions()
          Returns the itempreconditions.
 java.util.List getItemrubrics()
          Returns the itemrubrics.
 java.lang.String getLabel()
          Returns the label.
 int getMaxattempts()
          Returns the maxattempts.
 java.lang.String getObjectives()
          Returns the objectives.
 QTIObject getQticomment()
          Returns the qticomment.
 Question getQuestion()
           
 QTIXMLWrapper getRawXML()
           
 java.util.List getRubrics()
          Returns the rubrics.
 java.lang.String getTitle()
          Returns the title.
 boolean isAlient()
           
 void setDuration(Duration duration)
          Sets the duration.
 void setIdent(java.lang.String ident)
          Sets the ident.
 void setItemcontrols(java.util.List itemcontrols)
          Sets the itemcontrols.
 void setItemfeedbacks(java.util.List itemfeedbacks)
          Sets the itemfeedbacks.
 void setItemmetadata(QTIObject itemmetadata)
          Sets the itemmetadata.
 void setItempostconditions(java.util.List itempostconditions)
          Sets the itempostconditions.
 void setItempreconditions(java.util.List itempreconditions)
          Sets the itempreconditions.
 void setItemrubrics(java.util.List itemrubrics)
          Sets the itemrubrics.
 void setLabel(java.lang.String label)
          Sets the label.
 void setMaxattempts(int maxattempts)
          Sets the maxattempts.
 void setObjectives(java.lang.String objectives)
          Sets the objectives.
 void setQticomment(QTIObject qticomment)
          Sets the qticomment.
 void setQuestion(Question object)
           
 void setRawXML(QTIXMLWrapper wrapper)
           
 void setRubrics(java.util.List rubrics)
          Sets the rubrics.
 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

Item

public Item()
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#addToElement(org.dom4j.Element)

findMaterial

public Material findMaterial(java.lang.String matId)
Search an item for material with a given ID

Parameters:
matId -
Returns:

isAlient

public boolean isAlient()

getDuration

public Duration getDuration()
Returns the duration.

Returns:
QTIObject

getIdent

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

Returns:
String

getItemcontrols

public java.util.List getItemcontrols()
Returns the itemcontrols.

Returns:
List

getItemfeedbacks

public java.util.List getItemfeedbacks()
Returns the itemfeedbacks.

Returns:
List

getItemmetadata

public QTIObject getItemmetadata()
Returns the itemmetadata.

Returns:
QTIObject

getItempostconditions

public java.util.List getItempostconditions()
Returns the itempostconditions.

Returns:
List

getItempreconditions

public java.util.List getItempreconditions()
Returns the itempreconditions.

Returns:
List

getItemrubrics

public java.util.List getItemrubrics()
Returns the itemrubrics.

Returns:
List

getLabel

public java.lang.String getLabel()
Returns the label.

Returns:
String

getMaxattempts

public int getMaxattempts()
Returns the maxattempts.

Returns:
String

getObjectives

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

Returns:
List

getQticomment

public QTIObject getQticomment()
Returns the qticomment.

Returns:
QTIObject

getRubrics

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

Returns:
List

getTitle

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

Returns:
String

setDuration

public void setDuration(Duration 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

setItemcontrols

public void setItemcontrols(java.util.List itemcontrols)
Sets the itemcontrols.

Parameters:
itemcontrols - The itemcontrols to set

setItemfeedbacks

public void setItemfeedbacks(java.util.List itemfeedbacks)
Sets the itemfeedbacks.

Parameters:
itemfeedbacks - The itemfeedbacks to set

setItemmetadata

public void setItemmetadata(QTIObject itemmetadata)
Sets the itemmetadata.

Parameters:
itemmetadata - The itemmetadata to set

setItempostconditions

public void setItempostconditions(java.util.List itempostconditions)
Sets the itempostconditions.

Parameters:
itempostconditions - The itempostconditions to set

setItempreconditions

public void setItempreconditions(java.util.List itempreconditions)
Sets the itempreconditions.

Parameters:
itempreconditions - The itempreconditions to set

setItemrubrics

public void setItemrubrics(java.util.List itemrubrics)
Sets the itemrubrics.

Parameters:
itemrubrics - The itemrubrics to set

setLabel

public void setLabel(java.lang.String label)
Sets the label.

Parameters:
label - The label to set

setMaxattempts

public void setMaxattempts(int maxattempts)
Sets the maxattempts.

Parameters:
maxattempts - The maxattempts to set

setObjectives

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

Parameters:
objectives - The objectives to set

setQticomment

public void setQticomment(QTIObject qticomment)
Sets the qticomment.

Parameters:
qticomment - The qticomment to set

setRubrics

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

Parameters:
rubrics - The rubrics to set

setTitle

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

Parameters:
title - The title to set

getQuestion

public Question getQuestion()
Returns:

setQuestion

public void setQuestion(Question object)
Parameters:
object -

getRawXML

public QTIXMLWrapper getRawXML()
Returns:

setRawXML

public void setRawXML(QTIXMLWrapper wrapper)
Parameters:
wrapper -