com.im.df.api 5.9

com.im.df.api.dml
Class Operators.SimpleTextOperator

java.lang.Object
  extended by com.im.df.api.dml.DFOperator
      extended by com.im.df.api.dml.Operators.SimpleFieldValuesOperator
          extended by com.im.df.api.dml.Operators.SimpleTextOperator
Enclosing class:
Operators

public static class Operators.SimpleTextOperator
extends Operators.SimpleFieldValuesOperator


Constructor Summary
Operators.SimpleTextOperator(String displayName, String displayNameInExpression)
           
 
Method Summary
protected  boolean isEmptyStringAllowed()
           
 void validate(DFDataTree dataTree, List<DFTerm> operands, Map<String,Object> options, TermErrors errors)
          Validate the operands in context of this operator.
 
Methods inherited from class com.im.df.api.dml.Operators.SimpleFieldValuesOperator
getReturnType, getValidFormatMsg, isFieldAcceptableAsOperand, parseOperands
 
Methods inherited from class com.im.df.api.dml.DFOperator
correctNumberOfOperands, getDisplayName, getDisplayNameInExpression, getMaxOperands, getMinOperands, getToStringPart, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Operators.SimpleTextOperator

public Operators.SimpleTextOperator(String displayName,
                                    String displayNameInExpression)
Method Detail

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 used
operands - The list of operands
options - 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

com.im.df.api 5.9