|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.cs.Volume
Defines a volume.
Constructor Summary | |
Volume()
Creates a new Volume instance. |
|
Volume(org.csapi.jr.se.cs.Amount _amount,
int _unit)
Creates a new Volume instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
org.csapi.jr.se.cs.Amount |
getAmount()
This method returns a amount. |
int |
getUnit()
This method returns a unit. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setAmount(org.csapi.jr.se.cs.Amount amount)
This method sets a amount. |
void |
setUnit(int unit)
This method sets a unit. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Volume()
public Volume(org.csapi.jr.se.cs.Amount _amount, int _unit)
_amount
- _unit
- Method Detail |
public org.csapi.jr.se.cs.Amount getAmount()
public int getUnit()
public void setAmount(org.csapi.jr.se.cs.Amount amount)
public void setUnit(int unit)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |