jrun.ejb.ejbql
Class NavigationOperator

java.lang.Object
  |
  +--jrun.ejb.ejbql.OperatorBase
        |
        +--jrun.ejb.ejbql.UnaryOperator
              |
              +--jrun.ejb.ejbql.NavigationOperator
All Implemented Interfaces:
Element, Operator

public abstract class NavigationOperator
extends UnaryOperator

A special kind of unary operator that operates on expressions in a navigation expression.

Author:
Enrique Duvos

Field Summary
static NavigationOperator CMP_OP
           
static NavigationOperator CMR_OP
           
 
Fields inherited from class jrun.ejb.ejbql.UnaryOperator
ABS, ESCAPE, IS_EMPTY, IS_NOT_EMPTY, IS_NOT_NULL, IS_NULL, LENGTH, MINUS, NOT, PLUS, SELECT_ALL, SQRT
 
Fields inherited from class jrun.ejb.ejbql.OperatorBase
BOOLEAN_OBJECT_TYPE_NAME, BOOLEAN_PRIMITIVE_TYPE_NAME, DOUBLE_OBJECT_TYPE_NAME, DOUBLE_PRIMITIVE_TYPE_NAME, FLOAT_OBJECT_TYPE_NAME, FLOAT_PRIMITIVE_TYPE_NAME, INTEGER_OBJECT_TYPE_NAME, INTEGER_PRIMITIVE_TYPE_NAME, LONG_OBJECT_TYPE_NAME, LONG_PRIMITIVE_TYPE_NAME, STRING_TYPE_NAME
 
Fields inherited from interface jrun.ejb.ejbql.Element
UNSPECIFIED_TRAVERSAL_ORDER
 
Constructor Summary
protected NavigationOperator()
           
protected NavigationOperator(boolean preOperator)
           
 
Method Summary
 java.lang.String getResultType(Expression expression)
           
 boolean operatesOn(Expression expression)
           
 
Methods inherited from class jrun.ejb.ejbql.UnaryOperator
getPrintString, getPrintStrings, getResultType, isPostOperator, isPreOperator, isUnary, operatesOn
 
Methods inherited from class jrun.ejb.ejbql.OperatorBase
accept, acceptOperatorExpression, equals, getChildren, hasBooleanType, hasDoubleType, hasFloatType, hasIntegerType, hasLongType, hasNumericType, hasSmallerNumericType, hasStringType, isBinary, isFunction, isNary
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMP_OP

public static final NavigationOperator CMP_OP

CMR_OP

public static final NavigationOperator CMR_OP
Constructor Detail

NavigationOperator

protected NavigationOperator(boolean preOperator)

NavigationOperator

protected NavigationOperator()
Method Detail

operatesOn

public boolean operatesOn(Expression expression)
Overrides:
operatesOn in class UnaryOperator

getResultType

public java.lang.String getResultType(Expression expression)
Overrides:
getResultType in class UnaryOperator


Copyright � 2002 Macromedia Corporation. All Rights Reserved.