Class Operators.NullOperator

    • Constructor Detail

      • NullOperator

        public NullOperator​(java.lang.String persistName,
                            java.lang.String displayName)
    • Method Detail

      • isFieldAcceptableAsOperand

        public boolean isFieldAcceptableAsOperand​(DFField field)
        Description copied from class: DFOperator
        This is just an utility method which must be implemented by subclasses. It tests if the given field is acceptable as operand for this DFOperator. It can return true even for fields which are recognized as invalid later. This is just rough test in the beginning of validation to filter inappropriate fields.

        For example some operator takes two operands of different types (text, integer,...), but both must be of the same type. In this case this method returns true for all text, integer etc. fields, but if you use combination of [text, integer] as operands, it will be invalid.

        isFieldAcceptableAsOperand in class Operators.SimpleFieldValuesOperator
        field - The field to be tested
        True if field seems to be acceptable, false otherwise.