theory.smart.axiom.units
Interface  ConversionFunction
- All Known Subinterfaces: 
 - DefaultConversionFunction
 
- public interface ConversionFunction
- extends BusinessPolicy
  
An individual instance method for converting from one unit to another.  It is added to a UnitConversion   with the name of the Unit that is to be converted.  The UnitConversion will use that method when converting to and from that unit.
- See Also: 
 theory.smart.axiom.units.ConversionFunctionHome, 
theory.smart.axiom.units.ConversionFunctionImpl
 
convert
public Quantity convert(UnitConversion uc,
                        Quantity qty,
                        Unit unit)
                 throws java.rmi.RemoteException,
                        UnitConversionException
- Convert the specified quantity to the atomic unit and then into the specified units.
 
 
Copyright © 2000 BEA Systems, Inc. All Rights Reserved