com.ibm.websphere.brb.query
Class AbstractDateNode

java.lang.Object
  extended bycom.ibm.websphere.brb.query.QueryNode
      extended bycom.ibm.websphere.brb.query.AttributeNode
          extended bycom.ibm.websphere.brb.query.AbstractDateNode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EndDateNode, StartDateNode

public abstract class AbstractDateNode
extends AttributeNode

A common interface for querying rule attributes that represent a date. This class contains several constants that define the type of queries that can be performed. For example, you can search for rules with a date attribute equal to the given date. To do so, use the constant EQUAL. You can search for dates that are before the given date, after the given date, where the date is null, etc. See the constants defined below.

See Also:
Serialized Form

Field Summary
static int AFTER_EXCLUSIVE
          Find rules where the date attribute is strictly after the specified date.
static int AFTER_INCLUSIVE
          Find rules where the attribute is on or after the specified date.
static int BEFORE_EXCLUSIVE
          Find rules where the date attribute is strictly before the specified date.
static int BEFORE_INCLUSIVE
          Find rules where the attribute is on or before the specified date.
static int EQUAL
          Find rules where the date attribute equals the specified date.
static int IS_NOT_NULL
          Find rules where the date attribute is not null.
static int IS_NULL
          Find rules where the date attribute is null.
static int NOT_EQUAL
          Find rules where the attribute does not equal the specified date.
 
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 date attribute equals the specified date.

See Also:
Constant Field Values

NOT_EQUAL

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

See Also:
Constant Field Values

BEFORE_EXCLUSIVE

public static final int BEFORE_EXCLUSIVE
Find rules where the date attribute is strictly before the specified date.

See Also:
Constant Field Values

BEFORE_INCLUSIVE

public static final int BEFORE_INCLUSIVE
Find rules where the attribute is on or before the specified date.

See Also:
Constant Field Values

AFTER_EXCLUSIVE

public static final int AFTER_EXCLUSIVE
Find rules where the date attribute is strictly after the specified date.

See Also:
Constant Field Values

AFTER_INCLUSIVE

public static final int AFTER_INCLUSIVE
Find rules where the attribute is on or after the specified date.

See Also:
Constant Field Values

IS_NULL

public static final int IS_NULL
Find rules where the date attribute is null.

See Also:
Constant Field Values

IS_NOT_NULL

public static final int IS_NOT_NULL
Find rules where the date attribute is not null.

See Also:
Constant Field Values
Method Detail

buildWhereClause

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