org.jscience.measure
Class Sample

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

public class Sample
extends java.lang.Object
implements java.io.Serializable, Identified, Commented, Positioned

A class representing a piece of something

See Also:
Serialized Form

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

Constructor Detail

Sample

public Sample(java.lang.String name,
              Identification identification,
              java.util.Date date,
              Place place,
              java.lang.Object sample)
Creates a new Sample object.

Parameters:
name - DOCUMENT ME!
identification - DOCUMENT ME!
date - DOCUMENT ME!
place - DOCUMENT ME!
sample - DOCUMENT ME!
Method Detail

getName

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

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!

getPosition

public Place getPosition()
DOCUMENT ME!

Specified by:
getPosition in interface Positioned
Returns:
DOCUMENT ME!

getSample

public java.lang.Object getSample()
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!