|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.criterion.Criterion<UJO>
org.ujorm.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)
Apply the criterion to the UJO object |
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.ujorm.criterion.Criterion |
|---|
and, constant, evaluate, evaluate, forAll, forNone, forSql, join, newInstance, newInstance, newInstance, newInstance, 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)
Criterion
evaluate in class Criterion<UJO extends Ujo>true in case the ujo object satisfies the condition.public final boolean isBinary()
isBinary in class Criterion<UJO extends Ujo>public java.lang.String toString()
toString in class java.lang.Object
|
Ujorm release 1.22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||