public enum EnumerationOperation extends java.lang.Enum<EnumerationOperation> implements Operation
| Enum Constant and Description | 
|---|
GT
Date greater than. 
 | 
GTE
Date greater than or equal. 
 | 
LT
Enumeration less than. 
 | 
LTE
Enumeration less than or equal. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract java.lang.Boolean | 
exec(EnumerationImpl left,
    EnumerationImpl right)
Executes the operation. 
 | 
java.lang.Boolean | 
execute(Interpreter interpreter,
       java.util.List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)
Executes the expression. 
 | 
java.lang.Boolean | 
execute(Namespace namespace,
       java.lang.String operation,
       EnumerationImpl left,
       EnumerationImpl right)  | 
static EnumerationOperation | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static EnumerationOperation[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EnumerationOperation LT
public static final EnumerationOperation LTE
public static final EnumerationOperation GT
public static final EnumerationOperation GTE
public static EnumerationOperation[] values()
for (EnumerationOperation c : EnumerationOperation.values()) System.out.println(c);
public static EnumerationOperation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.Boolean execute(Interpreter interpreter, java.util.List<Expression> args, boolean variadicArgAsList, InterpreterStackTrace stackTrace) throws ErrorException
Operationexecute in interface OperationvariadicArgAsList - if true, the variadic argument is given as expression
            returning a list; if false, the variadic argument
            is given as several individual expressionsstackTrace - a stack trace passed to the interpreterErrorExceptionpublic java.lang.Boolean execute(Namespace namespace, java.lang.String operation, EnumerationImpl left, EnumerationImpl right) throws ErrorException
ErrorExceptionprotected abstract java.lang.Boolean exec(EnumerationImpl left, EnumerationImpl right)
left - right - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.