|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecteworks.RQL.model.Condition
eworks.RQL.model.ComparisonCondition
Represents a condition that compares two values against each other.
| Field Summary | |
protected CompareOperator |
op
The operator used to compare both values against each other. |
protected Value |
op1
The first value to compare. |
protected Value |
op2
The second value to compare. |
| Constructor Summary | |
ComparisonCondition(Value op1,
CompareOperator op,
Value op2)
Creates a new comparison condition using two certain values and a certain operator. |
|
| Method Summary | |
boolean |
matches(SymbolTable symbols)
Checks if this condition is satisfied by both values, using a certain symbol table. |
String |
toString()
Returns this condition's string representation. |
| Methods inherited from class eworks.RQL.model.Condition |
compact |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Value op1
protected Value op2
protected CompareOperator op
| Constructor Detail |
public ComparisonCondition(Value op1,
CompareOperator op,
Value op2)
op1 - The first value to compare.op - The operator used to compare both values against each other.op2 - The second value to compare.| Method Detail |
public boolean matches(SymbolTable symbols)
throws VariableNotBoundException
matches in class Conditionsymbols - The symbol table to use.
true if this condition is satisfied,
false else.
VariableNotBoundException - if one or both of this condition's
values are not bound by the given symbol table.public String toString()
toString in class Condition
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||