com.googlecode.objectify.condition
Class IfEmptyString

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

public class IfEmptyString
extends ValueIf<java.lang.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

Constructor Summary
IfEmptyString()
           
 
Method Summary
 boolean matches(java.lang.String value)
          Override this method to test a field value for your condition.
 
Methods inherited from class com.googlecode.objectify.condition.ValueIf
matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfEmptyString

public IfEmptyString()
Method Detail

matches

public boolean matches(java.lang.String value)
Description copied from class: ValueIf
Override this method to test a field value for your condition. For example, for a class IfNull, return true if the value is null.

Specified by:
matches in class ValueIf<java.lang.String>


Copyright © 2011 Jeff Schnitzer and a gang of pirates. All Rights Reserved. Build version: 3.1