jrun.ejb.ejbql
Class ExactLongNumericLiteral

java.lang.Object
  |
  +--jrun.ejb.ejbql.ExpressionBase
        |
        +--jrun.ejb.ejbql.ExactLongNumericLiteral
All Implemented Interfaces:
Element, Expression, Literal

public class ExactLongNumericLiteral
extends ExpressionBase
implements Literal

Represents an EJB QL exact numeric literal, which is a numeric value without a decimal point.

Author:
Enrique Duvos

Fields inherited from interface jrun.ejb.ejbql.Element
UNSPECIFIED_TRAVERSAL_ORDER
 
Constructor Summary
ExactLongNumericLiteral(long literal)
           
 
Method Summary
 void accept(Visitor visitor)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getJavaType()
           
 java.lang.Object getLiteral()
           
 java.lang.String toSql()
           
 java.lang.String toString()
           
 
Methods inherited from class jrun.ejb.ejbql.ExpressionBase
getChildren, isCmpField, isCmrField, isIdentificationVar, isInputParam, isNavigationExpression, isOperatorExpression
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jrun.ejb.ejbql.Expression
isCmpField, isCmrField, isIdentificationVar, isInputParam, isNavigationExpression, isOperatorExpression
 
Methods inherited from interface jrun.ejb.ejbql.Element
getChildren
 

Constructor Detail

ExactLongNumericLiteral

public ExactLongNumericLiteral(long literal)
Method Detail

getLiteral

public java.lang.Object getLiteral()
Specified by:
getLiteral in interface Literal

getJavaType

public java.lang.String getJavaType()
Specified by:
getJavaType in interface Expression

accept

public void accept(Visitor visitor)
Specified by:
accept in interface Element

toString

public java.lang.String toString()
Specified by:
toString in interface Literal
Overrides:
toString in class java.lang.Object

toSql

public java.lang.String toSql()
Specified by:
toSql in interface Literal

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object


Copyright � 2002 Macromedia Corporation. All Rights Reserved.