BrightSide Workbench Full Report + Source Code
org.turro.financials.operating.RegisterItem Class Reference
Collaboration diagram for org.turro.financials.operating.RegisterItem:

Public Member Functions

long getContractId ()
 
int getYear ()
 
int getMonth ()
 
double getValue ()
 

Public Attributes

long regId
 
CheckDate date
 
Account account
 
double debit
 
double credit
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 29 of file RegisterItem.java.

Member Function Documentation

◆ getContractId()

long org.turro.financials.operating.RegisterItem.getContractId ( )

Definition at line 37 of file RegisterItem.java.

37  {
38  if(account != null) {
39  return (long) ObjectString.parseString(account.getId().substring(6), Long.class, true);
40  }
41  return 0;
42  }
Here is the call graph for this function:

◆ getMonth()

int org.turro.financials.operating.RegisterItem.getMonth ( )

Definition at line 51 of file RegisterItem.java.

51  {
52  if(date != null) {
53  return date.getMonth();
54  }
55  return 0;
56  }

◆ getValue()

double org.turro.financials.operating.RegisterItem.getValue ( )

Definition at line 58 of file RegisterItem.java.

◆ getYear()

int org.turro.financials.operating.RegisterItem.getYear ( )

Definition at line 44 of file RegisterItem.java.

44  {
45  if(date != null) {
46  return date.getYear();
47  }
48  return 0;
49  }

Member Data Documentation

◆ account

Account org.turro.financials.operating.RegisterItem.account

Definition at line 33 of file RegisterItem.java.

◆ credit

double org.turro.financials.operating.RegisterItem.credit

Definition at line 35 of file RegisterItem.java.

◆ date

CheckDate org.turro.financials.operating.RegisterItem.date

Definition at line 32 of file RegisterItem.java.

◆ debit

double org.turro.financials.operating.RegisterItem.debit

Definition at line 34 of file RegisterItem.java.

◆ regId

long org.turro.financials.operating.RegisterItem.regId

Definition at line 31 of file RegisterItem.java.


The documentation for this class was generated from the following file: