com.im.df.api.dml
Class Operators.SimpleTextOperator
java.lang.Object
com.im.df.api.dml.DFOperator
com.im.df.api.dml.Operators.SimpleFieldValuesOperator
com.im.df.api.dml.Operators.SimpleTextOperator
- Enclosing class:
- Operators
public static class Operators.SimpleTextOperator
- extends Operators.SimpleFieldValuesOperator
Operators.SimpleTextOperator
public Operators.SimpleTextOperator(String displayName,
String displayNameInExpression)
validate
public void validate(DFDataTree dataTree,
List<DFTerm> operands,
Map<String,Object> options,
TermErrors errors)
- Description copied from class:
DFOperator
- Validate the operands in context of this operator. It's up to operator to decide
if it accepts the given operands or not. This method is called from
DFTerm.validate(com.im.df.api.ddl.DFDataTree).
- Overrides:
validate in class Operators.SimpleFieldValuesOperator
- Parameters:
dataTree - The datatree where this operator will be usedoperands - The list of operandsoptions - Options of this query term (DFTermExpression.getOptions()errors - The errors object which contains the result of the validation
isEmptyStringAllowed
protected boolean isEmptyStringAllowed()
- Overrides:
isEmptyStringAllowed in class Operators.SimpleFieldValuesOperator