All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface benno.account.db.AccountExtension

public interface AccountExtension
extends Serializable
This interface specifies an extension to an account, for example for budgeting or other tracking purposes. There is a problem with the db model at the moment - it is not easy for an extension to find which account it belongs to, so it is passed in to methods.

Version:
$Revision: 1.5 $
Author:
Ben Clifford

Method Index

 o getStatusLine(Account)
This method returns a status line string, to be displayed for example at the top/bottom of a transaction list.

Methods

 o getStatusLine
 public abstract String getStatusLine(Account a)
This method returns a status line string, to be displayed for example at the top/bottom of a transaction list. If there is no status, it should return null rather than "" so that a calling function can choose to use the screen space for some other purpose.


All Packages  Class Hierarchy  This Package  Previous  Next  Index