FileDocCategorySizeDatePackage
IntegerLiteralNode.javaAPI DocGlassfish v2 API2842Tue May 22 16:54:38 BST 2007oracle.toplink.essentials.internal.parsing

IntegerLiteralNode

public class IntegerLiteralNode extends LiteralNode
INTERNAL

Purpose: Represent a Integer literal in EJBQL

Responsibilities:

  • Generate the correct expression for an Integer literal
author
Jon Driscoll and Joel Lucuik
since
TopLink 4.0

Fields Summary
Constructors Summary
public IntegerLiteralNode()
IntegerLiteralNode constructor comment.

        super();
    
public IntegerLiteralNode(Integer newInteger)
IntegerLiteralNode constructor comment.

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

        TypeHelper typeHelper = context.getTypeHelper();
        setType(typeHelper.getIntType());