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

Public Member Functions

 LineTypeSet ()
 
 LineTypeSet (String regexp)
 

Detailed Description

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

Definition at line 29 of file LineTypeSet.java.

Constructor & Destructor Documentation

◆ LineTypeSet() [1/2]

org.turro.financials.model.document.LineTypeSet.LineTypeSet ( )

Definition at line 31 of file LineTypeSet.java.

31  {
32  super(new LineTypeComparator());
33  }

◆ LineTypeSet() [2/2]

org.turro.financials.model.document.LineTypeSet.LineTypeSet ( String  regexp)

Definition at line 35 of file LineTypeSet.java.

35  {
36  super(new LineTypeComparator());
37  addAll(new FinancialsPU().getResultList("select lineType from LineType as lineType"));
38  Iterator<LineType> it = iterator();
39  while(it.hasNext()) {
40  if(!(it.next().getName().matches(regexp))) {
41  it.remove();
42  }
43  }
44  }

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