public class DynamicDTOComparator<T> extends ComparatorAbstract<T>
| Modifier and Type | Field and Description | 
|---|---|
private java.lang.reflect.Method | 
getter  | 
| Constructor and Description | 
|---|
DynamicDTOComparator(java.lang.Class<T> dtoClass,
Creates a new instance of DynamicDTOComparator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compare(T first, | 
private int | 
invokeGettersAndCompareValues(T first,
Invokes getters of DTOs and compare values returned by getter. 
 | 
compareByNulls, isAscendingdtoClass - attributeName - ascending - java.lang.SecurityExceptionjava.lang.NoSuchMethodException