org.jscience.psychology.experimental
Class Task

java.lang.Object
  extended by org.jscience.psychology.experimental.Task
All Implemented Interfaces:
Named

public abstract class Task
extends java.lang.Object
implements Named

A class representing a specific task in an experiment. You actually have to subclass it to provide with your actual implementation.


Constructor Summary
Task(java.lang.String name, java.lang.String description, java.util.Vector trials)
          Creates a new Task object.
 
Method Summary
abstract  void doTask()
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 Subject getSubject()
          DOCUMENT ME!
 java.util.Vector getTrials()
          DOCUMENT ME!
protected  void setSubject(Subject subject)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Task

public Task(java.lang.String name,
            java.lang.String description,
            java.util.Vector trials)
Creates a new Task object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
trials - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

getDescription

public java.lang.String getDescription()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTrials

public java.util.Vector getTrials()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSubject

public Subject getSubject()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setSubject

protected void setSubject(Subject subject)
DOCUMENT ME!

Parameters:
subject - DOCUMENT ME!

doTask

public abstract void doTask()
DOCUMENT ME!