- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file EntrySet.java.
◆ addEntry()
void org.turro.financials.model.register.EntrySet.addEntry |
( |
RegisterEntry |
entry | ) |
|
Definition at line 31 of file EntrySet.java.
32 RegisterEntry re = findEqual(entry);
34 re.setCredit(re.getCredit() + entry.getCredit());
35 re.setDebit(re.getDebit() + entry.getDebit());
37 add(
new EntryWrapper(entry));
◆ calculateBalance()
void org.turro.financials.model.register.EntrySet.calculateBalance |
( |
| ) |
|
Definition at line 51 of file EntrySet.java.
54 for(EntryWrapper ew :
this) {
55 balance += ew.getSingleBalance();
56 ew.getEntry().setEntryOrder(count++);
57 ew.setBalance(balance);
◆ getRegisterEntries()
Collection<RegisterEntry> org.turro.financials.model.register.EntrySet.getRegisterEntries |
( |
| ) |
|
Definition at line 41 of file EntrySet.java.
42 ArrayList<RegisterEntry> list =
new ArrayList<RegisterEntry>();
43 for(EntryWrapper ew :
this) {
44 if(!ew.getEntry().isEmpty()) {
45 list.add(ew.getEntry());
◆ roundEntries()
void org.turro.financials.model.register.EntrySet.roundEntries |
( |
int |
fractionDigits | ) |
|
Definition at line 61 of file EntrySet.java.
62 for(EntryWrapper ew :
this) {
63 ew.getEntry().roundIt(fractionDigits);
The documentation for this class was generated from the following file: