|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnitType
An UnitType is the type definition of an Unit
. Each UnitType
defines a base Unit
of it's character. For example a UnitType of
weights can define grams, kilograms or tons.
Method Summary | |
---|---|
List<UnitType> |
getAll()
Return all sub types of the UnitType . |
UnitType |
getBaseUnit()
Return the base unit type of the UnitType . |
long |
getBaseUnitValue()
Return the value of the base unit. |
Method Detail |
---|
long getBaseUnitValue()
List<UnitType> getAll()
UnitType
.
UnitType getBaseUnit()
UnitType
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |