org.jboss.mq.selectors
Class Operator

java.lang.Object
  extended byorg.jboss.mq.selectors.Operator

public class Operator
extends java.lang.Object

An operator for the selector system.


Field Summary
static int ADD
           
static int AND
           
static int BETWEEN
           
static int BOOLEAN
           
static int DIFFERENT
           
static int DIV
           
static int DOUBLE
           
static int EQUAL
           
static int GE
           
static int GT
           
static int IN
           
static int IS_NOT_NULL
           
static int IS_NULL
           
static int LE
           
static int LIKE
           
static int LIKE_ESCAPE
           
static int LONG
           
static int LT
           
static int MUL
           
static int NEG
           
static int NOT
           
static int NOT_BETWEEN
           
static int NOT_IN
           
static int NOT_LIKE
           
static int NOT_LIKE_ESCAPE
           
static int OR
           
static int STRING
           
static int SUB
           
 
Constructor Summary
Operator(int operation, java.lang.Object oper1)
           
Operator(int operation, java.lang.Object oper1, java.lang.Object oper2)
           
Operator(int operation, java.lang.Object oper1, java.lang.Object oper2, java.lang.Object oper3)
           
 
Method Summary
 java.lang.Object apply()
           
 java.lang.String print(java.lang.String level)
           
 void throwBadObjectException(java.lang.Class class1)
           
 void throwBadObjectException(int class1)
           
 void throwBadObjectException(int class1, int class2)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EQUAL

public static final int EQUAL
See Also:
Constant Field Values (src)

NOT

public static final int NOT
See Also:
Constant Field Values (src)

AND

public static final int AND
See Also:
Constant Field Values (src)

OR

public static final int OR
See Also:
Constant Field Values (src)

GT

public static final int GT
See Also:
Constant Field Values (src)

GE

public static final int GE
See Also:
Constant Field Values (src)

LT

public static final int LT
See Also:
Constant Field Values (src)

LE

public static final int LE
See Also:
Constant Field Values (src)

DIFFERENT

public static final int DIFFERENT
See Also:
Constant Field Values (src)

ADD

public static final int ADD
See Also:
Constant Field Values (src)

SUB

public static final int SUB
See Also:
Constant Field Values (src)

NEG

public static final int NEG
See Also:
Constant Field Values (src)

MUL

public static final int MUL
See Also:
Constant Field Values (src)

DIV

public static final int DIV
See Also:
Constant Field Values (src)

BETWEEN

public static final int BETWEEN
See Also:
Constant Field Values (src)

NOT_BETWEEN

public static final int NOT_BETWEEN
See Also:
Constant Field Values (src)

LIKE

public static final int LIKE
See Also:
Constant Field Values (src)

NOT_LIKE

public static final int NOT_LIKE
See Also:
Constant Field Values (src)

LIKE_ESCAPE

public static final int LIKE_ESCAPE
See Also:
Constant Field Values (src)

NOT_LIKE_ESCAPE

public static final int NOT_LIKE_ESCAPE
See Also:
Constant Field Values (src)

IS_NULL

public static final int IS_NULL
See Also:
Constant Field Values (src)

IS_NOT_NULL

public static final int IS_NOT_NULL
See Also:
Constant Field Values (src)

IN

public static final int IN
See Also:
Constant Field Values (src)

NOT_IN

public static final int NOT_IN
See Also:
Constant Field Values (src)

STRING

public static final int STRING
See Also:
Constant Field Values (src)

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values (src)

LONG

public static final int LONG
See Also:
Constant Field Values (src)

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values (src)
Constructor Detail

Operator

public Operator(int operation,
                java.lang.Object oper1,
                java.lang.Object oper2,
                java.lang.Object oper3)

Operator

public Operator(int operation,
                java.lang.Object oper1,
                java.lang.Object oper2)

Operator

public Operator(int operation,
                java.lang.Object oper1)
Method Detail

toString

public java.lang.String toString()

print

public java.lang.String print(java.lang.String level)

apply

public java.lang.Object apply()
                       throws java.lang.Exception
Throws:
java.lang.Exception

throwBadObjectException

public void throwBadObjectException(java.lang.Class class1)
                             throws java.lang.Exception
Throws:
java.lang.Exception

throwBadObjectException

public void throwBadObjectException(int class1)
                             throws java.lang.Exception
Throws:
java.lang.Exception

throwBadObjectException

public void throwBadObjectException(int class1,
                                    int class2)
                             throws java.lang.Exception
Throws:
java.lang.Exception