The Gravy Framework

Class Balance

Object
   |
   +--OObject
         |
         +--Balance

class Balance
extends OObject


DOMAIN-OBJECT: This class encapsulates an Account balance.
See:

Author: Bruce Wallace (PolyGlotInc.com)
Defined in rats.js

Version: 1.0


Constructor Summary
Balance ()
           
 
Method Summary
 boolean anyTransactionsInEdit()
           return whether any of our transactions are in Edit mode
 String dump()
           return the debug details of "this"
 Float getNet(<String> b)
           return sum of specified balance for this balance and all its transactions.
 Float getNetA()
           convenience call to getNet() for balance A
 Float getNetB()
           convenience call to getNet() for balance B
 Float getNetC()
           convenience call to getNet() for balance C
 Float getNetD()
           convenience call to getNet() for balance D
 Float getNetTotal()
           return sum of all Net totals for this balance
 String getTitle()
           return the formatted title for this balance
 Float getTotal()
           return sum of balances for this balance
 Transaction getTransaction( <int> rIndex )
           return the specified transaction
 boolean isValid()
           return whether all of our transactions are valid
 void konstructor( <String> sdate, <Float> balA, <Float> balB, <Float> balC, <Float> balD, <boolean> reconciled, <String> system, <ListModel> rList )
          

Constructor Detail

Balance

Balance()

Method Detail

anyTransactionsInEdit

boolean anyTransactionsInEdit()

dump

String dump()

getNet

Float getNet(<String> b)

getNetA

Float getNetA()

getNetB

Float getNetB()

getNetC

Float getNetC()

getNetD

Float getNetD()

getNetTotal

Float getNetTotal()

getTitle

String getTitle()

getTotal

Float getTotal()

getTransaction

Transaction getTransaction( <int> rIndex )

isValid

boolean isValid()

konstructor

void konstructor( <String> sdate, <Float> balA, <Float> balB, <Float> balC, <Float> balD, <boolean> reconciled, <String> system, <ListModel> rList )

The Gravy Framework

Documentation generated by JSDoc on Fri Mar 17 06:40:21 2006