|
Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference 11g Release 1 (11.1.1) E12853-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.imaging.Search.Node
public abstract static class Search.Node
The Search.Node class provides the structure for a recursive structuring of the search expression. This class contains a left operand a logical searchOperator and a right operand. Each operand is also a Search.Node. The two classes that implement the behavior for this structure are:
Search$Condition
The concret leaf element of the search.Search$Conjunction
The concrete node element of the search.The search structure allows the logical building of a binary logic tree. This class implements\ the common behavior of the tree allowing the tree to be transversed in a left to right manner.
Nested Class Summary | |
---|---|
static class |
Search.Node.NodePk FOR INTERNAL USE ONLY |
Field Summary | |
---|---|
protected long |
leftId |
protected Search.Node |
leftOperand |
protected long |
rightId |
protected Search.Node |
rightOperand |
protected Search |
search |
protected long |
searchNodeId |
protected Search.Operator |
searchOperator |
Constructor Summary | |
---|---|
Search.Node() Default Constructor required for JAXB serialization. |
Method Summary | |
---|---|
boolean |
getAlwaysDisplayParentheses() Returns the setting of the hint to always display parentheses around this node of a search expression. |
Search.Node |
getLeftOperand() Obtain the Left Operand for this object. |
Search.Node |
getRightOperand() Obtain the Right Operand for this object. |
Search.Operator |
getSearchOperator() Get the current Search Operator for this object. |
boolean |
isLeaf() A flag indicating whether this is a node or a leaf. |
abstract boolean |
isValidOperator() Tests the search searchOperator for validity. |
void |
setAlwaysDisplayParentheses(boolean alwaysDisplayParentheses) Enables or disables the hint to always display parentheses around this node of a search expression whenever the search expression is displayed. |
void |
setLeftOperand(Search.Node leftOperand) The Left Operand for this node. |
void |
setRightOperand(Search.Node rightOperand) The Right Operand for this node. |
void |
setSearchOperator(Search.Operator searchOperator) Saves the search searchOperator for this node of the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Search search
protected long searchNodeId
protected long rightId
protected long leftId
protected Search.Node leftOperand
protected Search.Node rightOperand
protected Search.Operator searchOperator
Constructor Detail |
---|
public Search.Node()
Method Detail |
---|
public Search.Node getLeftOperand()
public Search.Node getRightOperand()
public Search.Operator getSearchOperator()
public void setAlwaysDisplayParentheses(boolean alwaysDisplayParentheses)
alwaysDisplayParentheses
- true to always display parentheses; false otherwisepublic boolean getAlwaysDisplayParentheses()
public boolean isLeaf()
public abstract boolean isValidOperator()
Search$Operator
values are valid for that subclass.true
if the Search$Operator
is valid.public void setSearchOperator(Search.Operator searchOperator)
searchOperator
- The logical search searchOperator for this node.public void setLeftOperand(Search.Node leftOperand)
Search$Condition
or Search$Conjunction
leftOperand
- The left side of the logical expression.public void setRightOperand(Search.Node rightOperand)
Search$Condition
or Search$Conjunction
rightOperand
- The right side of the logical expression.
|
Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference 11g Release 1 (11.1.1) E12853-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |