|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.QueryCondition
de.unidu.is.retrieval.WeightedQueryCondition
A weighted query condition.
| Field Summary | |
protected double |
weight
Condition weight. |
| Fields inherited from class de.unidu.is.retrieval.QueryCondition |
operator, path, value |
| Constructor Summary | |
WeightedQueryCondition()
Creates a new object. |
|
WeightedQueryCondition(double weight,
java.lang.String path,
java.lang.String operator,
java.lang.String value)
Creates a new object. |
|
WeightedQueryCondition(java.lang.String condition)
Creates a new object by parsing the XIRQL condition string. |
|
WeightedQueryCondition(java.lang.String path,
java.lang.String operator,
java.lang.String value)
Creates a new object. |
|
| Method Summary | |
double |
getWeight()
Returns the weight. |
protected void |
parse(java.lang.String condition)
Fills this instance by parsing the XIRQL condition string. |
void |
setWeight(double weight)
Sets the weight. |
java.lang.String |
toString()
|
| Methods inherited from class de.unidu.is.retrieval.QueryCondition |
cloneNode, equals, getOperator, getPath, getValue, hashCode, isDF, iterator, setOperator, setPath, setValue, simplifiedNode, toDF, toPrefix |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected double weight
| Constructor Detail |
public WeightedQueryCondition()
public WeightedQueryCondition(java.lang.String condition)
condition - XIRQL condition string
public WeightedQueryCondition(java.lang.String path,
java.lang.String operator,
java.lang.String value)
path - pathoperator - namevalue - comparison value
public WeightedQueryCondition(double weight,
java.lang.String path,
java.lang.String operator,
java.lang.String value)
weight - condition weightpath - pathoperator - namevalue - comparison value| Method Detail |
public double getWeight()
public void setWeight(double weight)
weight - weight to set.public java.lang.String toString()
toString in class QueryConditionprotected void parse(java.lang.String condition)
QueryCondition
parse in class QueryConditioncondition - XIRQL condition string
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||