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

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

public abstract class AbstractExpression
extends java.lang.Object
implements IExpression

See Also:
Serialized Form

Constructor Summary
AbstractExpression()
           
 
Method Summary
 boolean canUseIndex()
           
 IQuery getQuery()
          Gets thes whole query
 void setQuery(IQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.neodatis.odb.core.query.criteria.ICriterion
getAllInvolvedFields, getValues, match, ready
 

Constructor Detail

AbstractExpression

public AbstractExpression()
Method Detail

getQuery

public IQuery getQuery()
Gets thes whole query

Specified by:
getQuery in interface ICriterion
Returns:
The owner query

setQuery

public void setQuery(IQuery query)
Specified by:
setQuery in interface ICriterion

canUseIndex

public boolean canUseIndex()
Specified by:
canUseIndex in interface ICriterion