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

FloatLiteralNode

public class FloatLiteralNode extends LiteralNode
INTERNAL

Purpose: Represent a float literal in EJBQL

Responsibilities:

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

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

        super();
    
public FloatLiteralNode(Object newFloat)

        super();
        setLiteral(newFloat);
    
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.getFloatType());