|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.criterion.Criterion<UJO>
org.ujoframework.criterion.BinaryCriterion<UJO>
public class BinaryCriterion<UJO extends Ujo>
The BinaryCriterion implementation allows to join two another Criterions into the binary tree.
| Constructor Summary | |
|---|---|
BinaryCriterion(Criterion<UJO> criterion1,
BinaryOperator operator,
Criterion<UJO> criterion2)
|
|
| Method Summary | |
|---|---|
boolean |
evaluate(UJO ujo)
|
Criterion<UJO> |
getLeftNode()
Returns the left node of the parrent |
BinaryOperator |
getOperator()
Returns an operator |
Criterion<UJO> |
getRightNode()
Returns the right node of the parrent |
boolean |
isBinary()
Is it a Binary Criterion |
java.lang.String |
toString()
|
| Methods inherited from class org.ujoframework.criterion.Criterion |
|---|
and, constant, join, newInstance, newInstance, newInstance, newInstance, newInstance, newInstanceFalse, newInstanceTrue, not, or, where, where, where, where, where, whereIn, whereIn, whereNotIn, whereNotIn, whereNotNull, whereNull |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryCriterion(Criterion<UJO> criterion1,
BinaryOperator operator,
Criterion<UJO> criterion2)
| Method Detail |
|---|
public final Criterion<UJO> getLeftNode()
getLeftNode in class Criterion<UJO extends Ujo>public final Criterion<UJO> getRightNode()
getRightNode in class Criterion<UJO extends Ujo>public final BinaryOperator getOperator()
getOperator in class Criterion<UJO extends Ujo>public boolean evaluate(UJO ujo)
evaluate in class Criterion<UJO extends Ujo>public final boolean isBinary()
isBinary in class Criterion<UJO extends Ujo>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||