com.lonniepryor.blues.util
Interface Expression.Builder

Enclosing interface:
Expression

public static interface Expression.Builder

Strategy interface used to construct in-memory representations of an expression.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Method Summary
 java.lang.Object and(java.lang.Object left, java.lang.Object right)
          Returns an object that is the logical AND of the supplied objects.
 java.lang.Object create(java.lang.String data)
          Creates a new predicate object from the supplied string.
 java.lang.Object not(java.lang.Object value)
          Returns an object that is the logical NOT of the supplied object.
 java.lang.Object or(java.lang.Object left, java.lang.Object right)
          Returns an object that is the logical OR of the supplied objects.
 

Method Detail

or

public java.lang.Object or(java.lang.Object left,
                           java.lang.Object right)
Returns an object that is the logical OR of the supplied objects.

Parameters:
left - The left-hand predicate object to OR.
right - The right-hand predicate object to OR.
Returns:
An object that is the logical OR of the supplied objects.

and

public java.lang.Object and(java.lang.Object left,
                            java.lang.Object right)
Returns an object that is the logical AND of the supplied objects.

Parameters:
left - The left-hand predicate object to AND.
right - The right-hand predicate object to AND.
Returns:
An object that is the logical AND of the supplied objects.

not

public java.lang.Object not(java.lang.Object value)
Returns an object that is the logical NOT of the supplied object.

Parameters:
value - The predicate object to NOT.
Returns:
An object that is the logical NOT of the supplied object.

create

public java.lang.Object create(java.lang.String data)
Creates a new predicate object from the supplied string.

Parameters:
data - The predicate declaration.
Returns:
A new predicate object.


Copyright © 2003 Blues Framework. All Rights Reserved.