jrun.ejb.ejbql
Class ExpressionBase

java.lang.Object
  |
  +--jrun.ejb.ejbql.ExpressionBase
All Implemented Interfaces:
Element, Expression
Direct Known Subclasses:
AbstractSchemaName, ApproxDoubleNumericLiteral, ApproxFloatNumericLiteral, BinaryOperatorExpression, BooleanLiteral, CmpField, CmrField, ExactIntNumericLiteral, ExactLongNumericLiteral, IdentificationVar, InputParam, NaryOperatorExpression, NavigationExpression, ObjectLiteral, SelectField, StringLiteral, UnaryOperatorExpression

public abstract class ExpressionBase
extends java.lang.Object
implements Expression

Common implementation shared by concrete expression classes.

Author:
Enrique Duvos

Fields inherited from interface jrun.ejb.ejbql.Element
UNSPECIFIED_TRAVERSAL_ORDER
 
Constructor Summary
ExpressionBase()
           
 
Method Summary
 java.util.ListIterator getChildren(int traversalType)
          Provide default implementation that returns 0 children.
 boolean isCmpField()
           
 boolean isCmrField()
           
 boolean isIdentificationVar()
           
 boolean isInputParam()
           
 boolean isNavigationExpression()
           
 boolean isOperatorExpression()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jrun.ejb.ejbql.Expression
getJavaType
 
Methods inherited from interface jrun.ejb.ejbql.Element
accept
 

Constructor Detail

ExpressionBase

public ExpressionBase()
Method Detail

isIdentificationVar

public boolean isIdentificationVar()
Specified by:
isIdentificationVar in interface Expression

isNavigationExpression

public boolean isNavigationExpression()
Specified by:
isNavigationExpression in interface Expression

isOperatorExpression

public boolean isOperatorExpression()
Specified by:
isOperatorExpression in interface Expression

isCmrField

public boolean isCmrField()
Specified by:
isCmrField in interface Expression

isCmpField

public boolean isCmpField()
Specified by:
isCmpField in interface Expression

isInputParam

public boolean isInputParam()
Specified by:
isInputParam in interface Expression

getChildren

public java.util.ListIterator getChildren(int traversalType)
Provide default implementation that returns 0 children.
Specified by:
getChildren in interface Element


Copyright � 2002 Macromedia Corporation. All Rights Reserved.