BrightSide Workbench Full Report + Source Code
org.turro.activity.EntityActivityComparator Class Reference
Inheritance diagram for org.turro.activity.EntityActivityComparator:
Collaboration diagram for org.turro.activity.EntityActivityComparator:

Public Member Functions

int compare (IEntityLastActivity o1, IEntityLastActivity o2)
 

Detailed Description

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

Definition at line 29 of file EntityActivityComparator.java.

Member Function Documentation

◆ compare()

int org.turro.activity.EntityActivityComparator.compare ( IEntityLastActivity  o1,
IEntityLastActivity  o2 
)

Definition at line 32 of file EntityActivityComparator.java.

32  {
33  int result = CompareUtil.compare(o1.getSortPath(), o2.getSortPath());
34  if(result == 0) {
35  result = CompareUtil.compare(o1.getEntityPath(), o2.getEntityPath());
36  }
37  if(result == 0) {
38  result = CompareUtil.compare(o1.getReason(), o2.getReason());
39  }
40  if(result == 0) {
41  result = CompareUtil.compare(o1.getDate(), o2.getDate());
42  }
43  if(result == 0) {
44  result = CompareUtil.compare(o1.getActivityText(), o2.getActivityText());
45  }
46  return result;
47  }
Here is the call graph for this function:

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