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

BinaryOperatorNode

public class BinaryOperatorNode extends Node
INTERNAL

Purpose: This is the superclass for all the binary operators in EJBQL

Responsibilities:

  • The expression generation is delegated to the subclasses
author
Jon Driscoll and Joel Lucuik
since
July 2003

Fields Summary
Constructors Summary
public BinaryOperatorNode()

        super();
    
Methods Summary
public voidvalidate(oracle.toplink.essentials.internal.parsing.ParseTreeContext context)
INTERNAL Validate the current node and calculates its type.

        super.validate(context);
        if ((left != null) && (right != null)) {
            left.validateParameter(context, right.getType());
            right.validateParameter(context, left.getType());
        }