1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/task4/solution14/src/org/apidesign/apifest08/currency/CurrencyRate.java Sat Oct 11 23:38:46 2008 +0200
1.3 @@ -0,0 +1,11 @@
1.4 +package org.apidesign.apifest08.currency;
1.5 +
1.6 +/**
1.7 + * This is interface for creating currency rates. The rate can be static or can change in time.
1.8 + * Implement this interface to inform the Convertor about the actual exchange rate between two currencies.
1.9 + */
1.10 +public interface CurrencyRate {
1.11 + public String getCurrency1();
1.12 + public String getCurrency2();
1.13 + public Rate getRate();
1.14 +}