gate.util
Class Restriction
java.lang.Object
gate.util.Restriction
- All Implemented Interfaces:
- Serializable
public class Restriction
- 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_EQUATION
public static final int OPERATOR_EQUATION
- See Also:
- Constant Field Values
OPERATOR_LESS
public static final int OPERATOR_LESS
- See Also:
- Constant Field Values
OPERATOR_BIGGER
public static final int OPERATOR_BIGGER
- See Also:
- Constant Field Values
OPERATOR_EQUATION_OR_BIGGER
public static final int OPERATOR_EQUATION_OR_BIGGER
- See Also:
- Constant Field Values
OPERATOR_EQUATION_OR_LESS
public static final int OPERATOR_EQUATION_OR_LESS
- See Also:
- Constant Field Values
OPERATOR_LIKE
public static final int OPERATOR_LIKE
- See Also:
- Constant Field Values
Restriction
public Restriction(String key,
Object value,
int operator_)
- Constructor.
- Parameters:
key
- string value of a feature key in document.value
- value of a feature with this keyoperator_
- type of operator for comparison in query
getValue
public Object getValue()
- Returns:
- Object value of feature
getStringValue
public String getStringValue()
- Returns:
- String string value og feature
getKey
public String getKey()
- Returns:
- String string value of the feature key
getOperator
public int getOperator()
- Returns:
- int type of operator