com.moneydance.apps.md.model
Class AddressBook

java.lang.Object
  extended by com.moneydance.apps.md.model.AddressBook

public class AddressBook
extends java.lang.Object

Container for the set of address entries in Moneydance.


Nested Class Summary
 class AddressBook.AddressEntry
           
 
Constructor Summary
AddressBook(RootAccount rootAccount)
           
 
Method Summary
 void addEntry(AddressBook.AddressEntry theEntry)
           
 AddressBook.AddressEntry getEntry(int index)
           
 AddressBook.AddressEntry getEntryWithID(int id)
           
 AddressBook.AddressEntry getEntryWithID(long id)
           
 int getSize()
           
 void removeEntry(AddressBook.AddressEntry theEntry)
           
 void sortEntries()
          Sort the addressbook entries using a horribly inefficient algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressBook

public AddressBook(RootAccount rootAccount)
Method Detail

sortEntries

public void sortEntries()
Sort the addressbook entries using a horribly inefficient algorithm. TODO: Use a real sorting alg.


getEntryWithID

public AddressBook.AddressEntry getEntryWithID(int id)

getEntryWithID

public AddressBook.AddressEntry getEntryWithID(long id)

addEntry

public void addEntry(AddressBook.AddressEntry theEntry)

removeEntry

public void removeEntry(AddressBook.AddressEntry theEntry)

getSize

public int getSize()

getEntry

public AddressBook.AddressEntry getEntry(int index)