Class IsEmptyExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class IsEmptyExpression
    extends AbstractExpression
    Deprecated.
    Use a Formula Instead
    Checks whether a field is empty. A field is considered empty, if it contains the value 'null', or an string that is empty or only consists of whitespaces or a number that evaluates to zero.
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • IsEmptyExpression

        public IsEmptyExpression()
        Deprecated.
        Default constructor.
    • Method Detail

      • getField

        public String getField()
        Deprecated.
        Returns the name of the field from where to read the value.
        Returns:
        the field.
      • setField

        public void setField​(String field)
        Deprecated.
        Defines the name of the field from where to read the value.
        Parameters:
        field - the field.
      • getValue

        public Object getValue()
        Deprecated.
        Return the current expression value.

        The value depends (obviously) on the expression implementation.

        Returns:
        the value of the function.