The Gravey Framework and RATS RIA

Class Balance

Object
   |
   +--GrvObject
         |
         +--Balance

class Balance
extends GrvObject


DOMAIN-OBJECT: This class encapsulates an Account balance.
Version: 2.0

Author: Bruce Wallace (PolyGlotInc.com)
See:

Defined in rats.js


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, <MVCListModel> rList )
          
 
Methods inherited from class GrvObject
souper
 

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, <MVCListModel> rList )

The Gravey Framework and RATS RIA

Documentation generated by JSDoc on Thu Jan 6 12:46:18 2011