Package wt.query
Class OrderBy
java.lang.Object
wt.query.OrderBy
- All Implemented Interfaces:
Serializable
This class represents an OrderBy clause.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOrderBy(OrderByExpression a_expression, boolean a_descending)
Supported API: trueOrderBy(OrderByExpression a_expression, boolean a_descending, Locale a_locale)
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: locale; Locale to use for database sorting.booleanGets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false).voidsetDescending(boolean a_Descending) Sets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false).voidSets the value of the attribute: locale; Locale to use for database sorting.
-
Constructor Details
-
OrderBy
Supported API: true- Parameters:
a_expression-a_descending-- Throws:
QueryException
-
OrderBy
public OrderBy(OrderByExpression a_expression, boolean a_descending, Locale a_locale) throws QueryException
Supported API: true- Parameters:
a_expression-a_descending-a_locale-- Throws:
QueryException
-
-
Method Details
-
isDescending
public boolean isDescending()Gets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false).
Supported API: true- Returns:
- boolean
-
setDescending
Sets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false).
Supported API: true- Parameters:
a_Descending-- Throws:
WTPropertyVetoException
-
getLocale
Gets the value of the attribute: locale; Locale to use for database sorting.
Supported API: true- Returns:
- Locale
-
setLocale
Sets the value of the attribute: locale; Locale to use for database sorting.
Supported API: true- Parameters:
a_Locale-- Throws:
WTPropertyVetoException
-