Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Method Summary
`Quantity` | `convert(UnitConversion uc, Quantity qty, Unit unit)` Convert the specified quantity to the atomic unit and then into the specified units.

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| bea Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© Copyright 2000 bea Systems, Inc. All rights reserved.