public class OrderBySource
extends java.lang.Object
Sort instance from a method name end. It expects the last part of the method
name to be given and supports lining up multiple properties ending with the sorting direction. So the following
method ends are valid: LastnameUsernameDesc, LastnameAscUsernameDesc.| 构造器和说明 |
|---|
OrderBySource(java.lang.String clause)
Creates a new
OrderBySource for the given clause, checking the property referenced exists on the given
type. |
| 限定符和类型 | 方法和说明 |
|---|---|
Sort |
toSort()
Returns the clause as
Sort. |
java.lang.String |
toString() |
public OrderBySource(java.lang.String clause)
OrderBySource for the given clause, checking the property referenced exists on the given
type.clause - must not be null.domainClass - can be null.Copyright © 2020. All Rights Reserved.