BrightSide Workbench Full Report + Source Code
org.turro.erp.task.ReceiptItemAdapter Class Reference
Inheritance diagram for org.turro.erp.task.ReceiptItemAdapter:
Collaboration diagram for org.turro.erp.task.ReceiptItemAdapter:

Public Member Functions

 ReceiptItemAdapter (Task task)
 
 ReceiptItemAdapter (WorkOrder workOrder)
 
int compare (ReceiptItem o1, ReceiptItem o2)
 

Detailed Description

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

Definition at line 35 of file ReceiptItemAdapter.java.

Constructor & Destructor Documentation

◆ ReceiptItemAdapter() [1/2]

org.turro.erp.task.ReceiptItemAdapter.ReceiptItemAdapter ( Task  task)

Definition at line 37 of file ReceiptItemAdapter.java.

37  {
38  addReceipts(task);
39  }

◆ ReceiptItemAdapter() [2/2]

org.turro.erp.task.ReceiptItemAdapter.ReceiptItemAdapter ( WorkOrder  workOrder)

Definition at line 41 of file ReceiptItemAdapter.java.

41  {
42  for(OrderReference or : workOrder.getOrderReferences()) {
43  for(Task task : or.getTasks()) {
44  addReceipts(task);
45  }
46  }
47  }
Here is the call graph for this function:

Member Function Documentation

◆ compare()

int org.turro.erp.task.ReceiptItemAdapter.compare ( ReceiptItem  o1,
ReceiptItem  o2 
)

Definition at line 76 of file ReceiptItemAdapter.java.

76  {
77  return CompareUtil.compare(getStringId(o1), getStringId(o2));
78  }

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