org.jscience.psychology.experimental
Class Variable

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

public class Variable
extends java.lang.Object
implements Named

A class representing a psychology variable (whether intergroups or intragroups). A variable is the thing you are working on or the thing you measure.


Constructor Summary
Variable(java.lang.String name, java.lang.String unit)
          Creates a new Variable object.
 
Method Summary
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String getUnit()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variable

public Variable(java.lang.String name,
                java.lang.String unit)
Creates a new Variable object.

Parameters:
name - DOCUMENT ME!
unit - 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!

getUnit

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

Returns:
DOCUMENT ME!