com.moneydance.apps.md.model
Class AddressBook
java.lang.Object
com.moneydance.apps.md.model.AddressBook
public class AddressBook
- extends java.lang.Object
Container for the set of address entries in Moneydance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressBook
public AddressBook(RootAccount rootAccount)
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)