|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.criterion.Order
public class Order
Represents an order imposed upon a Criteria result set
Constructor Summary | |
---|---|
protected |
Order(String propertyName,
boolean ascending)
Constructor for Order. |
Method Summary | |
---|---|
static Order |
asc(String propertyName)
Ascending order |
static Order |
desc(String propertyName)
Descending order |
String |
getPropertyName()
|
Order |
ignoreCase()
|
boolean |
isAscending()
|
boolean |
isIgnoreCase()
|
Order |
nulls(NullPrecedence nullPrecedence)
|
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Order(String propertyName, boolean ascending)
Method Detail |
---|
public String toString()
toString
in class Object
public Order ignoreCase()
public Order nulls(NullPrecedence nullPrecedence)
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
HibernateException
public String getPropertyName()
public boolean isAscending()
public boolean isIgnoreCase()
public static Order asc(String propertyName)
propertyName
-
public static Order desc(String propertyName)
propertyName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |