| |
|
| java.lang.Object org.jpox.store.expression.ScalarExpression org.jpox.store.expression.ClassExpression
ClassExpression | public class ClassExpression extends ScalarExpression (Code) | | An expression representing a class.
This is used as follows :-
- JDOQL : access public static final fields. Here we invoke accessField on the ClassExpression.
- JDOQL : use the "instanceof" operator. Here we invoke instanceOf on an ObjectExpression pass in a ClassExpression
- JPQL : process the FROM candidates so each candidate is a ClassExpression.
Here we set the join(s) for later processing
version: $Revision: 1.12 $ |
ClassExpression | public ClassExpression(QueryExpression qs, Class cls)(Code) | | Constructor.
Parameters: qs - The Query Statement Parameters: cls - The class |
accessField | public ScalarExpression accessField(String fieldName, boolean innerJoin)(Code) | | Method called when wanting to call public static final methods on the class.
Parameters: fieldName - Name of the public static final field Parameters: innerJoin - Not used Expression for the field access |
getCls | public Class getCls()(Code) | | Accessor for the class being represented.
The class |
getJoins | public JoinExpression[] getJoins()(Code) | | Accessor for the join expression(s) for this class.
Join expressions |
|
|
|