org.scubatoolkit
Class Tank

java.lang.Object
  |
  +--org.scubatoolkit.Tank

public class Tank
extends java.lang.Object

Description of the Class

Version:
Author:

Field Summary
private  java.sql.Date birthDate
           
private  double capacity
           
private  Gas contents
           
private  double emptyBuoyancy
           
private  double endPressure
           
private  double fullBuoyancy
           
private  java.sql.Date hydroDate
           
private  boolean isMetric
           
private  java.lang.String manufacturer
           
private  java.lang.String serial
           
private  double startPressure
           
private  int tankID
           
private  java.lang.String type
           
private  java.sql.Date visualDate
           
private  double workingPressure
           
 
Constructor Summary
Tank()
           
 
Method Summary
 double getCapacity()
          Gets the capacity attribute of the Tank object
 double getEndPressure()
          Gets the endPressure attribute of the Tank object
 Gas getGas()
          Gets the gas attribute of the Tank object
 double getStartPressure()
          Gets the startPressure attribute of the Tank object
 double getWorkingPressure()
          Gets the workingPressure attribute of the Tank object
 void setCapacity(double c)
          Sets the capacity attribute of the Tank object
 void setEndPressure(double ep)
          Sets the endPressure attribute of the Tank object
 void setGas(Gas g)
          Sets the gas attribute of the Tank object
 void setStartPressure(double sp)
          Sets the startPressure attribute of the Tank object
 void setWorkingPressure(double wp)
          Sets the workingPressure attribute of the Tank object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contents

private Gas contents

workingPressure

private double workingPressure

capacity

private double capacity

startPressure

private double startPressure

endPressure

private double endPressure

emptyBuoyancy

private double emptyBuoyancy

fullBuoyancy

private double fullBuoyancy

type

private java.lang.String type

serial

private java.lang.String serial

manufacturer

private java.lang.String manufacturer

visualDate

private java.sql.Date visualDate

hydroDate

private java.sql.Date hydroDate

birthDate

private java.sql.Date birthDate

isMetric

private boolean isMetric

tankID

private int tankID
Constructor Detail

Tank

public Tank()
Method Detail

setGas

public void setGas(Gas g)
Sets the gas attribute of the Tank object

Parameters:
g - The new gas value

getGas

public Gas getGas()
Gets the gas attribute of the Tank object

Returns:
The gas value

setStartPressure

public void setStartPressure(double sp)
Sets the startPressure attribute of the Tank object

Parameters:
sp - The new startPressure value

getStartPressure

public double getStartPressure()
Gets the startPressure attribute of the Tank object

Returns:
The startPressure value

setEndPressure

public void setEndPressure(double ep)
Sets the endPressure attribute of the Tank object

Parameters:
ep - The new endPressure value

getEndPressure

public double getEndPressure()
Gets the endPressure attribute of the Tank object

Returns:
The endPressure value

setCapacity

public void setCapacity(double c)
Sets the capacity attribute of the Tank object

Parameters:
c - The new capacity value

getCapacity

public double getCapacity()
Gets the capacity attribute of the Tank object

Returns:
The capacity value

setWorkingPressure

public void setWorkingPressure(double wp)
Sets the workingPressure attribute of the Tank object

Parameters:
wp - The new workingPressure value

getWorkingPressure

public double getWorkingPressure()
Gets the workingPressure attribute of the Tank object

Returns:
The workingPressure value


Copyright © 2002 The Scuba Toolkit Team. All Rights Reserved.