org.mbari.siam.distributed
Class CTDData

java.lang.Object
  extended by org.mbari.siam.distributed.CTDData
All Implemented Interfaces:
java.io.Serializable, Temperature

public class CTDData
extends java.lang.Object
implements Temperature, java.io.Serializable

CTDData

See Also:
Serialized Form

Field Summary
 double _conductivity
           
 boolean _hasOxygen
           
 boolean _hasPressure
           
 double _oxygen
           
 double _pressure
           
 double _temperature
           
 
Constructor Summary
CTDData()
          No-argument constructor, initializes values to zero
CTDData(double conductivity, double temperature)
          Constructor for conductivity and temperature only.
CTDData(double conductivity, double temperature, double pressure)
           
CTDData(double conductivity, double temperature, double pressure, double oxygen)
           
 
Method Summary
 double getConductivity()
          Return conductivity
 double getOxygen()
          Return oxygen
 double getPressure()
          Return pressure
 double getTemperature()
          Return temperature
 java.lang.String toString()
          Return String representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_conductivity

public double _conductivity

_temperature

public double _temperature

_pressure

public double _pressure

_oxygen

public double _oxygen

_hasPressure

public boolean _hasPressure

_hasOxygen

public boolean _hasOxygen
Constructor Detail

CTDData

public CTDData()
No-argument constructor, initializes values to zero


CTDData

public CTDData(double conductivity,
               double temperature)
Constructor for conductivity and temperature only.


CTDData

public CTDData(double conductivity,
               double temperature,
               double pressure)

CTDData

public CTDData(double conductivity,
               double temperature,
               double pressure,
               double oxygen)
Method Detail

getConductivity

public double getConductivity()
Return conductivity


getTemperature

public double getTemperature()
Return temperature

Specified by:
getTemperature in interface Temperature

getPressure

public double getPressure()
                   throws NoDataException
Return pressure

Throws:
NoDataException

getOxygen

public double getOxygen()
                 throws NoDataException
Return oxygen

Throws:
NoDataException

toString

public java.lang.String toString()
Return String representation

Overrides:
toString in class java.lang.Object


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.