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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPERATOR_ASCENDING
public static final int OPERATOR_ASCENDING
- See Also:
- Constant Field Values
OPERATOR_DESCENDING
public static final int OPERATOR_DESCENDING
- See Also:
- Constant Field Values
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