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

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

public class And
extends ComposedExpression

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neodatis.odb.core.query.criteria.ComposedExpression
criteria
 
Constructor Summary
And()
           
 
Method Summary
 boolean canUseIndex()
           
 boolean match(java.lang.Object object)
          To check if an object matches this criterion
 java.lang.String toString()
           
 
Methods inherited from class org.neodatis.odb.core.query.criteria.ComposedExpression
add, getAllInvolvedFields, getCriterion, getNbCriteria, getValues, isEmpty, ready, setQuery
 
Methods inherited from class org.neodatis.odb.core.query.criteria.AbstractExpression
getQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

And

public And()
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

canUseIndex

public boolean canUseIndex()
Specified by:
canUseIndex in interface ICriterion
Overrides:
canUseIndex in class AbstractExpression