org.jscience.psychology
Class Activity

java.lang.Object
  extended by org.jscience.psychology.Activity
All Implemented Interfaces:
Commented, Named

public class Activity
extends java.lang.Object
implements Named, Commented

DOCUMENT ME!


Constructor Summary
Activity(java.lang.String name)
          Creates a new Activity object.
 
Method Summary
 void addSubActivity(Activity activity)
          DOCUMENT ME!
 java.util.Set getBehaviors()
          DOCUMENT ME!
 java.lang.String getComments()
          DOCUMENT ME!
 java.lang.String getGoal()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.util.Vector getSubActivities()
          DOCUMENT ME!
 void removeSubActivity(Activity activity)
          DOCUMENT ME!
 void setBehaviors(java.util.Set behaviors)
          DOCUMENT ME!
 void setComments(java.lang.String comments)
          DOCUMENT ME!
 void setGoal(java.lang.String goal)
          DOCUMENT ME!
 void setSubActivities(java.util.Vector activities)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activity

public Activity(java.lang.String name)
Creates a new Activity object.

Parameters:
name - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getName

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

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

getComments

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

Specified by:
getComments in interface Commented
Returns:
DOCUMENT ME!

setComments

public void setComments(java.lang.String comments)
DOCUMENT ME!

Parameters:
comments - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getGoal

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

Returns:
DOCUMENT ME!

setGoal

public void setGoal(java.lang.String goal)
DOCUMENT ME!

Parameters:
goal - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getSubActivities

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

Returns:
DOCUMENT ME!

addSubActivity

public void addSubActivity(Activity activity)
DOCUMENT ME!

Parameters:
activity - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

removeSubActivity

public void removeSubActivity(Activity activity)
DOCUMENT ME!

Parameters:
activity - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

setSubActivities

public void setSubActivities(java.util.Vector activities)
DOCUMENT ME!

Parameters:
activities - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getBehaviors

public java.util.Set getBehaviors()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setBehaviors

public void setBehaviors(java.util.Set behaviors)
DOCUMENT ME!

Parameters:
behaviors - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!