|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.OrderBy
This class represents an OrderBy clause.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private boolean |
descending
|
private static String |
DESCENDING
|
private OrderByExpression |
expression
|
private Locale |
locale
|
private static String |
RESOURCE
|
Constructor Summary | |
OrderBy(OrderByExpression a_expression,
boolean a_descending)
Supported API: true |
|
OrderBy(OrderByExpression a_expression,
boolean a_descending,
Locale a_locale)
Supported API: true |
Method Summary | |
OrderByExpression |
getExpression()
Gets the object for the association that plays role: expression. |
Locale |
getLocale()
Gets the value of the attribute: locale; Locale to use for database sorting. |
boolean |
isDescending()
Gets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false). |
void |
setDescending(boolean a_Descending)
Sets the value of the attribute: descending; Indicates if the sort is descending (true) or ascending (false). |
void |
setLocale(Locale a_Locale)
Sets the value of the attribute: locale; Locale to use for database sorting. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private boolean descending
private Locale locale
private OrderByExpression expression
private static final String DESCENDING
Constructor Detail |
public OrderBy(OrderByExpression a_expression, boolean a_descending) throws QueryException
a_expression
- a_descending
-
QueryException
public OrderBy(OrderByExpression a_expression, boolean a_descending, Locale a_locale) throws QueryException
a_expression
- a_descending
- a_locale
-
QueryException
Method Detail |
public boolean isDescending()
public void setDescending(boolean a_Descending) throws WTPropertyVetoException
a_Descending
-
WTPropertyVetoException
public Locale getLocale()
public void setLocale(Locale a_Locale) throws WTPropertyVetoException
a_Locale
-
WTPropertyVetoException
public OrderByExpression getExpression()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |