Package org.intermine.objectstore.query
Class OrderDescending
- java.lang.Object
-
- org.intermine.objectstore.query.OrderDescending
-
- All Implemented Interfaces:
QueryOrderable
public class OrderDescending extends java.lang.Object implements QueryOrderable
An element that can appear in the ORDER BY clause of a query, to reverse the order.- Author:
- Matthew Wakeling
-
-
Constructor Summary
Constructors Constructor Description OrderDescending(QueryOrderable qo)
Creates a new OrderDescending object from the given QueryOrderable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryOrderable
getQueryOrderable()
Return the encapsulated QueryOrderable.java.lang.Class<?>
getType()
Get Java type represented by this item.
-
-
-
Constructor Detail
-
OrderDescending
public OrderDescending(QueryOrderable qo)
Creates a new OrderDescending object from the given QueryOrderable.- Parameters:
qo
- a QueryOrderable- Throws:
java.lang.IllegalArgumentException
- if the argument is already an OrderDescending
-
-
Method Detail
-
getQueryOrderable
public QueryOrderable getQueryOrderable()
Return the encapsulated QueryOrderable.- Returns:
- qo
-
getType
public java.lang.Class<?> getType()
Get Java type represented by this item.- Specified by:
getType
in interfaceQueryOrderable
- Returns:
- class describing the type
-
-