|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scubatoolkit.Tank
Description of the Class
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 |
private Gas contents
private double workingPressure
private double capacity
private double startPressure
private double endPressure
private double emptyBuoyancy
private double fullBuoyancy
private java.lang.String type
private java.lang.String serial
private java.lang.String manufacturer
private java.sql.Date visualDate
private java.sql.Date hydroDate
private java.sql.Date birthDate
private boolean isMetric
private int tankID
Constructor Detail |
public Tank()
Method Detail |
public void setGas(Gas g)
g
- The new gas valuepublic Gas getGas()
public void setStartPressure(double sp)
sp
- The new startPressure valuepublic double getStartPressure()
public void setEndPressure(double ep)
ep
- The new endPressure valuepublic double getEndPressure()
public void setCapacity(double c)
c
- The new capacity valuepublic double getCapacity()
public void setWorkingPressure(double wp)
wp
- The new workingPressure valuepublic double getWorkingPressure()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |