jrun.ejb.ejbql
Class NaryOperator
java.lang.Object
|
+--jrun.ejb.ejbql.OperatorBase
|
+--jrun.ejb.ejbql.NaryOperator
- All Implemented Interfaces:
- Element, Operator
- public abstract class NaryOperator
- extends OperatorBase
An operator that takes an arbitrary number of operands.
- Author:
- Enrique Duvos
| 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 |
|
Method Summary |
protected java.util.Iterator |
buildPrintStrings(java.lang.String printString,
int num)
Convenience utility used for n-ary operators
with only one print string. |
java.lang.String |
getResultType(java.util.Vector expressions)
The stringified version of the java Class type that results
from applying the operator to the given set of expressions. |
boolean |
isNary()
|
| Methods inherited from class jrun.ejb.ejbql.OperatorBase |
accept, acceptOperatorExpression, equals, getChildren, hasBooleanType, hasDoubleType, hasFloatType, hasIntegerType, hasLongType, hasNumericType, hasSmallerNumericType, hasStringType, isBinary, isFunction, isUnary |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIKE
public static final NaryOperator LIKE
NOT_LIKE
public static final NaryOperator NOT_LIKE
AND
public static final NaryOperator AND
OR
public static final NaryOperator OR
BETWEEN
public static final NaryOperator BETWEEN
NOT_BETWEEN
public static final NaryOperator NOT_BETWEEN
LOCATE
public static final NaryOperator LOCATE
SUBSTRING
public static final NaryOperator SUBSTRING
STRING_AGGREGATOR
public static final NaryOperator STRING_AGGREGATOR
NaryOperator
public NaryOperator()
isNary
public boolean isNary()
- Overrides:
isNary in class OperatorBase
getResultType
public java.lang.String getResultType(java.util.Vector expressions)
- Description copied from interface:
Operator
- The stringified version of the java Class type that results
from applying the operator to the given set of expressions.
buildPrintStrings
protected java.util.Iterator buildPrintStrings(java.lang.String printString,
int num)
- Convenience utility used for n-ary operators
with only one print string.
Copyright � 2002 Macromedia Corporation. All Rights Reserved.