|
The Gravey Framework and RATS RIA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--GrvObject
|
+--Balance
DOMAIN-OBJECT: This class encapsulates an Account balance.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
| 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()
| Method Detail |
boolean anyTransactionsInEdit()
String dump()
Float getNet(<String> b)
b - attribute name of desired balance
Float getNetA()
Float getNetB()
Float getNetC()
Float getNetD()
Float getNetTotal()
String getTitle()
Float getTotal()
Transaction getTransaction( <int> rIndex )
rIndex - index into transaction list for this balance
boolean isValid()
void konstructor( <String> sdate, <Float> balA, <Float> balB, <Float> balC, <Float> balD, <boolean> reconciled, <String> system, <MVCListModel> rList )
sdate - balance date
balA - balance A
balB - balance B
balC - balance C
balD - balance D
reconciled - true if balance is already reconciled
system - where did balance come from
rList - Transaction list
|
The Gravey Framework and RATS RIA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||