| java.lang.Object hu.netmind.persistence.parser.WhereResolver
WhereResolver | public class WhereResolver implements Resolver(Code) | | The parser resolver. Handles resolving objects and attributes
to table names and such. This class also handles the symbol table.
author: Brautigam Robert version: Revision: $Revision$ |
Inner Class :public static class SymbolTableEntry | |
fixPrimitiveExpression | public void fixPrimitiveExpression(Expression expr)(Code) | | Fix a primitive expression. Called from parser!
The problem is expressions like this: find holder where holder.attr = 'Ni'.
If the holder.attr is an object type, and not declared 'primitive', then
the parser can not know it is meant to be primitive only when it
comes to the right term which is primitive. So in this case, we
must alter the expression to include the primitive type's table.
|
|
|