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

Public Member Functions

ContractItem getContract (long id)
 
void loadPeriod (Date start, Date end)
 

Detailed Description

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

Definition at line 36 of file ContractItemSet.java.

Member Function Documentation

◆ getContract()

ContractItem org.turro.financials.operating.ContractItemSet.getContract ( long  id)

Definition at line 40 of file ContractItemSet.java.

40  {
41  ContractItem ci = ceiling(new ContractItem(id));
42  if(ci != null && ci.getId() == id) {
43  return ci;
44  } else {
45  ci = new ContractItem(id);
46  add(ci);
47  return ci;
48  }
49  }
Here is the call graph for this function:

◆ loadPeriod()

void org.turro.financials.operating.ContractItemSet.loadPeriod ( Date  start,
Date  end 
)

Definition at line 51 of file ContractItemSet.java.

51  {
52  if(CompareUtil.compare(this.start, start) != 0 || CompareUtil.compare(this.end, end) != 0) {
53  this.start = start;
54  this.end = end;
55  this.clear();
56  processData(loadData());
57  }
58  }

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