org.activemath.tutor
Class Task

java.lang.Object
  extended by org.activemath.tutor.Task

public class Task
extends Object

Class for pedagogical tasks.

Each task consists of an pedagogical objective and a list of content identifiers.


Field Summary
protected  List contentIdentifiers
          The list of content identifiers
protected  String pedagogicalObjective
          The pedagogical objective ("learnConcept", "selectAppropriateExercises", ...)
 
Constructor Summary
Task(String objective, List identifiers)
          Create a new pedagogical objective
 
Method Summary
 List getContentIdentifiers()
           
 String getPedagogicalObjective()
           
 void setContentIdentifiers(List contentIdentifiers)
           
 void setPedagogicalObjective(String pedagogicalObjective)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pedagogicalObjective

protected String pedagogicalObjective
The pedagogical objective ("learnConcept", "selectAppropriateExercises", ...)


contentIdentifiers

protected List contentIdentifiers
The list of content identifiers

Constructor Detail

Task

public Task(String objective,
            List identifiers)
Create a new pedagogical objective

Parameters:
objective - - the pedagogical objective
identifiers - - the list of content identifiers
Method Detail

getContentIdentifiers

public List getContentIdentifiers()
Returns:
Returns the content identifier

setContentIdentifiers

public void setContentIdentifiers(List contentIdentifiers)
Parameters:
contentIdentifiers - - the content identifier to set.

getPedagogicalObjective

public String getPedagogicalObjective()
Returns:
Returns the pedagogical objective.

setPedagogicalObjective

public void setPedagogicalObjective(String pedagogicalObjective)
Parameters:
pedagogicalObjective - - the pedagogical objective to set.

toString

public String toString()
Overrides:
toString in class Object