com.ibm.websphere.brb.query
Class AbstractIntegerNode

java.lang.Object
  |
  +--com.ibm.websphere.brb.query.QueryNode
        |
        +--com.ibm.websphere.brb.query.AttributeNode
              |
              +--com.ibm.websphere.brb.query.AbstractIntegerNode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PrecedenceNode

public abstract class AbstractIntegerNode
extends AttributeNode

A common interface for querying rule attributes that represent an integer. This class contains several constants that define the type of queries that can be performed. For example, you can search for rules with a integer attribute equal to the given integer. To do so, use the constant EQUAL. You can search for integer attributes that are less than the given value, greater than the given value, etc. See the constants defined below.

See Also:
Serialized Form

Field Summary
static int EQUAL
          Find rules where the attribute equals the specified integer.
static int GREATER_THAN
          Find rules where the attribute is greater than the specified integer.
static int GREATER_THAN_EQUAL
          Find rules where the attribute is greater than or equal to the specified integer.
static int LESS_THAN
          Find rules where the attribute is less than the specified integer.
static int LESS_THAN_EQUAL
          Find rules where the attribute is less than or equal to the specified integer.
static int NOT_EQUAL
          Find rules where the attribute does not equal the specified integer.
 
Method Summary
 void buildWhereClause(java.lang.StringBuffer sb, java.util.Vector boundAttributes)
          FOR IBM INTERNAL USE ONLY.
 
Methods inherited from class com.ibm.websphere.brb.query.QueryNode
getWhereClause, 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
Find rules where the attribute equals the specified integer.

NOT_EQUAL

public static final int NOT_EQUAL
Find rules where the attribute does not equal the specified integer.

LESS_THAN

public static final int LESS_THAN
Find rules where the attribute is less than the specified integer.

LESS_THAN_EQUAL

public static final int LESS_THAN_EQUAL
Find rules where the attribute is less than or equal to the specified integer.

GREATER_THAN

public static final int GREATER_THAN
Find rules where the attribute is greater than the specified integer.

GREATER_THAN_EQUAL

public static final int GREATER_THAN_EQUAL
Find rules where the attribute is greater than or equal to the specified integer.
Method Detail

buildWhereClause

public void buildWhereClause(java.lang.StringBuffer sb,
                             java.util.Vector boundAttributes)
FOR IBM INTERNAL USE ONLY.