de.mguennewig.pobjects
Interface Term

All Known Subinterfaces:
Condition
All Known Implementing Classes:
Cast, FctCall, Junction, Literal, LiteralSet, Member, Predicate

public interface Term

Interface of all entries that can appear in a boolean expression as part of a query.

Author:
Michael Günnewig

Method Summary
 java.lang.String getSqlValue(EvalContext eval)
          Returns the SQL expression for this term.
 boolean isConstant()
          Tests whether the expression can be evaluated without an object.
 boolean isJoin()
          Tests whether this expression enforces any kind of join.
 boolean isSelection()
          Tests whether this expression is a selection.
 

Method Detail

getSqlValue

java.lang.String getSqlValue(EvalContext eval)
Returns the SQL expression for this term.


isConstant

boolean isConstant()
Tests whether the expression can be evaluated without an object.


isJoin

boolean isJoin()
Tests whether this expression enforces any kind of join.


isSelection

boolean isSelection()
Tests whether this expression is a selection.

With selection is an expression meant that binds a Member to one Literal.