it.amattioli.encapsulate.money
Interface Account

Show UML class diagram
All Known Implementing Classes:
SimpleAccount

public interface Account


Method Summary
 void addEntry(AccountEntry entry)
           
 Money getBalance()
           
 Currency getCurrency()
           
 List<AccountEntry> getEntries()
           
 

Method Detail

addEntry

void addEntry(AccountEntry entry)
              throws IncompatibleCurrency
Throws:
IncompatibleCurrency

getEntries

List<AccountEntry> getEntries()

getCurrency

Currency getCurrency()

getBalance

Money getBalance()


Copyright © 2011. All Rights Reserved.