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 6423754bcc
commit f28198054f
1 changed files with 14 additions and 0 deletions

View File

@ -33,7 +33,9 @@ import org.hibernate.type.Type;
/**
* Represents an order imposed upon a <tt>Criteria</tt> result set
*
* @author Gavin King
* @author Brett Meyer
*/
public class Order implements Serializable {
@ -82,6 +84,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
*