HHH-2805 The class Order does not contain getters
This commit is contained in:
parent
1aec3c1378
commit
644efaebe4
|
@ -34,8 +34,10 @@ import org.hibernate.type.Type;
|
|||
|
||||
/**
|
||||
* Represents an order imposed upon a <tt>Criteria</tt> result set
|
||||
*
|
||||
* @author Gavin King
|
||||
* @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com)
|
||||
* @author Brett Meyer
|
||||
*/
|
||||
public class Order implements Serializable {
|
||||
private boolean ascending;
|
||||
|
@ -96,6 +98,18 @@ public class Order implements Serializable {
|
|||
}
|
||||
return fragment.toString();
|
||||
}
|
||||
|
||||
public String getPropertyName() {
|
||||
return propertyName;
|
||||
}
|
||||
|
||||
public boolean isAscending() {
|
||||
return ascending;
|
||||
}
|
||||
|
||||
public boolean isIgnoreCase() {
|
||||
return ignoreCase;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ascending order
|
||||
|
|
Loading…
Reference in New Issue