theory.smart.axiom.units
Class UnitConversionValue
java.lang.Object
|
+--theory.smart.foundation.SmartValue
|
+--theory.smart.axiom.units.UnitConversionValue
- public class UnitConversionValue
- extends SmartValue
The Unit Conversion provides the ability to convert from one unit of measurement to any other in the same classification. The category of a unit describes what type quality the unit is measuring (e.g. height, weight, product packaging sizes). For each quantity being converted "to" the count can be used to simplify the implementation of the most common conversions based on a simple ratio. It also provides support the use of individual instance methods so that more complex calculations can be implemented.
- See Also:
UnitConversion
,
UnitConversionHome
,
UnitConversion.getUnitConversionByValue()
,
UnitConversion.setUnitConversionByValue(UnitConversionValue)
, Serialized Form
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
category
public java.lang.String category
category
[UnitConversion] <*>------> [String
] (Primary Key)
atomic
public Unit atomic
atomic
[UnitConversion] <*>------> [theory.smart.axiom.units.Unit
]
tos
public com.sun.java.util.collections.TreeMap tos
to (Map)
[UnitConversion] <*>------> [theory.smart.axiom.units.Quantity
]
0..*
Copyright © 2000 BEA Systems, Inc. All Rights Reserved