org.jscience.measure
Class Analysis

java.lang.Object
  extended by org.jscience.measure.Analysis
All Implemented Interfaces:
java.io.Serializable, Identified, Commented, Named

public class Analysis
extends java.lang.Object
implements java.io.Serializable, Named, Identified, Commented

A class representing an analysis (biological, chemical...).

See Also:
Serialized Form

Constructor Summary
Analysis(java.lang.String name, Identification identification, java.util.Date date, Sample sample, Organization authority)
          Creates a new Analysis object.
Analysis(java.lang.String name, Identification identification, java.util.Date date, Sample sample, Organization authority, java.lang.String result)
          Creates a new Analysis object.
 
Method Summary
 boolean equals(java.lang.Object o)
          DOCUMENT ME!
 Organization getAuthority()
          DOCUMENT ME!
 java.lang.String getComments()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String getResult()
          DOCUMENT ME!
 Sample getSample()
          DOCUMENT ME!
 void setComments(java.lang.String comments)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Analysis

public Analysis(java.lang.String name,
                Identification identification,
                java.util.Date date,
                Sample sample,
                Organization authority)
Creates a new Analysis object.

Parameters:
name - DOCUMENT ME!
identification - DOCUMENT ME!
date - DOCUMENT ME!
sample - DOCUMENT ME!
authority - DOCUMENT ME!

Analysis

public Analysis(java.lang.String name,
                Identification identification,
                java.util.Date date,
                Sample sample,
                Organization authority,
                java.lang.String result)
Creates a new Analysis object.

Parameters:
name - DOCUMENT ME!
identification - DOCUMENT ME!
date - DOCUMENT ME!
sample - DOCUMENT ME!
authority - DOCUMENT ME!
result - 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!

getIdentification

public Identification getIdentification()
DOCUMENT ME!

Specified by:
getIdentification in interface Identified
Returns:
DOCUMENT ME!

getDate

public java.util.Date getDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSample

public Sample getSample()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAuthority

public Organization getAuthority()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getResult

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

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!

equals

public boolean equals(java.lang.Object o)
DOCUMENT ME!

Overrides:
equals in class java.lang.Object
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!