Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Help
12c (12.1.2)

E48720-01


oracle.help.common.search
Interface SearchExpression

All Known Implementing Classes:
BooleanExpression, StringExpression

public interface SearchExpression

SearchExpression defines the interface that the boolean search expressions must implement. StringExpression and BooleanExpression implement this interface. StringExpression is the base of a BooleanExpression that can be evaluated. BooleanExpression is a recursive tree structure which has either more BooleanExpressions as nodes -or- StringExpressions.


Field Summary
static int AND
           
static int NAND
           
static int NONE
           
static int NOT
           
static int OR
           

 

Method Summary
 java.lang.String[] getData()
          Returns the data associated with the expression.
 SearchExpression getExpression1()
          Returns the expression1 in a boolean operation of the form expr1 OP expr2 (where OP is any boolean operator)
 SearchExpression getExpression2()
          Returns the expression2 in a boolean operation of the form expr1 OP expr2 (where OP is any boolean operator)
 int getOperator()
          Returns the boolean operator associated with this operand.
 boolean isCaseSensitive()
          Returns true if the SearchExpression is case sensitive, and false otherwise.
 void print()
          Prints the operands.

 

Field Detail

NONE

static final int NONE
See Also:
Constant Field Values

AND

static final int AND
See Also:
Constant Field Values

OR

static final int OR
See Also:
Constant Field Values

NOT

static final int NOT
See Also:
Constant Field Values

NAND

static final int NAND
See Also:
Constant Field Values

Method Detail

getOperator

int getOperator()
Returns the boolean operator associated with this operand.

getExpression1

SearchExpression getExpression1()
Returns the expression1 in a boolean operation of the form expr1 OP expr2 (where OP is any boolean operator)

getExpression2

SearchExpression getExpression2()
Returns the expression2 in a boolean operation of the form expr1 OP expr2 (where OP is any boolean operator)

getData

java.lang.String[] getData()
Returns the data associated with the expression. This is only useful for the base case (StringExpression).

isCaseSensitive

boolean isCaseSensitive()
Returns true if the SearchExpression is case sensitive, and false otherwise.

print

void print()
Prints the operands. This is primarily used for debugging purpose.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Help
12c (12.1.2)

E48720-01


Copyright © 1998, 2013, Oracle. All Rights Reserved.