GATE
Version 3.1-2270

gate.util
Class OrderByRestriction

java.lang.Object
  extended by gate.util.OrderByRestriction
All Implemented Interfaces:
Serializable

public class OrderByRestriction
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int OPERATOR_ASCENDING
           
static int OPERATOR_DESCENDING
           
 
Constructor Summary
OrderByRestriction(String key, int operator_)
          Constructor.
 
Method Summary
 String getKey()
           
 int getOperator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

OrderByRestriction

public OrderByRestriction(String key,
                          int operator_)
Constructor.

Parameters:
key - string value of feature key
operator_ - type of operator for ordering: ascending or descending
Method Detail

getKey

public String getKey()
Returns:
String key of the feature

getOperator

public int getOperator()
Returns:
int type of operator for ordering: ascending or descending

GATE
Version 3.1-2270