|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.x8ing.mc.bp.BalanceSheet
public class BalanceSheet
Takes care of all Moneytransactions and calculates the balance (saldo).
Constructor Summary | |
---|---|
BalanceSheet()
|
Method Summary | |
---|---|
void |
addTransaction(MoneyTransaction moneyTransaction)
|
void |
addTransaction(java.lang.String bookingDescription,
double amount,
java.util.Calendar date,
BalanceAccount account)
|
double |
calculateCurrentBalance()
calculate grand overal balance. |
double |
calculateCurrentBalanceForAccounts(BalanceAccount[] accounts)
calculates the balance only for the passed accounts |
BalanceAccount[] |
getAllUsedAccounts()
|
java.lang.String |
getPrintBalanceSheetAccountOverview()
for bean access. |
java.lang.String |
getPrintBalanceSheetByAccount()
for bean access. |
java.lang.String |
getPrintBalanceSheetByDate()
for bean access. |
java.lang.String |
printBalanceSheetAccountOverview()
|
java.lang.String |
printBalanceSheetAccountOverview(BalanceAccount[] accounts)
|
java.lang.String |
printBalanceSheetByAccount(boolean supressSameDates)
|
java.lang.String |
printBalanceSheetByAccount(boolean supressSameDates,
BalanceAccount[] accounts)
|
java.lang.String |
printBalanceSheetByDate(boolean supressSameDates)
|
java.util.List |
searchMoneyTransactionOfAccountTypes(BalanceAccount[] accounts)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BalanceSheet()
Method Detail |
---|
public void addTransaction(MoneyTransaction moneyTransaction)
public void addTransaction(java.lang.String bookingDescription, double amount, java.util.Calendar date, BalanceAccount account)
public java.util.List searchMoneyTransactionOfAccountTypes(BalanceAccount[] accounts)
accounts
-
public double calculateCurrentBalanceForAccounts(BalanceAccount[] accounts)
public double calculateCurrentBalance()
public BalanceAccount[] getAllUsedAccounts()
public java.lang.String printBalanceSheetAccountOverview()
public java.lang.String printBalanceSheetAccountOverview(BalanceAccount[] accounts)
public java.lang.String printBalanceSheetByAccount(boolean supressSameDates)
public java.lang.String printBalanceSheetByAccount(boolean supressSameDates, BalanceAccount[] accounts)
public java.lang.String printBalanceSheetByDate(boolean supressSameDates)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPrintBalanceSheetByDate()
public java.lang.String getPrintBalanceSheetByAccount()
public java.lang.String getPrintBalanceSheetAccountOverview()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |