|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gvsig.tools.evaluator.AbstractEvaluator org.gvsig.tools.evaluator.AndEvaluator
public class AndEvaluator
This evaluator is a set of evaluators that are applied used the and
operator. It means that the evaluate method only returns true
if all the evaluators return true
.
A condition to use this type of evaluators is that the evaluate method of all the single evaluators has to return a boolean value.
Constructor Summary | |
---|---|
AndEvaluator(Evaluator evaluator)
|
Method Summary | |
---|---|
void |
addEvaluator(Evaluator evaluator)
|
Object |
evaluate(EvaluatorData data)
Evaluate with the data passed as parameter. |
String |
getName()
Get the symbolic name of the evaluator. |
String |
getSQL()
Get a SQL representation of the evaluator. |
Methods inherited from class org.gvsig.tools.evaluator.AbstractEvaluator |
---|
getDescription, getFieldsInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndEvaluator(Evaluator evaluator)
Method Detail |
---|
public Object evaluate(EvaluatorData data) throws EvaluatorException
Evaluator
EvaluatorException
public String getName()
Evaluator
public void addEvaluator(Evaluator evaluator)
public String getSQL()
Evaluator
getSQL
in interface Evaluator
getSQL
in class AbstractEvaluator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |