xml.series
Class TaskBean

java.lang.Object
  extended by xml.series.TaskBean

public class TaskBean
extends java.lang.Object

Author:
Thorsten Berger TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Nested Class Summary
 class TaskBean.AnswerBean
           
 
Field Summary
static java.lang.String CAT_MULTIPLESELECT
           
static java.lang.String CAT_SINGLESELECT
           
 
Constructor Summary
TaskBean(Element taskElem)
           
 
Method Summary
 TaskBean.AnswerBean getAnswer(java.lang.String id)
           
 TaskBean.AnswerBean[] getAnswers()
           
 java.lang.String getCategory()
           
 TaskBean.AnswerBean[] getCorrectAnswers()
           
 int getDisplayedAnswers()
           
 java.lang.String getId()
           
 TaskBean.AnswerBean[] getIncorrectAnswers()
           
 java.lang.String getProblem()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAT_SINGLESELECT

public static java.lang.String CAT_SINGLESELECT

CAT_MULTIPLESELECT

public static java.lang.String CAT_MULTIPLESELECT
Constructor Detail

TaskBean

public TaskBean(Element taskElem)
Method Detail

getId

public java.lang.String getId()

getCategory

public java.lang.String getCategory()

getDisplayedAnswers

public int getDisplayedAnswers()

getProblem

public java.lang.String getProblem()

getCorrectAnswers

public TaskBean.AnswerBean[] getCorrectAnswers()

getIncorrectAnswers

public TaskBean.AnswerBean[] getIncorrectAnswers()

getAnswers

public TaskBean.AnswerBean[] getAnswers()

getAnswer

public TaskBean.AnswerBean getAnswer(java.lang.String id)