gate.util
Class OrderByRestriction
java.lang.Object
|
+--gate.util.OrderByRestriction
- All Implemented Interfaces:
- Serializable
- public class OrderByRestriction
- extends Object
- implements Serializable
- See Also:
- Serialized Form
OPERATOR_ASCENDING
public static final int OPERATOR_ASCENDING
OPERATOR_DESCENDING
public static final int OPERATOR_DESCENDING
OrderByRestriction
public OrderByRestriction(String key,
int operator_)
- Constructor.
- Parameters:
key
- string value of feature keyoperator_
- type of operator for ordering: ascending or descending
getKey
public String getKey()
- Returns:
- String key of the feature
getOperator
public int getOperator()
- Returns:
- int type of operator for ordering: ascending or descending