|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Expression.Type> org.deegree.filter.Expression.Type
public static enum Expression.Type
Convenience enum type for discriminating the different expression types.
Enum Constant Summary | |
---|---|
ADD
Value is computed by adding two values. |
|
CUSTOM
Value is given as a custom expression. |
|
DIV
Value is computed by dividing two values. |
|
FUNCTION
Value is given as a function. |
|
LITERAL
Value is given as a literal. |
|
MUL
Value is computed by multipliying two values. |
|
SUB
Value is computed by subtracting two values. |
|
VALUE_REFERENCE
Expression references a property of an object (aka PropertyName). |
Method Summary | |
---|---|
static Expression.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Expression.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Expression.Type ADD
Expression
is an instance of Add
.
public static final Expression.Type SUB
Expression
is an instance of Sub
.
public static final Expression.Type MUL
Expression
is an instance of Mul
.
public static final Expression.Type DIV
Expression
is an instance of Div
.
public static final Expression.Type VALUE_REFERENCE
Expression
is an instance of
PropertyName
.
public static final Expression.Type LITERAL
Expression
is an instance of Literal
.
public static final Expression.Type FUNCTION
Expression
is an instance of Function
.
public static final Expression.Type CUSTOM
Expression
is an instance of
CustomExpressionProvider
.
Method Detail |
---|
public static Expression.Type[] values()
for (Expression.Type c : Expression.Type.values()) System.out.println(c);
public static Expression.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |