UniVista.support
Class StudyHash

java.lang.Object
  |
  +--UniVista.support.StudyHash
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class StudyHash
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Allows Study objects to be easily mapped to strings and back again and stored in a central location

See Also:
Serialized Form

Constructor Summary
StudyHash()
           
 
Method Summary
 void addStudy(Study toAdd)
          Add a Study to the hash
 java.lang.Object clone()
          clone the StudyHash
 Study[] getStudies()
          Return an array of all of the Studys stored in the hash.
 Study getStudy(java.lang.String studyName)
          Retrieve a study from the hash by looking up its internal name.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StudyHash

public StudyHash()
Method Detail

addStudy

public void addStudy(Study toAdd)
Add a Study to the hash

clone

public java.lang.Object clone()
clone the StudyHash
Overrides:
clone in class java.lang.Object

getStudies

public Study[] getStudies()
Return an array of all of the Studys stored in the hash.

getStudy

public Study getStudy(java.lang.String studyName)
Retrieve a study from the hash by looking up its internal name. Returns null if no study is found.
Parameters:
studyName - the internal name returned by getStudyName() to search for