org.apache.camel.language.simple.types
Enum BinaryOperatorType.ParameterType
java.lang.Object
java.lang.Enum<BinaryOperatorType.ParameterType>
org.apache.camel.language.simple.types.BinaryOperatorType.ParameterType
- All Implemented Interfaces:
- Serializable, Comparable<BinaryOperatorType.ParameterType>
- Enclosing class:
- BinaryOperatorType
public static enum BinaryOperatorType.ParameterType
- extends Enum<BinaryOperatorType.ParameterType>
Parameter types a binary operator supports on the right hand side.
- Literal - Only literals enclosed by single quotes
- LiteralWithFunction - literals which may have embedded functions enclosed by single quotes
- Function - A function
- NumericValue - A numeric value
- BooleanValue - A boolean value
- NullValue - A null value
Literal
public static final BinaryOperatorType.ParameterType Literal
LiteralWithFunction
public static final BinaryOperatorType.ParameterType LiteralWithFunction
Function
public static final BinaryOperatorType.ParameterType Function
NumericValue
public static final BinaryOperatorType.ParameterType NumericValue
BooleanValue
public static final BinaryOperatorType.ParameterType BooleanValue
NullValue
public static final BinaryOperatorType.ParameterType NullValue
values
public static BinaryOperatorType.ParameterType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BinaryOperatorType.ParameterType c : BinaryOperatorType.ParameterType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BinaryOperatorType.ParameterType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isLiteralSupported
public boolean isLiteralSupported()
isLiteralWithFunctionSupport
public boolean isLiteralWithFunctionSupport()
isFunctionSupport
public boolean isFunctionSupport()
isNumericValueSupported
public boolean isNumericValueSupported()
isBooleanValueSupported
public boolean isBooleanValueSupported()
isNullValueSupported
public boolean isNullValueSupported()
Apache Camel