FileDocCategorySizeDatePackage
SomeNode.javaAPI DocGlassfish v2 API2943Tue May 22 16:54:40 BST 2007oracle.toplink.essentials.internal.parsing

SomeNode

public class SomeNode extends Node
INTERNAL

Purpose: Represent a SOME subquery.

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

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