Class StimulusProject

java.lang.Object
  extended by StimulusProject

public class StimulusProject
extends java.lang.Object


Constructor Summary
StimulusProject(java.lang.String line)
          Constructs a StimulusProject from takes a line of stimulus data.
 
Method Summary
 long getCost()
          Get the cost of the project.
 int getJobs()
          Get the number of jobs associated with the project.
 java.lang.String getLabel()
          Get the long name for the project.
 java.lang.String getProgram()
          Get the program the project belongs to.
 java.lang.String key(int level)
          Determines which field to use as a key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StimulusProject

public StimulusProject(java.lang.String line)
Constructs a StimulusProject from takes a line of stimulus data.

Method Detail

key

public java.lang.String key(int level)
Determines which field to use as a key. Used by Stimulus Tree to constuct the tree.

Parameters:
level - Which level of the tree is being built.
Returns:
Which field to use the key for the specified level.

getLabel

public java.lang.String getLabel()
Get the long name for the project.

Returns:
The project's long name.

getCost

public long getCost()
Get the cost of the project.

Returns:
The project's cost.

getJobs

public int getJobs()
Get the number of jobs associated with the project.

Returns:
The project's jobs count/

getProgram

public java.lang.String getProgram()
Get the program the project belongs to.

Returns:
The project's program.