org.neodatis.odb.impl.core.query.criteria
Class IsNullCriterion

java.lang.Object
  extended by org.neodatis.odb.core.query.criteria.AbstractCriterion
      extended by org.neodatis.odb.impl.core.query.criteria.IsNullCriterion
All Implemented Interfaces:
java.io.Serializable, ICriterion

public class IsNullCriterion
extends AbstractCriterion

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neodatis.odb.core.query.criteria.AbstractCriterion
attributeName
 
Constructor Summary
IsNullCriterion(java.lang.String attributeName)
           
 
Method Summary
 AttributeValuesMap getValues()
           
 boolean match(java.lang.Object valueToMatch)
          To check if an object matches this criterion
 void ready()
          a method to explicitly indicate that the criteria is ready.
 
Methods inherited from class org.neodatis.odb.core.query.criteria.AbstractCriterion
and, canUseIndex, getAllInvolvedFields, getAttributeName, getQuery, match, match, not, or, setAttributeName, setQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNullCriterion

public IsNullCriterion(java.lang.String attributeName)
Method Detail

match

public boolean match(java.lang.Object valueToMatch)
Description copied from interface: ICriterion
To check if an object matches this criterion

Specified by:
match in interface ICriterion
Specified by:
match in class AbstractCriterion
Returns:
true if object matches the criteria TODO create a math(AttributeValuesMap)

getValues

public AttributeValuesMap getValues()

ready

public void ready()
Description copied from interface: ICriterion
a method to explicitly indicate that the criteria is ready.