FileDocCategorySizeDatePackage
AnyNode.javaAPI DocGlassfish v2 API2939Tue May 22 16:54:36 BST 2007oracle.toplink.essentials.internal.parsing

AnyNode

public class AnyNode extends Node
INTERNAL

Purpose: Represent an ANY subquery.

Fields Summary
Constructors Summary
public AnyNode()
Return a new AnyNode.

        super();
    
Methods Summary
public oracle.toplink.essentials.expressions.ExpressiongenerateExpression(oracle.toplink.essentials.internal.parsing.GenerationContext context)
INTERNAL Generate the TopLink expression for this node

        SubqueryNode subqueryNode = (SubqueryNode)getLeft();
        ReportQuery reportQuery = subqueryNode.getReportQuery(context);

        Expression expr = context.getBaseExpression();
        return expr.any(reportQuery);
    
public voidvalidate(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)
INTERNAL Validate node and calculate its type.

        if (left != null) {
            left.validate(context);
            setType(left.getType());
        }