|
Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 |
|||||||
| 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$ConditionThe concret leaf element of the search.Search$ConjunctionThe 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.NodePkFOR 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$Operatorvalues are valid for that subclass.true if the Search$Operatoris 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$ConjunctionleftOperand - The left side of the logical expression.public void setRightOperand(Search.Node rightOperand)
Search$Condition or Search$ConjunctionrightOperand - The right side of the logical expression.
|
Oracle® WebCenter Content Java API Reference for Imaging 11g Release 1 (11.1.1) E12853-03 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||