|
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.CompositionCondition
Represents a condition that is composed out of a couple of other conditions.
Field Summary | |
protected Condition[] |
subConditions
A field holding the subconditions. |
Constructor Summary | |
CompositionCondition()
Creates an empty, composed condition (with no subconditions). |
|
CompositionCondition(Condition subCondition)
Creates a composed condition using one certain subcondition. |
|
CompositionCondition(Condition[] subConditions)
Creates a composed condition using certain subconditions. |
Method Summary | |
void |
add(Condition subCondition)
Adds a new subcondition to this condition. |
Condition |
compact()
Returns a copy of this condition that is compacted. |
String |
toString()
Returns this condition's string representation. |
Methods inherited from class eworks.RQL.model.Condition |
matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Condition[] subConditions
Constructor Detail |
public CompositionCondition()
public CompositionCondition(Condition[] subConditions)
subConditions
- This condition's subconditions.public CompositionCondition(Condition subCondition)
subCondition
- This condition's only subcondition.Method Detail |
public void add(Condition subCondition)
subCondition
- The subcondition to add.public String toString()
toString
in class Condition
public Condition compact()
compact()
-method of each contained
subcondition.
compact
in class Condition
null
if this
condition is not needed (because it always evaluates to true).
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |