com.townleyenterprises.filter
Class QueryOperator

java.lang.Object
  extended bycom.townleyenterprises.filter.QueryOperator
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public final class QueryOperator
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

This class enumerates the operators supported by the QueryFilter. The names of the operators are influenced by those supported by the Unix test command.

Since:
2.0
Version:
$Id: QueryOperator.java,v 1.3 2004/07/28 10:33:58 atownley Exp $
Author:
Andrew S. Townley
See Also:
Serialized Form

Field Summary
static QueryOperator EQ
          equal to (=)
static QueryOperator GE
          greater than or equal to (>=)
static QueryOperator GT
          greater than (>)
static QueryOperator LE
          less than or equal to (<=)
static QueryOperator LT
          less than (<)
static QueryOperator NE
          not equal to (!=)
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GT

public static final QueryOperator GT
greater than (>)


LT

public static final QueryOperator LT
less than (<)


GE

public static final QueryOperator GE
greater than or equal to (>=)


LE

public static final QueryOperator LE
less than or equal to (<=)


EQ

public static final QueryOperator EQ
equal to (=)


NE

public static final QueryOperator NE
not equal to (!=)

Method Detail

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.