|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.QueryCondition
A single query condition.
| Field Summary | |
protected java.lang.String |
operator
An operator used for retrieval. |
protected java.lang.String |
path
An XPath expression or an alias. |
protected java.lang.String |
value
A comparison value. |
| Constructor Summary | |
QueryCondition()
Creates a new, empty object. |
|
QueryCondition(java.lang.String condition)
Creates a new object by parsing the XIRQL condition string. |
|
QueryCondition(java.lang.String path,
java.lang.String operator,
java.lang.String value)
Creates a new object. |
|
| Method Summary | |
QueryNode |
cloneNode()
Clones this node. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getOperator()
Returns the operator. |
java.lang.String |
getPath()
Returns the path. |
java.lang.String |
getValue()
Returns the value. |
int |
hashCode()
|
boolean |
isDF()
Returns true iff the node is in disjunctive form. |
java.util.Iterator |
iterator()
Returns an iterator over the children of this node. |
protected void |
parse(java.lang.String condition)
Fills this instance by parsing the XIRQL condition string. |
void |
setOperator(java.lang.String operator)
Sets the operator. |
void |
setPath(java.lang.String path)
Sets the path. |
void |
setValue(java.lang.String value)
Sets the value. |
QueryNode |
simplifiedNode()
Simplifies this node. |
QueryNode |
toDF()
Converts the node and its subtree into disjunctive form. |
java.lang.String |
toPrefix()
Returns the node in prefix notation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String path
protected java.lang.String operator
protected java.lang.String value
| Constructor Detail |
public QueryCondition()
public QueryCondition(java.lang.String condition)
condition - XIRQL condition string
public QueryCondition(java.lang.String path,
java.lang.String operator,
java.lang.String value)
path - pathoperator - namevalue - comparison value| Method Detail |
protected void parse(java.lang.String condition)
condition - XIRQL condition stringpublic java.lang.String getOperator()
public void setOperator(java.lang.String operator)
operator - operator to set.public java.lang.String getPath()
public void setPath(java.lang.String path)
path - path to set.public java.lang.String getValue()
public void setValue(java.lang.String value)
value - value to set.public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
public java.lang.String toPrefix()
QueryNode
toPrefix in interface QueryNodepublic QueryNode simplifiedNode()
QueryNode
simplifiedNode in interface QueryNodepublic QueryNode toDF()
QueryNode
toDF in interface QueryNodepublic boolean isDF()
QueryNode
isDF in interface QueryNodepublic java.util.Iterator iterator()
QueryNode
iterator in interface QueryNodepublic QueryNode cloneNode()
QueryNode
cloneNode in interface QueryNode
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||