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

AllNode

public class AllNode extends Node
INTERNAL

Purpose: Represent an ALL subquery.

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

        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.all(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());
        }