Class IfEmptyString

java.lang.Object
com.googlecode.objectify.condition.ValueIf<String>
com.googlecode.objectify.condition.IfEmptyString
All Implemented Interfaces:
If<String,Object>

public class IfEmptyString extends ValueIf<String>

Simple If condition that returns true if the value is an empty string. Note that a null string still returns false.

Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Constructor Details

    • IfEmptyString

      public IfEmptyString()
  • Method Details

    • matchesValue

      public boolean matchesValue(String value)
      Description copied from interface: If
      Test a simple property value.
      Parameters:
      value - is the actual value of a particular field
      Returns:
      true if the value matches the condition defined by an instance of this interface.