task1/solution01/src/org/apidesign/apifest08/currency/ConversionRatioProvider.java
author japod@localhost
Tue, 30 Sep 2008 16:11:32 +0200
changeset 28 36331f7244bd
permissions -rw-r--r--
finishing update of solution 04 to 1.5
     1 package org.apidesign.apifest08.currency;
     2 
     3 import java.math.BigDecimal;
     4 
     5 /**
     6  * Provider for conversion constant from any source
     7  * @author Ladislav Vitasek
     8  */
     9 public interface ConversionRatioProvider {
    10     public BigDecimal getCurrency1ToCurrency2Constant() throws CannotProvideValueException;
    11     public BigDecimal getCurrency2ToCurrency1Constant() throws CannotProvideValueException;
    12 }