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

LongLiteralNode

public class LongLiteralNode extends LiteralNode
INTERNAL

Purpose: Represent a long literal in EJBQL

Responsibilities:

  • Generate the correct expression for a long literal

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

        super();
    
public LongLiteralNode(Long newLong)
IntegerLiteralNode constructor comment.

        super();
        setLiteral(newLong);
    
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.getLongType());