Skip to content

Commit a824305

Browse files
committed
HHH-2805 The class Order does not contain getters
1 parent c3819b4 commit a824305

File tree

1 file changed

+14
-0
lines changed
  • hibernate-core/src/main/java/org/hibernate/criterion

1 file changed

+14
-0
lines changed

hibernate-core/src/main/java/org/hibernate/criterion/Order.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333

3434
/**
3535
* Represents an order imposed upon a <tt>Criteria</tt> result set
36+
*
3637
* @author Gavin King
38+
* @author Brett Meyer
3739
*/
3840
public class Order implements Serializable {
3941

@@ -81,6 +83,18 @@ public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
8183
}
8284
return fragment.toString();
8385
}
86+
87+
public String getPropertyName() {
88+
return propertyName;
89+
}
90+
91+
public boolean isAscending() {
92+
return ascending;
93+
}
94+
95+
public boolean isIgnoreCase() {
96+
return ignoreCase;
97+
}
8498

8599
/**
86100
* Ascending order

0 commit comments

Comments
 (0)