org.neodatis.odb.core.query.criteria
Class Not

java.lang.Object
  extended by org.neodatis.odb.core.query.criteria.AbstractExpression
      extended by org.neodatis.odb.core.query.criteria.Not
All Implemented Interfaces:
java.io.Serializable, ICriterion, IExpression

public class Not
extends AbstractExpression

See Also:
Serialized Form

Constructor Summary
Not(ICriterion criterion)
           
 
Method Summary
 IOdbList<java.lang.String> getAllInvolvedFields()
          to be able to optimize query execution.
 AttributeValuesMap getValues()
           
 boolean match(java.lang.Object object)
          To check if an object matches this criterion
 void ready()
          a method to explicitly indicate that the criteria is ready.
 java.lang.String toString()
           
 
Methods inherited from class org.neodatis.odb.core.query.criteria.AbstractExpression
canUseIndex, getQuery, setQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Not

public Not(ICriterion criterion)
Method Detail

match

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

Returns:
true if object matches the criteria TODO create a math(AttributeValuesMap)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAllInvolvedFields

public IOdbList<java.lang.String> getAllInvolvedFields()
Description copied from interface: ICriterion
to be able to optimize query execution. Get only the field involved in the query instead of getting all the object

Returns:
All involved fields in criteria, List of String

getValues

public AttributeValuesMap getValues()

ready

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