Primary interface IMoney

Power Java
Dynamic Proxy Classes:
Toward Metalevel Programming in Java

Mathias Richter and Takashi Suezawa
Listing 1. Primary interface IMoney.


public interface IMoney
{
   public void setCurrency( String isoCurrency );
   public String getCurrency();
   public void setAmount( double amount );
   public double getAmount();
}