HHH-2805 The class Order does not contain getters

This commit is contained in:
Brett Meyer 2013-01-23 15:01:33 -05:00
parent 1aec3c1378
commit 644efaebe4
1 changed files with 14 additions and 0 deletions

View File

@ -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;
@ -97,6 +99,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
*