◆ MultiRegisterEntry() [1/2]
org.turro.financials.model.register.MultiRegisterEntry.MultiRegisterEntry |
( |
Register |
register | ) |
|
Definition at line 42 of file MultiRegisterEntry.java.
43 this((RegisterEntry)
null);
44 if(
register !=
null) {
46 register.getRegisterEntries().add(entry);
47 date =
register.getRegisterDate();
48 view =
register.getView();
void setRegister(Register register)
◆ MultiRegisterEntry() [2/2]
org.turro.financials.model.register.MultiRegisterEntry.MultiRegisterEntry |
( |
RegisterEntry |
entry | ) |
|
◆ checkValues()
void org.turro.financials.model.register.MultiRegisterEntry.checkValues |
( |
int |
cellIndex | ) |
|
Definition at line 166 of file MultiRegisterEntry.java.
167 if(cellIndex == 5 && !Zero.near(
getDebit(), 2)) {
169 }
else if(cellIndex == 6 && !Zero.near(
getCredit(), 2)) {
void setDebit(double debit)
void setCredit(double credit)
◆ compareTo()
int org.turro.financials.model.register.MultiRegisterEntry.compareTo |
( |
MultiRegisterEntry |
o | ) |
|
Definition at line 181 of file MultiRegisterEntry.java.
182 int result = CompareUtil.compare(order, o.order);
184 result = CompareUtil.compare(entry.
getEntryOrder(), o.entry.getEntryOrder());
187 result = CompareUtil.compare(date, o.date);
190 result = CompareUtil.compare(view.
getId(), o.view.getId());
192 if(result == 0 &&
getAccount() !=
null && o.getAccount() !=
null) {
193 result = CompareUtil.compare(
getAccount().getId(), o.getAccount().
getId());
196 result = CompareUtil.compare(
getConcept(), o.getConcept());
199 result = CompareUtil.compare(
getDebit(), o.getDebit());
202 result = CompareUtil.compare(
getCredit(), o.getCredit());
205 result = CompareUtil.compare(entry.
getId(), o.entry.getId());
◆ deleteEntry()
void org.turro.financials.model.register.MultiRegisterEntry.deleteEntry |
( |
| ) |
|
◆ getAccount()
Account org.turro.financials.model.register.MultiRegisterEntry.getAccount |
( |
| ) |
|
◆ getAccountBalance()
double org.turro.financials.model.register.MultiRegisterEntry.getAccountBalance |
( |
| ) |
|
◆ getBalance()
double org.turro.financials.model.register.MultiRegisterEntry.getBalance |
( |
| ) |
|
◆ getConcept()
String org.turro.financials.model.register.MultiRegisterEntry.getConcept |
( |
| ) |
|
◆ getCredit()
double org.turro.financials.model.register.MultiRegisterEntry.getCredit |
( |
| ) |
|
◆ getDate()
Date org.turro.financials.model.register.MultiRegisterEntry.getDate |
( |
| ) |
|
◆ getDebit()
double org.turro.financials.model.register.MultiRegisterEntry.getDebit |
( |
| ) |
|
◆ getEntry()
RegisterEntry org.turro.financials.model.register.MultiRegisterEntry.getEntry |
( |
| ) |
|
◆ getOrder()
int org.turro.financials.model.register.MultiRegisterEntry.getOrder |
( |
| ) |
|
◆ getView()
RegisterView org.turro.financials.model.register.MultiRegisterEntry.getView |
( |
| ) |
|
◆ isNewRegister()
boolean org.turro.financials.model.register.MultiRegisterEntry.isNewRegister |
( |
| ) |
|
◆ isSameRegister()
boolean org.turro.financials.model.register.MultiRegisterEntry.isSameRegister |
( |
MultiRegisterEntry |
newEntry | ) |
|
Definition at line 174 of file MultiRegisterEntry.java.
175 return !newRegister &&
176 newEntry.getDate().equals(date) &&
177 newEntry.getView().getId() == view.
getId();
◆ isValid()
boolean org.turro.financials.model.register.MultiRegisterEntry.isValid |
( |
| ) |
|
◆ setAccount()
void org.turro.financials.model.register.MultiRegisterEntry.setAccount |
( |
Account |
account | ) |
|
◆ setAccountBalance()
void org.turro.financials.model.register.MultiRegisterEntry.setAccountBalance |
( |
double |
accountBalance | ) |
|
◆ setBalance()
void org.turro.financials.model.register.MultiRegisterEntry.setBalance |
( |
double |
balance | ) |
|
◆ setConcept()
void org.turro.financials.model.register.MultiRegisterEntry.setConcept |
( |
String |
concept | ) |
|
◆ setCredit()
void org.turro.financials.model.register.MultiRegisterEntry.setCredit |
( |
double |
credit | ) |
|
◆ setDate()
void org.turro.financials.model.register.MultiRegisterEntry.setDate |
( |
Date |
date | ) |
|
◆ setDebit()
void org.turro.financials.model.register.MultiRegisterEntry.setDebit |
( |
double |
debit | ) |
|
◆ setEntry()
void org.turro.financials.model.register.MultiRegisterEntry.setEntry |
( |
RegisterEntry |
entry | ) |
|
◆ setNewRegister()
void org.turro.financials.model.register.MultiRegisterEntry.setNewRegister |
( |
boolean |
newRegister | ) |
|
◆ setOrder()
void org.turro.financials.model.register.MultiRegisterEntry.setOrder |
( |
int |
order | ) |
|
◆ setView()
void org.turro.financials.model.register.MultiRegisterEntry.setView |
( |
RegisterView |
view | ) |
|
The documentation for this class was generated from the following file: