BrightSide Workbench Full Report + Source Code
org.turro.financials.business.CompanyTree Class Reference
Inheritance diagram for org.turro.financials.business.CompanyTree:
Collaboration diagram for org.turro.financials.business.CompanyTree:

Public Member Functions

 CompanyTree ()
 
void afterCompose ()
 
List< ContractgetContracts ()
 

Detailed Description

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

Definition at line 40 of file CompanyTree.java.

Constructor & Destructor Documentation

◆ CompanyTree()

org.turro.financials.business.CompanyTree.CompanyTree ( )

Definition at line 42 of file CompanyTree.java.

42  {
43  super();
44  }

Member Function Documentation

◆ afterCompose()

void org.turro.financials.business.CompanyTree.afterCompose ( )

Definition at line 47 of file CompanyTree.java.

47  {
48  appendChild(new Treechildren());
49  Company company = CompanyWrapper.getDefaultCompany();
50  Treeitem li = new Treeitem(company.getName(), company);
51  li.appendChild(new Treechildren());
52  getTreechildren().appendChild(li);
53  fillServices(li);
54  fillHeadquarters(li);
55  }
Here is the call graph for this function:

◆ getContracts()

List<Contract> org.turro.financials.business.CompanyTree.getContracts ( )

Definition at line 57 of file CompanyTree.java.

57  {
58  List<Contract> contracts = new ArrayList<>();
59  processItem(getSelectedItem(), contracts);
60  return contracts;
61  }
Here is the caller graph for this function:

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