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

DoubleLiteralNode

public class DoubleLiteralNode extends LiteralNode
INTERNAL

Purpose: Represent a double literal in EJBQL

Responsibilities:

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

Fields Summary
Constructors Summary
public DoubleLiteralNode()

        super();
    
public DoubleLiteralNode(Double newDouble)

        super();
        setLiteral(newDouble);
    
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.getDoubleType());