BrightSide Workbench Full Report + Source Code
org.turro.financials.model.document.PayrollWrapper Class Reference
Collaboration diagram for org.turro.financials.model.document.PayrollWrapper:

Public Member Functions

 PayrollWrapper (Document payroll)
 
void save ()
 
DocumentLine getInsuranceLine ()
 
Document getPayroll ()
 
DocumentLine getPayrollLine ()
 
DocumentLine getRetentionLine ()
 
DocumentLine getSeizureLine ()
 
DocumentLine getProtectionLine ()
 
DocumentLine getContingenciesLine ()
 

Detailed Description

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

Definition at line 31 of file PayrollWrapper.java.

Constructor & Destructor Documentation

◆ PayrollWrapper()

org.turro.financials.model.document.PayrollWrapper.PayrollWrapper ( Document  payroll)

Definition at line 42 of file PayrollWrapper.java.

42  {
43  this.payroll = payroll;
44  assignLines();
45  }

Member Function Documentation

◆ getContingenciesLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getContingenciesLine ( )

Definition at line 80 of file PayrollWrapper.java.

80  {
81  return contingenciesLine;
82  }

◆ getInsuranceLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getInsuranceLine ( )

Definition at line 56 of file PayrollWrapper.java.

56  {
57  return insuranceLine;
58  }

◆ getPayroll()

Document org.turro.financials.model.document.PayrollWrapper.getPayroll ( )

Definition at line 60 of file PayrollWrapper.java.

60  {
61  return payroll;
62  }
Here is the caller graph for this function:

◆ getPayrollLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getPayrollLine ( )

Definition at line 64 of file PayrollWrapper.java.

64  {
65  return payrollLine;
66  }

◆ getProtectionLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getProtectionLine ( )

Definition at line 76 of file PayrollWrapper.java.

76  {
77  return protectionLine;
78  }

◆ getRetentionLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getRetentionLine ( )

Definition at line 68 of file PayrollWrapper.java.

68  {
69  return retentionLine;
70  }

◆ getSeizureLine()

DocumentLine org.turro.financials.model.document.PayrollWrapper.getSeizureLine ( )

Definition at line 72 of file PayrollWrapper.java.

72  {
73  return seizureLine;
74  }

◆ save()

void org.turro.financials.model.document.PayrollWrapper.save ( )

Definition at line 47 of file PayrollWrapper.java.

47  {
48  //TODO: if id is assigned then remove document
49  if(!payroll.isEmpty()) {
50  new DocumentWrapper(payroll).save(
51  new ArrayList<>(payroll.getDocumentLines()),
52  new ArrayList<>(payroll.getDescendants()));
53  }
54  }
Set< DocumentRelation > getDescendants()
Definition: Document.java:139
Set< DocumentLine > getDocumentLines()
Definition: Document.java:180
Here is the call graph for this function:
Here is the caller graph for this function:

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